live-verify
Skill367 starsChanged 58 days agoMITView on GitHub
Two-part gate for gflow-cli feature/fix work. Part 1 (Pre-flight): use when starting work on a gflow-cli feature or fix — confirms the checkout reflects current develop before investing effort. Part 2 (Live-verify): use before claiming gflow-cli work done, especially anything touching a generation code path (t2i/i2i/i2v/t2v/r2v) — requires live evidence against real Flow, not just offline tests.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- TheurgicDuke771/DataQtheir own version, first seen Nov 8, 2026
- jrittelmeyer/ai-dev-kittheir own version, first seen Oct 15, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- jrittelmeyer/ai-dev-kit★ 1same name
- TheurgicDuke771/DataQ★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- llms.txtllms.txt
- changelogSkill
- checkSkill
- doc-reviewSkill
- gflow-cliSkill
- issue-assessmentSkill
- issue-resolveSkill
- known-issuesSkill
- llm-councilSkill
- planSkill
- pr-council-reviewSkill
- predictSkill
- releaseSkill
- scenarioSkill
- sonarSkill
- spikeSkill
- statusSkill
- video-productionSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Run before writing any code for a new feature/fix:
- Very specific: line 48
If the count is nonzero: stop. git pull (on develop) or rebase/merge (on a feature branch) before continuing.
- Distinctive: line 77
1. Define the live matrix: Before running anything, name explicitly:
- Very specific: line 104
3. Run each variation, capture evidence per run: Use the release skill's actual 5-layer ledger shape (skills/release/SKILL.md §4b), adapted …
- Very specific: line 116
Write this to a lightweight per-feature evidence note at tmp/live-verify/<feature-slug>.md (gitignored — this is not the full …
- Distinctive: line 120
4. On pass: all matrix variations green — proceed to commit.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
/gflow:live-verify — Live-verification enforcement
gflow-cli reverse-engineers a blackbox: Google Flow. Offline checks (ruff, pyright,
unit/BDD tests) verify gflow-cli's own code does what it's supposed to; they cannot verify
Flow still behaves the way it was captured, because Flow is external and changes without
notice (see #174). This gate enforces two
things, both evidence-based (no claim without a fresh verification artifact — see the
superpowers:verification-before-completion skill):
- Part 1 — Pre-flight, at the start of feature/fix work: confirm the checkout reflects
current
developbefore investing effort. - Part 2 — Live-verify, before claiming done (after
/code-reviewand/ponytail:ponytail-review, before commit/PR): exercise the change against real Flow.
Full design rationale:
docs/superpowers/specs/2026-07-19-live-verify-design.md.
Part 1 — Pre-flight
Run before writing any code for a new feature/fix:
git fetch origin
git rev-parse --abbrev-ref HEAD
git rev-list --count HEAD..origin/develop
git log --oneline -5git rev-list --count HEAD..origin/develop is an asymmetric DAG set-difference — it counts
commits develop has that the current HEAD lacks, regardless of HEAD's own private
unmerged history. This is what catches a genuinely diverged stale branch, not just a
behind-by-fast-forward one.
- If the count is nonzero: stop.
git pull(ondevelop) or rebase/merge (on a feature branch) before continuing. - If the branch's last real commit looks old relative to recent
developactivity (a smell for stale WIP — e.g. missing a function/guard thatdevelopalready has): stop and surface it. Don't silently proceed, don't silently switch — name the divergence and ask the user how to proceed. - A separate sibling checkout is not itself a red flag — this project's workflow
routinely uses sibling checkouts for isolated feature branches, and a real feature branch
is supposed to differ from
develop. The actual signal is "differs fromdevelopin a way that suggests staleness" (missing somethingdevelophas), not "differs by adding new work on top of it." When in doubt, diff the specific file(s) about to be touched againstorigin/develop's version before assuming they match:
git diff origin/develop -- <path/to/file>Part 2 — Live-verify
"Live" means: drive the real generation commands (t2i, i2i, i2v, and siblings like
t2v/r2v where applicable) against a real authenticated Flow account, covering multiple
variations of the change — not one happy-path call. A change touching a generation code
path is default-in-scope; skipping this gate requires a named reason, not silence.
0. One plain generation, whatever changed. On a release, run gflow video t2v with nothing
injected and open the file on disk. A live check of the changed feature cannot see a surface that
broke on its own: Flow changed what a status reply carries, every video billed and then failed, and
#1153 was found only by accident while testing a fault-injected path.
1. Define the live matrix. Before running anything, name explicitly:
- Which command(s) does the change touch?
- Which variations actually exercise it? (E.g. for a mention-resolution fix: a character mention, a media mention, an ambiguous-name case, an unresolvable name.)
- Which surface(s)? A capability that ships as both a CLI command and an MCP tool has
two live paths, not one — and the MCP queued path runs different code
(
mcp/tools.py→ queue payload →worker/codec.py→ request → daemon owns download and recording). A CLI run does not exercise it. Decide per change whether the MCP path needs its own live run, and if you skip it, say so with a reason. The cheap version is usually enough: one queued MCP call on a credit-free operation proves the payload keys round-trip, which is the hop that silently no-ops (#495). Offline parity tests cannot see this — they never build a real payload and decode it.
2. Check the cost tier for each variation — the tier follows the operation, not the command family:
- Bare entity CRUD with no image generation (
create_entity,list_characters,patch_entityat the API level;t2i/i2ithemselves) are credit-free — run as needed to cover the matrix without a separate confirm each time. Still mind WAF/volume discipline: don't fire dozens of live calls back-to-back without surfacing it to the user first. - Anything that generates real media is costed, even on an otherwise-free command
family — e.g.
gflow character create --face-promptgenerates real face/body images and drives real image generation despite being "character CRUD" in name (zero credits, daily-capped);i2vand other video-generation paths are always costed. Always get explicit operator go-ahead before running a costed variation. Batch the ask: name what will run and why, once, not one confirm per call.
3. Run each variation, capture evidence per run. Use the release skill's actual 5-layer
ledger shape (skills/release/SKILL.md §4b), adapted per-field to what the change under
test produces:
| Layer | Evidence |
| File count | New file(s)/DB row(s) produced by the run |
| Magic bytes / field value | The specific artifact or field the change is supposed to affect (e.g. a real image's magic bytes, or de-tagged prompt text in the catalog) |
| Dimensions/shape | For media output: actual dimensions match the requested aspect ratio/model |
| Structlog invariants | The expected log event fired (e.g. mention_resolved, not mention_unresolved) |
| User-confirmable artifact | Real output a human could open and check (image/video file, size > 1024 bytes) |
Write this to a lightweight per-feature evidence note at tmp/live-verify/<feature-slug>.md
(gitignored — this is not the full docs/LIVE_VERIFICATION_vX.Y.Z.md release ceremony).
Fold it into the real LIVE_VERIFICATION doc when the feature ships in a release.
4. On pass: all matrix variations green — proceed to commit.
5. On fail: go to Failure-routing below.
Failure-routing (reproducibility re-test)
1. Check for a known match first (costed failures only, to avoid an unnecessary
re-spend): grep KNOWN_ISSUES.md and open GitHub issues for a matching error signature.
gh issue list --repo ffroliva/gflow-cli --search "<error text>" --state all2. If no match, re-test once. Free for t2i/i2i — just re-run. For a costed failure,
re-testing needs the same operator confirm as any costed run.
3. Compare outcomes and route:
| Outcome | Route |
| Same failure, same code, no known-issue match | Real bug. Back to execution — fix it (use superpowers:systematic-debugging if the cause isn't obvious). Re-run this gate after the fix. |
| Different outcome, same code, no changes in between — OR a known-issue match | External flake. Do not loop trying to "fix" it. Record it in the evidence note (what failed, that it's not reproducible against unchanged code, link to the matching issue if any). Gate passes-with-caveat for this run. |
| The failure reveals the plan's premise was wrong (not a bug, not a flake) | Back to planning/design, not execution. Don't keep patching code against a wrong premise. |
4. Record every outcome in the evidence note — passes, fails, and flakes are all evidence, not just the final green state.
Driver
Main context or superpowers:subagent-driven-development — never a stateless one-shot
subagent. Diagnosing a live failure needs memory of what's already been tried; a fresh,
context-less subagent call breaks a spike-then-fix-then-retest loop.
Pipeline Continuation (Next Step Handoff)
Upon completing Live Verification:
- Verification 🟢 PASSED: Proactively announce: "Live verification passed. Next step: Phase 9 PR Creation & Issue Resolution (
/gflow:issue-resolve <N>)." - Verification 🔴 FAILED: Return to Phase 6 Task Execution to resolve the identified transport failure.
Notes
- This gate does not replace
/gflow:check(offline gates before commit), norpytest -m e2e(the e2e suite against a live profile), nor/gflow:doc-review(release-time doc council) — it fills the gap between them. - This skill is not the e2e suite, and does not satisfy the e2e-evidence rule. It drives
commands by hand and writes a narrative ledger to a gitignored
tmp/live-verify/note; it never runspytest -m e2e. A PR touching a Flow surface owes BOTH: the e2e test is the re-runnable regression, this ledger is the record of what was observed once, live. See[[e2e-evidence-is-a-contributor-deliverable]]and CONTRIBUTING § Test categories. - Testing this skill itself means dry-running it on the next real feature that touches a generation path — there is no synthetic self-test for a live-Flow gate.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

