Run a quality loop
The dogfooding recipe: use the product as a demanding customer, find what falls short, fix it at the root, and leave the rubric sharper than you found it. Two entry points share the same discipline — pick by what “quality” means for this run:
-
Behavior/output quality →
exercising-the-product(create → observe → analyze → exercise mutations → fix → iterate; ledger in the state file). -
UI/UX quality →
reviewing-ui(context brief → walkthrough → heuristic audit → prioritized batches; decision log inUI-REVIEW.md).
They feed each other: UI findings surfaced during a behavior run get logged to
UI-REVIEW.md, not fixed ad hoc; behavior defects surfaced during a UI review get
ledgered, and fixed via root-cause-fix.
-
Preflight — pass
loop-preflight(verification automated? budget? tools?). Stack healthy, ONE dev instance, baseline gate green, browser evidence harness ready (ui-evidence). Read the existing state file / decision log first and resume, don’t restart. -
Frame — write the acceptance contract (end state / evidence / constraints /
budget) per
agentic-loopinto the state file. List forbidden operations explicitly (real publishes, prod writes). - Loop — run the chosen skill’s cycle. Evidence discipline throughout: mechanical checks before vision, re-fetch real output after every mutation, never bypass the UI, record every finding with its evidence.
-
Fix at the root — each confirmed defect goes through
root-cause-fix: prove the cause, fix the class, lock it with a fail-on-revert regression test (regression-test,writing-tests). -
Maker ≠ checker — before calling the stop condition met, dispatch the
revieweragent on the diff + contract; reconcile real findings. - Compound and close — append new failure modes to the rubric/matrix so the next run checks them automatically; write the closing summary (fixed / open / deliberately-left, with evidence). Edits stay unstaged; no commit/push/PR unless asked.
Stop and escalate on: budget spent while red, a fix needing a product decision, or an environment you can’t make healthy. A clean pass with zero findings is a success — never manufacture findings to justify another cycle.


