ruvector/.github
ruv fcd55544ce feat(sota-harness): SHAPER-pattern frozen-weight evolution loop skeleton (PIR WP9, ADR-313)
First shippable slice of the WP9 skill/harness evolution loop (#841),
following SHAPER (arXiv:2608.11350): frozen model as both planner and
optimizer; only skills, context, and the execution harness evolve.

- scripts/frozen-weights-check.mjs: structural (CI-enforced, not policy)
  frozen-weights gate. Scans the loop's mutation surfaces (harness/src,
  examples/mragent, sona darwin_guard.rs) against a 9-entry deny-list
  built from crates/ruvllm's real training entry points (training/, qat/,
  lora/, pretrain pipelines, weight writers, model-file references, MCP
  weight-mutation tools), each entry documented with why + in-repo anchor.
  Symlink/error hardening matches adr-index.mjs (PR #857 lessons); a
  missing surface directory fails loudly; --self-test builds adversarial
  positive/negative fixtures. Wired into CI as its own job.
- harness/src/genome.ts: ADR-313's mutation-surface enumeration as a
  closed type union (skills | context | harness — weights unrepresentable),
  FrozenModelRef with loop-start sha256, and the ADR-315 capability-
  expansion boundary with a constitutional gate stub (models autogenous
  promoteAuthorized's authorized conjunct; blocks by default; WP11
  integration point).
- harness/src/shaperLoop.ts: one-generation orchestration
  propose (reusing Darwin/GEPA via runRuvectorGepa) -> evaluate (existing
  WP2 dreamMachine.ts adapter) -> verdict -> promotion RECOMMENDATION via
  the existing vetoes path. Same FrozenModelRef instance serves planner
  and optimizer (config-tested); capability-expanding candidates are gated
  before evaluation and blocked; constitutional boundary identical to
  WP2's (no promote/merge export, frozen data result, test-asserted).
- tests: full synthetic generation, regression block, capability-expansion
  block, weights-surface rejection, no-promotion-export assertion, GEPA
  proposer reuse, frozen-weights check real-run + self-test. Suite:
  26 passing (17 existing + 9 new).

Refs #841, #837. ADR-313, ADR-315, ADR-306.

Co-Authored-By: claude-flow <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_012Jib2gQyJpqCoo2xYAbb4X
2026-08-20 09:00:46 -04:00
..
benchmarks feat: Add Neo4j-compatible hypergraph database package (ruvector-graph) 2025-11-25 23:11:54 +00:00
workflows feat(sota-harness): SHAPER-pattern frozen-weight evolution loop skeleton (PIR WP9, ADR-313) 2026-08-20 09:00:46 -04:00
CODEOWNERS feat: ADR-280/281/282 — durable RVF metadata, role-aware embeddings, nightly research quality gate (#774) 2026-08-03 14:13:37 -03:00
dependabot.yml ci(security): add 5-layer supply-chain CI + clear 3 npm criticals 2026-05-19 08:59:46 -04:00