SCHEMA — _data/harness_library¶
The harness experience library: one directory per loop, one per domain under it, one per adopted refinement under that, each holding
experience.yml(jev-experience/v1) and optionallyharness.diff; read by the loop runner's context pack andtools/jev/refine.py, written bytools/jev/library.pyon a branch (docs/HARNESS-REFINEMENT.md).
Conventions¶
<loop>/is a workflow stem (repo-scout);<domain>/is a registry category aslibrary.domain_dirspells it; an entry directory is<yyyymmdd>-<item slug>-<8 hex>, the idexperience.ymlcarries.- Data only, committed, reviewed: an entry is added on a branch and reaches
mainby a merged pull request.python3 -m tools.jev refine library checkis the gate (schema, field caps, the redaction leak check).
Structure¶
| entry | kind | purpose | rules |
|---|---|---|---|
README.md |
file | What the library is, how an entry is written and read | required |
fleet-pulse/ |
dir | The fleet-pulse doctor's lessons. Every doctor item is keyed to the hub, which the registry does not list, so they all sit under unknown/ |
terminal |
repo-evolution/ |
dir | The repo-evolution evolve step's lessons, one <domain>/ per registry category |
terminal |
repo-scout/ |
dir | The repo-scout scout step's lessons, one <domain>/ per registry category |
terminal |
Placement¶
- New lesson →
python3 -m tools.jev refine library add …(never by hand: the id, the caps and the leak check are the tool's). - The first lesson for a new loop creates
<loop>/: register it here in the same commit, as aterminaldir.schema_lintmatches pattern rows against files only, so a*/row cannot cover a loop folder, andterminalkeeps the walk out of the entries, whererefine library checkis the gate. - Anything unrouted → propose an entry in this table first, then create it.
Forbidden¶
- No file but
experience.ymlandharness.diffinside an entry; no entry outside<loop>/<domain>/. - Nothing private: a local path, a host name, an address or a credential shape fails
refine library check. - No hand-edited id, and no entry written straight to
main.