/dpf-platform:dpf-verify-on-live-installfrom dpf-platform
Verifies that a DPF feature works on the live canonical install by running preflight checks and driving the happy path on the running portal. Use after merging to confirm the portal serves the merged bytes.
Ships in dpf-platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Scope guard first: this skill verifies MERGED work on the canonical install. If the change under test has not merged yet, stop — route through the local-CI sandbox gate (pnpm run pregate / dpf-local-merge-ci-before-push) instead; :3000 is not a pre-PR branch runtime.
Before driving any feature's happy path on the live install, run the preflight and follow its verdict. One command answers "can I even trust this runtime to test against?" — replacing the 4+ manual git/curl batches agents currently improvise to discover version skew. The preflight changes nothing; it returns a verdict and exactly one next action.
Spec (single source of truth): docs/superpowers/specs/2026-06-06-procedural-functional-verification-design.md.
structural-verification-is-not-functional).:3000 serves merged, self-upgrade-deployed bytes only; an unmerged branch can NEVER be verified there. Before the PR merges, the verification lane is the shared local-CI convergence sandbox: pnpm run pregate (claims the local-integration-ci lease, runs the checked-in merged-code runner, records evidence) or dpf-local-merge-ci-before-push. This skill is the post-merge half of verification; triggering it on ":3000" language before merge is the misfire that produced the 2026-07-05 ungated-push incident.vitest, typecheck) that don't need a runtime — those run in the worktree directly.build/review.verify already auto-fires the UX verification.pnpm verify:preflight # feature = current HEAD, portal = localhost:3000
pnpm verify:preflight -- --feature-sha <sha> # explicit feature commit (e.g. a PR merge SHA)
pnpm verify:preflight -- --portal-url <url> # non-default install
It prints a JSON verdict to stdout and a human summary to stderr. Exit codes: 0 CAN-TEST, 10 MUST-ADVANCE, 20 BLOCKED.
| Verdict | Meaning | What you do |
|---|---|---|
| CAN-TEST | Served bytes contain the feature commit | Drive the happy path on the live install (Chrome MCP / coworker), then record_runtime_verification with what you drove and observed. Report findings as dynamic-analysis prose, not a pile of screenshots. |
| MUST-ADVANCE | Served bytes are behind / unprovable | Advance the live install via the governed self-upgrade path (/ops/self-upgrade) — the ONLY sanctioned advance (AGENTS.md §5; never redeploy-portal/compose rebuild). Then re-run the preflight. Bounded retry. |
| BLOCKED | No testable runtime can be established | STOP. Apply the stop-rule below. |
When the verdict is BLOCKED — most importantly when a
MUST-ADVANCEself-upgrade fails on an unrelated defect (main does not build in Docker, the lease is unavailable, ancestry is uncomputable) — file a BI for that blocker and STOP the verification task. Do NOT silently turn a verification task into a multi-hour build-infra fix.
Fixing the blocker is a separate, explicitly chosen body of work. Surface it to the operator with the filed BI and the classified reason (the self-upgrade build-gate classifier attaches {class, playbookLink, failingTrace} to the BLOCKED reason — use it; do not reproduce a known failure from zero). Then let the operator decide whether to pivot. The 22-minute trace in spec §2.1 is exactly this rule being absent.
File the blocker with the preflight's reason verbatim:
mcp__dpf__create_backlog_item({
title: "<blocker> — blocks functional verification of <feature>",
type: "portfolio", workType: "bug", source: "automated-detection",
body: "<paste the preflight BLOCKED reason + nextAction.detail + any classifier output>"
})
--feature-sha if it isn't HEAD.pnpm verify:preflight. Read the verdict.The preflight contract — verdict + served-SHA source + the one governed advance — is surface-version-agnostic. Claude Code and Codex ship capabilities almost daily; new ways to drive the happy path or trigger self-upgrade plug in at the adapter layer (which MCP/browser tool you use in step 4/5) and never change the verdict logic. If a new tool capability tempts you to bypass the preflight or the stop-rule, that is the adapter leaking into the contract — don't.
git rev-parse origin/main + curl /api/platform/version to compare by hand, stop and run the preflight — that's the exact cognitive load this skill removes.redeploy-portal, no docker compose build portal, no git checkout/pull/reset on the root clone (image-identity-equals-bytes).document.visibilityState before believing any animation or timing measurement. Chrome pauses requestAnimationFrame in hidden tabs, and in a non-interactive agent session every browser surface reports hidden with a 0×0 viewport — that is the default, not an edge case. So "0 animation frames while idle" proves nothing about whether a runaway render loop was fixed: the count is 0 either way. A verdict that would read identically on broken and fixed code is not evidence (structural-verification-is-not-functional applies to measurements too, not just to compiles).window.requestAnimationFrame with one that captures the callback instead of scheduling it, then drain it in a bounded loop (while (pending && n < 900) { const cb = pending; pending = null; cb(0); n++; }). The layout runs to completion synchronously, and pending === null at the end is itself the proof the loop terminates. Hook CanvasRenderingContext2D.prototype (arc / fillText / clearRect) rather than the component — prototype hooks survive a bundler aliasing the global.2026-06-06-procedural-functional-verification-design.mdapps/web/lib/verify/preflight.ts; CLI shim: scripts/dpf-verify-preflight.tsstructural-verification-is-not-functional, image-identity-equals-bytesdpf-evidence-before-diagnosis; precedes dpf-finishing-a-development-branch.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
functional-verification, live-install, preflight, happy-path
88 skills in this plugin
/asset-inventory-reconciliationReconcile recorded against observed assets.npx claudepluginhub opendigitalproductfactory/opendigitalproductfactory --plugin dpf-platformOther plugins' skills for the same job