Commit graph

4 commits

Author SHA1 Message Date
https://github.com/Zerubabel-J
96d16f772a docs: restructure ARCHITECTURE_NOTES.md with professional format, tables, and 10 Mermaid diagrams 2026-02-21 20:58:56 +03:00
https://github.com/Zerubabel-J
9706c3d7b1 docs: add 6 Mermaid visual diagrams to ARCHITECTURE_NOTES.md
- System Layer Architecture (graph TD): shows VSCode Host, Hook Engine,
  Data Layer, and LLM with all data flow edges
- Agent Sequence Diagram: full two-stage state machine handshake flow
  from user message → select_active_intent → write_to_file → trace
- Hook Engine State Machine (stateDiagram): NoIntent → IntentDeclared →
  ScopeCheck → ToolExecutes → TraceWritten transitions with blocked states
- Pre-Hook Interceptor Chain (flowchart): decision tree for mutating vs
  safe tools, IntentGate, ScopeGuard, and TraceLedger
- Traceability Chain: Business Requirement → Intent → Code → SHA-256 Hash
  → Git SHA → agent_trace.jsonl golden thread
- Data Model Class Diagram: ActiveIntent, TraceRecord, FileTrace,
  Contributor, Range, Related, HookEngine with relationships

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-21 12:40:18 +03:00
https://github.com/Zerubabel-J
ef49e624ad architecture notes updated 2026-02-20 12:37:56 +03:00
https://github.com/Zerubabel-J
5dacd0c853 feat: add intent-driven governance hook engine (Phase 0 + Phase 1) 2026-02-18 20:36:53 +03:00