Files
ruflo/v3/@claude-flow/cli/src
Claude fab6d72ff8 feat: add @claude-flow/guidance control plane package
Implements a complete guidance control plane that sits beside Claude Code
to compile, retrieve, enforce, and optimize guidance rules.

Components:
- Compiler: Parses CLAUDE.md into constitution + shards + manifest
  with regex-based rule extraction, risk/intent/domain inference,
  and root/local overlay merging
- Retriever: Intent classifier with weighted pattern matching and
  shard retriever with hash-based embeddings, contradiction resolution,
  and diversity-aware selection
- Gates: 4 enforcement gates (destructive ops, tool allowlist,
  diff size, secrets) with configurable patterns and remediation
- Ledger: Run event logging with 5 built-in evaluators (tests pass,
  forbidden commands, forbidden deps, violation rate, diff quality)
- Optimizer: Weekly optimization loop with violation ranking, rule
  change proposals, A/B testing simulation, ADR generation, and
  promotion tracking (win-twice-to-promote)
- Headless: Test harness for Claude Code headless mode with task
  suites, assertion checking, and compliance testing
- CLI: guidance command with compile/retrieve/gates/status/optimize
  subcommands registered in CLI command index

Tests: 105 passing across 6 test files (compiler, retriever, gates,
ledger, optimizer, integration)

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 10:58:53 +00:00
..
2026-01-27 18:21:34 +00:00
2026-01-04 23:50:45 +00:00
2026-01-22 15:32:33 +00:00
2026-01-27 16:17:09 +00:00
2026-01-13 02:16:11 +00:00
2026-01-13 00:36:09 +00:00
2026-01-13 15:41:17 +00:00
2026-01-13 21:16:30 +00:00
2026-01-26 18:46:27 +00:00
2026-01-14 22:35:29 +00:00
2026-01-14 22:09:52 +00:00
2026-01-05 19:40:01 +00:00
2026-01-07 04:36:20 +00:00
2026-01-14 18:48:53 +00:00
2026-01-13 21:14:54 +00:00