AletheiaFact / AletheiaFact/aletheia

B2B-2 · Namespace-scope verification-requests (schema + queries + backfill)

オープン
#2,535 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
backlog server
主要言語
TypeScript
スター
55
フォーク
20
平均マージ
2日 6時間
マージ済み PR(30日)
2

説明

Part of the B2B epic (Fase 1 · item 1.1b). Verification requests are client data (unlike personalities, which stay global by decision) — today the schema has **no `nameSpace` field at all**.

## What
- [ ] Add `nameSpace` to `server/verification-request/schemas/verification-request.schema.ts` (default `main`)
- [ ] Filter every query point in `verification-request` service/controller by namespace
- [ ] Backfill migration (existing docs → `main`)
- [ ] Compound index `(nameSpace, …)` for the listing queries

**Effort:** ~1 SP · **Depends on:** — (parallel with B2B-1)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start with server/verification-request/schemas/verification-request.schema.ts, then trace every verification-request service and controller query and identify the listing queries targeted by the index. Review the migration path for existing documents. Done means namespace defaults to main, existing documents are backfilled, all query points are namespace-filtered, and the compound indexes support listing queries.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
backend, databases
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
52/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。