[Roadmap] Prioritized v1 development and release gates #1

Open
opened 2026-10-21 20:29:20 +02:00 by amiryahaya · 0 comments
Owner

Prioritized development backlog

Date: 2026-10-22
Goal: Deliver the SRS through dependency-ordered, independently reviewable work items, ready for later implementation.
Architecture: React/TypeScript calls the Rust RAG application; application-owned authorization controls PostgreSQL/Qdrant and bounded local AI Engine requests. PostgreSQL remains canonical and Qdrant rebuildable.
Specifications: SRS, system design, docs/implementation-plan.md (local planning context).

Tracker: Roadmap #1 · All issues · Milestones

Planning scope and current state

This is a delivery backlog, not implementation authorization or security-policy approval. The repository currently tracks the three requirements/design/research documents; the workspace also contains uncommitted Rust/React scaffolding, an initial SQL schema and the existing implementation plan. Review and complete that work in F01–F03; no engineering item is marked done on file presence alone. No product code is changed by this planning task.

Use the security-first delivery sequence already described in the design. A UI-first prototype would postpone enforcement and index consistency; a model-first build would couple policy to an unverified runtime. The selected approach establishes trusted boundaries first while D02/D03 investigate the latency risk alongside foundation work.

Priority and scheduling

  • P0 — Start early: critical foundations, policy/workload decisions, crypto inventory and inference feasibility.
  • P1 — Next: required first-release application capabilities after listed prerequisites.
  • P2 — Later: mandatory release hardening and evidence after working slices exist. P2 does not mean optional.
  • Dependencies take precedence over numeric phase order; a phase is a delivery grouping, not a blanket barrier. E01/O01 and D03 can proceed alongside adjacent streams.
  • D01 external approvals do not block synthetic scaffolding. Each issue names production-specific approvals separately from engineering prerequisites.
  • Avoid unsupported calendar estimates until team capacity and external decision/hardware availability are known. Select work by prerequisites and milestone exit criteria.

Delivery phases and exit criteria

Milestone Exit criterion
M0 — Decisions and feasibility Resolve named policy/workload gates and test inference feasibility early; synthetic development may continue while external approvals remain open.
M1 — Secure build and persistence foundation Reproducible build, trusted identity and authorization contracts, canonical persistence, audit and dependency-aware health.
M2 — Authorized conversations and Engine contracts Working authorized conversation/history slice, controlled administration, React session/history and bounded model interfaces.
M3 — Canonical ingestion and lexical search Quarantined, versioned source-preserving ingestion and policy-filtered lexical search; no lexical-only public publication.
M4 — Consistent indexing and hybrid retrieval Verified PostgreSQL/Qdrant publication, lifecycle invalidation, hybrid canonical checks and bilingual quality evaluation.
M5 — Local inference and complete chat Isolated local Engine, resource controls, authorized streamed chat, source inspection and protected feedback.
M6 — Release evidence and approved deployment All mandatory performance, crypto, recovery, observability and adversarial/soak evidence with authority approval.

Ready-to-start order

  1. Start F01, D01, D02 and K01. They establish build reproducibility and expose unresolved policy/crypto/performance decisions.
  2. Start D03 once the draft workload is reproducible; run alongside F02/F03/F07. Obtain envelope approval before selecting production profiles or accepting latency.
  3. Complete F04/F05/F06, then C01 for the first useful authorized conversation slice. Build E01, C02 and U01 when their own dependencies are satisfied.
  4. Build canonical ingestion and lexical search, then Qdrant/outbox publication and hybrid retrieval. Never publish a lexical-only READY version to bypass the required vector consistency gate.
  5. Integrate the measured Engine profile and admission controls, then context/streaming/feedback and the complete React flow.
  6. Close all release evidence and external approvals before sensitive deployment; no mandatory SRS control is deferred beyond v1.

Work items

