This project is a domain-driven design study. It is not associated with, endorsed by or affiliated with any company, and it uses no company's code, data, logos or trademarks. All names, figures and examples are illustrative or synthetic. · November 2026
One script stamps out a new repo with gates, hooks and the event helper built in.
Fitness tests encode real incidents, from auth creeping back to bad event envelopes.
Every failing check says what broke, why, and how to fix it, so agents self-correct.
Close the open incident gaps and roll the agent-authority checks out wave by wave.
Answer one question for every new or drifting repo in the warehouse-systems fleet: what quality/agent harness should this repo have, and why. It is a template, not a runnable service — no cmd/, no OpenAPI spec, no domain code except the opt-in GS1 identification package…
Every new repo starts from this template, and a weekly sync keeps its managed files identical in existing repos afterwards.
Some sensors still roll out by hand, wave by wave, and INCIDENTS.md lists open gaps that no check guards yet.
One script creates a repo with CLAUDE.md, a Dockerfile and the event helper.
Sync tools re-apply managed files to existing repos, byte for byte.
The CI template runs 20 jobs, from lint and BDD to mutation and security scans.
Hooks block risky git moves and gate edits; checks run before an agent says done.
Architecture tests that each trace back to a failure the fleet really had.
Catches broken CI paths, stale owners and leftover placeholders early.
N/A — this repo is itself an observability/quality harness rather than a service; it contributes the fleet's sensor catalogue rather than running a telemetry stack
Owns the fleet quality harness: guides and sensors.
Leader capabilities are vendor-published; gaps reflect repo docs reviewed in November 2026.
Manual fan-out for unmanaged sensors: the outbox, MCP, Kafka-acks, DLQ, writer-topic…
Next step: roll the agent-authority tests out per wave, as INCIDENTS.md records.
Instantiation is only step one: .claude/rules skeletons and .gremlins.yaml thresholds ({{MEASURED_EFFICACY_MINUS_1}} placeholders)…
Instantiation is only step one; rules and thresholds need real code and measured numbers.
A new managed rule must land its required files fleet-wide BEFORE the rule rolls out…
Required files must land fleet-wide before the rule rolls out.
LLM-based sensors (code/architecture/domain review, ai-review.yml) are advisory by decision…
They stay advisory by decision until their precision is shown.
The harness template turns each past incident into a check, so the same failure cannot quietly recur
| Style | Template repository (harness engineering: guides + sensors) — no runtime of its own; ships a Go-quality gate plus an agent-runtime harness that instantiate into each bounded-context repo… |
| Layout | Makefile / lefthook.yml / .golangci.yml / .gremlins.yaml at root; internal/architecture/ (13 fitness test files that pass against the empty tree) and internal/domain/shared/gs1/ (opt-in GS1… |
| Storage | None — no database, no migrations; only credential-handling guidance (never embed passwords in scheme://user:PASSWORD@host URLs) |
| Testing | selftest.yml is the gate (not make check-all): hook, repo_lint, guide_lint, fleet_drift and migration tests, go vet + go test of internal/architecture and the GS1 package, py_compile… |
| REST | None — no cmd/, no OpenAPI spec; it ships the api-lint (Spectral) and docs-api-drift jobs in ci.yml.template that instantiated repos run against… |