Commit Graph
7782 Commits
Author SHA1 Message Date
rUvandClaude Opus 4.5 cd4c34c223 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: optimize/claude-md-governance
- Timestamp: 2026-02-02T05:15:32Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 05:15:32 +00:00
rUvandClaude Opus 4.5 e0136d5681 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: optimize/claude-md-governance
- Timestamp: 2026-02-02T05:15:27Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 05:15:27 +00:00
rUvandClaude Opus 4.5 fb0137665c Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: optimize/claude-md-governance
- Timestamp: 2026-02-02T05:14:16Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 05:14:16 +00:00
rUvandClaude Opus 4.5 888b6493dc Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: optimize/claude-md-governance
- Timestamp: 2026-02-02T05:14:01Z
- Changes: 6 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 05:14:01 +00:00
rUvandClaude Opus 4.5 5b27a71e2a Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: optimize/claude-md-governance
- Timestamp: 2026-02-02T05:10:29Z
- Changes: 5 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 05:10:29 +00:00
rUvandClaude Opus 4.5 c9fce868dd Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: optimize/claude-md-governance
- Timestamp: 2026-02-02T04:44:10Z
- Changes: 5 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 04:44:10 +00:00
rUvandClaude Opus 4.5 704ed96f34 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: optimize/claude-md-governance
- Timestamp: 2026-02-02T04:37:52Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 04:37:52 +00:00
rUvandClaude Opus 4.5 65e18f70e2 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: optimize/claude-md-governance
- Timestamp: 2026-02-02T04:37:33Z
- Changes: 6 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 04:37:33 +00:00
rUvandClaude Opus 4.5 0d7726da84 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: optimize/claude-md-governance
- Timestamp: 2026-02-02T04:29:32Z
- Changes: 6 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 04:29:32 +00:00
rUvandClaude Opus 4.5 d064213eda Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: optimize/claude-md-governance
- Timestamp: 2026-02-02T04:22:54Z
- Changes: 5 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 04:22:54 +00:00
rUvandClaude Opus 4.5 b4a208b342 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: optimize/claude-md-governance
- Timestamp: 2026-02-02T04:19:59Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 04:19:59 +00:00
rUvandClaude Opus 4.5 378d5464d0 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: optimize/claude-md-governance
- Timestamp: 2026-02-02T04:19:46Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 04:19:46 +00:00
rUvandClaude Opus 4.5 85102f5f4c Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: optimize/claude-md-governance
- Timestamp: 2026-02-02T04:19:37Z
- Changes: 6 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 04:19:37 +00:00
rUvandClaude Opus 4.5 e4110bc4e0 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: main
- Timestamp: 2026-02-02T04:12:13Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 04:12:13 +00:00
rUv bdfdbb334d Merge pull request #1065 from ruvnet/claude/guidance-control-plane-uhmR3
feat: add @claude-flow/guidance control plane package
2026-02-02 05:10:04 +01:00
rUvandClaude Opus 4.5 0d5eeeae0c Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:52:19Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:52:19 +00:00
rUvandClaude Opus 4.5 89342d8ae8 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:52:12Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:52:12 +00:00
rUvandClaude Opus 4.5 15eaaf8022 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:52:09Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:52:09 +00:00
rUvandClaude Opus 4.5 8f7889de97 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:51:13Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:51:13 +00:00
rUvandClaude Opus 4.5 0f306a13cc Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:51:09Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:51:09 +00:00
rUvandClaude Opus 4.5 e0113f28a7 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:51:07Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:51:07 +00:00
rUvandClaude Opus 4.5 2b8a60968a Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:51:02Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:51:02 +00:00
rUvandClaude Opus 4.5 420331b1a4 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:50:45Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:50:45 +00:00
rUvandClaude Opus 4.5 010943b83d Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:50:43Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:50:43 +00:00
rUvandClaude Opus 4.5 5a73c9af58 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:50:40Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:50:40 +00:00
rUvandClaude Opus 4.5 57cfd462cc Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:50:38Z
- Changes: 6 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:50:38 +00:00
rUvandClaude Opus 4.5 9654d471d7 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:48:48Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:48:48 +00:00
rUvandClaude Opus 4.5 4af75bec42 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:48:42Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:48:42 +00:00
rUvandClaude Opus 4.5 c9b35d3574 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:48:23Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:48:23 +00:00
rUvandClaude Opus 4.5 2e19a09d4f Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:48:06Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:48:06 +00:00
rUvandClaude Opus 4.5 7504d63488 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:47:54Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:47:54 +00:00
rUvandClaude Opus 4.5 11f5c09387 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:47:48Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:47:48 +00:00
rUvandClaude Opus 4.5 9cca2290ab Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:47:42Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:47:42 +00:00
rUvandClaude Opus 4.5 ca0640db10 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:47:35Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:47:36 +00:00
rUvandClaude Opus 4.5 28662fb34d Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:47:26Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:47:26 +00:00
rUvandClaude Opus 4.5 c1e0627b6f Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:47:19Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:47:19 +00:00
rUvandClaude Opus 4.5 538abab577 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:47:16Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:47:16 +00:00
rUvandClaude Opus 4.5 28b5bdd247 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: claude/guidance-control-plane-uhmR3
- Timestamp: 2026-02-02T03:47:11Z
- Changes: 3 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 03:47:11 +00:00
Claude 3e5f92ef8b security: eliminate hardcoded HMAC keys, fix timing attacks, remove command injection
- Remove hardcoded DEFAULT_SIGNING_KEY from proof.ts, artifacts.ts, evolution.ts
  Constructors now require explicit signingKey (fail-closed)
