[P1] E02: Integrate the selected local runtime with verified session and KV-cache isolation #25
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#27 [P1] H02: Deliver persisted streamed chat turns with cancellation and response-time authorization
primatekuntech/rag-rust
#31 [P2] K02: Deploy and verify approved transport, identity and signing crypto profiles
primatekuntech/rag-rust
#33 [P2] O02: Complete service-wide observability, protected diagnostics and operator alerts
primatekuntech/rag-rust
#35 [P2] V02: Verify adversarial authorization, runtime isolation and long-run memory stability
primatekuntech/rag-rust
#4 [P0] D03: Spike local inference feasibility and runtime isolation on candidate hardware
primatekuntech/rag-rust
#12 [P0] F07: Replace startup-only readiness with dependency-aware health and safe telemetry
primatekuntech/rag-rust
#15 [P1] E01: Define bounded AI Engine contracts and shared adapter test suites
primatekuntech/rag-rust
Reference
primatekuntech/rag-rust#25
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: E02 | Priority: P1 | Phase: M5 — Local inference and complete chat
Outcome and scope
Implement the selected embedding/reranking/generation runtime profiles and private Engine transport, model lifecycle, capability reporting and explicit per-session ownership/cleanup.
Dependencies and gates
Engineering prerequisites: #15 (E01), #4 (D03), #12 (F07)
Final runtime/hardware/profile selection follows D03 and authority-approved domain/transport requirements; process separation is not domain separation.
Starting points
crates/ai-engine/; crates/model-adapters/; tests/integration/runtime_isolation.rs; docs/runtime/
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
Run E01 contract suite against the real adapter; concurrent sentinel tests and mid-stream failures verify cleanup, no session bleed and valid readiness transitions.
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-003, FR-AUTH-010; FR-PRIV-001–005; NFR-ARCH-002–003; architecture §§4, 9.7
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