wayfinder
MAmattpocock/skills337k近 7 天新增 4,978 个 star
Run one explicit bounded Blueprint spec and implementation pass through configured quality gates, then stop before completion or external actions. Use only when the user directly invokes /autopilot, $autopilot, or asks for Autopilot.
Context reuse: Reuse any required file already loaded in project instructions or the current session. Read it again only if absent, changed, or exact current bytes or line references are needed.
First action: Before project inspection, preflight, or any other tool call,
publish running to blueprint/.state/run.json when blueprint/.state/
exists. From the project root, run the first helper that exists,
node .agents/skills/blueprint-doctor/scripts/run-state.mjs or
node .claude/skills/blueprint-doctor/scripts/run-state.mjs, with start --command <skill> --summary "<truthful summary>" --boundary <read-only|reviewed|local-only>. Use update at milestones, with --status blocked --resume <command> for a blocker, and finish --status ready|completed
at the end; --help lists every option and blueprint/workflow.md has the full
activity contract. A missing or failing helper is a warning, not a blocker.
Where this sits in the workflow:
/blueprint-status -> [autopilot] -> review packet -> /complete
(where (spec, build, (human review, (log, commit,
are we?) configured gates) fixes if needed) merge with approval)
Autopilot is an explicit opt-in path. It uses the same Blueprint files and the same quality gates, but it does not stop after every normal review point. A single user request is permission to run one bounded loop until the feature is ready for review, blocked, or unsafe to continue.
It combines /feature or /fix with /implement and continues through the
spec-review stop retained by the normal workflow. That human spec approval is
the main control Autopilot intentionally removes. It does not remove the final
review packet or the option to walk through the completed code.
It does not replace the normal workflow. /feature, /implement, /check,
and /complete remain the conservative default.
Do not suggest Autopilot as the default next action. Use it only when the user explicitly asks for it.
The explicit Autopilot request is permission to create checkpoint commits on the
feature or fix branch after passing implementation steps when
workflow.checkpointCommits is enabled. It is not permission to merge, push,
deploy, publish, send, delete data, or run destructive actions.
Common forms:
/autopilot 3 or
$autopilot "directory listing".fix "<issue>": write and build an ad-hoc fix spec.resume: continue the current feature on its existing branch.If the requested target conflicts with a feature already in progress, stop and
ask which one should win. Do not overwrite blueprint/context/current-feature.md
silently.
Autopilot handles features and fixes only. If current-feature.md holds any
other spec type, such as an older Type: Rollback spec, stop and report it.
Read the same state /blueprint-status reads:
AGENTS.mdblueprint/config.jsonblueprint/project-plan.mdblueprint/build-plan.mdblueprint/context/project-overview.mdblueprint/context/current-feature.mdblueprint/context/findings.mdblueprint/context/coding-standards.mdblueprint/context/ai-interaction.mdThen decide whether it is safe to run.
Stop before changing files when:
blueprint/config.json exists but is invalid. Point the user to /blueprint-doctor.current-feature.md has real work and the user requested a different target.project-overview.md is missing or stale and the planning docs are not clear
enough to regenerate it.If the only issue is that project-overview.md is stale and the plans are clear,
regenerate it using the /overview behavior and continue. Include that in the
final packet.
The initial blueprint/.state/run.json record required by the first action must
already show command autopilot and status running before preflight begins.
After preflight passes, enrich it with boundary reviewed, the target feature
or fix, and build-step progress when known. Update it after the spec, each
passing build step, and each configured gate. On a hard
stop, set status blocked with /autopilot resume when resuming is safe. At the
final review packet, set status ready because Autopilot stops before
/complete. Activity reporting must never weaken or block the workflow itself.
If blueprint/context/current-feature.md already contains an active spec,
resume it. Read checked steps and continue from the first unchecked step.
If there is no active spec:
/feature behavior for a planned feature, or /fix behavior for a
requested fix.blueprint/context/current-feature.md.AGENTS.md declares a test commandqualityGates.regular.specCheck through
../feature/reference/spec-check.md when it is always or the user asked
for the spec check. A Needs-you item stops Autopilot with the exact decision.Autopilot may continue past this spec gate because the user explicitly invoked
Autopilot. Still report what the critique and any spec check changed in the final packet.
Follow the proportional-engineering contract in AGENTS.md throughout this run.
Use the same branch rules as /implement:
feature/<name>fix/<name>If the branch already exists, switch to it only if it matches the active spec. If switching branches would strand unrelated dirty work, stop and report the problem.
Work through the spec's build steps in order. Each step must remain reviewable.
Do not pause for user approval after each passing step, regardless of the
configured workflow.stepReview value. The review happens at the final packet
unless a hard stop is hit.
For every step:
Verify command from AGENTS.md, when declaredverification.logicTests: "required", stop and point to /tests if
logic changed but no test runner is configuredverification.uiEvidence: "required", direct browser evidence is
mandatory and unavailable evidence is a hard stop.coding-standards.md?current-feature.md only after the step passes.workflow.checkpointCommits: "enabled", create a checkpoint commit on
the feature or fix branch for the passing step. Include the code, tests, and
the updated current-feature.md checkbox. Use a conventional message such as
feat: checkpoint mock snapshot route or fix: checkpoint stale service filter. Keep the message about the step, not about Autopilot. When the value
is disabled, leave the passing step uncommitted for the final review.Do not batch the whole feature into one large diff. If a step gets too large,
split the step in current-feature.md and continue with the first smaller step.
After all implementation steps are checked, apply
qualityGates.regular.check:
manual - skip the automatic /check; it remains available when explicitly
requested.when-behavioral - run /check when a done-when needs observed runtime
behavior such as a click, request, CLI command, download, background job, or
multi-screen flow.always - run /check for every work item.After the required verification and configured Check gate pass, set the current
spec's **Status:** to verified before any independent-review checkpoint.
Audit findings and review state may still block completion. Leave the spec in progress, verification failed, or verification incomplete on any stop that
lacks complete verification evidence.
For pure library or CLI work, build plus tests and representative command output may be enough. Be explicit about the evidence used.
Apply qualityGates.regular.independentReview before a same-session audit:
manual skips automatic independent review unless a request already exists.when-sensitive requires it for authentication, authorization, payments,
secrets, personal or user data, migrations, destructive operations, external
side effects, security boundaries, or unusually broad changes.always requires it for every work item.The selected review runs after all implementation steps, final Verify, required
Check, and the verified spec, before the final review packet and /complete.
review.independentExecution chooses the manual fresh-session handoff or an
automatic isolated reviewer; it does not change when the gate is selected.
When selected, do not review the builder's work in this session. Ensure
application code is in an approved clean checkpoint. Include the verified spec
when tracked; an intentionally ignored spec uses Audit's local Spec snapshot
contract without changing visibility. Then follow Phase A of
/audit independent current. With automatic execution, spawn and wait for the
isolated reviewer, then validate its normal receipt. With manual execution, stop
with the handoff. Autopilot may use its existing configured checkpoint authority
when checkpoint commits are enabled; otherwise show the exact review-checkpoint
candidate and ask before committing. On resume, continue only when a fresh
reviewer wrote a current passed receipt. Repair changes-requested P0/P1
findings within the normal scope and attempt limit, then obtain a new checkpoint
and prepare a new review. A passing independent receipt satisfies the configured
Audit gate. A local-spec-only revision may reuse the same approved product HEAD
after normal spec and verification gates, with a new snapshot/request and full
fresh review. Do not create an empty commit for ignored spec changes. Automatic
execution must also confirm access to the same local spec/snapshot and installed
skills; otherwise retain the request and use the manual handoff in the original
checkout.
The request records Requested execution; the receipt records Actual execution. Require the execution and reviewer-context pairing defined by the
project-local review contract, including actual manual plus fresh session when
an automatic request explicitly falls back.
On resume, a pending request without Requested execution is legacy manual-only.
Never add execution fields or run a subagent against it.
Apply qualityGates.regular.audit:
manual - skip the automatic audit; /audit remains available when
explicitly requested.when-sensitive - run /audit current for authentication, authorization,
payments, secrets, personal or user data, migrations, destructive operations,
external side effects, security boundaries, or unusually broad changes.always - run /audit current for every work item.When the gate runs, audit the active feature, its diff, and the nearby code
affected by the change. This is a targeted feature audit, not a repository-wide
cleanup pass. Findings are recorded in blueprint/context/findings.md with
durable IDs and statuses, as /audit defines; the ledger reports status and
never scopes what the audit examines.
For every finding:
coding-standards.md, and
local project patterns. An audit finding is evidence to investigate, not an
automatic instruction to edit.fixed in
the ledger, never closed./complete.After any audit repair:
Verify command when present; otherwise rerun the
affected build, lint, typecheck, and test commands.fixed finding to closed under the /audit close
conditions and name it in the packet. An unrelated new finding gets its own
ledger entry and does not keep the repaired one open.Use the existing two-attempt hard stop for repeated repair failures. Do not widen
the feature into a general refactor, silently suppress a finding, or turn this
step into a full-project hardening pass. A broader cleanup remains a separate
/audit followed by planned /fix work.
Apply qualityGates.regular.tryGuide:
manual - skip automatic generation; /check guide remains available when
explicitly requested.when-user-facing - run /check guide when the change affects UI,
navigation, copy, a public API or CLI, output, or another workflow a person
directly uses.when-testable - after Verify and required Check, follow only
../check/reference/try-it-now.md for its conservative classification; the
full guide is not needed. Guide mode emits ## Try it now only when it finds
a safe, meaningful direct observation and otherwise records a skip without
inventing instructions.always - generate a guide for every work item.The guide is a review artifact, not proof. Never claim the user performed it.
Stop with a concise review packet. Keep it useful enough for /complete but not
a full audit report:
## Try it now section when one exists, or the recorded reason
it was omittedopen or fixed in blueprint/context/findings.md,
which block /completeIf everything is green, the next action is usually: review the diff, run /check guide
if its gate was manual and a walkthrough is wanted, then /complete.
Always offer a read-only walkthrough of the completed code after the packet.
Follow the spec's build steps, explain the key files, symbols, flow, and
non-obvious decisions, then offer a focused deep dive. Keep /check guide distinct as
the manual product-review path.
If something failed, name the failing check and the next fix target.
Stop immediately and report instead of continuing when Autopilot would need to:
main, merge, delete a branch, push, deploy, publish, or send
anythingqualityGates.regular. The Continuous gate policies and the
continuous section do not change an Autopilot run.open or fixed in blueprint/context/findings.md
blocks readiness for /complete. The ledger is what makes this enforceable./complete. It never merges.current-feature.md accurate as steps complete.coding-standards.md, ai-interaction.md, and AGENTS.md.Format the output to match the project's conventions in
blueprint/context/ai-interaction.md: concise, scannable markdown, with lists for
enumerations and tables for matrices rather than dense paragraphs.
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star