- Add timingSafeEqual() XOR-based constant-time comparison to proof.ts,
  artifacts.ts, authority.ts (prevents HMAC timing side-channels)
- Fix command injection in headless.ts: replace execFile('sh', ['-c', cmd])
  with direct arg-array execFile('claude', ['-p', prompt, ...])
- Fix command injection in analyzer.ts: same shell-free pattern
- Remove dead code: unused toLowerCase() in analyzer.ts extractMetrics
  and scoreCompleteness
- Hoist gates.ts GATE_DECISION_SEVERITY to module-level constant
- Add ConformanceRunner signingKey parameter for explicit key propagation
- Update tests: 3 new "should throw without key" assertions
- Add flight build report (docs/reports/flight-build-report.md)

1,331 tests passing.

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-02 01:51:26 +00:00
Claude 02df9fd2f3 docs: add badges, links, and SEO-optimized keywords
Adds shields.io badges: npm version, downloads, license, tests,
Node.js, TypeScript, GitHub stars, claude-flow umbrella, ruvbot.

Adds Links section with GitHub, npm packages (@claude-flow/guidance,
claude-flow, ruvbot), ruv.io, issues, API reference, ADR index.

Expands package.json keywords from 7 to 30 for npm discoverability:
claude-code, anthropic, ai-agent, ai-governance, long-horizon,
autonomous-agent, adversarial-defense, wasm, mcp, and more.

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 22:33:01 +00:00
Claude fdb11cb89a docs: rewrite README introduction for long-horizon agent guidance
Rewrites the opening to clearly explain the problem (rule drift,
runaway loops, memory corruption, no audit trail), how the package
differs from plain CLAUDE.md and prompt libraries (comparison table),
and the concrete improvements for long-horizon agents.

Adds section introductions throughout: Architecture, WASM Kernel,
Ship Phases, Module Reference, Generators, Analyzer, A/B Benchmark,
Per-Module Impact, Decision Matrix, Failure Modes, Test Suite, ADRs,
and Measurement Plan.

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 22:28:54 +00:00
Claude 671831dacd feat: add A/B benchmark harness with 20 tasks, gate simulation, and composite scoring
Implements the Measurement Plan: Config A (no control plane) vs Config B
(Phase 1 guidance) across 20 representative tasks from Claude Flow repo
history spanning 7 task classes (bug-fix, feature, refactor, security,
deployment, test, performance).

KPIs: success rate, tool calls, token spend, violations, human
interventions. Composite score formula:
score = success_rate - 0.1*cost - 0.2*violations - 0.1*interventions

Category shift detection: B beats A by ≥0.2 on composite across ≥3 task
classes. Gate simulation detects destructive commands, hardcoded secrets,
force push, unsafe types, skipped hooks, missing tests, policy violations.

