Files
ruflo/v3/docs
ruv e3fcb2a292 docs(adr): ADR-151 — Harness Intelligence Layer (Phase 3 scope shell, iter 33)
ADR-150 said "each Phase-3 capability gets its own ADR before
implementation." This is the parent ADR that catalogs all 5 sub-
capabilities, orders them by build-on dependency, and explicitly
inherits ADR-150's four architectural constraints.

THE 5 SUB-CAPABILITIES (each gets ADR-152 through ADR-156)
  3.1 Genome Similarity Search
        Cosine over genome/score JSON. Critical-path dependency for
        3.2/3.3/3.5. Ship first.
  3.2 Harness Recommendation Engine
        Recommends closest harness or template. Uses 3.1 + plugin
        registry (iter-6 'harness' type).
  3.3 Fleet-Wide Architecture Drift Detection
        Lifts iter-15 audit-trend from single-harness to fleet. Uses
        iter-7 oia-audit + 3.1.
  3.4 Cross-Harness Capability Graph
        Nodes=capabilities, edges=harness-includes-capability. Uses
        `harness compare` + 3.1.
  3.5 Plugin Compatibility Analysis
        Static check of plugin allowed-tools vs target harness MCP
        servers. Uses iter-87 frontmatter audit + iter-30 mcp-policy
        schema.

EVERY SUB-ADR INHERITS ADR-150's 4 LOAD-BEARING CONSTRAINTS
  #1 Removable
  #2 Optional in package.json
  #3 Graceful degradation
  #4 CI gate on the absent path
A sub-ADR that breaks any of these requires a meta-ADR superseding
the constraint clause.

SCOPE-ONLY POSTURE (intentional)
This ADR is "Proposed (scope-only)". NO code lands until each
sub-ADR is decided. The 5 capabilities are catalogued, dependencies
explicit, riskiest assumptions named, smallest demonstrable spikes
sketched — but the actual implementation work is gated behind
explicit per-capability ADR approval.

CROSS-REFS UPDATED
- ADR-150 status field now mentions Phase 3 scoped in ADR-151
- Smoke step 17v locks all 5 sub-capability names + the 4
  inherited constraints + the ADR-150 back-reference

SMOKE STEP 17v
- ADR file present
- All 5 sub-capability section headers present in source
- "Architectural Inheritance from ADR-150" section present
- All 4 constraint names (Removable / Optional / Graceful / CI gate)
- Scope-only status marker
- ADR-150 cross-link in 151 + ADR-151 back-reference in 150

Smoke: 37 → 38. Fleet: 33/33.

NEXT
When the user/maintainer decides to start Phase 3, the next move is
to draft ADR-152 (Genome Similarity Search) — the smallest, most
self-contained, and used as a dependency by 3 others.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-06-16 16:06:57 -04:00
..