distillx. / teardown 2026-07-22
← today's 5
VIRAL TODAY

lopopolo/harness-engineering

Harness Engineering is a coherent, well-grounded practice for making agent output legible and maintainable at organizational scale. Core insight, encode intent into repository structure so agents infer policy from shape, is sound and validated across four independent personas (CTO, CPO, VPE, Scrum Master) and two specialist lenses (CISO, Scrum Master).

Adoption path is clear: start with domain modeling and encoding nonfunctional requirements into types and lints (3 weeks, immediate payoff), then invest in context routing and maintenance loops as scale demands. Biggest gap is absence of integrated reference implementation that demonstrates all eight ideas running together.

Not ready for naive adoption without architectural discipline; best suited for platform teams already comfortable with strong typing, ownership models, and scheduled observability. Long-term value is preventing agent work from becoming a maintenance tax, by localizing knowledge, making repair mechanical, and keeping proof loops continuous.

Alpha
Architecture68Maturity38Security52Reusability56Documentation48Testing16
60 / 100

ReadyBase score: Good, AI viable with verification. Deterministic, no LLM.

How ReadyBase scores this →

Distill this: 21 ideas worth adopting

ranked shortlist
95
Encode nonfunctional requirements and architectural intent into repository structure (types, package topology, lints, examples) so agents infer good practice from codebase shape

Convergent across 4 personas. Transferable, immediate payoff (eliminates instruction debt and compresses context at every job). Adoption cost is upfront (modeling + linting setup ~3 weeks) but compounds as codebase grows. Single biggest lever for harness quality at scale.

92
Separate context routing from synthesis, maintain large navigable knowledge store with small active working set, routing only what's needed just in time

Convergent across 4 personas. Transferable, solves context-window ceiling and latency without sacrificing knowledge access. Adoption cost is infrastructure (sidecar, indexing, curation discipline) but enables 10x scaling of agent cognition. Prerequisite for large codebases.

88
Treat chosen model and coding agent as fixed black box during one adoption epoch, then requalify environment when worker changes

Convergent across 4 personas. Zero implementation cost (discipline only). Isolates harness improvements from worker capability churn, de-risks model upgrades, makes ROI measurable. Qualification cost (~1 week per upgrade) scales sublinearly with harness maturity.

84
Localize maintenance work in repository-owned loops with durable state, versioned authority contracts, and automated feedback

Convergent across 3 personas (CTO, VPE, Scrum Master). Transferable. Prevents drift at scale without roadmap slot competition. Adoption cost ~2 weeks per domain; ongoing curation overhead low relative to prevented rework. Scales to support continuous background work.

82
Separate capability from explicit authority, grant reversible capability broadly in sandboxes, then make consequential mutations scoped, revocable, and auditable

Convergent across 3 personas (CTO, CPO, CISO). Transferable, enables human-in-the-loop at scale. Adoption cost is infrastructure (credential broker, audit logging, rollback primitives) ~3 weeks. Tension between audit rigor and latency unresolved but payoff is clear for compliance-sensitive orgs.

78
Measure effectiveness at outcome boundary using separate clocks (worker feedback latency, wall-clock duration, human attention, time to acceptance) not just test passage

Convergent across 3 personas (CTO, CPO, VPE). Transferable, reveals where time actually goes. Low adoption cost (instrumentation) but requires discipline to collect 4 independent signals instead of optimizing single metric. Payoff is targeted investment in feedback loops that matter.

76
Delegate whole job lifecycle to one primary agent trajectory; humans provide direction only at consequential boundaries

Convergent across 2 personas (CTO, CPO). Transferable. Eliminates handoff latency and reduces context fragmentation. Adoption cost is designing clear outcome contracts and revocation boundaries (~1-2 weeks). Scales by adding parallel trajectories instead of layers.

72
Externalize organizational process data and operating knowledge into retrievable context rather than assuming models internalize private/changing facts

Convergent across 2 personas (CPO, CISO). Transferable, bridges model generality to org-specific decision-making and reduces secrets-in-weights risk. Adoption cost high (audit of tribal knowledge, schema design, scheduled refresh ~4 weeks) but prerequisite for safe deployment. Security justification is strong.

68
Use version-stable canonical manifests as operative source of truth, with parsing enforced at boundaries and tests rejecting parallel literals and cross-file disagreement

Flagged by CISO, Scrum Master. Transferable (eliminates configuration drift and stringly-typed ambiguity). Adoption cost is low (centralized format + CI gates) but requires discipline. Payoff is audit legibility and reduced privilege-escalation surface.

