AGENT SKILL

live-verification

Verify a change by actually running it — drive the real UI or endpoint, check each claim against observed behaviour, and capture evidence before pushing.

License 许可
MIT
最近更新
2026-11-03
Stars
★ 2
Forks
0

01 前言 Front Matter

name
live-verification
description
Verify a change by actually running it — drive the real UI or endpoint, check each claim against observed behaviour, and capture evidence before pushing.
when_to_use
After /finalize, before committing, pushing, or merging a change with a runnable surface — UI, page, component, endpoint, CLI. Triggers include "verify it live", "did this actually work", "check it in the browser", "verify on preview", "live verify before pushing", "does it render right". Not for typecheck/lint/test (finalize), auditing plan completeness (preflight), or reading code to judge it (code-review).
argument-hint
[what to verify — optional; defaults to the current diff]

02 资源文件 3

03 SKILL.md 正文

/live-verification

Green tests are not evidence that the thing works. This skill closes the gap between "the pipeline passed" and "I watched it do the thing".

Usage

/live-verification                    # verify the current diff
/live-verification the upload dialog  # verify a named surface

When It Applies

Change touches Run this?
A rendered surface — page, component, story, dialog, a mobile app screen Yes
An endpoint, procedure, or CLI a human will call Yes
Behaviour behind a flag or a state the tests don't reach Yes
Types, docs, comments, config with no runtime effect No — say so and skip
Code fully covered by a test that genuinely exercises it Judgment: skip, and name the test you're leaning on

Skipping is a legitimate outcome. Skipping silently is not.

How It Works

Step 1 — Resolve the run target

Do not assume a dev server. In order:

  1. Something already running? Check the project's usual port before starting anything (ss -tlnp / lsof -i / the URL in README or AGENTS.md).
  2. AGENTS.md — if it names the command to run the app, that command wins.
  3. package.json scripts — dev, storybook, start, preview.
  4. Nothing runnable → stop here and report that. Do not scaffold a harness.

Start it in the background, wait for it to actually serve (poll the URL — do not sleep and hope), and note the URL in the report.

Mobile app: load the native recipe. If the project is a mobile app — finalize's native-change test: an expo or react-native dependency, or a committed android/ or ios/ — read references/native-app.md now. Its target order replaces the list above; it picks the driving rung once (adb, agent-device, mobile-mcp, Expo's skills — recommended, never installed) and resolves adb to an absolute path. The claims, verdicts and report below are unchanged.

Mobile app: rebuild first when the change is native. If finalize's Native line said native rebuild (or the diff touches the native layer — see finalize's native-change check), the installed app does not contain the change. Rebuild and reinstall it before driving anything, and clear the app's data when the change touches native state that persists across installs. On an Expo project, record the new fingerprint as that check describes. A verdict driven on the old binary is a verdict on code that isn't there — if the rebuild can't run here, stop and report that instead.

Step 2 — Enumerate the claims

Before touching the UI, write down what the change claims to do — one line each, from the diff and the task description. These are the only things you verify. A change that claims four things needs four verdicts.

Bad: "the dialog works." Good: "Save is disabled while the mutation is in flight", "a failed save shows the server's message inline", "Escape closes the dialog and returns focus to the trigger".

Step 3 — Drive it

Use whatever driving tool this environment actually has — a browser MCP, a headless script the repo already ships, curl for an endpoint, or the CLI itself. Nothing is assumed installed. If no driving tool exists, degrade honestly: report what could not be driven rather than inventing a result.

Order of checks, because this is where the defects were:

  1. Light mode first. Then dark. A themed change is not verified until it has been seen in both — that part is the gate, not the order.
  2. The interactive states, not just the resting one — hover, focus, disabled, selected, and the in-flight state of every mutation.
  3. The failure path. Make the thing fail on purpose if you can (offline, bad input, forced error) and confirm the error is surfaced where the user acted.
  4. Keyboard. Tab to it, Escape out of it, confirm focus lands somewhere sensible.

Mobile app: the same four checks, translated — both themes via cmd uimode night; pressed, disabled and in-flight states in place of hover; the failure path in airplane mode; the system back (keyevent 4) in place of Tab and Escape, which must close what it opened. Every tap follows native-app.md's stale-UI rules.

Step 4 — Capture evidence

One artifact per claim that has a visual or observable outcome — screenshot, response body, console excerpt. Store under <git-root>/.condux/verification/<YYYY-MM-DD>-<slug>/ — everything a run produces lives inside that dir, nothing at the verification root. Name each evidence file for the claim it supports and reference it from the report's claim table. Console errors and failed network requests seen along the way get reported even when they belong to another feature.