ID Priority Phase Work item Engineering prerequisites
D01 P0 M0 #2 — Record security, identity, data-governance and deployment decisions —
D02 P0 M0 #3 — Define the reproducible bilingual workload and TTFT benchmark envelope —
D03 P0 M0 #4 — Spike local inference feasibility and runtime isolation on candidate hardware D02
K01 P0 M0 #5 — Establish the crypto inventory and versioned configuration boundary —
F01 P0 M1 #6 — Complete the reproducible Rust/React baseline and CI checks —
F02 P0 M1 #7 — Complete typed security values and policy-owned authorization contracts F01
F03 P0 M1 #8 — Wire PostgreSQL migrations, bounded pooling and canonical repositories F01, F02
F04 P0 M1 #9 — Integrate trusted identity, secure browser sessions and development-only identity F02, F03
F05 P0 M1 #10 — Enforce centralized authorization and bounded revocation across protected operations F02, F04
F06 P0 M1 #11 — Implement the protected tamper-evident audit trail F03, F05
F07 P0 M1 #12 — Replace startup-only readiness with dependency-aware health and safe telemetry F01, F03
C01 P1 M2 #13 — Deliver authorized conversation creation, history and recent-context reads F03, F05, F06
C02 P1 M2 #14 — Add controlled policy and marking administration with separation of duties F05, F06
E01 P1 M2 #15 — Define bounded AI Engine contracts and shared adapter test suites F02, K01
U01 P1 M2 #16 — Connect the React authenticated shell and authorized conversation history C01, F04
I01 P1 M3 #17 — Register authorized document uploads, markings and quarantined versions F03, F05, F06
I02 P1 M3 #18 — Implement retryable bilingual extraction and source-preserving chunking I01
I03 P1 M3 #19 — Implement authorization-filtered PostgreSQL lexical retrieval I02, F05
R01 P1 M4 #20 — Implement embedding-profile-aware Qdrant indexing and filtered search E01, F05, F03
I04 P1 M4 #21 — Publish document versions atomically through a transactional indexing outbox I02, I03, R01
I05 P1 M4 #22 — Propagate document revisions, deletion and revocation to every derived artifact I04, C01, C02
R02 P1 M4 #23 — Combine hybrid retrieval with canonical authorization before loading text I03, R01, I04, F05
R03 P1 M4 #24 — Create bilingual retrieval and citation-quality evaluation gates R02, D02
E02 P1 M5 #25 — Integrate the selected local runtime with verified session and KV-cache isolation E01, D03, F07
H01 P1 M5 #26 — Assemble bounded authorized context and propagate answer provenance C01, R02, E01, I05
H02 P1 M5 #27 — Deliver persisted streamed chat turns with cancellation and response-time authorization H01, E02, F06, O01
H03 P1 M5 #28 — Store protected answer feedback and authorized offline evaluation workflow H02, F06, I05
U02 P1 M5 #29 — Complete React streaming chat, authorized sources and feedback controls U01, H02, H03
O01 P1 M5 #30 — Enforce bounded admission, inference scheduling and request resource budgets E01, F05, F07, D02
K02 P2 M6 #31 — Deploy and verify approved transport, identity and signing crypto profiles K01, D01, F04, E02, R01
K03 P2 M6 #32 — Integrate approved at-rest encryption, KMS and recoverable backups K01, D01, F03, I05
O02 P2 M6 #33 — Complete service-wide observability, protected diagnostics and operator alerts F07, I04, E02, H02, O01
V01 P2 M6 #34 — Prove ten-user end-to-end TTFT and tune within the approved workload D02, D03, R03, U02, O01, O02
V02 P2 M6 #35 — Verify adversarial authorization, runtime isolation and long-run memory stability I05, R02, U02, H03, E02, O01, O02
O03 P2 M6 #36 — Package the approved deployment and complete recovery and release evidence D01, K02, K03, O02, V01, V02, R03, C02