66
Parse external syntax once at typed boundaries into semantic domain values, then use policy code to reason about relationships rather than comparing raw strings

Flagged by CISO, Scrum Master. Transferable (eliminates injection vectors at policy boundaries). Adoption cost is upfront (parser validation + strong typing ~2 weeks) but zero incremental cost after pattern is set. Security and maintainability payoff is measurable.

64
Make diagnostics guide repair by naming which invariant was violated, not just rejecting output

Flagged by CISO, VPE. Transferable (structured error taxonomy + diagnostic instrumentation ~2 weeks). Low ongoing cost, enables agents and humans to remediate without guessing. Payoff is reduced silent failures and faster incident resolution.

60
Preserve model-native semantics and learned tool names during host migrations through adapters that change transport while preserving actions and schemas

Flagged by CISO. Transferable but specialist (migration tax). Adoption cost moderate (adapter layer + fidelity testing). Payoff is reduced latent mistakes in authorization grants and error recovery during tool migrations. Higher value in multi-model deployments.

58
Enforce 100% test coverage for domain packages when coding models do the writing, zero incremental effort to hit the bar

Inferred by analyst. Domain-specific (targets model-written packages). Adoption cost zero (models enforce automatically). Payoff is non-negotiable quality bar without trade-off. Limited scope (domain packages only) reduces generality.

54
Colocate content and assets per unit, keep authorship, metadata, and rendering inputs in same directory to preserve context and reduce naming drift

Transferable (applies to any content-heavy system). Adoption cost low (refactoring existing structure). Payoff is reduced context loss and easier asset management. Limited evidence (one source: blog build) reduces confidence.

52
Use one execution path for both development and production rendering, avoid maintaining separate implementations by using same SSR pipeline in both contexts

Transferable (applies to rendering pipelines). Adoption cost moderate (SSR unification ~2 weeks). Payoff is reduced maintenance surface and consistency. Limited scope (rendering-specific) and evidence reduces generality.

50
Turn trajectory evidence, MLD signals, review findings, and incidents into infrastructure by promoting stable lessons into their earliest durable owner

Transferable (applies to all feedback loops). Adoption cost low (discipline + linting). Payoff is preventing repeated mistakes. Evidence is thin (referenced in backlog signal only) and implementation details are vague.

48
Let package topology carry intent, separate policy ownership, application shells, and integration boundaries so dependency direction answers architectural questions

Transferable (applies to all architectures). Adoption cost high (structural refactoring ~4 weeks). Payoff is mechanical enforcement of dependency direction and ownership. Evidence limited to two sources (both code-heavy, specialist context).

46
Use immutable domain types like HyperUrl to represent intent instead of passing mutable objects or raw strings

Transferable (applies broadly). Adoption cost upfront design (~3 days) then zero incremental cost. Payoff is eliminated stringly-typed mistakes and validation removal downstream. Evidence limited (one specialist source); narrow scope reduces impact.

42
Delegate registration and preference defaults to verified sidecar or broker rather than having each business domain manage its own knobs

Transferable (applies to multi-domain systems). Adoption cost moderate (broker design + domain retrofit). Payoff is centralized policy without duplicated knobs. Evidence thin (one mention); scope narrow.

38
Archive repository ownership and capability boundaries as trait-shaped interfaces or abstract contracts, enabling incremental migration through Strangler Fig

Transferable (applies to legacy modernization). Adoption cost high (interface layer + gradual migration). Payoff is decoupled refactoring without caller churn. Evidence limited (one code source); specialist migration pattern.

36
Use architecture documents as executable prompts, encode decision ownership and dependency direction into codebase so linters and tests reject violations

Transferable (applies to all codebases). Adoption cost moderate (custom linting + structural checks ~2 weeks). Payoff is legible architectural intent. Evidence limited to 2 personas; overlaps significantly with typed-boundary and encoding-intent ideas, reducing novelty.

What it does

Harness Engineering is a practice for shaping agent environments, context, tools, permissions, repository structure, and feedback loops, to improve output from fixed models and coding agents. The repository documents eight core ideas (domain modeling, context routing, fixed-worker qualification, authority separation, maintenance loops, outcome proof, tool legibility, whole-job delegation) through theses, playbooks, and domain examples (Artichoke Ruby state refactoring, blog build, homelab infrastructure, security hardening).

The wedge

Treats repository structure, types, and linting as part of the harness, agents infer nonfunctional requirements and architectural intent from codebase shape rather than prose. Orthogonal to model choice; transferable across workers. Strongest differentiator: codifies maintenance and proof loops as repository-owned, scheduled work rather than unscheduled drift or roadmap competition.

Truth gap

