[P1] C01: Deliver authorized conversation creation, history and recent-context reads #13
Labels
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#16 [P1] U01: Connect the React authenticated shell and authorized conversation history
primatekuntech/rag-rust
#22 [P1] I05: Propagate document revisions, deletion and revocation to every derived artifact
primatekuntech/rag-rust
#26 [P1] H01: Assemble bounded authorized context and propagate answer provenance
primatekuntech/rag-rust
#8 [P0] F03: Wire PostgreSQL migrations, bounded pooling and canonical repositories
primatekuntech/rag-rust
#10 [P0] F05: Enforce centralized authorization and bounded revocation across protected operations
primatekuntech/rag-rust
#11 [P0] F06: Implement the protected tamper-evident audit trail
primatekuntech/rag-rust
Reference
primatekuntech/rag-rust#13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Backlog ID: C01 | Priority: P1 | Phase: M2 — Authorized conversations and Engine contracts
Outcome and scope
Implement create/list/read/resume use cases with PostgreSQL durable state, bounded recent-turn reads and current authorization of messages and source lineage.
Dependencies and gates
Engineering prerequisites: #8 (F03), #10 (F05), #11 (F06)
Retention/archive/delete/export actions follow D01; undefined actions are not exposed as ad hoc defaults.
Starting points
crates/conversations/; crates/storage-postgres/; crates/api/src/routes/conversations.rs; migrations/
These are current files or proposed responsibility boundaries; finalize a focused implementation plan before coding. Existing local scaffolding is uncommitted and is not evidence of completion.
Acceptance criteria
Verification
Real-PostgreSQL and API tests cover another user’s IDs, entitlement/source revocation, concurrent ordering, pagination and bounded history query plans.
Behavior changes follow Red → Green → Refactor. Run affected Rust shared contract/unit tests and real PostgreSQL/Qdrant/runtime integration tests where applicable; frontend changes run typecheck/build and the relevant browser tests. Record exact commands/results in the implementation PR. Documentation/decision tasks use recorded review evidence.
Requirements and design
FR-RAG-001, 004; FR-UX-002, 007; FR-PRIV-001, 004; architecture §§3, 9.4
Sources: SRS, system design. Local planning context:
docs/implementation-plan.mdanddocs/development-backlog.md(not published by this task).Security impact: Use synthetic fixtures until approved for operational data. Preserve current authorization, markings, provenance and default-deny behavior; exclude protected payloads/secrets from operational telemetry. No classified-deployment or PQC-compliance claim is implied by closing this issue.
Parent roadmap: #1