Global implementation constraints

  • Use Red → Green → Refactor for behavior changes; document any exception. Before coding each issue, produce a focused plan with exact interfaces, affected files and failing behavior tests.
  • Public contracts own domain types, invariants, authorization ordering, errors, cancellation and compatibility; each replacement adapter passes shared contracts. Storage/index guarantees require real-service integration tests.
  • Development uses synthetic data and a development-only identity that production configuration refuses. Missing/stale/unknown policy or attributes deny access.
  • SQL and Qdrant both prefilter; PostgreSQL current authorization is rechecked before loading content for reranking/generation and before returning citations/history.
  • No production pgvector duplicate source, Redis history or shared protected response/prefix cache without separately justified measured need and approved invalidation controls.
  • Keep model/runtime and crypto selections configurable and approved; do not invent cryptographic protocols or describe TLS 1.3/a library feature as PQC proof.
  • Required v1 target remains ten simultaneous active turns with p95 browser-submit-to-first-rendered-token <= 1.0 second under the approved envelope, including queueing/retrieval/authorization/prefill.

Requirements coverage and review focus

Requirement group Primary owning work items
Identity, access, revocation, administration and markings D01, F02, F04–F06, C01–C02, I01, I05, R02, H01–H02, V02
Ingestion lifecycle, canonical data and index consistency F03, I01–I05, R01–R02
Bilingual retrieval, exact terms and source quality D02, I02–I03, R01–R03, H01, U01–U02
Chat/history/follow-up/streaming/citations/feedback C01, H01–H03, U01–U02
Replaceable Engine/adapters, contract tests and module boundaries F01–F03, E01–E02, R01–R03
Crypto inventory/agility/transport/identity/storage/signing/rotation D01, K01–K03, O03
Audit/health/logging/metrics/traces/alerts/recovery F06–F07, I04, O02–O03, K03
Isolation, cleanup, cache/privacy/memory controls E01–E02, H01–H02, U01–U02, O01, V02
Performance/concurrency/soak and approved workload D02–D03, F07, O01–O02, V01–V02
Availability, RTO/RPO, records and deployment approval D01, I05, K03, O03

Five review risks receive explicit acceptance tests in their owners: (1) ACL changes between retrieval/generation/stream emission (R02/H02/V02); (2) partial indexing accidentally publishing content (I03/I04); (3) reused runtime slots after cancellation/error leaking a prior session (E02/V02); (4) mixed-language Unicode normalization corrupting citation spans (I02/R03); (5) expired/revoked source lineage resurfacing through history, feedback export or UI state (C01/I05/H03/U01/U02).

Release issue O03 maps all 16 SRS acceptance criteria to actual versioned evidence and sign-offs. Decisions without an approved value remain open gates, never fabricated requirements. Calendar commitments and named individual assignees are intentionally left to the team.

Delivery checklist

  • #2 — D01: Record security, identity, data-governance and deployment decisions
  • #3 — D02: Define the reproducible bilingual workload and TTFT benchmark envelope
  • #4 — D03: Spike local inference feasibility and runtime isolation on candidate hardware
  • #5 — K01: Establish the crypto inventory and versioned configuration boundary
  • #6 — F01: Complete the reproducible Rust/React baseline and CI checks
  • #7 — F02: Complete typed security values and policy-owned authorization contracts
  • #8 — F03: Wire PostgreSQL migrations, bounded pooling and canonical repositories
  • #9 — F04: Integrate trusted identity, secure browser sessions and development-only identity
  • #10 — F05: Enforce centralized authorization and bounded revocation across protected operations
  • #11 — F06: Implement the protected tamper-evident audit trail
  • #12 — F07: Replace startup-only readiness with dependency-aware health and safe telemetry
  • #13 — C01: Deliver authorized conversation creation, history and recent-context reads
  • #14 — C02: Add controlled policy and marking administration with separation of duties
  • #15 — E01: Define bounded AI Engine contracts and shared adapter test suites
  • #16 — U01: Connect the React authenticated shell and authorized conversation history
  • #17 — I01: Register authorized document uploads, markings and quarantined versions
  • #18 — I02: Implement retryable bilingual extraction and source-preserving chunking
  • #19 — I03: Implement authorization-filtered PostgreSQL lexical retrieval
  • #20 — R01: Implement embedding-profile-aware Qdrant indexing and filtered search
  • #21 — I04: Publish document versions atomically through a transactional indexing outbox
  • #22 — I05: Propagate document revisions, deletion and revocation to every derived artifact
  • #23 — R02: Combine hybrid retrieval with canonical authorization before loading text
  • #24 — R03: Create bilingual retrieval and citation-quality evaluation gates
  • #25 — E02: Integrate the selected local runtime with verified session and KV-cache isolation
  • #26 — H01: Assemble bounded authorized context and propagate answer provenance
  • #27 — H02: Deliver persisted streamed chat turns with cancellation and response-time authorization
  • #28 — H03: Store protected answer feedback and authorized offline evaluation workflow
  • #29 — U02: Complete React streaming chat, authorized sources and feedback controls
  • #30 — O01: Enforce bounded admission, inference scheduling and request resource budgets
  • #31 — K02: Deploy and verify approved transport, identity and signing crypto profiles
  • #32 — K03: Integrate approved at-rest encryption, KMS and recoverable backups
  • #33 — O02: Complete service-wide observability, protected diagnostics and operator alerts
  • #34 — V01: Prove ten-user end-to-end TTFT and tune within the approved workload
  • #35 — V02: Verify adversarial authorization, runtime isolation and long-run memory stability
  • #36 — O03: Package the approved deployment and complete recovery and release evidence