Repository documents eight mature ideas for scaling agent output, but provides no integrated working implementation or automated qualification procedure for validating harness improvements.

Findings board, 5 lenses on this repo

5 personas, 33 findings
CTO
Separate context routing from synthesis, keep a large navigable knowledge store with a small active working set, routing only what's needed just in time.

Scales agent cognition: avoids context bloat at 10x load, keeps latency predictable, enables knowledge bases that agents can't fit in a single prompt.

Cost Refactor repository surface into query-able layers (semantic search, navigation contracts, type boundaries); instrument the sidecar that routes; measure hit/miss rates.

Encode nonfunctional requirements and architectural intent into the repository's canonical owners, repeated structures, types, and executable constraints so the agent infers good practice from examples.

Eliminates instruction debt: agents learn the system shape from code, not prose; scales team to 10x without proportional documentation burden; makes architectural repair mechanical.

Cost Audit codebase for loose conventions, codify into types and lints (dependency direction, package topology, trait contracts), retrofit existing code to model, wire lints into CI.

Treat the chosen model and coding agent as a fixed black box during one adoption epoch, then requalify the environment when the worker changes.

De-risks model churn: each upgrade forces re-proof of the harness (context, tools, prompts) so regressions surface early; isolates model differences from harness quality.

Cost Establish baseline with representative whole-job journeys before any model upgrade; create qualification checklist; maintain per-model instrumentation and A/B instrumentation across upgrade boundaries.

Match evidence to the user or operational claim rather than treating test passage as proof, use real journeys, corpora, traces, and deployed health as independent verification boundaries.

Catches the gap between lab and production at 10x scale: unit tests won't surface resource exhaustion, cascading failures, or integration surprises; real data exposes what matters.

Cost Build ephemeral observability stack per worktree; expose logs and metrics to agent; add production traces to regression suite; instrument deployed outcomes as ground truth, separate from CI.

Localize maintenance work in repository-owned loops with durable state, versioned authority contracts, and automated feedback rather than leaving work unscheduled or dependent on roadmap priority.

Prevents drift at 10x scale: scheduled roles catch configuration-vs-code gaps, dependencies creep, and security updates; machines and humans share the loop; fixes don't evaporate.

Cost Define what 'drifting' means per domain (dependency freshness, docs vs config, security advisories); automate discovery; schedule roles to diff and repair; version contracts in code.

Delegate the whole job to one primary agent trajectory for decomposition, execution, integration, proof, and lifecycle closure; humans provide direction at consequential boundaries only.

Eliminates handoff latency: one agent owns end-to-end, reduces context fragmentation, makes accountability legible; team scales by adding parallel trajectories, not layers.

Cost Define 'consequential boundaries' (approvals, permission gates, undo triggers); give agent closure authority within boundaries; wire sparse delegation tests; instrument trajectory evidence for replay.

Separate capability from explicit authority, grant reversible capability broadly in sandboxes, then make consequential mutations scoped, revocable, and auditable.

Enables human-in-the-loop at scale: agent can experiment in sandboxes (no retry cost), mutations to production are gated and logged, revocable if wrong; audit trail for compliance.

Cost Provision per-worktree sandboxes; implement capability sidecar for narrowly scoped credentials; add mutation ledger; wire up abort and rollback primitives; audit logging to durable store.

CPO
Externalize organizational process data and operating knowledge into retrievable context rather than assuming models internalize private/changing facts

Bridges gap between generic model capabilities and org-specific decision-making; enables coherent agent behavior across process changes without retraining or constant prompt updates

Cost Requires audit of tribal knowledge, schema design for domain state, and scheduled refresh loops; initially high lift to externalize, then maintenance overhead shifts from prompt engineering to context curation

Route context just-in-time with small active working set, keeping large navigable knowledge store separate from synthesis

Solves context-window ceiling and latency; agents make better decisions with less noise by selecting relevant slice on-demand vs. dumping everything upfront

Cost Needs sidecar/broker infrastructure, navigation contracts, and indexing discipline; pays back through reduced context cost and faster inner loops once operational

Delegate whole job lifecycle (decompose, execute, integrate, verify, close) to one primary agent trajectory; humans provide direction only at consequential boundaries

Eliminates handoff overhead and context loss; agent owns outcome coherence instead of humans orchestrating fragmented steps; reduces synchronous human attention demand

Cost Requires sparse, durable intent documentation and trust in agent autonomy; upfront cost is designing clear outcome contracts and revocation boundaries; ongoing cost is human judgment at the right moments only

Encode nonfunctional requirements and architectural intent into repository structure (owners, types, examples, lint rules) so agent infers good practice from codebase shape

