software-factory
MAmattpocock/skills336k近 7 天新增 4,217 个 star
Verifies the demo path runs end-to-end by executing each step in order, recording the actual outcome, and stopping at the first failure with a diagnostic. Use before any demo or submission to catch breakage under time pressure.
Required:
repo_root: project rootdemo_path: ordered list of steps (from .hackathon/state/plan.json or user-supplied)Optional:
.hackathon/state/verify.json (previous run, for diff)time_budget_minutes: stop verifying after this elapses (default 10)If plan.json exists, take plan.demo_path. Otherwise, prompt the user
for a list of demo steps.
For each step:
scripts/verify_step.py).PASS: exit code 0 and expected outcome metFAIL: exit code != 0 OR expected outcome missingSKIP: verification command not applicable (e.g. no browser available)Hard rule: stop at the first FAIL. Do not pretend later steps passed.
If a step fails, run scripts/diagnose.py:
references/error-patterns.md..hackathon/state/verify.json (matches verify.schema.json).hackathon/artifacts/fast-verify-output.md (human-readable run log).hackathon/state/plan.json (syncs mapped features[].passes + evidence)Files written:
.hackathon/state/verify.json (matches src/state/schemas/verify.schema.json).hackathon/artifacts/fast-verify-output.md (human-readable run log)plan.features[].passes.| Mode | Behavior |
|---|---|
| Demo path empty | Refuse; ask user to run scope-knife first |
| Step 1 already fails | Stop, do not run step 2; report exact failing step |
No plan.json and no demo_path | Refuse; cannot verify without a path |
| Verification command missing | Mark step SKIP; do not pretend it passed |
| Diagnose regex finds no match | Emit raw stderr signature + suggest a generic rebuild |
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
DIDietrichGebert/ponytail202k近 7 天新增 4,226 个 star