/sunstack:verifyfrom sunstack
Have a Sunstack agent check the active task against everything the user asked for, the way the user would before accepting it. It gathers the task's requirements and the standing ones from the team's history, settles open points with the user in a short Q&A, picks or hires a verifier (preferably on the other CLI), and sends it a task; the verifier drives the real app and answers per requirement with evidence. On request it also agrees a feature's expected results with the user before work starts and freezes them in the run map, or writes the verification document (the run map, with conditions and scenarios per feature) on its own. Use for "sunstack verify", "/sunstack:verify", "verify this", "check it does what I asked", "acceptance check", "write the expected results first", "agree the results before we build", "write the verification document", "write the scenarios for this feature", "write the run map", "is the verification document still true", "keep checking deliveries", "does the verifier need an update". A verifier that received such a task follows the Verifier's procedure (`references/verifier.md`). Any session, with or without a team, may also use it to run, launch or drive this project's app from its run map in `sunstack/verify/<app>/run.md`, or to write that document.
Trending skills
7-day visitors to each skill page
Ships in sunstack. 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.
Read when SKILL.md points to them.
Skill only: /sunstack:verify in Claude Code, $sunstack:verify in Codex. It has no command of its own.
The user checks deliveries by hand: does it run, and is it what they asked for, given
everything they said before. This skill hands that check to an agent. The requester (this
session) collects the requirements, because it heard the conversation. The verifier, a
different agent and preferably on the other CLI, checks the delivery against them by the
Verifier's procedure (references/verifier.md in this skill's folder), using the project's run map
(sunstack/verify/<app>/). This skill owns that map: it creates it, keeps it true and reads it;
the project holds only the data.
Three uses, in this order when a task has all three, and each works without the one before it: expected results first (opt-in, the user agrees them), the verification document (conditions and scenarios), checking a delivery (steps 1 to 6). A check with no document writes it as it goes.
Project data folder. Sunstack skills keep a project's data in sunstack/ at the top of the project (beside the team files, when there is a team), or in the folder that sunstack.json there names ({"data": "<path inside the project>"}). Paths in this skill that start with sunstack/verify/ or sunstack/formal-verify/ mean that folder. It holds only what is committed, never run output. Before a skill creates it for the first time, settle the place with the user in a short Q&A (AskUserQuestion in Claude Code, a numbered question in Codex), showing what will go in it: sunstack/ (recommended: one folder for skill data and any later team), .sunstack/ (hidden), docs/sunstack/, or create nothing (check only, leave nothing behind); the user may name another folder. For any folder other than sunstack/, write sunstack.json with its path and commit both. When the folder already exists, use it without asking.
sunstack/verify/<app>/run.md, Launch to Cleanup. If Launch or Doctor fails because the map no longer matches the repo, fix the map from the repo (references/verifier.md, step 2) and run it once more. No map yet: say so and offer to write one; do not guess a launch command into it. Evidence goes to sunstack/_local/verify/run-<UTC time>/ in a team (a sunstack/PROTOCOL.md here or above, which also keeps _local/ out of git), else to this session's scratch folder.sunstack/PROTOCOL.md in this folder or above), say so in one line and stop; the health skill sets one up.pm agent; none: ask the user), as <team>/<id> or <host>:<team>/<id>,
and stop. Hiring, firing, spawning, dismissing or directing in a different team yourself
needs the user's explicit yes first.sunstack command on its own, with nothing chained after it.Not the default. Use it only when the user asks for it, or a task's Done when names expected
results that do not exist yet. A lead may suggest it for a feature the user can see; the user
decides. Without that ask, steps 1 to 6 run as they always have and no file is created.
The expected results live in the feature's run-map file,
sunstack/verify/<app>/features/<feature>.md, as its first section:
## Expected results
Status: agreed <date> by user, results <hash>
- R1 (feature) A member can invite a teammate by email.
- R2 (UI) At 390 px and 1280 px the invite dialog shows the email field and one primary button "Send invite", with no horizontal scroll.
- R3 (data) After an invite, one pending invitation exists with the email and role, and the Members screen lists it as "Invited".
- R4 (code) The invite endpoint refuses a viewer's request on the server. Checked by: test TestInviteNeedsMemberRole.
Changes:
- <date> R2 reworded from "<old>": results <old hash> to <new hash>, user agreed (<message id or this session>)
Checked by: test ... or Checked by: formal-verify ...).R<n> is never reused. A dropped result stays, marked
dropped: <date>, user agreed.- R<digit>), always computed with:
awk '/^## Expected results/{f=1;next} /^## /{f=0} f && /^- R[0-9]/' <file> | shasum -a 256 | cut -c1-8Write and agree (the requester, at the start of the task, never the builder):
<app> folder after the
data folder Q&A, when missing; add to an existing file, never recreate it). Show it and ask
the user to agree. Only the user agrees: an agent's yes, or a relayed user (via ...), needs
the user's confirmation in this session.Keep it frozen. The builder treats the section as read-only: a result that looks wrong is a
question to the requester or the user, never a rewording. The verifier never edits it.
Change. Only the user changes an agreed result: the old and new wording, the user's yes, the
result line edited, a new hash on the Status line and a Changes: line with the old and new
hash. Results checked under the old wording are checked again.
Checking later. Once a feature has agreed results, every later verification of a delivery on
it is checked against them, not only the task that wrote them. A task checks every agreed
result of its feature unless its Done when names fewer. The section is checked only when the
recomputed hash equals the Status hash and the "to" hash of the last Changes: line (when there
is one). A mismatch means a result changed without agreement: show it to the user before
anything else.
Unit tests: fewer, not none. Expected results are the measure, not a test count. Existing tests keep passing, and a session still adds a test where the project's conventions or its own judgment call for it: a rule a walk-through cannot reach (a server refusal, a migration on old rows, a race), a bug it pins, a refactor it protects.
The run map is the project's verification document: run.md for the app, features/README.md
for what every feature shares, and one file per feature. A verifier writes and extends it while
it checks a delivery (references/verifier.md, step 2). Any session may also write it on its own,
when the user asks for the document for an app or a feature and there is no delivery to check.
features/README.md holds, before the index of features:
A feature's "Driving it" opens with its preconditions and then lists its scenarios:
## Driving it
Preconditions:
- a member and a viewer exist in the seed team (Members screen as admin)
- no pending invitation for [email protected] (`GET /api/invitations`)
- **S1 Invite by email.** (member) Open Members, press "Invite", enter [email protected], press "Send invite". Result: an "Invited" row for that email. Second view: `GET /api/invitations` lists one pending invitation. Proves R1, R3.
- **S2 Viewer cannot invite.** (viewer) Open Members. Result: no "Invite" button. Proves R2.
Second view:, a
read-only look at the stored value from somewhere else. Proves R<n> only when the feature
has expected results.S<n> is stable and never reused. A scenario may be made more exact. It is never loosened
to pass, and one that is removed or reworded is listed in the reply under run-map changes.## Expected results, and this use never writes that section.Writing it on its own:
run.md (its five sections are in references/verifier.md, step 2), the
features/README.md parts above, and the feature files asked for. Add to existing files,
never recreate them. No map folder yet: the project data folder Q&A first.sunstack/_local/verify/run-<UTC time>/ in a team, else to this session's scratch folder.
Fix what the run shows is wrong. A document that never ran is a draft: say so.Checking it is still true (only when the user asks, for example "is the verification document still true"; never on a schedule of its own):
features/README.md once, with no dead entry.## Expected results.clean (every feature driven, nothing to change), changed (the
corrections, each proven by a drive) or blocked (what stopped it, and the features not
driven with the prerequisite each lacked).Verify one task, the one being worked on now, never the team's backlog:
sunstack whoami when unsure): the task it has taken
(sunstack check <id> --token <token> lists it under taken) and this session's Now entries
for it.sunstack check --session), or else the work the user and this session are doing in this
conversation.question message (send skill), or ask the user. Never ask for
its token. When this session never heard that task's conversation, it is the wrong requester:
send the verification as a task to the session that set the task, or else to the team's lead
(pm role), with whatever the user settled here, and stop.Note the task's message ID (a conversation-only task has none), its owner, and the delivery's
identity: the commit, plus, when the tree is dirty, the uncommitted files and a fingerprint of
them. git diff HEAD misses untracked files, so hash both, the same way each time:
{ git diff HEAD -- <files>; git ls-files --others --exclude-standard -- <files>; git ls-files -z --others --exclude-standard -- <files> | xargs -0 git hash-object --; } | shasum
(the untracked names, then one hash per untracked file, so adding, removing or editing one changes it). When several tasks could be meant, or none, ask once; do not
fall back to old Done entries.
Two layers, each requirement a quoted line with its source and speaker:
--follows),
and every user requirement or correction about it in this conversation, verbatim, with just
enough around it to read it right. Not the whole conversation.sunstack/BOARD.md; sunstack board to orient), sunstack/PILLARS.md, the owner's
sunstack/<owner>/pillars.md and the Decisions in sunstack/<owner>/context.md (and its
archive when the topic is older), and the user's corrections and answers on this topic in
messages: grep sunstack/_local/log/messages/ and the owner's pending or taken inbox.List any source you could not reach (another session's conversation, another host, compacted history). The list is a bounded reconstruction, not proof that nothing was missed; the user confirms it next.
When the feature has agreed expected results, check its hash (Expected results first, Checking
later), then take each result as a requirement, quoted with the source
<feature file> R<n> (agreed <date>); step 3 then asks only about what the file does not
answer, and anything new goes into the file as a change.
Mark the requirements shaped like properties ("always", "never", "every", "at the same time"): the verifier can check them with the formal-verify skill instead of a few sample runs.
Show the list, then settle what would turn a verdict into a guess, in a short Q&A: at most three questions per round, each with 2 to 4 concrete suggestions, and only what the sources do not answer:
Add the answers as requirements, sourced "user, ". Stop as soon as every requirement is checkable.
sunstack team
Leave out the task's owner and agents of its role (the same title). Rank the rest: role fit first (verifier, then reviewer or
qa), then the other CLI from the work's, then idle (sunstack org --by agent). When none
fits, check whether an agent's role could take it with a small AGENT.md change (offer that
first, as the hire skill does it); otherwise offer to hire one with the hire skill
(sunstack hire verifier <name>); the hire skill shows the template it will use. When the verifier needs a new session, plan it on the other CLI
(--tool codex or --tool claude) if that CLI is installed; if not, say so. A new session
counts against the team's max_sessions (sunstack team --sessions); when the team is full, put the
choice (finish an idle session, or --over-cap) into the step 5 question.
Check the chosen verifier before sending, and put the result in the brief. When the user only asks whether a verifier needs an update, run this alone and report it; send nothing. It finds candidates to look at, not proof: git history does not record what the verifier read.
Run every git here from the team root (git -C "<team root>" ...), with paths relative to it.
sunstack board lists the verifier after not aligned yet: on each directive
it has not aligned with. This one is exact.C the last commit of its context
(git log -1 --format=%h -- sunstack/<verifier>/context.md), list
git log --oneline C..HEAD -- sunstack/BOARD.md sunstack/PILLARS.md sunstack/<verifier>/pillars.md sunstack/<verifier>/AGENT.md,
plus uncommitted changes to those files (git status --short -- <files>).sunstack/verify/<app>/features/, with F its last commit, git log --oneline F..HEAD -- <the task's files>
and uncommitted changes to them. Changed code means "check this feature's instructions", not
that they are wrong.No repository, no commit for C or F, no run map or no file for a feature: say
unknown for that line. Each finding is one line under Verifier freshness: in the brief's
Context; fresh only when every check ran and found nothing.
Write the brief to a file in this session's scratch or temporary folder:
Goal: Check <the product task: its message ID, or a one-line description> against the user's requirements below, the way the user would before accepting it.
Scope: Verify <the task's files and behavior; the features, and the scenarios when fewer than all> at <commit> plus <uncommitted files and diff fingerprint, if any>. You may write the project's run map (`sunstack/verify/<app>/`), your evidence folder (`sunstack/_local/verify/<this task's message ID>/`), and your own Sunstack state. Product code, other agents' state and the user's live data stay read-only.
Done when:
- every requirement below has a verdict: met, partly, not met, changed, pending or unverifiable
- each verdict says how it was checked (live, tests or read) and where its evidence is
- <when the task changes something a user runs:> the run map ran from launch to cleanup on an instance you own, and its evidence survived
- <when the task changes something a user runs:> each verdict names the scenarios (S<n>) that prove it, and every entry point of the features in scope was driven or is reported as skipped with the reason
Verify: Follow the Verifier's procedure of the sunstack verify skill: `references/verifier.md` in the skill's folder. Do not run the skill's numbered steps.
Report: One line per requirement (quote, source, verdict, how checked, scenarios, evidence), then findings, then run-map changes, then the identity you tested, then verified: <counts> by <your id>.
Context:
The task's requirements (newest first):
- "<quote>" (<source>, <speaker>)
Standing requirements that apply:
- "<quote>" (<source>, <speaker>)
Sources: <paths read; sources that could not be reached>
Verifier freshness: <fresh, or one line per finding>
Expected results: <feature file> R<a>-R<b>, results <hash> (only when the feature has them)
Not: Fixing what you find. Real sends from the app (mail, posts, payments), deployments, spending or destructive actions. Sunstack messages to the requester are fine.
Show the requirements, the recipient (and a hire or spawn, if any) and the brief together, and
ask once (send / edit / cancel). That approval covers the send in the send or spawn skill.
Send with sunstack send "<verifier>" --type task --file "<brief>" (add --from and --token
when this session holds an agent), or start the verifier with the spawn skill and
--brief "<brief>".
The verifier replies done. Read every line, not the counts.
met, or changed with the user's agreement
cited, nothing is pending, and the delivery's identity still matches what was tested. If
files changed since (a new commit or a different diff fingerprint), the affected verdicts are
stale: verify those again. Compute the fingerprint with the same command as in step 1.(verified: <counts> by <verifier> @ <commit>)
on the Done entry (with expected results: (verified: <counts> by <verifier>, <feature file> R<a>-R<b> @ <commit>)), and may then send its own done reply for the task.--follows <the product task's message ID> when it has one, otherwise carrying the
original scope and context; it quotes the failed requirements and the verifier's lines. Verify again after it. After two failed rounds, stop and ask the user.<agent>#Q<n>).When the user wants every task checked, not one, offer a standing objective through the board
skill, for example: "Every task is checked against the user's requirements before it is
reported done". The owner of each task then runs this skill before its done reply. A
verification task itself is not verified again.
For the agent that received a verification task: follow references/verifier.md in this
skill's folder. From this file read only "The verification document" and "Expected results
first", for the shapes it names. Do not run the numbered steps above.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lucklyric/sunstack --plugin sunstack21 skills in this plugin
/asTake on a Sunstack agent identity (for example builder.alice) in this project, alone or alongside sessions already working as it, or recover the identity this session already holds. Use for "sunstack as", "/sunstack:as", "take on the builder agent", "which Sunstack agent should I be", "sunstack whoami", "which agent am I", or after compaction or /clear lost the session state. Only in projects with a Sunstack team (sunstack/PROTOCOL.md)./boardShow and align the Sunstack team's objectives and key results across the user and every agent, with dependencies, stale or overdue entries and unfollowed directives. Use for "sunstack board", "/sunstack:board", "the team's OKRs", "the team's dependencies", "align the team". Not the ranked to-do list (next skill)./checkHandle the Sunstack messages waiting for this session: read, take, act, reply and ack. Use when a prompt starts with "/sunstack:check" or "$sunstack:check", when a Sunstack hook says messages wait, or for "sunstack check". Only when Sunstack is installed./cleanClose the Sunstack team's unused sessions and leftover panes in one go (agent and free sessions at their prompt over 24h with nothing unfinished, spawned sessions that released their agent, panes whose Claude or Codex exited, and claims whose pane is closed), after one confirmation. Use for "sunstack clean", "/sunstack:clean", "clean up", "clean up sessions", "clean up panes", "close idle sessions", "close unused sessions", "close finished sessions", "close exited panes", "too many sessions", "sunstack kill --idle". Closing one named session is the spawn skill. Only in projects with a Sunstack team (sunstack/PROTOCOL.md)./directGive the Sunstack team, a role or an agent a dated directive from the user (a priority, focus or constraint), or pause the team (halt). Use for "sunstack direct", "/sunstack:direct", "from now on every agent should ...", "pause the team". One piece of work for one agent goes through the send skill./driveHand a prompt to another Claude Code or Codex session in a tmux pane, wait for its turn to end and read its reply: a co-worker session beside this one that the user can watch. Works in any session, with or without a Sunstack team. Use whenever the user names Codex as the one to do something, whatever the verb ("use codex", "using codex", "ask codex", "run codex", "call codex", "have codex review this", "let codex fix it", "tell codex", "get codex to", "delegate this to codex", "with codex", "via codex", "codex cli", a prompt that starts with "codex," or a bare "codex review my changes", "have codex review this PR, branch or diff", "continue with codex", "resume the codex session"), asks to hand work to the OpenAI or GPT reasoning model ("have GPT review this", "ask the high-reasoning model"), or asks for a second Claude Code as a co-worker ("spawn a claude pane", "a second claude", "another claude for this", "a claude worker beside you", "drive claude in a pane", "have claude review it in its pane", a claude implementer with a codex reviewer). Also for "sunstack drive", "/sunstack:drive", "drive a session", "send a prompt to that pane and wait", sending prompts to several co-worker panes in parallel, and telling whether a driven session is idle, busy or blocked. Not for a session that works as a Sunstack agent (that is the send skill), not when Codex or Claude is only the topic, and not when "claude" means this session itself.Other plugins' skills for the same job