Commit Graph
11 Commits
Author SHA1 Message Date
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 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 2dd2bb891f feat: add Rust WASM policy kernel with SIMD128 acceleration
Two-layer architecture: Layer A (Rust→WASM kernel for pure functions) +
Layer B (Node host bridge with transparent JS fallback).

Kernel modules:
- proof: SHA-256, HMAC-SHA256, content hashing, chain verification
- gates: secret scanning (8 patterns), destructive command detection (12 patterns)
- scoring: shard relevance scoring with domain/risk/keyword bonuses
- batch: 9-operation batch API to minimize WASM boundary crossings

Performance (SIMD128 enabled, 10k events):
- SHA-256 throughput: 1.80x faster (910k/s vs 505k/s)
- Secret scan (dirty): 1.96x faster (362k/s vs 185k/s)
- Secret scan (clean): 1.68x faster (676k/s vs 402k/s)
- Proof chain: 1.25x faster (61ms vs 76ms)

Includes:
- Pre-built wasm-pkg/ with SIMD+O2 optimization
- 15 acceptance tests (parity + 10k throughput benchmarks)
- ADR-G025 documenting architecture and performance
- README updated with WASM kernel docs and KPIs
- Wired exports into index.ts and package.json

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 17:44:35 +00:00
Claude a57ea60aab feat: add ContinueGate, wire all exports, rewrite README
- Add ContinueGate (ADR-G024): step-level gate that evaluates whether
  long-running agents should continue, using budget slope detection,
  rework ratio tracking, and coherence/uncertainty thresholds
- Wire 5 missing wave 3 module exports into index.ts (trust,
  truth-anchors, uncertainty, temporal, authority)
- Add 8 missing sub-export paths to package.json (trust, truth-anchors,
  uncertainty, temporal, authority, adversarial, meta-governance,
  continue-gate)
- Rewrite README with product-oriented introduction, mermaid architecture
  diagram, 28-module reference table, ship phases, acceptance tests,
  decision matrix, and failure modes

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 17:05:45 +00:00
Claude ff4a4b5fd1 docs: add wave 3 ADRs G017-G023 and update README index
- G017: Trust Score Accumulation (tiers, decay, 5:1 penalty/reward)
- G018: Truth Anchor System (immutable HMAC-signed facts, conflict resolution)
- G019: First-Class Uncertainty (confidence intervals, evidence, contested detection)
- G020: Temporal Assertions (bitemporal windows, supersession, reasoning)
- G021: Human Authority and Irreversibility (escalation hierarchy, proof levels)
- G022: Adversarial Model (threat detection, collusion, memory quorum)
- G023: Meta-Governance (constitutional invariants, amendments, optimizer bounds)

README ADR index updated from Proposed to Accepted with file links.

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 16:29:38 +00:00
Claude cfcb25b7d0 feat: add wave 3 civilization-grade primitives (trust, truth, uncertainty, time, authority, adversarial, meta-governance)
8 new modules with 4 test suites (332 new tests, 1008 total):
- trust.ts: per-agent trust accumulation, decay, tiers, rate multipliers
- truth-anchors.ts: immutable HMAC-signed external facts, conflict resolution
- uncertainty.ts: first-class belief tracking, confidence intervals, evidence
- temporal.ts: bitemporal assertions, validity windows, supersession chains
- authority.ts: human/institutional authority boundaries, irreversibility
- adversarial.ts: threat detection, collusion analysis, memory quorum
- meta-governance.ts: constitutional invariants, amendment lifecycle
- ruvbot-integration.ts: bridge to ruvbot AIDefence and memory adapter

README updated with all wave 3 modules, impact metrics, and architecture.

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 14:32:40 +00:00
Claude 126fbcb6e1 docs: add per-module impact metrics, measurement plan, and ADR G010-G016 index
https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 12:10:53 +00:00
Claude ee3c182b79 feat: complete wave 2 with conformance kit, exports, ADRs, and README
- Add conformance-kit.ts: Memory Clerk acceptance test with SimulatedRuntime,
  MemoryClerkCell, and ConformanceRunner for replay verification
- Add manifest-validator.test.ts: 59 tests for fails-closed admission
- Add conformance-kit.test.ts: 42 tests for cell runtime and replay
- Wire all wave 2 modules into index.ts (capabilities, conformance-kit,
  proof, memory-gate, coherence)
- Add 8 new export paths to package.json (proof, memory-gate, coherence,
  artifacts, capabilities, evolution, conformance-kit)
- Write ADR-G010 through G016 covering capability algebra, artifact ledger,
  manifest validator, evolution pipeline, conformance kit,
  coherence-driven throttling, and agentic container integration
- Add package README with quantified impact, API reference, tutorials,
  architecture diagram, and full test matrix
- 639 tests passing across 17 test files

https://claude.ai/code/session_01HLi9WmfvFgkDLJxLKGAUTf
2026-02-01 12:04:55 +00:00