Shifts authority from prose guidelines to mechanical enforcement; agent learns org standards from reading examples, reducing instruction demand and drift

Cost Requires architectural discipline, custom lint, and structured package topology; one-time cost to refactor and document intent; ongoing cost is keeping structure coherent as it ages

Separate worker capability from explicit authority, grant reversible capability broadly in sandboxes, make mutations scoped, revocable, and auditable

Enables human-in-the-loop work with consequence recovery; agent can explore safely without delegating all keys; revocation is clean boundary between environment and outcome

Cost Needs credential broker, endpoint binding, read-only agent identities; infrastructure cost upfront; ongoing cost is audit trail management and policy review

Treat chosen model and coding agent as fixed black box during one adoption epoch; requalify whole environment when worker changes

Makes harness investments cumulative and predictable; avoids chasing moving targets; identifies which improvements are env vs. worker-driven

Cost Discipline to hold steady during urge to upgrade; cost is accepting temporary capability gaps; benefit is clear ROI measurement and durable leverage on known worker

Measure effectiveness at outcome boundary using separate clocks (worker feedback latency, wall-clock duration, human attention, time to acceptance) not just test pass

Reveals where time actually goes (idle loops vs. slow verification vs. human bottlenecks); enables targeted investment in feedback loops that matter

Cost Requires instrumentation and honest telemetry; low cost to add timing; ongoing cost is interpreting signals and avoiding false correlations

VPE
Encode nonfunctional requirements and architectural intent into repository structure, repeated patterns, types, and executable constraints so agents infer good practice from examples

Reduces onboarding friction and ensures consistency across new code without tribal knowledge or per-PR review cycles

Cost Requires upfront investment in domain modeling, typed boundaries, and linting rules; payoff compounds as codebase grows

Separate context routing from synthesis, maintain large navigable knowledge store with small active working set, routing only what's needed just in time

Cuts agent context waste, improves decision velocity, and makes maintenance loops scale without exponential documentation bloat

Cost Needs curator discipline and versioned authority contracts; infrastructure to index and route selectively

Treat chosen model and coding agent as fixed black box during one adoption epoch, then requalify environment when worker changes

Isolates variables, makes harness improvements measurable and reproducible, prevents chasing tool changes without learning their impact

Cost Discipline to hold steady despite allure of new models; qualification work scales with agent capability jumps

Localize maintenance work in repository-owned loops with durable state, versioned authority contracts, and automated feedback rather than leaving work unscheduled

Shifts maintenance from roadmap slot competition to continuous background work; keeps knowledge current without manual coordination

Cost Requires scheduled observability roles and runbook infrastructure; ongoing curator effort to compare docs against config

Use architecture documents as executable prompts, encode decision ownership and dependency direction into codebase so linters and tests reject violations mechanically

Makes architectural intent legible to agents and reviewers; catches drift at commit time rather than production incident

Cost Upfront structural refactoring and custom lint rules; maintenance burden on architecture stability

Measure effectiveness at outcome boundary using separate clocks for feedback latency, wall-clock duration, human attention, and time to accepted outcome

Reveals where time actually goes; prevents optimizing inner loop while blocking on external waits or human approval gates

Cost Instrumentation work; discipline to collect and interpret four independent signals instead of one metric

CISO
Externalize organizational process data and operating knowledge, then compose them into retrievable context rather than assuming the model has internalized private or changing facts.

Externalizing sensitive process data reduces the risk of embedding secrets, PII, or proprietary information in model weights or prompts where access control is implicit and audit trails are weak.

Cost Requires inventory of all organizational data sources, access-control retrofit, and audit instrumentation at retrieval boundaries.

Separate capability from explicit authority, grant reversible capability broadly in sandboxes, then make consequential mutations scoped, revocable, and auditable.

Decoupling capability from authority enables least-privilege mutation patterns; audit trails become mechanical and revocation is trivial, unlike post-hoc access reviews or secret rotation.

Cost Requires credential broker infrastructure, audit logging on every boundary crossing, and policy enforcement at tool invocation time.

Parse external syntax once at typed boundaries into semantic domain values, then use policy code to reason about relationships rather than comparing raw strings or duplicated constants.

Eliminating stringly-typed comparisons removes injection vectors at policy boundaries; semantic values carry validation evidence that can be audited and compared precisely.

Cost Requires strong typing discipline and parser validation test coverage; modest up-front cost yields audit legibility.

Use version-stable canonical manifests as the operative source of truth, with parsing enforced at boundaries and tests rejecting parallel literals and cross-file disagreement.

