rea-ci-tests-audit
MOmorluto/rea486k8,943 new stars in the last 7 days
Build every remaining planned feature serially in explicit Continuous Mode, with one local branch, verification cycle, commit, archive, and local merge per feature. Stop on decisions or blockers and never push or deploy. Use only for /continuous, $continuous, or a direct Continuous Mode request.
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 -> [continuous] -> final review packet
(ready) (feature loop, (local main only,
local history) never pushed)
Continuous Mode is an explicit opt-in loop for completing planned features without pausing at normal review prompts. It preserves the same file-backed state, small steps, verification, findings ledger, branches, archives, and one clean main commit per feature that a careful human workflow would produce.
A direct Continuous request authorizes these local actions for this run:
It does not authorize push, deploy, publish, send, remote changes, destructive actions, database resets, irreversible migrations, finding acceptance, failed check waivers, or product decisions. It always stops before those actions.
Before selecting an item or requiring a live active spec, inspect pending
completion with the installed Complete skill's read-only candidate screen,
../complete/reference/completion-screen.md, first: settled clean default-branch
history needs no historical transient objects for a new run. An actual completion
candidate or an explicit request to resume interrupted completion requires full
recovery proof from ../complete/reference/completion-recovery.md, using this
run's scoped Git authority and
qualityGates.continuous. Do not repeat archival or a work commit/merge. Missing,
conflicting, or unprovable recovery evidence stops before next-feature work. An
active feature with no completion candidate resumes implementation normally; its
ordinary resume does not require an archive or completion proof.
With no argument after pending completion has been reconciled:
blueprint/context/current-feature.md.blueprint/build-plan.md.continuous.maxFeatures completed features have been counted.resume explicitly resumes the active feature or its pending completion.
A feature number or name may set
the starting item only when no different work item is active. After that item,
continue with the next unchecked leaf items in normal build-plan order.
Continuous Mode handles planned features only. If the active work is a fix or another spec type, stop and point to its normal reviewed workflow. Never overwrite active work to make the requested target fit.
Read:
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.mdA missing config means built-in defaults. If it exists but is invalid, stop and
point to /blueprint-doctor.
Start only when the state is safe:
/overview behavior and include that change
with the first feature. Stop when refreshing it needs a product decision.open or fixed.Verify command, when declared, are usable.Do not fetch, pull, install dependencies, start an unauthorized server, alter remote settings, or clean unrelated work during preflight. A known-behind default branch is a stop, not permission to pull.
Record the starting default-branch commit. This bounds the final report.
The initial blueprint/.state/run.json record required by the first action must
already show command continuous and status running before preflight begins.
After preflight passes, enrich it with boundary local-only, the current
feature, and completed-feature progress against the smaller of the remaining
queue or configured limit. Update it when
a feature starts, after every passing build step, after each quality gate, and
after each local main commit. On a stop, set status blocked with
/continuous resume when resuming is safe. At the end of the queue or limit,
set status completed and retain the final progress. Activity reporting must
never weaken or block the workflow itself.
Repeat this section serially. Never have two feature branches or specs active at once.
When resuming, keep the active spec and continue from its first unchecked build step.
For a new item, apply the /feature behavior to the selected build-plan leaf,
write blueprint/context/current-feature.md, and self-review the spec before
coding. Correct missing unhappy paths, oversized steps, undefined contracts,
scope drift, vague done-whens, missing design references, and missing testing
plans. When qualityGates.continuous.specCheck is always, run the spec
check from ../feature/reference/spec-check.md.
Do not invent an unanswered product, data, architecture, auth, billing, or visual
decision. Stop with the exact decision needed.
Follow the proportional-engineering contract in AGENTS.md throughout this run.
Use the exact **Branch:** frozen in the spec, including its **Build attempt:**
suffix when applicable; do not derive a new branch or attempt from the title.
Validate it against git.featureBranchPrefix and Feature's history rules, then
create it from the current local default branch. When resuming, require the
existing branch and active spec to agree; keep Complete's legacy attempt handling
for older specs rather than renaming a reviewed branch.
If switching would strand unrelated work or the default branch changed in a way that makes the active branch unsafe to integrate, stop. Never stash, reset, or discard work automatically.
Build the spec in order, one small diff at a time. Continuous Mode does not pause
for workflow.stepReview; its explicit invocation replaces those review
prompts with self-review plus the final packet.
For each step:
Verify command when present. Otherwise run the
documented build and existing relevant tests.verification.logicTests and verification.uiEvidence.workflow.checkpointCommits is enabled, create a conventional local
checkpoint commit containing that passing step and its checked spec state.
When disabled, keep the work uncommitted until feature completion.Never collapse an oversized step into an unreadable diff. Split the step in the spec and continue. A dependency install, new service, destructive operation, or decision outside the approved plans is a hard stop.
Use qualityGates.continuous, not the regular or Autopilot gates:
manual skips automatic audit; when-sensitive runs
/audit current for authentication, authorization, payments, secrets,
personal or user data, migrations, destructive operations, external side
effects, security boundaries, or unusually broad changes; always audits
every feature.manual skips automatic independent review;
when-sensitive requires a fresh reviewer for the same sensitive categories
as Audit; always requires a fresh reviewer for every feature. A passing
independent receipt satisfies the Audit gate for that feature.manual skips automatic /check; when-behavioral runs it
when a done-when needs observed runtime behavior such as a click, request, CLI
command, download, background job, or multi-screen flow; always checks
every feature.qualityGates.continuous.tryGuide): use /check guide. For
when-testable, follow only ../check/reference/try-it-now.md for its
conservative classification; the full guide is not needed.
manual skips automatic generation; when-user-facing
generates a guide for UI, navigation, copy, public API or CLI, output, or
another workflow a person directly uses; when-testable runs after Verify
and required Check, emitting ## Try it now only for a safe meaningful direct
observation and recording a skip otherwise; always generates one for every
feature.qualityGates.continuous.demo): Continuous never pauses a feature
for a demo. manual skips it; when-available runs /check demo at a
successful stop, as Step 3 describes.Run required gates in this order: check, review, then try guide. Use independent
review instead of a builder-session audit when both are selected. manual means
the capability remains available later but is not automatic during this run.
A try guide is instructions for human review, never proof it was performed.
When a gate cannot run, stop instead of recording a pass. Existing P0/P1 ledger blockers always apply even when audit is manual.
Validate audit findings before editing. Repair confirmed P0 and P1 findings only
when the repair stays within feature scope, needs no user decision, and does not
remove or change shipped behavior. Use continuous.maxRepairAttempts as the
maximum attempts for the same failing check or finding; 0 disables automatic
repair.
After a repair, rerun affected verification and acceptance evidence, then
re-audit the repaired area. Move fixed to closed only when the audit
confirms the defect is gone and no worse issue was introduced.
Report P2 and P3 findings. Fix only small defects directly caused by the current
feature and clearly required by project standards. Never mark a finding
accepted for the user or suppress a failing check.
Any P0 or P1 left open or fixed stops the loop before completion.
When independent review is selected, ensure application code is in a clean
immutable checkpoint. First rerun final verification and the selected Check
gate and set the spec status to verified. Include the exact spec when tracked;
an intentionally ignored spec uses Audit's local Spec snapshot contract
without changing visibility. This review checkpoint is covered by Continuous
Mode's scoped local lifecycle authority even when step checkpoint commits are
disabled. Then follow
/audit independent current. With review.independentExecution: "automatic",
spawn and wait for the isolated reviewer and validate its normal receipt before
continuing. With manual, or when automatic capability cannot prove isolation,
identity, model, completion, or access to the same local spec/snapshot, set
activity to ready and stop with the manual handoff. Continuous Mode never
performs its own independent review. On /continuous resume, continue only with
a current passed receipt. For
changes-requested, repair within the configured attempt limit, obtain a new
checkpoint, and review the whole new target again.
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.
The request records Requested execution; the receipt records Actual execution. Require the execution and reviewer-context pairing defined by the
project-local review contract before continuing the feature loop.
A pending request without Requested execution is legacy manual-only. Never add
execution fields or run a subagent against it.
Apply the /complete safety, logging, and archive behavior without asking the
normal commit and local-merge prompts, because the explicit Continuous request
already authorized those local actions.
For the finished feature:
**Status:** is verified. When an independent
receipt exists, do not rewrite the reviewed spec before archival.landing as local-merge even when project configuration selects
pull-request landing for the regular workflow.
Fully prepare the archive with the exact verified spec, resolved findings,
original passing receipt, and any generated ## Try it now section.Never merge a partial or failing feature. Never push the default branch.
Count the feature toward continuous.maxFeatures only after its local main
commit succeeds. On resume, reconcile the unique proven archive/default-commit
pairs already completed in this run before incrementing; cleanup or a repeated
resume never counts the same completion twice. If the run boundary or count
cannot be recovered for an explicit resume, stop for clarification instead of
resetting the count and exceeding the requested limit. A new invocation starting
from a clean default branch records that current tip as its new run boundary;
already-completed work at or before it does not count toward the new run or
require reconstruction of an older run's count.
A successful stop occurs when:
continuous.maxFeatures successful features were completed.At a successful stop with qualityGates.continuous.demo set to
when-available, run /check demo before the final report for each feature
completed this run, in order, passing its archive path so the demo uses its
archived ## Try it now section. Skip features without one. Never demo on a
blocked stop; the blocker comes first. Those features are already merged
locally, so record any mismatch a demo shows in the report for the user to look
at and repair nothing automatically. A demo is never verification evidence.
A blocked stop occurs immediately for:
On a mid-feature stop, preserve the feature branch, checked steps, commits, and
working tree exactly as they stand. Do not merge or delete it. A later
/continuous resume picks up from that state.
On any stop, report:
## Try it now sections, or recorded non-testable skip reasonsworkflow.stepReview does not pause Continuous Mode.workflow.checkpointCommits controls step checkpoints, not the required
feature-level local history.Follow blueprint/context/ai-interaction.md. Keep progress updates concise and
feature-oriented. The final packet must be readable without the intermediate
updates.
MOmorluto/rea486k8,943 new stars in the last 7 days
MOmorluto/rea486k8,943 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
Block dangerous git commands like push and reset --hard before they execute.
MAmattpocock/skills337k4,978 new stars in the last 7 days