# Prioritized development backlog **Date:** 2026-10-22 **Goal:** Deliver the SRS through dependency-ordered, independently reviewable work items, ready for later implementation. **Architecture:** React/TypeScript calls the Rust RAG application; application-owned authorization controls PostgreSQL/Qdrant and bounded local AI Engine requests. PostgreSQL remains canonical and Qdrant rebuildable. **Specifications:** [SRS](https://forgejo.primatekun.tech/primatekuntech/rag-rust/src/branch/main/docs/SRS.md), [system design](https://forgejo.primatekun.tech/primatekuntech/rag-rust/src/branch/main/docs/architecture.md), `docs/implementation-plan.md` (local planning context). **Tracker:** [Roadmap #1](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/1) · [All issues](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues) · [Milestones](https://forgejo.primatekun.tech/primatekuntech/rag-rust/milestones) ## Planning scope and current state This is a delivery backlog, not implementation authorization or security-policy approval. The repository currently tracks the three requirements/design/research documents; the workspace also contains uncommitted Rust/React scaffolding, an initial SQL schema and the existing implementation plan. Review and complete that work in F01–F03; no engineering item is marked done on file presence alone. No product code is changed by this planning task. Use the security-first delivery sequence already described in the design. A UI-first prototype would postpone enforcement and index consistency; a model-first build would couple policy to an unverified runtime. The selected approach establishes trusted boundaries first while D02/D03 investigate the latency risk alongside foundation work. ## Priority and scheduling - **P0 — Start early:** critical foundations, policy/workload decisions, crypto inventory and inference feasibility. - **P1 — Next:** required first-release application capabilities after listed prerequisites. - **P2 — Later:** mandatory release hardening and evidence after working slices exist. P2 does not mean optional. - Dependencies take precedence over numeric phase order; a phase is a delivery grouping, not a blanket barrier. E01/O01 and D03 can proceed alongside adjacent streams. - D01 external approvals do not block synthetic scaffolding. Each issue names production-specific approvals separately from engineering prerequisites. - Avoid unsupported calendar estimates until team capacity and external decision/hardware availability are known. Select work by prerequisites and milestone exit criteria. ## Delivery phases and exit criteria | Milestone | Exit criterion | |---|---| | M0 — Decisions and feasibility | Resolve named policy/workload gates and test inference feasibility early; synthetic development may continue while external approvals remain open. | | M1 — Secure build and persistence foundation | Reproducible build, trusted identity and authorization contracts, canonical persistence, audit and dependency-aware health. | | M2 — Authorized conversations and Engine contracts | Working authorized conversation/history slice, controlled administration, React session/history and bounded model interfaces. | | M3 — Canonical ingestion and lexical search | Quarantined, versioned source-preserving ingestion and policy-filtered lexical search; no lexical-only public publication. | | M4 — Consistent indexing and hybrid retrieval | Verified PostgreSQL/Qdrant publication, lifecycle invalidation, hybrid canonical checks and bilingual quality evaluation. | | M5 — Local inference and complete chat | Isolated local Engine, resource controls, authorized streamed chat, source inspection and protected feedback. | | M6 — Release evidence and approved deployment | All mandatory performance, crypto, recovery, observability and adversarial/soak evidence with authority approval. | ## Ready-to-start order 1. Start **F01**, **D01**, **D02** and **K01**. They establish build reproducibility and expose unresolved policy/crypto/performance decisions. 2. Start **D03** once the draft workload is reproducible; run alongside **F02/F03/F07**. Obtain envelope approval before selecting production profiles or accepting latency. 3. Complete **F04/F05/F06**, then **C01** for the first useful authorized conversation slice. Build **E01**, **C02** and **U01** when their own dependencies are satisfied. 4. Build canonical ingestion and lexical search, then Qdrant/outbox publication and hybrid retrieval. Never publish a lexical-only READY version to bypass the required vector consistency gate. 5. Integrate the measured Engine profile and admission controls, then context/streaming/feedback and the complete React flow. 6. Close all release evidence and external approvals before sensitive deployment; no mandatory SRS control is deferred beyond v1. ## Work items | ID | Priority | Phase | Work item | Engineering prerequisites | |---|---|---|---|---| | D01 | P0 | M0 | [#2 — Record security, identity, data-governance and deployment decisions](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/2) | — | | D02 | P0 | M0 | [#3 — Define the reproducible bilingual workload and TTFT benchmark envelope](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/3) | — | | D03 | P0 | M0 | [#4 — Spike local inference feasibility and runtime isolation on candidate hardware](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/4) | D02 | | K01 | P0 | M0 | [#5 — Establish the crypto inventory and versioned configuration boundary](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/5) | — | | F01 | P0 | M1 | [#6 — Complete the reproducible Rust/React baseline and CI checks](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/6) | — | | F02 | P0 | M1 | [#7 — Complete typed security values and policy-owned authorization contracts](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/7) | F01 | | F03 | P0 | M1 | [#8 — Wire PostgreSQL migrations, bounded pooling and canonical repositories](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/8) | F01, F02 | | F04 | P0 | M1 | [#9 — Integrate trusted identity, secure browser sessions and development-only identity](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/9) | F02, F03 | | F05 | P0 | M1 | [#10 — Enforce centralized authorization and bounded revocation across protected operations](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/10) | F02, F04 | | F06 | P0 | M1 | [#11 — Implement the protected tamper-evident audit trail](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/11) | F03, F05 | | F07 | P0 | M1 | [#12 — Replace startup-only readiness with dependency-aware health and safe telemetry](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/12) | F01, F03 | | C01 | P1 | M2 | [#13 — Deliver authorized conversation creation, history and recent-context reads](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/13) | F03, F05, F06 | | C02 | P1 | M2 | [#14 — Add controlled policy and marking administration with separation of duties](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/14) | F05, F06 | | E01 | P1 | M2 | [#15 — Define bounded AI Engine contracts and shared adapter test suites](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/15) | F02, K01 | | U01 | P1 | M2 | [#16 — Connect the React authenticated shell and authorized conversation history](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/16) | C01, F04 | | I01 | P1 | M3 | [#17 — Register authorized document uploads, markings and quarantined versions](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/17) | F03, F05, F06 | | I02 | P1 | M3 | [#18 — Implement retryable bilingual extraction and source-preserving chunking](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/18) | I01 | | I03 | P1 | M3 | [#19 — Implement authorization-filtered PostgreSQL lexical retrieval](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/19) | I02, F05 | | R01 | P1 | M4 | [#20 — Implement embedding-profile-aware Qdrant indexing and filtered search](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/20) | E01, F05, F03 | | I04 | P1 | M4 | [#21 — Publish document versions atomically through a transactional indexing outbox](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/21) | I02, I03, R01 | | I05 | P1 | M4 | [#22 — Propagate document revisions, deletion and revocation to every derived artifact](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/22) | I04, C01, C02 | | R02 | P1 | M4 | [#23 — Combine hybrid retrieval with canonical authorization before loading text](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/23) | I03, R01, I04, F05 | | R03 | P1 | M4 | [#24 — Create bilingual retrieval and citation-quality evaluation gates](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/24) | R02, D02 | | E02 | P1 | M5 | [#25 — Integrate the selected local runtime with verified session and KV-cache isolation](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/25) | E01, D03, F07 | | H01 | P1 | M5 | [#26 — Assemble bounded authorized context and propagate answer provenance](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/26) | C01, R02, E01, I05 | | H02 | P1 | M5 | [#27 — Deliver persisted streamed chat turns with cancellation and response-time authorization](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/27) | H01, E02, F06, O01 | | H03 | P1 | M5 | [#28 — Store protected answer feedback and authorized offline evaluation workflow](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/28) | H02, F06, I05 | | U02 | P1 | M5 | [#29 — Complete React streaming chat, authorized sources and feedback controls](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/29) | U01, H02, H03 | | O01 | P1 | M5 | [#30 — Enforce bounded admission, inference scheduling and request resource budgets](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/30) | E01, F05, F07, D02 | | K02 | P2 | M6 | [#31 — Deploy and verify approved transport, identity and signing crypto profiles](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/31) | K01, D01, F04, E02, R01 | | K03 | P2 | M6 | [#32 — Integrate approved at-rest encryption, KMS and recoverable backups](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/32) | K01, D01, F03, I05 | | O02 | P2 | M6 | [#33 — Complete service-wide observability, protected diagnostics and operator alerts](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/33) | F07, I04, E02, H02, O01 | | V01 | P2 | M6 | [#34 — Prove ten-user end-to-end TTFT and tune within the approved workload](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/34) | D02, D03, R03, U02, O01, O02 | | V02 | P2 | M6 | [#35 — Verify adversarial authorization, runtime isolation and long-run memory stability](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/35) | I05, R02, U02, H03, E02, O01, O02 | | O03 | P2 | M6 | [#36 — Package the approved deployment and complete recovery and release evidence](https://forgejo.primatekun.tech/primatekuntech/rag-rust/issues/36) | D01, K02, K03, O02, V01, V02, R03, C02 | ## Global implementation constraints - Use Red → Green → Refactor for behavior changes; document any exception. Before coding each issue, produce a focused plan with exact interfaces, affected files and failing behavior tests. - Public contracts own domain types, invariants, authorization ordering, errors, cancellation and compatibility; each replacement adapter passes shared contracts. Storage/index guarantees require real-service integration tests. - Development uses synthetic data and a development-only identity that production configuration refuses. Missing/stale/unknown policy or attributes deny access. - SQL and Qdrant both prefilter; PostgreSQL current authorization is rechecked before loading content for reranking/generation and before returning citations/history. - No production pgvector duplicate source, Redis history or shared protected response/prefix cache without separately justified measured need and approved invalidation controls. - Keep model/runtime and crypto selections configurable and approved; do not invent cryptographic protocols or describe TLS 1.3/a library feature as PQC proof. - Required v1 target remains ten simultaneous active turns with p95 browser-submit-to-first-rendered-token <= 1.0 second under the approved envelope, including queueing/retrieval/authorization/prefill. ## Requirements coverage and review focus | Requirement group | Primary owning work items | |---|---| | Identity, access, revocation, administration and markings | D01, F02, F04–F06, C01–C02, I01, I05, R02, H01–H02, V02 | | Ingestion lifecycle, canonical data and index consistency | F03, I01–I05, R01–R02 | | Bilingual retrieval, exact terms and source quality | D02, I02–I03, R01–R03, H01, U01–U02 | | Chat/history/follow-up/streaming/citations/feedback | C01, H01–H03, U01–U02 | | Replaceable Engine/adapters, contract tests and module boundaries | F01–F03, E01–E02, R01–R03 | | Crypto inventory/agility/transport/identity/storage/signing/rotation | D01, K01–K03, O03 | | Audit/health/logging/metrics/traces/alerts/recovery | F06–F07, I04, O02–O03, K03 | | Isolation, cleanup, cache/privacy/memory controls | E01–E02, H01–H02, U01–U02, O01, V02 | | Performance/concurrency/soak and approved workload | D02–D03, F07, O01–O02, V01–V02 | | Availability, RTO/RPO, records and deployment approval | D01, I05, K03, O03 | Five review risks receive explicit acceptance tests in their owners: (1) ACL changes between retrieval/generation/stream emission (R02/H02/V02); (2) partial indexing accidentally publishing content (I03/I04); (3) reused runtime slots after cancellation/error leaking a prior session (E02/V02); (4) mixed-language Unicode normalization corrupting citation spans (I02/R03); (5) expired/revoked source lineage resurfacing through history, feedback export or UI state (C01/I05/H03/U01/U02). Release issue O03 maps all 16 SRS acceptance criteria to actual versioned evidence and sign-offs. Decisions without an approved value remain open gates, never fabricated requirements. Calendar commitments and named individual assignees are intentionally left to the team. ## Delivery checklist - [ ] #2 — D01: Record security, identity, data-governance and deployment decisions - [ ] #3 — D02: Define the reproducible bilingual workload and TTFT benchmark envelope - [ ] #4 — D03: Spike local inference feasibility and runtime isolation on candidate hardware - [ ] #5 — K01: Establish the crypto inventory and versioned configuration boundary - [ ] #6 — F01: Complete the reproducible Rust/React baseline and CI checks - [ ] #7 — F02: Complete typed security values and policy-owned authorization contracts - [ ] #8 — F03: Wire PostgreSQL migrations, bounded pooling and canonical repositories - [ ] #9 — F04: Integrate trusted identity, secure browser sessions and development-only identity - [ ] #10 — F05: Enforce centralized authorization and bounded revocation across protected operations - [ ] #11 — F06: Implement the protected tamper-evident audit trail - [ ] #12 — F07: Replace startup-only readiness with dependency-aware health and safe telemetry - [ ] #13 — C01: Deliver authorized conversation creation, history and recent-context reads - [ ] #14 — C02: Add controlled policy and marking administration with separation of duties - [ ] #15 — E01: Define bounded AI Engine contracts and shared adapter test suites - [ ] #16 — U01: Connect the React authenticated shell and authorized conversation history - [ ] #17 — I01: Register authorized document uploads, markings and quarantined versions - [ ] #18 — I02: Implement retryable bilingual extraction and source-preserving chunking - [ ] #19 — I03: Implement authorization-filtered PostgreSQL lexical retrieval - [ ] #20 — R01: Implement embedding-profile-aware Qdrant indexing and filtered search - [ ] #21 — I04: Publish document versions atomically through a transactional indexing outbox - [ ] #22 — I05: Propagate document revisions, deletion and revocation to every derived artifact - [ ] #23 — R02: Combine hybrid retrieval with canonical authorization before loading text - [ ] #24 — R03: Create bilingual retrieval and citation-quality evaluation gates - [ ] #25 — E02: Integrate the selected local runtime with verified session and KV-cache isolation - [ ] #26 — H01: Assemble bounded authorized context and propagate answer provenance - [ ] #27 — H02: Deliver persisted streamed chat turns with cancellation and response-time authorization - [ ] #28 — H03: Store protected answer feedback and authorized offline evaluation workflow - [ ] #29 — U02: Complete React streaming chat, authorized sources and feedback controls - [ ] #30 — O01: Enforce bounded admission, inference scheduling and request resource budgets - [ ] #31 — K02: Deploy and verify approved transport, identity and signing crypto profiles - [ ] #32 — K03: Integrate approved at-rest encryption, KMS and recoverable backups - [ ] #33 — O02: Complete service-wide observability, protected diagnostics and operator alerts - [ ] #34 — V01: Prove ten-user end-to-end TTFT and tune within the approved workload - [ ] #35 — V02: Verify adversarial authorization, runtime isolation and long-run memory stability - [ ] #36 — O03: Package the approved deployment and complete recovery and release evidence
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
primatekuntech/rag-rust#1
No description provided.