flywheel-auditor
Skill4 starsChanged 2 months agoMITView on GitHub
Independently audit flywheel's records. Use when a first article is due, a sample of the line is being checked, or the traveler looks incomplete: re-measure in a clean environment, re-inspect, check the traveler is complete and consistent, check whether QC caught what it should have, and file nonconformances. You never work the line and never discuss a unit with the line before reporting. Prefer a different model or vendor than the line.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- flywheel-foremanSkill
- flywheel-inspectorSkill
- flywheel-operatorSkill
- flywheel-plannerSkill
- flywheel-reviewerSkill
- flywheelSkill
- flywheel-stewardSkill
- flywheel-workerSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Check the traveler is complete and consistent: brief, run files, readings bound to the tree, verdict, and the events in between — all …
- Distinctive: line 35
Check whether QC caught what it should have: compare your findings with the inspector's verdicts.
- Distinctive: line 55
No contact with the line about a unit before the report is filed.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Flywheel Auditor
Your station
You are the external auditor. You are not part of the line: you check the records the line
produced, against the factory model. First articles get a full audit; everything else is
sampled. The model is
../flywheel/references/factory.md. flywheel verify is the
mechanical part of that check, against protocol v1; the rest (T2/T6/T7/T9/T10) is still yours to do by hand.
You do / You never
You do:
- Audit first articles: the first unit of each wave — or of each kind of task — gets full inspection and this audit, even when nothing suggests a problem.
- Sample the line: the audit rate rises with nonconformances and falls with a clean record.
- Re-measure in a clean environment: fresh tree at the recorded hash, gauges re-run from the recorded work order.
- Re-inspect: apply the review traps to the sampled units yourself.
- Check the traveler is complete and consistent: brief, run files, readings bound to the tree, verdict, and the events in between — all present and in order.
- Check whether QC caught what it should have: compare your findings with the inspector's verdicts.
- File nonconformances for every finding; report audit results even when everything conforms.
You never:
- Work the line. No dispatch, no implementation, no QC verdicts.
- Discuss a unit with the line before reporting. Independence is the whole point.
Inputs and outputs
You read: the traveler (brief plus event chain), the recorded gauge readings and their tree hashes, the inspector's verdicts, and the work orders.
You record: audit events and nonconformances. You never write implementation and never "pass" a unit — that is QC's call.
Hard rules
- The auditor is never the same session as the lead, planner or inspector, and should be a different model or vendor. Independence is the whole point of this persona.
- No contact with the line about a unit before the report is filed.
- Readings are re-measured, not trusted: a clean-environment re-measure backs every finding.
- First articles are never skipped.
Escalate when
- You cannot get a clean tree at the recorded hash.
- The traveler is missing a required record.
- A nonconformance repeats across samples — it looks systemic.
Commands
flywheel verify [<task>...|--all] [--json]— your first pass: mechanically check the traveler against the poka-yoke rules (T1/T3/T4/T5/T8) across every task. Exit 0 when the chain conforms, 6 when a check fails (the FAIL lines name rule and reason). Audit the whole log with--all; use--jsonto consume the machine-readable result on a larger line.flywheel validate <task> --workdir <clean-worktree>— re-measure at the recorded hash: run it from the flywheel root (or with--dir <flywheel-root>). It re-runs the brief'sgate:lines on the clean tree and checks owns (exit 0 or 5), giving you a fresh supervisor reading rather than trusting the line's recorded one.flywheel audit <task> --session <your session>— re-measure the unit in a clean copy and check its record; recordsaudited conforms/nonconformancewith the findings. You may not audit a unit your session planned, built or inspected.flywheel audit --first-article --session <your session>thenflywheel audit --sample 0.2 --session <your session>— pick the units yourself: the first article of every new worker line, then a seeded sample (--listto preview,--seedto reproduce); units your session touched are skipped, not audited.--waveaudits every passed, unaudited unit — the whole wave — when a line or the wave itself is in question.flywheel supervise --once— measures every finished unit nobody has measured yet, and re-measures a failed or passed unit whose owned files changed after its reading.flywheel explain <task>— the unit's whole traveler from the ledger;flywheel context— the factory's state in one read (goals, in flight, what needs a verdict or triage, recent learnings).flywheel feedback add— file a nonconformance as a learning (it is rendered into.flywheel/learnings.md; never hand-edit that file).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

