Skip to the content.

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).

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:

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

When to use this pattern

A skill needs an artifacts/ directory when:

  1. It produces a structured document consumed by other agents/models
  2. That document’s operability is measurable independently
  3. The document’s failure modes differ from the skill’s failure modes

Most skills do NOT need this. It applies to:

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):

Behavioral metrics (Tier 2 — from benchmark):

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:

  1. Benchmark measures AGENTS.md rule compliance
  2. Scores stored in artifacts/agents-md/scores.yaml
  3. MCACS attribution identifies which rule to improve
  4. Edit seed-agents-md.sh (source template)
  5. Regenerate AGENTS.md via sync
  6. 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:

Superseded 2026-11-24

The AGENTS.md QOO model in this document is replaced by evaluation-methodology.md §3–§5: