Skip to content

Comments

hooks+docs: AST capture utility, optimistic IntentLockManager, and diagram exports#10

Merged
Azazh merged 3 commits intomainfrom
feature/ast-locking-exports
Feb 18, 2026
Merged

hooks+docs: AST capture utility, optimistic IntentLockManager, and diagram exports#10
Azazh merged 3 commits intomainfrom
feature/ast-locking-exports

Conversation

@Azazh
Copy link
Owner

@Azazh Azazh commented Feb 18, 2026

Add AST capture utility (TypeScript compiler API) to populate ledger ast_node_type by range/position, and an optimistic IntentLockManager with TTL-based file locks to prevent parallel collisions. Include docs (IntentLocking.md) and a script to export Mermaid diagrams to SVG.\n\n- Files: \n - src/hooks/utilities/astCapture.ts\n - src/hooks/engines/IntentLockManager.ts\n - docs/IntentLocking.md\n - scripts/export-diagrams.sh\n- Purpose: Governance invariants support (AST correlation, intent locking), plus artifacts export for interim report.\n- Notes: Diagram export uses npx @mermaid-js/mermaid-cli and outputs to diagrams/dist.

…pes: ledger conversation intent_id; diagrams: add LLM, IDLE→CHECKOUT→EXECUTION→AUDIT; schema: intent_id
…: IntentLocking; scripts: export Mermaid diagrams
@Azazh Azazh added hooks Hook engine and middleware docs Documentation and diagrams governance Governance and compliance labels Feb 18, 2026
@Azazh Azazh merged commit b5d92d1 into main Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation and diagrams governance Governance and compliance hooks Hook engine and middleware

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant