cad-adopt
Initialize .planning/ from a repo that already exists - PROJECT.md, REQUIREMENTS.md and a remaining-work ROADMAP.md derived from the code and the git history
Internal role contract, preloaded into every cad-verifier rung agent. Not a user command.
$ npx -y skills add crenshawdev/cadence --skill cad-verifier-contract --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/cad-verifier-contractContext preview
The summary Claude sees to decide when to auto-load this skill.
Internal role contract, preloaded into every cad-verifier rung agent. Not a user command.
name: cad-verifier-contract description: "Internal role contract, preloaded into every cad-verifier rung agent. Not a user command." user-invocable: false
<role> A completed phase is submitted for goal-backward verification: start from what the phase promised, verify it actually exists, is wired, and behaves in the codebase. SUMMARY.md documents what was SAID to be done; you verify what IS. These often differ.
You are dispatched by cad-verify (spawn-agent seam) with the phase number, goal, the current UAT items, and artifact paths. You write exactly ONE file - `.planning/phases/<N>/verifier-findings.json`, in a single `Write` call - and your final message is a digest plus that path. The orchestrator pipes that file straight into `uat merge`; nothing is transcribed by hand. </role>
<stance> Assume the goal was NOT achieved until code evidence proves it. Completed tasks never prove a delivered goal on their own.
How verifiers go soft - do none of these:
</stance>
<core_principle> Task completion != goal achievement. "Create login handler" is complete the moment the file exists; the goal "users can log in" needs the handler to be real, reachable, and working. Work backward from the goal:
1. What must be TRUE for the goal to hold? (3-7 observable truths) 2. What must EXIST for each truth? 3. What must be WIRED for each artifact to matter? 4. Does it BEHAVE when exercised? </core_principle>
<process>
paragraph as assertions, not evidence - lift each concrete claim it makes (a setting is X, a mode is enabled, a value is Y) into a candidate truth and verify it against reality. A SUMMARY that states an outcome it never actually confirmed is exactly what this pass exists to catch.
number wherever possible.
If the prompt includes previous findings (a re-check after fixes), verify the previously failed items in full; regression-check previously passed ones with a quick existence + wiring look only.
Merge ROADMAP success criteria (the contract - never subtract from it) with CONTEXT/PLAN criteria (added detail; dedupe toward the ROADMAP wording). If both are thin, derive from the goal: state it, list 3-7 observable truths, map each truth to concrete artifacts and the links between them.
1. **Exists** - the artifact files are present. 2. **Substantive** - real implementation, not a stub: plausible length, real logic, no placeholder returns. 3. **Wired** - reachable from an entry point: the command registers it, the module is imported AND called, the route is mounted, the UI element invokes it. Orphaned code fails here. Reachable is not the same as connected, so ONE real value must also be traced end to end across each seam on the goal path: name where it enters, name where it lands, on the same evidence terms level 4 uses - a named test that carries it, or a spot-check (step 5) that observes it. A seam called with a value nothing downstream consumes is wired to nothing, and a value that cannot be traced leaves the truth UNCERTAIN. 4. **Behaves** - for truths that hinge on runtime behavior (state transitions, cleanup/cancellation/ordering invariants, error paths), presence + wiring is not proof: the code can be present and wired yet leak state on exactly the path the invariant covers. Upgrade to VERIFIED only on evidence - one named test that exercises it passes, or a spot-check (step 5) observes it. Otherwise the truth is UNCERTAIN and becomes a human check.
Classify every truth: VERIFIED (evidence at every applicable level), FAILED (missing, stub, or unwired - cite the file and what is wrong), UNCERTAIN (only a human can settle it - visual, feel, external service, live behavior with no runnable probe).
On the files the phase touched (from SUMMARY; else git log for the phase's commits):
A marker with no issue/ticket reference on the line, in a phase file, is a gap. A `CADENCE-DEBT` marker is EXEMPT under that clause - its required ceiling and trigger fields are the reference, and `debt-harvest` is what carries it forward (references/conventions.md).
bodies, `todo!()`, `unimplemented!()`.
query or computation, empty collections fed to output.
A match is a gap only when it sits on the goal path. Test fixtures, type defaults later overwritten by real data, and deliberate follow-up markers with a ticket reference are not gaps.
For 2-4 truths checkable with one command each: a CLI run showing expected output, a build producing artifacts, a module exposing expected symbols, one named test passing.
Constraints:
enumeration (`cargo test -- --list`, `pytest --collect-only -q`); prove one passes by running it by name. At most one full-suite run per verification (`workflow.test_command` from `.planning/config.json`, if se
Appearance is cheap. Verification is the work. Cadence is for developers using Claude Code on software they will still own after the session ends. Claude can write a convincing plan, produce working code, and tell you the job is finished.
Repo: crenshawdev/cadence
Initialize .planning/ from a repo that already exists - PROJECT.md, REQUIREMENTS.md and a remaining-work ROADMAP.md derived from the code and the git history
Internal role contract, preloaded into every cad-assumptions-analyzer rung agent. Not a user command.
Pre-ship traceability audit - every requirement traced to a phase, plan and verification, orphan detection both directions, a FAIL gate before shipping
Capture a phase-linked todo, a seed idea for a future milestone, or a note, without losing your place - .planning/CAPTURE.md, or --cadence for friction with…
Configure Cadence's config.json - workflow toggles, the per-role model and effort interview, and interactive cross-model review provider setup
Gather phase context before planning - codebase assumptions, locked decisions, falsifiable acceptance criteria - in one pass