Harness Engineering — the six-layer architecture, mapped onto this control plane¶
The six-layer harness architecture (Agent = Model + Harness) mapped onto this control plane: the layers, the ratchet rule, the health scorecard and the trip wires.
Formula: Agent = Model + Harness. The model provides reasoning; the harness provides everything else — guides that prevent known failures, sensors that catch new ones, bounded loops, persistent memory, enforced permissions, and full observability.
Source framework: the 2026 "Harness Engineering: Agent = Model + Harness" playbook (
harness_final.pdf— a synthesis of Mitchell Hashimoto's ratchet methodology, OpenAI's Codex field report, Martin Fowler's guides-and-sensors taxonomy, and LangChain/Cursor engineering material). This document is the hub's adoption of that framework: the architecture mapping, the gap analysis, what was implemented, and the plan for what remains.
Why this document exists¶
The playbook's claim is empirical: holding the model fixed and improving only the harness produces gains as large as model upgrades (a 44-point GAIA swing, a 25-rank Terminal Bench climb, a million-line codebase with zero manually written code). This hub runs four scheduled agent loops against ~40 repositories unattended — it is a harness, built incrementally over 2026 before the vocabulary existed. Adopting the framework therefore meant three things, in order:
- Map — name what already exists in the playbook's terms, so future decisions land at the right layer (§ The six layers, mapped).
- Score — audit the hub against the playbook's production readiness checklist (§ Production readiness).
- Fill — implement what the audit found missing, smallest-first per the playbook's decision framework (§ What was added, § Roadmap).
The audit's headline: five of six layers were already strong. The gap was in Layer 6 — the hub tracked everything but alerted on nothing. There was no trip wire and no scorecard, and the fleet has already paid for that once: the four pre-fleet-pulse data workflows died silently for three weeks because a branch ruleset rejected their closing git push and nothing said so. That postmortem is now a permanent wire (stale-data, below) — the ratchet principle applied to the harness itself.
The six layers, mapped¶
+------------------+ +------------------+ +------------------+
| GUIDES | | AGENTIC LOOP | | SENSORS |
| AGENTS.md | | fleet-pulse | | drift gate (a–l) |
| AGENTS.md +---->+ issue-pipeline +---->+ schema_lint |
| SCHEMA.md chain | | token-rotation | | per-repo CI |
| .github/instr. | | repo-evolution | | pre-commit |
+--------+---------+ +--------+---------+ +--------+---------+
| | |
v v v
+--------+---------+ +--------+---------+ +--------+---------+
| MEMORY | | PERMISSIONS | | OBSERVABILITY |
| _data/*.yml | | fleet.yml caps | | actions_usage |
| labels-as-state | | draft-PR-only | | fleet_triage |
| ledgers/digests | | never-merge | | harness_health |
+------------------+ +------------------+ +------------------+
Layer 1 — Guides (feedforward: prevent known failures)¶
| Playbook component | Hub implementation |
|---|---|
| Primary guide file | AGENTS.md (imported by CLAUDE.md) — build/test/lint commands, submodule workflow, conventions |
| Agent operating manual | AGENTS.md + scoped .github/instructions/*.instructions.md |
| Structural contract | The SCHEMA.md pyramid — one lintable placement contract per directory (docs/SCHEMA-FRAMEWORK.md) |
| Rules traced to failures | The standing rules in AGENTS.md, each born from a named incident: never end a workflow in a bare git push to a protected branch; prefer needs: over workflow_run; CI-bearing PRs cannot use GITHUB_TOKEN; fleet-wide secrets are written hub-first |
| Per-repo guides | The agent-context kit (templates/agent-context/) seeds CLAUDE.md scaffolds into submodules via fanout.yml (kit standardize) |
The hub already practices the playbook's strongest guide discipline: rules are dated by their incidents, encoded where they bind (a standing rule in AGENTS.md and a drift-gate check where checkable), and the guide file outranks the conversation.
Layer 2 — Sensors (feedback: catch what guides couldn't prevent)¶
| Sensor | Type | Runs |
|---|---|---|
tools/check-drift.sh checks (a)–(p), including (p), the agent inventory (AGENT-EFFICACY.md) |
Computational | Every PR + nightly |
tools/schema_lint.py (drift check (h) — warnings fail CI) |
Computational | Every PR |
| shellcheck, markdownlint, prettier, black/flake8 (pre-commit) | Computational | Every commit |
Per-repo CI via reusable standard-ci.yml |
Computational | Every push, fleet-wide |
| Self-healing markdown-oneline gate (CI fixes and pushes) | Computational | Every PR |
Fixture tests for every deterministic planner (test_*.py in dash-gen/) |
Computational | Every PR + push to main (drift-check.yml step, since 2026-10-03; before that only by hand via tools/run-all-tests.sh). Advisory until main requires the check (see the follow-up below) |
| Fleet-pulse doctor, issue-pipeline tiers (Opus agents reading logs/evidence) | Inferential | Daily, capped |
The playbook's ordering — computational sensors first, inferential only where semantics demand it — is already the hub's shape: the deterministic planners (remediate, issues, targets) pre-vet and cap everything before an LLM sees it, and the agents' outputs land as draft PRs behind the same computational sensors as human work.
Layer 3 — The agentic loop (plan → execute → verify → fix, bounded)¶
The hub runs four production loops, every one matching the playbook's required shape — a deterministic plan step, a bounded execute step, verification by sensors, and escalation instead of silent failure:
| Loop | Plan (deterministic) | Execute (bounded) | Escalation |
|---|---|---|---|
fleet-pulse.yml doctor (daily) |
dash-gen remediate: ranked, deduped, capped queue |
Opus agent, --max-turns paired to max_candidates |
Falls back to a hub issue when it can't fix |
issue-pipeline.yml T1→T3 (daily) |
dash-gen issues: label-derived stages, per-tier caps |
Three tiers, evidence in isolated virtual env | agent:blocked, human-review; no tier ever merges |
token-rotation.yml (weekly) |
Staleness plan from the ledger | Hub-first, abort-on-hub-failure, max_failures |
ONE deduped tracking issue when re-mint needs a human |
repo-evolution.yml (weekly) |
dash-gen targets: opt-in, capped, one-open-PR backpressure |
One agent per repo, no persisted credentials, read-only allowlist | Draft PR only; skipped while previous PR is open |
Playbook loop bounds vs the hub: retries (caps + one-open-PR backpressure), tool budgets (--max-turns wired to the caps and asserted by fixture tests), wall-clock (timeout-minutes on every job), stopping condition (always: publish what was gathered, report what wasn't). The missing bound is a per-run dollar/token budget — tracked shadow-priced after the fact (dash ai, engagements ledger) but not enforced mid-run; see Roadmap.
Escalation-is-not-failure is structural here: stage lives in labels, so a missed run costs latency rather than a stuck workflow, and a human re-queues or stops anything by editing one label (agent:hold, human-review).
Layer 4 — Memory and state (the filesystem is the memory)¶
The playbook's recommended implementation — files over vector stores — is exactly the hub's: the registry and ledgers under _data/ are the shared state model, committed and diffable.
| Playbook layer | Hub implementation |
|---|---|
| Artifact store | _data/*.yml registries + ledgers, _reports/daily/ digests — all in git |
| Decision log | Standing rules in AGENTS.md with their incidents; workflow header comments narrating why |
| Checkpoint / recovery | Labels-as-state in the issue pipeline: any run resumes from current label state, no event chain to lose |
| Scratchpad | Ephemeral work orders (remediation-workorder.md, evolution-workorders/) — gitignored, rebuilt each run |
| Cleanup (stale-checkpoint hygiene) | Evidence bundles expire by TTL (evidence.ttl_days); ephemera are regenerated, never trusted stale |
Layer 5 — Permissions and budgets (the harness is the security boundary)¶
| Playbook control | Hub implementation |
|---|---|
| Capability budget (scope) | FLEET_TOKEN fine-grained scopes, probed (gh api user) rather than presence-checked; evolution agents run on checkouts with no persisted credentials and a read-only tool allowlist |
| Rate limits | Every loop's caps in _data/fleet.yml (remediation.max_candidates, issue_pipeline.tiers.*, evolution.max_targets/max_parallel) |
| Reversibility | Draft PRs only, never_merge: true, deletions never auto-applied (reconcile), additive-only fan-outs, hub_first + abort on hub failure for secret writes |
| Approval gates | assisted_types: [security], assisted_sizes: [size:xl], human-review label, dry-run defaults on every fan-out |
| Trusted/untrusted split | Issue/PR content reaches agents as data inside work orders built by deterministic planners; the instructions come from versioned prompts and guide files, not from the untrusted payload |
| Visibility | Every loop publishes a committed record of what it did (ledgers, snapshots, PR markers) |
Layer 6 — Observability (track everything, alert on drift)¶
What existed: per-workflow cost/effectiveness/waste (_data/actions_usage.yml), standing open-state (_data/fleet_triage.yml), daily digests (_reports/daily/), credential ages (_data/token_rotation.yml), shadow-priced AI cost per repo and per engagement (_data/ai_usage.yml, _data/engagements.yml). Cost attribution is already per-task, the metric the playbook calls "real."
What was missing — and is now implemented (see next section): the health scorecard and trip wires.
What was added (this adoption)¶
One new generator, one config block, one committed surface, wired into the existing daily loop — deliberately the smallest change that closes the audit's gap, per the playbook's own decision framework ("start with the simplest layer that addresses the observed failure").
| Piece | What it is |
|---|---|
_data/fleet.yml harness: |
The self-observation contract: scorecard thresholds + trip-wire triggers, versioned and reviewable like every other cap |
.github/scripts/dash-gen/harness.py |
dash-gen harness / dash harness — offline and deterministic: reads only the committed fleet signals, computes the scorecard, evaluates the wires. No network, no LLM |
_data/harness_health.yml |
The committed output: source freshness, scorecard, every wire (armed and tripped — a quiet panel must be distinguishable from a lost one), and the agentic: layer (below): each wire with id, group, tripped (true, false or unknown), shadow, first_seen, shadow_until, summary and detail. tripped_count counts the six trip wires and the agentic wires out of shadow |
fleet-pulse.yml wiring |
Runs last in the pulse gather steps — after the signals it watches — and publishes in the same single commit; tripped count surfaces in the run summary |
test_harness.py |
Fixture tests guarding the invariants (missing input trips, never crashes; median not mean; external/low-run/cheap workflows can't trip cost-spike; absent config degrades to defaults; each agentic wire has a passing and a tripping fixture, a missing parity or coverage block reads unknown, and a shadowed wire never adds to tripped_count) |
The scorecard (playbook Table VIII, from signals the fleet already keeps)¶
| Metric | Source | Direction |
|---|---|---|
completion_rate_pct — verified runs / started runs, fleet-wide |
actions_usage | up (threshold: 80) |
effectiveness_pct — minutes ending in success / all minutes |
actions_usage | up (threshold: 70) |
waste_hours, cost_min_per_verified_run |
actions_usage | down |
standing_failures, repos_red |
fleet_triage | down |
escalations_open (blocked + hold), agent_prs_open |
issue_pipeline | down / steady |
oldest_credential_age_days |
token_rotation | down |
The trip wires (playbook Table VII, adapted to this fleet's real failure modes)¶
| Wire | Playbook analogue | Why this fleet needs it |
|---|---|---|
stale-data |
"Would you know within an hour if the agent started failing?" | The three-week silent data death, made structurally loud. Watches every input's generated_at, including its own inputs' absence, and _data/conformance.yml, written weekly by fleet-snapshots.yml (conformance_stale_days, 14: one missed run is fine, two trip it) |
pass-rate-floor |
Sensor pass rate drops → quality regression | Fleet-wide CI success below 75% |
waste-ceiling |
Cost exceeds average → runaway | Non-success minutes above 30% of all minutes |
cost-spike |
Duration exceeds 3× → stuck/runaway | Workflows ≥3× the fleet median run time and ≥5 min absolute (the floor keeps a sub-minute-median fleet from alarming on ordinary CI) |
standing-failures |
Same error repeats → guide/sensor gap | Red-workflow backlog beyond what the doctor's caps can drain per week |
credential-overdue |
Permission drift | A fleet credential past its own rotation policy + grace — the state where the weekly loop is waiting on a human |
A tripped wire is an attention item, not an action: the doctor, pipeline, and rotation loops own the fixes; this is the alarm panel above them. dash harness prints it on demand; the pulse job publishes it daily.
The agentic layer¶
On 2026-11-07 agents failed silently on numbers nobody checked: the hub was missing from the Actions analytics, _data/conformance.yml was 17 days old, and the six wires above could see none of it (epic #773). The agentic layer (constitution § 29, E2 #776) adds wires on the agents' own inputs. harness.py computes it offline from committed files: a source that is not a committed _data/*.yml file (the lake, ~/.claude, a live API) is reported unknown and never read. The thresholds are _data/fleet.yml harness.agentic, and changing one is a gated change (§ 29.8).
| Wire | Group | Trips when |
|---|---|---|
source-freshness |
source freshness | A harness.sources entry is older than its own slo_days, is missing or undated, or has no writer (§ 29.4) |
coverage-hub |
measurement coverage | The hub (hub.repo) has no by_repo row and no error-free coverage.repos row in actions_usage.yml or ai_usage.yml |
coverage-complete |
measurement coverage | A collector's coverage block shows a truncated repo, missed runs, or a repo it could not read |
coverage-parity |
measurement coverage | parity.actions_minutes (against the billing meter) or parity.ai_ci_cost (against the claude-cost result lines) is further than parity_tolerance_pct (5) from its source |
unknown-agent-cost |
unknown agent cost | Of the CI agent runs that spent, the share whose cost could not be read from the run (cost_source: estimated) is above unknown_cost_max_pct (25) |
Each wire reads true, false or unknown. unknown means an input it needs is absent, such as a parity or coverage block an older collector never wrote. It is never green and never an alarm, and a trip in one check still trips the wire beside an unknown one. Each wire stays in shadow for shadow_days (14) after its first_seen, which is carried forward from the committed _data/harness_health.yml. A shadowed wire is published with its verdict but never adds to tripped_count. While the layer is in shadow, stale-data keeps watching every input with its old limits, so the two overlap until the console renders the layer.
Still to come in the same stack (#776): effectiveness floors, the silent-agent wire, tool-error and permission-denial ceilings, learning loop alive, local jobs alive and the false-signal rate; the console Harness health page and MCP harness_health rendering the layer; handing stale-data's sources to source-freshness; and a replay test that trips the wires on the 2026-11-07 signals.
The ratchet, as house process¶
The playbook's core discipline — every failure becomes a permanent fix at the strongest layer — is adopted as the explicit routing rule for this repo. When an agent (or a loop, or CI) fails, fix it at the highest reliable rung it can be checked at:
| Rung (reliability ↑) | Hub form | Use when |
|---|---|---|
| Prompt / conversation | A correction in-session | Never as the final fix |
| Guide rule | A dated standing rule in AGENTS.md, with its incident |
The failure needs judgment to avoid |
| Sensor | A drift-gate check, fixture test, or lint rule | The rule is checkable without interpretation |
| Environment / permission | A fleet.yml cap, workflow constraint, token scope, or ruleset |
The failure should be structurally impossible |
Existing precedents to imitate (each one incident → strongest layer): the bare-git-push deaths → publish-data composite + standing rule; the workflow_run skip → needs: + standing rule; the three divergent schema_lint.py forks → drift check (i); the action.yml expression crash → drift check (l); the doctor's overlong queue → max_candidates paired to --max-turns, asserted by a fixture test. Cursor's three-strikes rule applies: a correction made three times becomes a sensor, and the fourth time should never happen.
Production readiness (playbook Table XIII, scored)¶
| # | Requirement | Status |
|---|---|---|
| 1 | Guide file with build/test/lint | ✅ AGENTS.md (+ the CLAUDE.md pointer), per-repo scaffolds |
| 2 | 5+ guide rules from failures | ✅ standing rules, each with a named incident |
| 3 | Computational sensor per task | ✅ drift gate + CI + fixture tests |
| 4 | Bounded retry + escalation | ✅ caps, turn budgets, brake labels, fallback issues |
| 5 | State checkpoint to filesystem | ✅ _data/ ledgers, labels-as-state |
| 6 | Permission boundary | ✅ scoped tokens, draft-only, never-merge |
| 7 | Token and cost budget | ✅ per run: every Claude call site passes --max-turns and --max-budget-usd (_data/fleet.yml budget.call_sites, including the claude-run action and ai-lane; asserted by test_ai_budget.py). Caveats: the cap uses the CLI's client-side cost estimate, which under OAuth is a throughput ceiling, not billed spend; the monthly total (harnesses.budget) is still a forecast, not a hard stop |
| 8 | Structured logging | ✅ committed snapshots + run summaries |
| 9 | Trip wire on cost/error rate | ✅ added — dash-gen harness |
| 10 | Trusted/untrusted input split | ✅ deterministic work orders carry payloads as data |
| 11 | Emergency stop + state preserve | ✅ agent:hold / label edits; state is committed files |
| 12 | 3 successful unattended runs | ✅ the loops have run daily/weekly in production since 2026-08 |
Roadmap — remaining gaps, smallest-first¶
Phase 2 (worth doing next, each one small):
Dash surface— done 2026-08-27, moved into the console 2026-10: the Harness health page (/harnesses/health,HealthPage.tsx) renders_data/harness_health.yml(trip wires with tripped state, the scorecard) and embeds the diagrams below, sandboxed.Fleet deployment inventory— done 2026-08-31: the DEPLOYMENT-side counterpart of this scorecard.dash-gen harnessesscans every registry repo's harness workflows + crons into_data/harness_registry.ymldaily, grades them against_data/fleet.ymlharnesses:(baseline coverage, scheduled-throughput caps, budget forecast from trends), renders at/harnesses(Inventory.tsx), and feedsfanout.yml(kitharness)'sgapsdeploy target. Operations doc:docs/HARNESS-OPS.md. Rebuilt 2026-11-11 around the harness standard: the scan finds every route to a model (it knew one, and missed 56 of 117 AI workflows), grades each harness againstharnesses.standard, and names the lever that rebuilds it (HARNESS-OPS.md).Enforced cost budget (checklist #7): done per run.budget.call_sitesinfleet.ymlsets a--max-budget-usdceiling for everyclaude-code-actionstep (bamr87#128), and since 2026-10-03 also for everyclaude-run/ai-lane/fleet-verifystep. A budget abort fails the step and never falls back to another credential or the API. Still open: an aggregate (monthly or workspace) hard stop, e.g. Anthropic Console workspace spend limits. The per-run cap uses the CLI's estimate and does not bound the fleet total.- Guide hygiene cadence: fold a monthly guide review into the repo-evolution loop's hub pass — prune rules that sensors now enforce, reconcile contradictions, verify each standing rule still traces to a live constraint.
- Recursive harness refinement — the $0 half shipped 2026-11-04 (HARNESS-REFINEMENT.md, ADR 0004): the harness surface as a sensor (
tools/dash refine surface check, which found and fixed a malformed skill on its first run), one Propose–Probe–Compose step planned and evidenced from real local attempts, and the experience library the context pack reads; the model-backed stages are its P1, behind--apply. - Agent efficacy (constitution § 29) — started 2026-11-07 as E0 of epic #773: every agent (a CI agent step, a local loop step, a scheduled local job, a JEV tier) is registered in one generated inventory,
_data/agents.yml(tools/dash agents), with its owner, trigger, switch, cap, model, KPIs and the sources it reads with their writers, and drift check (p) fails a PR that adds an unregistered agent. The KPIs and thresholds per kind, the source catalogue and its freshness SLOs live in_data/fleet.ymlharness.efficacyandharness.sources; contract gaps are warnings until a gated PR turns enforcement on after the shadow period (AGENT-EFFICACY.md, ADR 0009). An agentic layer and its trip wires in this scorecard are E2 (#776); its first wires (source freshness, measurement coverage, unknown agent cost) are the agentic layer above, in shadow. - Wire → doctor handoff: let a tripped
cost-spike/standing-failureswire annotate the remediation queue's ranking, so the alarm and the fix queue converge on the same candidates (today they compute independently from the same data). - The assistant in the console — its read-only form shipped 2026-11-04 as the Assist page (
assistop: one capped headless Claude Code session with the console's own MCP server attached, confirm-gated, no write tool; tools/console/README.md); a remote assistant reaches the same tools over the MCP HTTP transport. The docked form (ADR 0013) puts it beside every page as a conversation that can see the page the person has open and, in the mode they choose, use it: a page bridge with eight allowlisted actions, each click asked of the person by default, never inside a confirming dialog. A Claude Code session in a terminal can pair with a page by a code. - Grok Bot integration in the console frontend: add Grok Bot, Amr's primary assistant, to the harness console web app (
tools/console/web/), so he can ask about, trigger and follow fleet work from the same pages that show harness health, inventory and loops. It reuses the console's existing MCP endpoint (the harness-console connector) instead of adding a new backend, keeps every write behind the same PR-only, draft-first and brake-label guardrails, and degrades to a plain read-only view when Grok Bot is unreachable.
Epics (larger, multi-phase):
- Epic: fleet knowledge capture and retrieval: capture, consolidate, extract, organize and store the content and context that is scattered across content management systems (it-journey, lifehacker and the other sites), codebases and documentation, from any source in the fleet. Index and vectorize that content into one searchable store that keeps each item's source, repo and freshness, and expose it to Claude Code and any other AI provider (for example through the console's MCP endpoint) so agents pull accurate, current context before they act. Success is measured by agent accuracy: fewer wrong or stale answers and fewer review fixes. Design for Failure applies: a stale or unreachable index falls back to reading the source files directly, and every retrieved item cites where it came from.
Deliberately not planned, per the playbook's over-engineering warnings: no LLM-as-judge gates (the deterministic sensors are the gates; the agents are already advisory), no knowledge graph (the _data/ files are the shared state and the recovery test passes without one), no additional approval workflow (the caps + draft-only + brake labels are the graduated scope the playbook prescribes).
Multi-agent extensions (playbook §XVII)¶
The hub is a multi-agent system by construction, and the playbook's extensions map cleanly:
| Extension | Hub form |
|---|---|
| Typed handoffs | Work orders and JSON matrices built by deterministic planners — artifact, evidence, caps, and identity, never "done, looks good" |
| Shared state model | _data/*.yml + labels, read per-task — not a shared conversation |
| Routing policy | Each loop's plan step; severity ranking; per-tier caps |
| Independent verifier | The producing agent never judges its own PR: CI, the drift gate, and a human review every merge (never_merge) |
| Escalation protocol | Brake labels, fallback issues, deduped markers |
Illustrated — the diagrams in diagrams/¶
The architecture and its four loops are drawn as typed, validated diagrams rather than hand-made pictures: each is a small JSON specification in diagrams/ that the vendored archify skill (.claude/skills/archify/, MIT) compiles into a self-contained interactive HTML file. Archify is itself a harness-shaped tool — the agent produces a typed IR, a deterministic compiler validates it against a schema plus composition rules (label collisions, edges through nodes, desktop readability) and refuses to emit an artifact until every check passes — which is why it was chosen to illustrate this one. The delivered HTML is committed beside its source and served at /diagrams/; the site embeds all five on the Harness health page (/harnesses/health, HealthPage.tsx).
| Diagram | Type | What it shows |
|---|---|---|
harness-layers.architecture |
architecture | The six layers as components of the hub, the model and the human outside the boundary, and which layer feeds which |
fleet-pulse.workflow |
workflow | The daily loop as lanes: deterministic pulse gather → one publish-data commit → remediate queue → token probe → doctor agent → draft PR, with the fallback issue in the exception lane |
fleet-signals.dataflow |
dataflow | How GitHub signals become committed _data/*.yml and then split into the fix queue (for the doctor) and the scorecard (for people) |
issue-pipeline.lifecycle |
lifecycle | The label state machine — agent:queued → T1 → agent:ready → T2 → T3 → human merge — with agent:hold, human-review, and agent:blocked as the non-terminal gates |
repo-evolution.sequence |
sequence | The weekly cross-repo loop: plan (registry read, token probe, backpressure) before any agent runs; a credential-free checkout; the workflow, not the agent, opens the draft PR in the submodule's own upstream |
Regenerate after editing a source (validation is showcase-strict; a non-zero exit means the diagram was not accepted):
tools/render-diagrams.sh # validate + deliver every diagrams/*.json → *.html
tools/render-diagrams.sh --check # validate only
To author a new one, ask Claude Code to "use archify to draw …" — the skill's fast path reads one schema and one example, writes the candidate, and repairs it against the validator's diagnostics.
Operating it¶
tools/dash harness # compute the scorecard + wires now, from committed data
tools/dash config show harness # the thresholds in force
python3 .github/scripts/dash-gen/test_harness.py # the invariants
The daily refresh rides fleet-pulse.yml's pulse job; thresholds are tuned in _data/fleet.yml harness: (a wire that is always on is noise — prune or retune it the way guide rules are pruned).
This document watches the hub's own layers; managing the harnesses deployed across the fleet — inventory, mass deploy/update, throughput caps, cost forecasting, the local/cloud processing planes — is docs/HARNESS-OPS.md (dash harnesses, the /harnesses/ board, fanout.yml (kit harness)).
Cross-repo pattern matching is tools/dash index harmonize <pattern> (Observe → Index in the console). It reads the Kilo code index — one embedding, the best hit per submodule — and lists who already has the pattern and who does not, so a standardize or evolve pass starts from a gap list instead of a blind grep. Coverage and the .github blind spot are tools/dash index status. The floor lives in _data/fleet.yml observability.indexing.analysis.