Mobile app: evidence is a screenshot you have read back, or a recording for motion, and native-app.md's log sweep stands in for console and network. A claim the emulator cannot settle — haptics, camera, push, feel — gets the device-only verdict and a line under the report's For the phone:, never ✓. The report adds the Device and Build header keys.

Then write report.md into the same dir, in the shape of references/report-template.md — every run writes one, including runs where nothing could be driven (the template carries the fallback shape).

Step 5 — Report and stop

The terminal report is report.md: print the file's content — never a second shape that can drift from the persisted one. One pass. Fix what you found, re-verify only the claims that failed, update report.md to match, then stop. This skill does not loop.

Failure Handling

The recurring failures here are environmental, not logical — treat them as results, not as things to retry into the ground:

Server won't start / port already in use
  → Report it. Do not kill a process you did not start.

Out of memory, model won't load, dependency missing
  → Not your bug. Report "could not verify — <reason>" and stop.
     "Let's do live verify later" is a valid user answer.

Selector not found / element no longer exists
  → Re-read the current DOM once and retry with what's actually there.
     Second miss: report the claim as unverified, don't keep guessing.

Wait timed out
  → Poll for the condition, never a fixed sleep. On a real timeout, report
     it as a finding — a surface that takes longer than the timeout to
     appear is itself a defect worth naming.

Two failed attempts on the same claim is the ceiling. Report and move on.

On a mobile app, the device-side failures — an offline device, an emulator that won't boot, a stale binary — are in native-app.md's part 8, under the same ceiling.

Output Format

The report shape — the fixed header table (Date / Target / Diff / Themes, plus Device / Build on a native app run), the claim table (Claim | Evidence | Verdict), the phone checklist for device-only claims, "Also seen", and the outcome line — lives in references/report-template.md, the canonical home. It also carries the fallback shape for when nothing could be driven; that run still writes report.md, because an absent report is indistinguishable from a run that never happened. Fixed header keys and a fixed claim-table shape are what make two runs of the same surface comparable.

What Does NOT Happen

✗ Reporting a claim as verified because the code looks right
✗ Inventing a screenshot, a response, or a result that wasn't observed
✗ Installing a browser or device driver, or scaffolding a test harness to get a result
✗ Reporting a device-only claim as ✓
✗ sleep-then-check instead of polling for the condition
✗ Retrying the same selector more than twice
✗ Killing processes the run didn't start
✗ Re-running typecheck/lint/tests — that was finalize's job

Artifacts

Evidence is working state: <git-root>/.condux/verification/, gitignored, alongside condux's designs/ and plans/. Never the repo root, never the project's docs/.

Bootstrap. Same contract as every condux skill — run the .condux/ bootstrap from /workflow → Artifacts (check git check-ignore -q .condux/, offer the .gitignore line once, AGENTS.md override wins) before the first write.

04 同仓库更多 Skills

jabworks
jabworks/agentic-toolkit

orphan

暂无简介

★ 2
jabworks
jabworks/agentic-toolkit

no-blurb

暂无简介

★ 2
jabworks
jabworks/agentic-toolkit

workflow

Routes any dev task into the right execution tier (Small/Medium/Large) and carries condux's operating rules — proportional effort, lazy skill loading, soft gates, implement-yourself-by-default.

★ 2
jabworks
jabworks/agentic-toolkit

usage-trace

Checks and manages durable, local usage capture — ingest, health status, and the opt-in limit snapshot — for Claude Code and Codex. Capture itself runs automatically at session start.

★ 2
jabworks
jabworks/agentic-toolkit

toolkit-skill-standards

Use when writing or reviewing a SKILL.md for jabworks/agentic-toolkit — frontmatter budgets, the trigger contract ("Use when…" description or when_to_use field), progressive disclosure into references/, and keeping a new description out of existing skills' trigger space. Triggers include "review this skill description", "write the frontmatter", "does this collide with an existing skill", "where should this content live". Not for scaffold/sync mechanics; use toolkit-foundry.

★ 2
jabworks
jabworks/agentic-toolkit

toolkit-research-frontier

Use when planning improvement work on jabworks/agentic-toolkit itself — open problems (trigger-collision automation, YAML-strict frontmatter checks, docs-catalog enforcement), existing assets, the next three concrete steps, and the four-front library-health campaign with commands and success criteria. Triggers include "let's improve our toolkit", "let's improve this repo", "what should we improve next", "toolkit roadmap", "open problems", "run the health campaign".

★ 2