Artifact QOO Separation
Historical. Current methodology: evaluation-methodology.md (2026-11-24). The sub-artifact directory pattern still applies; the AGENTS.md QOO model below is superseded by §3–§5 there (see ‘Superseded 2026-11-24’ at the end).
- Type: Pattern
- Status: Active
- Source: Session analysis — discovered while measuring AGENTS.md operability
Problem
Some skills produce structured artifacts that are consumed by other models in contexts unrelated to the producing skill’s execution. The producing skill and the produced artifact have different:
- Consumers (executing model vs every model on every turn)
- Correctness criteria (skill workflow vs rule compliance)
- Failure modes (setup errors vs model behavioral variance)
- Measurement frequency (at skill run vs every benchmark run)
Merging their QOO metrics into a single scores.yaml conflates
two independent concerns, violating Separation of Concerns.
Primary Example: agentfs-setup → AGENTS.md
agentfs-setup is a skill executed via hey setup agentfs. It
scaffolds directories, generates AGENTS.md via seed-agents-md.sh,
and runs post-write checks.
AGENTS.md is a generated CNL document loaded as system prompt on every session of every model across every project. Its operability is measured by benchmark tests (T1 canary, T2 dispatch, etc.).
| Property | agentfs-setup (skill) | AGENTS.md (artifact) |
|---|---|---|
| What | Skill with scripts | Generated CNL document |
| Executor | Model running setup | Every model, every turn |
| Correctness | Files in right places | Model follows rules |
| Failure mode | Missing dir, bad template | Rule ignored, signal rephrased |
| QOO properties | Quality + Observable + Operable | Quality (adapted) + Operable BMBT+CECX (adapted). Observable N/A. |
| Measurement | At skill execution | Every benchmark run |
Solution: Sub-Artifact Directory
Skills that produce independently-consumed artifacts store that
artifact’s QOO metrics in artifacts/<name>/ under the skill:
~/.agents/skills/agentfs-setup/
├── SKILL.md # skill instructions
├── scores.yaml # QOO scores for the skill itself
├── scripts/
│ ├── seed-agents-md.sh # generates AGENTS.md
│ └── ...
└── artifacts/
└── agents-md/
└── scores.yaml # QOO scores for AGENTS.md (Quality adapted + Operable BMBT+CECX adapted)
Directory semantics
scores.yamlat skill root → QOO scores for the skill itselfartifacts/<name>/scores.yaml→ QOO scores for the named artifact (same format)
When to use this pattern
A skill needs an artifacts/ directory when:
- It produces a structured document consumed by other agents/models
- That document’s operability is measurable independently
- The document’s failure modes differ from the skill’s failure modes
Most skills do NOT need this. It applies to:
agentfs-setup→ AGENTS.md (system prompt)skill-gen→ generated SKILL.md files (future)goose-setup→ goose configuration files (potential)
Generalization
The artifacts/ pattern is a specialization of Separation of Concerns
applied to QOO measurement. It keeps the ownership relationship clear
(agentfs-setup owns AGENTS.md) while allowing independent measurement
and evolution tracking.
AGENTS.md as a Measurable Artifact
AGENTS.md contains 7 rules. Each rule is independently measurable:
| Rule | Benchmark Test | What It Measures |
|---|---|---|
| R1 Signal Dispatch | T2, T3 | Keyword extraction + search + load chain |
| R2 Pre-Flight | (future) | Plan production before multi-file changes |
| R3 Post-Write | (future) | post-write.sh execution after .agents/ writes |
| R4 Session Canary | T1 | Canary pattern on turn 1 |
| R5 Conflict Resolution | (not tested) | Position reversal disclosure |
| R6 Checkpoint | (not tested) | checkpoint.sh before destructive ops |
| R7 Scope Rules | (future via T8) | PROJECT vs USER scope compliance |
Metrics for AGENTS.md artifact QOO
Structural metrics (Tier 1 — deterministic):
- Total rules: count of
### N.headings - Total lines in rules section
- Action steps per rule (numbered sub-steps)
- Conditional blocks per rule (if/when clauses)
- CNL compliance: passive voice count, sentences per step
- Cognitive load: words per rule, nesting depth
Behavioral metrics (Tier 2 — from benchmark):
- Per-rule pass rate on frontier model
- Per-rule pass rate on 14B model
- Per-rule failure mode classification
- Delta between frontier and 14B per rule
MCACS Assessment Template for AGENTS.md
Each rule can be assessed against the 5 MCACS principles:
| Principle | Question | Red Flag |
|---|---|---|
| Modularity | Can this rule be changed without affecting others? | Rule references other rules by number |
| Cohesion | Does this rule do exactly one thing? | Multiple concerns in one rule |
| Abstraction | Is the interface unambiguous? | “Use literally” buried in complex sentence |
| Coupling | Does this rule depend on external state? | Rule assumes KGM index structure |
| SoC | Is each concern in exactly one place? | Same concern split across rules |
Relationship to Benchmark
The benchmark test suite (T1-T9) is already measuring AGENTS.md
artifact operability. The scores belong in the artifact’s
scores.yaml, not the skill’s scores.yaml:
agentfs-setup/scores.yaml → "did setup complete correctly?"
agentfs-setup/artifacts/agents-md/
scores.yaml → "did 14B follow R1 correctly?"
This keeps the evolution feedback loop clean:
- Benchmark measures AGENTS.md rule compliance
- Scores stored in artifacts/agents-md/scores.yaml
- MCACS attribution identifies which rule to improve
- Edit seed-agents-md.sh (source template)
- Regenerate AGENTS.md via sync
- Re-benchmark → compare scores
First Baseline (2026-10-28)
Initial benchmark established with 6 tests covering Rules 1-4,7:
| Metric | Frontier (Sonnet 4) | Target (Qwen3-14B) |
|---|---|---|
| Pass rate | 83% (5/6) | 76% (23/30, 5 runs) |
| SDM operable score | — | 70.8 (Re-engineer) |
Identified gaps:
- R3 Post-Write: 0% on both models — structural prose gap
- R4 Session Canary: 100% frontier → 60% target — CNL rewrite candidate
Superseded 2026-11-24
The AGENTS.md QOO model in this document is replaced by evaluation-methodology.md §3–§5:
- AGENTS.md + SOUL.md +
~/.agents/scriptsare the base skill produced by the meta-skill agentfs-setup. - Static QOO (Quality, Operable-build, Observable N/A) stays with
agentfs-setup and is re-scoped.
accidental_complexityis removed (contradicted C3, broken heuristic). Prose dimensions that only predict adherence become S0 lint. - Operable-runtime = the compliance campaign. The base skill has no
observability, so the async trace path cannot apply. Runtime
dimensions are derived on demand from
compliance-profile.yaml(runtime-compliance.sh) and never stored inscores.yaml. - What changed: an interim decision (F22, 2026-11-23) to retire QOO for policy artifacts judged QOO by whether it raised compliance. That is the wrong yardstick: it answers “is it well built?”, not “is it followed?”.