1,328 tests passing across 26 files (38 new AB benchmark tests).

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 22:22:17 +00:00
Claude 2810c8bdc4 docs: update README and API reference with generators, analyzer, and validation suite
Add documentation for all features built in recent sessions:
- Generators module (generateClaudeMd, scaffold, skills, agents)
- Analyzer module (6-dimension scoring, autoOptimize, optimizeForSize)
- Headless benchmarking (claude -p integration with proof chain)
- Empirical validation (validateEffect with Pearson r, Spearman rho,
  Cohen's d, content-aware executors, multi-trial support)
- Update test count: 1,290 tests across 26 files
- Update module count: 31 modules across 9 layers
- Add generators and analyzer to API quick reference import map
- Add full API reference tables for both modules

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 21:54:54 +00:00
Claude 047bd1e562 feat: add content-aware executor, Spearman rho, and Cohen's d to validation suite
Fix fundamental flaw where mock executors were static and produced
identical adherence for before/after phases. The new
IContentAwareExecutor interface receives CLAUDE.md content via
setContext(), allowing executors to vary behavior based on guidance
quality. DifferentialMockExecutor analyzes content for security rules,
enforcement statements, build/test commands, and architecture sections
to produce realistic compliance variation.

Statistical improvements:
- Spearman rank correlation (non-parametric alternative to Pearson)
- Cohen's d effect size with interpretation labels
- Multi-trial averaging with majority-vote pass/fail
- Dual-correlation verdict using average of Pearson r and Spearman rho

1,290 tests passing across 26 files.

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 21:28:08 +00:00
Claude 00018ac0dd feat: add empirical validation suite proving score-to-behavior correlation
Add validateEffect() that empirically measures whether score improvements
produce actual agent behavioral improvements:

- 15 compliance tasks covering all 6 scoring dimensions (Structure,
  Coverage, Enforceability, Compilability, Clarity, Completeness)
- Severity-weighted assertion evaluation (critical/major/minor)
- Per-dimension adherence rate computation
- Pearson correlation coefficient between score deltas and adherence deltas
- Per-dimension concordance analysis (did score and behavior move together?)
- Statistical significance testing with critical r-value tables
- Verdict classification: positive-effect, negative-effect, no-effect, inconclusive
- Formatted report with task breakdown, remaining failures, and interpretation
- Proof chain integration for tamper-evident audit trail
- Injectable executor interface for testing without real Claude CLI

1,278 tests passing across 26 test files.

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 21:12:54 +00:00
Claude ebf7575af0 feat: add context-size-aware optimizer and headless Claude benchmarking
Add optimizeForSize() with compact/standard/full context presets that
restructure CLAUDE.md content through rule extraction, section splitting,
constitution trimming, and duplicate removal to achieve 88%+ scores.

Add headlessBenchmark() for automated compliance testing via claude -p
with injectable executor interface, proof chain verification, and
formatted before/after reports.

1,252 tests passing across 26 test files.

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 21:02:44 +00:00
Claude e06f273a1b feat: add CLAUDE.md generators, analyzer, and auto-optimizer
Generators (src/generators.ts):
- generateClaudeMd() - structured CLAUDE.md from project profile with
  language-specific invariants (TS, JS, Python, Rust, Go, Java) and
  framework rules (React, Next.js, Express, Django, etc.)
- generateClaudeLocalMd() - CLAUDE.local.md for personal overrides
  with machine notes, editor prefs, and experimental rules
- generateSkillMd() - Claude Code skills with YAML frontmatter
- generateAgentMd() - Agent definitions with YAML frontmatter
- generateAgentIndex() - Agent index.yaml grouped by category
- scaffold() - Full .claude/ directory structure generation

Analyzer (src/analyzer.ts):
- 6-dimension scoring (0-100 each, weighted composite):
  Structure (20%), Coverage (20%), Enforceability (25%),
  Compilability (15%), Clarity (10%), Completeness (10%)
- benchmark() - before/after comparison with per-dimension deltas
- autoOptimize() - iteratively applies high-priority suggestions
  with concrete patches, re-scores to verify improvement
- formatReport() / formatBenchmark() - human-readable output

Analysis of existing CLAUDE.md files:
- Root CLAUDE.md: 73/100 (C) -> 77/100 after optimization
- v3/CLAUDE.md: 64/100 (D) -> 78/100 after optimization
- Key findings: low rule density, oversized constitution section,
  missing Architecture section

Tests: 141 new tests (68 generators + 73 analyzer), 1229 total passing

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 20:48:36 +00:00
Claude e5ca9411cd docs: add comprehensive user documentation with guides, tutorials, and diagrams
Ground README and guides in how Claude Code actually loads memory:
- CLAUDE.md as team-shared, committed guidance
- CLAUDE.local.md as private, machine-specific overrides
- Upward directory search and monorepo layering
- @import pattern for git worktree compatibility
- /memory command for verification
- Optimizer lifecycle: local experiments promote to root

README additions:
- "How Claude Code Memory Works" section with audience table
- "How CLAUDE.md Becomes Enforceable Policy" mermaid diagram
- "What Goes Where" section with concrete examples
- Updated test count to 1,088 across 24 files

Getting-started additions:
- Background section explaining memory file loading
- Both files in minimal setup example
- Detailed CLAUDE.md vs CLAUDE.local.md guidance
- @import worktree pattern
- Optimizer promotion workflow
- Verification steps with /memory command

Architecture additions:
- "Starting Point" section explaining the gap raw text leaves
- File discovery diagram showing upward search + @import
- Annotated compile/run/evolve lifecycle

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 20:23:48 +00:00
Claude 176f6ad235 docs: add comprehensive user documentation with guides, tutorials, and diagrams
13 documentation files covering all 20+ modules:

Guides:
- Getting Started: installation, setup, core loop
- Architecture Overview: 7-layer design with mermaid diagrams
- Multi-Agent Security: threats, collusion, quorum, trust
- Capabilities and Trust: permission algebra, trust tiers, authority
- Knowledge Management: uncertainty, temporal, truth anchors
- WASM Kernel: building, using, benchmarking

Tutorials:
- Enforcement Gates: wire gates into hooks
- ContinueGate: prevent runaway agent loops
- Proof & Audit Trail: tamper-evident chains
- CI/CD & Headless Testing: automated compliance

Reference:
- API Quick Reference: all exports, methods, types

Diagrams:
- 10 mermaid diagrams: system overview, enforcement pipeline,
  decision trees, trust flow, capability delegation, memory
  security layers, knowledge stack, proof chain, meta-governance
  lifecycle, compile-retrieve-gate sequence

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 19:55:55 +00:00
Claude 0ffd0e14f3 chore: add .gitignore for Rust build artifacts in wasm-kernel
Excludes target/ directory from version control.

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 17:47:14 +00:00