Single source of truth eliminates configuration drift and conflicting policy specs that create exploitable ambiguity during privilege escalation or secret-handling reviews.

Cost Requires centralized manifest format, validation at every ingest point, and CI gates rejecting inconsistencies.

Make diagnostics guide repair by naming which invariant was violated, not just rejecting output and leaving a human to explain the architecture.

Legible violation signals allow agents and humans to remediate without guessing; silent failures hide security-relevant invariant breaks until post-incident review.

Cost Requires structured error taxonomy and diagnostic instrumentation; low cost once architecture contracts are formalized.

Preserve model-native semantics and learned tool names during host migrations through adapters that change transport while preserving actions, schemas, and repair sequences.

Migration risk compounds when tool invocation patterns change; preserving model-learned action names and error handling patterns reduces latent mistakes in authorization grants and error recovery.

Cost Requires adapter layer and complete fidelity testing on new host; moderate cost if original tooling is well-specified.

SCRUM MASTER
Externalize organizational knowledge into repository-owned loops with durable state and automated feedback

Turns maintenance work that drifts unscheduled into infrastructure that runs mechanically; agents can keep work moving without waiting for roadmap slots

Cost Requires repository contract ownership and scheduled domain validation roles; initial lift ~2 weeks per domain

Encode nonfunctional requirements into package topology, types, and executable constraints so agents infer good practice from examples

Removes instruction demand and compresses context; agents learn architecture from shape, not prose; consistency is recoverable

Cost Upfront modeling cost (~3 weeks); pays back immediately in reduced prompt overhead per job

Hold model and coding agent constant across one adoption epoch, then requalify the environment when the worker changes

Makes failure actionable by isolating whether a miss is worker capability or harness gap; prevents chasing model updates without measurable effect

Cost Discipline only; requires qualifying whole journeys (~1 week per worker upgrade); no implementation cost

Separate local development tooling from production code through dependency direction enforcement

Prevents accidental prod dependencies on dev helpers; makes package boundaries legible to agents; simplifies testing and shipping

Cost Linting rules + structural checks; ~1 week to retrofit existing repo

Use immutable domain types (e.g., HyperUrl) to represent intent instead of mutable objects or raw strings

Removes stringly-typed mistakes; machine knows context without caller rebuilding naming policy; eliminates repeated validation downstream

Cost Upfront design (~3 days); zero incremental cost after pattern is set; agents enforce 100% coverage automatically

Route context just in time through a two-part economy: large navigable store with small active working set

Keeps prompt lean while maintaining access to durable knowledge; agents select only what's needed for the next decision

Cost Requires context sidecar or materialized index; ~2 weeks setup for initial catalog

Match evidence to outcome claims using real journeys, corpora, and deployed health rather than treating test passage as proof

Separates user-facing correctness from internal consistency; catches drift that tests miss; builds confidence in production behavior

Cost Requires instrumentation and trace access; ~1 week to expose per critical path

Where the panel agrees

  • Encode nonfunctional requirements and architectural intent into repository structure (types, package topology, lints, examples) so agents infer good practice from codebase shape (evidence: All four personas flag this as eliminating instruction debt, compressing context, and making architectural repair mechanical. CTO emphasizes scaling without documentation burden; VPE stresses onboarding friction reduction; Scrum Master quantifies payoff compounds. Appears in 4/5 persona sets.; personas: CTO; CPO; VPE; Scrum Master)
  • Separate context routing from synthesis, maintain large navigable knowledge store with small active working set, routing only what's needed just in time (evidence: All four personas converge on scaling cognition and latency. CTO frames it as avoiding context bloat at 10x load; CPO highlights decision velocity and noise reduction; VPE emphasizes documentation bloat prevention; Scrum Master notes agents select only what's needed. Appears in 4/5 persona sets.; personas: CTO; CPO; VPE; Scrum Master)
  • Treat chosen model and coding agent as fixed black box during one adoption epoch, then requalify environment when worker changes (evidence: All four personas agree on de-risking model churn and isolating variables. CTO emphasizes early regression surfacing; CPO calls it identifying env vs. worker-driven improvements; VPE stresses measuring harness improvements reproducibly; Scrum Master notes it requires discipline only. Appears in 4/5 persona sets.; personas: CTO; CPO; VPE; Scrum Master)
  • Localize maintenance work in repository-owned loops with durable state, versioned authority contracts, and automated feedback rather than leaving work unscheduled (evidence: CTO frames it as preventing drift at 10x scale; VPE emphasizes shifting maintenance from roadmap slot competition to background work; Scrum Master quantifies setup cost (~2 weeks per domain). All three agree on keeping knowledge current without manual coordination. Appears in 3/5 persona sets.; personas: CTO; VPE; Scrum Master)
  • Separate capability from explicit authority, grant reversible capability broadly in sandboxes, then make consequential mutations scoped, revocable, and auditable (evidence: CTO values human-in-the-loop at scale and audit trails; CPO emphasizes consequence recovery and clean boundaries; CISO stresses least-privilege mutation patterns and mechanical revocation. All three converge on decoupling capability from authority. Appears in 3/5 persona sets.; personas: CTO; CPO; CISO)
  • Externalize organizational process data and operating knowledge into retrievable context rather than assuming models internalize private or changing facts (evidence: CPO highlights bridging generic model capabilities to org-specific decision-making; CISO flags security risks of embedding secrets in model weights. Both see externalizing as prerequisite for safe deployment. Appears in 2/5 persona sets.; personas: CPO; CISO)
  • Measure effectiveness at outcome boundary using separate clocks (worker feedback latency, wall-clock duration, human attention, time to acceptance) not just test passage (evidence: CTO emphasizes real journeys and deployed health as independent verification; CPO calls it revealing where time actually goes; VPE stresses preventing inner-loop optimization while blocking on external waits. Appears in 3/5 persona sets.; personas: CTO; CPO; VPE)
  • Delegate whole job lifecycle (decompose, execute, integrate, verify, close) to one primary agent trajectory; humans provide direction only at consequential boundaries (evidence: CTO eliminates handoff latency and reduces context fragmentation; CPO emphasizes reducing synchronous human attention demand. Both converge on single agent ownership. Appears in 2/5 persona sets.; personas: CTO; CPO)

