/ _bmad / traceability.md
traceability.md
 1  # Traceability Matrix — Bob
 2  
 3  > Status: Living Document | Last updated: 2026-04-02
 4  
 5  ## PRD → OpenSpec → Epic → Implementation Status
 6  
 7  | PRD Req | OpenSpec Capability | Epic | Impl Status | Notes |
 8  |---------|---------------------|------|-------------|-------|
 9  | FR-01 | `nix-infrastructure` | Epic 01 | Done | NixOS flake, systemd-boot, TB auto-auth, 3x GPU |
10  | FR-02 | `nix-infrastructure` | Epic 01 | Partial | NixOS config in git; MCP-NixOS not yet integrated |
11  | FR-03 | `llm-inference` | Epic 02 | Done | Qwen3-32B AWQ via vLLM, TP=2, ~40 tok/s |
12  | FR-04 | `knowledge-store` | Epic 03 | Partial | Oxigraph deployed (31 triples); Automerge not yet |
13  | FR-05 | `knowledge-graph` | Epic 04 | Partial | TrustGraph deployed; Neo4j for Graphiti |
14  | FR-06 | `knowledge-graph` | Epic 04 | Partial | SPARQL query tool in voice pipeline |
15  | FR-07 | `home-awareness` | Epic 05 | Done | HA deployed, HA→NATS bridge, voice tools |
16  | FR-08 | `event-bus` | Epic 05 | Done | NATS JetStream + MQTT bridge |
17  | FR-09 | `voice-stt` | Epic 06 | Done | faster-whisper large-v3 INT8, GPU 2 |
18  | FR-10 | `voice-tts` | Epic 06 | Done | Fish Speech v1.5 (Ray Porter clone) + Kokoro fallback |
19  | FR-11 | `voice-wakeword` | Epic 06 | Done | "hey bob" custom TFLite + Wyoming gate in pipeline |
20  | FR-12 | `voice-diarization` | Epic 06 | Not Started | pyannote.audio planned |
21  | FR-13 | `voice-pipeline` | Epic 06 | Done | Pipecat: wake word → STT → LLM → Fish Speech TTS |
22  | FR-14 | `tak-interop` | Epic 07 | Not Started | CoT bridge |
23  | FR-15 | `home-awareness` | Epic 05 | Partial | HA control via voice tools; semantic automations not yet |
24  | FR-16 | `knowledge-store` | Epic 03 | Not Started | CRDT family sync |
25  | FR-17 | `agent-memory` | Epic 04 | Partial | Neo4j deployed; Graphiti client not yet |
26  | FR-18 | `agent-scheduler` | Epic 08 | Not Started | Cron + NATS-triggered agent activation |
27  | FR-19 | `system-sentinel` | Epic 08, 11 | Not Started | Infrastructure health monitoring + remediation |
28  | FR-20 | `daily-coordinator` | Epic 09 | Not Started | Morning/evening briefings |
29  | FR-21 | `knowledge-gardener` | Epic 10 | Not Started | Nightly consolidation, memory pruning |
30  | FR-22 | `daily-coordinator` | Epic 09 | Not Started | Calendar + external data integration |
31  | FR-23 | `system-sentinel` | Epic 11 | Not Started | Network device inventory + health |
32  | FR-24 | `agent-scheduler` | Epic 08 | Not Started | NATS agent coordination protocol |
33  | FR-25 | `system-sentinel` | Epic 11 | Not Started | REPL-based diagnostic agents |
34  | FR-26 | `agent-scheduler` | Epic 08 | Not Started | Model tiering (Qwen3 + Bonsai 8B) |
35  | FR-27 | `distributed-compute` | Epic 11 | Not Started | Household compute orchestration |
36  
37  **Impl Status values**: Done | Partial | In Progress | Not Started | Deferred | Untested
38  
39  ## NFR Verification
40  
41  | NFR | Verification Method | Status | Notes |
42  |-----|---------------------|--------|-------|
43  | NFR-01 | End-to-end voice latency measurement | Untested | Target < 1000 ms |
44  | NFR-02 | Knowledge query benchmarks | Untested | Target < 3 seconds |
45  | NFR-03 | Uptime monitoring (Prometheus) | Untested | Target 99.5% |
46  | NFR-04 | Network traffic audit | Untested | Zero external data egress |
47  | NFR-05 | Storage encryption verification | Untested | AES-256 at rest |
48  | NFR-06 | nvidia-smi VRAM monitoring | Untested | LLM + STT + TTS coexist |
49  | NFR-07 | Fresh NixOS install from flake | Untested | Full rebuild from git |
50  | NFR-08 | Agent rollback test | Untested | Revert in < 60 seconds |
51  | NFR-09 | Power measurement under load | Untested | < 1200W sustained |
52  | NFR-10 | Concurrent voice session test | Untested | 2 simultaneous sessions |
53  
54  ## Epic Dependency Graph
55  
56  ```
57  Epic 01 (NixOS Infrastructure)
58      ├──→ Epic 02 (LLM Inference)
59      │        ├──→ Epic 04 (Knowledge Graph) ──→ Epic 07 (TAK Interop)
60      │        └──→ Epic 06 (Voice)
61      └──→ Epic 05 (Home Awareness + Event Bus)
62                └──→ Epic 06 (Voice — HA integration)
63  Epic 03 (Knowledge Store) ──→ Epic 04 (Knowledge Graph)
64  ```