Tensions

  • Externalizing knowledge vs. context window economics (conflict: CPO advocates externalizing all organizational data (process, secrets, PII) to external storage with access-control retrofit for safety. CTO wants to route just-in-time slices to avoid context bloat but this assumes the external store is already built and indexed. The tension: building retrieval infrastructure is high upfront cost that CPO's security-first position doesn't quantify, and CTO's just-in-time routing assumes external data is already cataloged. Unresolved: who builds and curates the external store first?; personas_disagreeing: CPO; CTO)
  • Immutability and domain types vs. flexibility and rapid iteration (conflict: Scrum Master advocates immutable domain types (HyperUrl) and zero incremental cost enforcement; CPO values rapid iteration and measures effectiveness through agile outcome clocks. The tension: strong typing pays back over time but slows initial velocity; CPO's separate-clocks measurement doesn't distinguish type-safety investment from worker capability. Unresolved: which clock drives prioritization when they conflict?; personas_disagreeing: Scrum Master; CPO)
  • Sandbox-first capability grants vs. production risk and audit rigor (conflict: CTO grants reversible capability broadly in sandboxes to reduce retry cost; CISO demands audit trails on every boundary crossing and mechanical revocation. The tension: broad sandbox capability may leave trails in shared infra; CISO's mechanical audit can become a performance bottleneck on CTO's latency targets. Unresolved: audit fidelity vs. latency trade-off point; personas_disagreeing: CTO; CISO)
  • Repository-owned loops and scheduled validation vs. roadmap agility (conflict: VPE and Scrum Master champion durable maintenance loops that run unscheduled; CPO measures work through outcome clocks that assume human attention is allocated on-demand. The tension: scheduled roles consume capacity that might otherwise go to feature work; CPO's outcome clocks don't weight maintenance loop overhead. Unresolved: what threshold of drift justifies scheduled vs. on-demand validation?; personas_disagreeing: VPE; CPO)
  • Proof at outcome boundary (real journeys) vs. model qualification on synthetic journeys (conflict: CTO wants real journeys, corpora, and deployed health for proof; VPE wants qualification checklist and requalification procedure to validate harness on worker upgrades. The tension: synthetic qualification journeys are reproducible and fast but may not reflect production edge cases; real journeys expose edge cases but drift unschedulably. Unresolved: does qualification precede or follow production deployment?; personas_disagreeing: CTO; VPE)

Scorecard (the depth, if you want it)

68
Architecture

Eight convergent theses well-reasoned and transferable (domain modeling, context routing, fixed-worker qualification, authority separation, maintenance loops, proof at outcome boundary, tool legibility, whole-job delegation). Clear separation of concerns across docs/, playbooks/, sources/, evals/. However, architecture itself is distributed, no monolithic codebase or reference harness demonstrating ideas running together. Strong conceptual coherence masks incomplete realized structure.

38
Maturity

Theses are mature; playbooks provide procedural scaffolds; domain examples (Artichoke state refactor, blog build, homelab) are real and complex. But no monolithic working implementation. CI/CD integration incomplete (ReadyBase: 0/10 build, 0/10 CI/CD). Qualification procedure for fixed workers outlined but not automated. No reference system demonstrating all eight ideas operational. Documentation-to-shipped-code ratio is 10:1. Not production-ready as-is; best case is mature guidance awaiting implementation.

52
Security

CISO findings show six concrete security mitigations (externalize process data, separate capability from authority, typed boundaries, canonical manifests, diagnostic legibility, semantic-preserving migrations). Credential custody via sidecar, read-only agent identities, endpoint binding, audit logging all present in design. Threat model not formalized and no security review evidence in repo. Risk: externalizing sensitive data without access-control retrofit remains high. Revocation boundaries clear in theory but no production audit trail examples.

56
Reusability

Eight core ideas are highly transferable across domains; guidance spans infrastructure, platform teams, security, operations. Domain modeling and context routing apply to any agent-heavy codebase. However, reuse requires significant local adaptation: no vendorable library, no off-the-shelf harness components, no API for shared maintenance loops. Playbooks are scaffolds, not templates. Examples (Artichoke, blog, homelab) are domain-specific; pattern extraction tax on adopter is high. Theses are reusable; implementations are not.

48
Documentation

Repository is thorough (40+ markdown files, theses, playbooks, domain modeling examples, feedback loops, authority patterns). AGENTS.md, playbooks/README.md, docs/README.md all present. However, ReadyBase: 15/15 (README 3 days old). Documentation overstates integration and automation: authority separation, maintenance loops, and qualification procedures are designed but not implemented. Playbooks read as design documents rather than runbooks. No getting-started guide for practitioners. No video walk-through or worked example showing all eight ideas together.

16
Testing

ReadyBase: 0/3 test quality, 0/10 CI. No automated tests for theses or playbooks. Evals/ directory exists but evaluation framework is procedural (checklists, before-after guidance, representative journeys) not executable. No regression tests for harness changes. No qualification checklist automation. Domain examples (Artichoke, blog, homelab) have tests but are external to this repository. Testing is a claimed capability (proof at outcome boundary) but absent from repo itself.

Borrowing from this repo

target: understand this repo's architecture and extract reusable patterns
CallIdea & reasoningCost
adopt
Encode nonfunctional requirements and architectural intent into repository structure (types, package topology, lints, examples) so agents infer good practice from codebase shape

Repo exists to demonstrate patterns; making intent legible through structure is the core deliverable. Direct payoff for extracting reusable patterns.

Read existing domain modeling docs + codify patterns as lints/examples (~1 week)
adopt
Separate context routing from synthesis, maintain large navigable knowledge store with small active working set, routing only what's needed just in time

Understanding repo architecture requires indexing all patterns; this pattern itself demonstrates context scoping. Recursive payoff.

Build semantic index of repo structure + routing logic (~2 weeks)
adopt
Treat chosen model and coding agent as fixed black box during one adoption epoch, then requalify environment when worker changes

Critical for extracting patterns reliably; fixes model behavior so pattern catalog doesn't churn with worker upgrades. Prerequisite for stable inference.

Document baseline agent + test harness (~3 days)
adopt
Localize maintenance work in repository-owned loops with durable state, versioned authority contracts, and automated feedback

Repo patterns must stay current; this pattern operationalizes that. Enables continuous pattern validation without roadmap competition.

Design durable loop infrastructure + update pipeline (~2 weeks)
skip
Separate capability from explicit authority, grant reversible capability broadly in sandboxes, then make consequential mutations scoped, revocable, and auditable

Orthogonal to pattern extraction; safety infrastructure for agent mutation, not understanding codebase. Different trust boundary.

N/A
adapt
Measure effectiveness at outcome boundary using separate clocks (worker feedback latency, wall-clock duration, human attention, time to acceptance)

Extracting patterns is outcome; reframe clocks as: agent inference quality, time-to-catalog, pattern recall accuracy, adoption friction. Apply narrowly.

Define 4 metrics for pattern extraction workflow (~3 days)
skip
Delegate whole job lifecycle to one primary agent trajectory; humans provide direction only at consequential boundaries

Extraction is intrinsically collaborative (human validates patterns); long single trajectory breaks at validation gates. Wrong decomposition.

N/A
adapt
Externalize organizational process data and operating knowledge into retrievable context rather than assuming models internalize private/changing facts

Repo contains implicit practices; externalizing them into docs + executable specs is exactly the extraction task. Limited scope (this repo only).

Audit repo for tribal knowledge + codify into canonical docs (~2 weeks)
adopt
Use version-stable canonical manifests as operative source of truth, with parsing enforced at boundaries and tests rejecting parallel literals and cross-file disagreement

Pattern catalog must be canonical; this ensures catalog stays consistent as repo evolves. Non-negotiable for trustworthy extraction.

Schema for pattern manifest + CI gates (~1 week)
adopt
Parse external syntax once at typed boundaries into semantic domain values, then use policy code to reason about relationships rather than comparing raw strings

Pattern relationships (which patterns block/enable which) need structured reasoning. Prevents stringly-typed pattern conflicts.

Define pattern domain types + relationship validator (~3 days)
adopt
Make diagnostics guide repair by naming which invariant was violated, not just rejecting output

When pattern extraction fails, agent needs to know which invariant broke (coverage, circularity, missing source). Improves convergence.

Define pattern invariants + diagnostic taxonomy (~1 week)
skip
Preserve model-native semantics and learned tool names during host migrations through adapters that change transport while preserving actions and schemas

Migration is admin work, not pattern extraction. Applies if worker changes mid-project; deferred to epoch requalification.

N/A
skip
Enforce 100% test coverage for domain packages when coding models do the writing, zero incremental effort to hit the bar

Applies to generated code; pattern extraction is analytical, not generative. Different concern.

N/A
skip
Colocate content and assets per unit, keep authorship, metadata, and rendering inputs in same directory to preserve context and reduce naming drift

Applies to content structure; repo patterns are already dispersed (docs, code, lints). Wrong modality.

N/A
skip
Use one execution path for both development and production rendering, avoid maintaining separate implementations by using same SSR pipeline in both contexts

Rendering-specific. Pattern extraction is about understanding, not serving content.

N/A
adapt
Turn trajectory evidence, MLD signals, review findings, and incidents into infrastructure by promoting stable lessons into their earliest durable owner

Pattern catalog itself becomes infrastructure; use reviews/feedback to identify which patterns are stable vs. emergent. Feed back into loop.

Design pattern maturity states + feedback integration (~1 week)
adopt
Let package topology carry intent, separate policy ownership, application shells, and integration boundaries so dependency direction answers architectural questions

Key pattern from repo; make dependency structure legible so extraction reveals ownership boundaries and makes intent mechanical.

Document dependency graph + ownership model in canonical form (~3 days)
adopt
Use immutable domain types like HyperUrl to represent intent instead of passing mutable objects or raw strings

Pattern itself uses immutable types; codify as reusable pattern with examples from repo. Demonstrates applicability.

Extract HyperUrl pattern + generalize as pattern template (~3 days)
skip
Delegate registration and preference defaults to verified sidecar or broker rather than having each business domain manage its own knobs

Broker is infrastructure, not pattern. Extracting broker design is separate from understanding repo.

N/A
skip
Archive repository ownership and capability boundaries as trait-shaped interfaces or abstract contracts, enabling incremental migration through Strangler Fig

Migration pattern; extraction is static analysis, not refactoring. Orthogonal concern.

N/A
adopt
Use architecture documents as executable prompts, encode decision ownership and dependency direction into codebase so linters and tests reject violations

Pattern catalog IS executable prompt; use repo lints + tests to validate extracted patterns so extraction feeds back into codebase.

Wire catalog into CI + make lints pattern-driven (~2 weeks)

Start with adopted patterns in order: (1) encode intent into repo structure via canonical types + lint rules (2) build semantic index + routing for whole-repo context (3) define pattern domain model + invariants (4) lock agent + baseline (5) wire extracted patterns back into CI as lints. Run in sequence; pattern extraction is self-proving (each enables next). Biggest risk: extracted patterns conflict with existing code culture; mitigate with early validation loop (review extracted patterns, test on small subsystem before scaling indexing).

ReadyBase raw signals+
Documentation · README 3 days old → 15/1515
Test coverage · 100% test presence (proxy, set READYBASE_ALLOW_EXEC for real coverage) → 17/1717
Test quality · no tests found → 0/30
CI/CD · no CI detected → 0/100
Complexity · max 0 lines/file, n/a of files >800L (0/0), 0 funcs>50 → 10/1010
Build · 0 env vars, docker=false, ci=false → 2/102
Dependencies · no dependencies → 15/1515
Bus factor · 1 unique committers → 0/150
Structure · 0 packages, avg depth 0.0 → 1/51
Method & data egress+
Local · Ollama252924 in / 20665 out · 352 calls
Cloud · Claude947495 in / 31545 out · 20 calls · $0.9181
Contact us if you want to run this on your repo → Local, no-telemetry binary, your code never leaves your machine.