STRΛTΛ19

Routine catalog

Every bundled routine definition, generated from the routine registry

Bundled routines

RoutineNameAutonomy modeTriggers
routine.finish-my-appFinish My Appreviewmanual
routine.project-rescueProject Rescuereviewmanual
routine.understand-repositoryUnderstand Repositoryreviewmanual
routine.bug-investigationBug Investigationreviewmanual
routine.pr-reviewPR Reviewreviewmanual
routine.placeholder-auditPlaceholder Auditreviewmanual
routine.spec-completeness-interviewSpec Completeness Interviewreviewmanual
routine.test-impactTest Impact Analysisreviewmanual
routine.adversarial-critiqueAdversarial Plan Critiquereviewmanual
routine.security-sweepSecurity Sweepreviewmanual, periodic (config: {"intervalDays":7,"catchUpPolicy":"skip_to_next"})
routine.findings-triageFindings Triagesuggestmanual
routine.findings-landFindings Landreviewmanual
routine.session-catchupSession Catchupsuggestmanual
routine.findings-proposeFindings Proposesuggestmanual
routine.backlog-burndownBacklog Burndownreviewmanual
routine.findings-surfaceSurface Custom Findingsreviewmanual
routine.release-readiness-gateRelease Readiness Gatereviewmanual
routine.drift-resolveDrift Resolvesuggestmanual
routine.spec-recheckSpec Rechecksuggestindex.updated
routine.change-request-verifyChange Request VerifysuggestThe source does not carry a triggers entry for this routine.
routine.adopt-brownfieldAdopt Brownfieldsuggestmanual
routine.build-validate-indexBuild Validate Indexsuggestmanual
routine.repair-broken-gateRepair Broken Gatesuggestmanual
routine.proposal-deliveryProposal Deliverysuggestmanual
routine.capture-and-continueCapture And Continuesuggestmanual
routine.directional-bulk-resolutionDirectional Bulk Resolutionsuggestmanual
routine.lane-orchestrator-briefingLane Orchestrator Briefingsuggestmanual
routine.enumerate-assess-worked-patternEnumerate & Assess (Worked Pattern)reviewmanual
routine.enrich-decide-worked-patternEnrich & Decide (Worked Pattern)reviewmanual
routine.shared-cause-review-worked-patternShared-Cause Review (Worked Pattern)reviewmanual
routine.approve-resume-worked-patternApprove & Resume (Worked Pattern)reviewmanual
routine.verify-worked-patternVerify (Worked Pattern)shadowmanual
routine.qa-campaignQA Campaignreviewmanual
routine.qa-tester-runQA Tester Runreviewmanual
routine.qa-repair-loopQA Repair Loopreviewmanual
routine.docs-to-specbookDocs To Specbooksuggestmanual

routine.finish-my-app — Finish My App

Full lifecycle from understanding the project to verifying the implementation. Finds gaps, creates work items, computes change impact, and evaluates readiness.

Actions, in declared order: Initialize Project (initialize_project) → Get Spec Context (get_spec_context) → Initial Verification (verify_implementation) → Create Work Item (create_or_update_work_item) → Get Next Work Item (remote-only — no-op without a configured remote) (get_next_work_item) → Compute Change Impact (compute_change_impact) → Verify Progress (verify_implementation) → Evaluate Readiness (evaluate_readiness)

Autonomy modereview
Triggersmanual

routine.project-rescue — Project Rescue

Analyze a broken or abandoned project, identify findings, remediate issues, create checkpoints, and verify the rescue is complete.

Actions, in declared order: Initialize Project (initialize_project) → Query Code Graph (query_code_graph) → Verify Implementation (verify_implementation) → Retrieve Finding Detail (retrieve_finding_detail) → Remediate Finding (remediate_finding) → Create Checkpoint (create_checkpoint) → Evaluate Readiness (evaluate_readiness)

Autonomy modereview
Triggersmanual

routine.understand-repository — Understand Repository

Quickly understand a repository by initializing the project context, querying the code graph, and retrieving spec context.

Actions, in declared order: Initialize Project (initialize_project) → Query Code Graph (query_code_graph) → Get Spec Context (get_spec_context)

Autonomy modereview
Triggersmanual

routine.bug-investigation — Bug Investigation

Investigate a bug by verifying the implementation, retrieving finding details, computing the change impact, and creating a work item to track the fix.

Actions, in declared order: Verify Implementation (verify_implementation) → Retrieve Finding Detail (retrieve_finding_detail) → Compute Change Impact (compute_change_impact) → Create Work Item (create_or_update_work_item)

Autonomy modereview
Triggersmanual

routine.pr-review — PR Review

Review a pull request with the nine-panel review engine: scope drift, spec criteria touched, blast radius, guard crossings, taint, unresolved sites, spec/code drift, test impact and detector findings.

Actions, in declared order: Review Pull Request (review_pull_request)

Autonomy modereview
Triggersmanual

routine.placeholder-audit — Placeholder Audit

Audit a codebase for placeholder patterns (TODOs, FIXMEs, stubs). Verifies implementation quality, retrieves finding details, and creates work items to track remediation.

Actions, in declared order: Verify Implementation (verify_implementation) → Retrieve Finding Detail (retrieve_finding_detail) → Create Work Item (create_or_update_work_item)

Autonomy modereview
Triggersmanual

routine.spec-completeness-interview — Spec Completeness Interview

Interview-style analysis to assess spec completeness. Gets spec context, analyzes specification completeness, asks clarifying questions, and creates work items for missing or incomplete requirements.

Actions, in declared order: Get Spec Context (get_spec_context) → Analyze Specification Completeness (analyze_specification_completeness) → Ask Question (ask_question) → Create Work Item (create_or_update_work_item)

Autonomy modereview
Triggersmanual

routine.test-impact — Test Impact Analysis

Analyze the impact of changes on tests by computing change impact, verifying the implementation, and creating work items to track test updates.

Actions, in declared order: Compute Change Impact (compute_change_impact) → Verify Implementation (verify_implementation) → Create Work Item (create_or_update_work_item)

Autonomy modereview
Triggersmanual

routine.adversarial-critique — Adversarial Plan Critique

Adversarial critique of a proposed plan — the routine-engine step whose only job is to refute the plan. Runs deterministic static analysis against the plan and returns a typed AdversarialCritiqueResult with a closed verdict enum (clean, conditional, or refuted) and a sorted list of risks. This is the direct countermeasure to confident wrong answers that read as clean (CRITIQUE-01).

Actions, in declared order: Adversarial Critique (adversarial_critique)

Autonomy modereview
Triggersmanual

routine.security-sweep — Security Sweep

Run the native taint-based security detectors and compiler-backed semantic detectors over the project. The periodic trigger surfaces a due reminder every 7 days — it never auto-runs the scan; starting it always remains an explicit action. Findings from a run are triaged in the Security lane / via capture_finding, not by this routine.

Actions, in declared order: Run Native Security Analysis (run_native_security_analysis)

Autonomy modereview
Triggersmanual, periodic (config: {"intervalDays":7,"catchUpPolicy":"skip_to_next"})

routine.findings-triage — Findings Triage

Narrow a large finding set to the few that matter for the current change. Inspects project status, retrieves detail on individual findings, and creates or updates a work item for the findings worth acting on now.

Actions, in declared order: Inspect Project Status (inspect_project_status) → Retrieve Finding Detail (retrieve_finding_detail) → Create Work Item (create_or_update_work_item)

Autonomy modesuggest
Triggersmanual

routine.findings-land — Findings Land

After a human has approved a change set, land the work: request approval, checkpoint the working tree, commit, push the branch, and merge the candidate. The only bundled routine that reaches the working tree, so it is deliberately conservative and stays gated at review autonomy.

Actions, in declared order: Request Approval (request_approval) → Create Checkpoint (create_checkpoint) → Create Commit (create_commit) → Push Branch (push_branch) → Merge Candidate (merge_candidate) → Apply Change Set (manage_change_set)

Autonomy modereview
Triggersmanual

routine.session-catchup — Session Catchup

On returning to a project, report what changed while you were away and open work for anything that drifted. Builds the code index, compares the git range since the last visit, inspects current project status, and creates or updates a work item for anything worth following up on. Deliberately short and read-only.

Actions, in declared order: Build Code Index (build_code_index) → Compare Git Range (compare_git_range) → Inspect Project Status (inspect_project_status) → Create Work Item (create_or_update_work_item)

Autonomy modesuggest
Triggersmanual

routine.findings-propose — Findings Propose

Assemble triaged/clustered findings into one reviewable change set a human can approve or deny in a single decision, then stop. Gets the next work item, assembles or advances a change set for it, and requests approval. Deliberately stops at a proposal — the change set reaches proposed and a human decides; it never lands anything. routine.findings-land is the separate, review-gated routine that actually lands approved work.

Actions, in declared order: Get Next Work Item (get_next_work_item) → Manage Change Set (manage_change_set) → Request Approval (request_approval)

Autonomy modesuggest
Triggersmanual

routine.backlog-burndown — Backlog Burndown

Work a batch of findings across multiple sessions rather than finishing in one turn. Gets the next work item, produces a remediation plan for it (never applies it), verifies the current implementation, then pauses so the run can resume in a later session. No daemon, no cron — the pause step is the mechanism.

Actions, in declared order: Get Next Work Item (get_next_work_item) → Remediate Finding (remediate_finding) → Verify Implementation (verify_implementation) → Pause Until Next Session (pause_until_next_session)

Autonomy modereview
Triggersmanual

routine.findings-surface — Surface Custom Findings

Run a custom, versioned-grammar graph query (unresolved reference sites the built-in detectors do not report on their own), author what it surfaces as a first-class finding, confirm it is retrievable, and file a work item to track it. The worked example for using the code graph as a customization substrate.

Actions, in declared order: Query Unresolved Reference Sites (query_code_graph) → Author a Finding From the Custom Query (author_finding) → Confirm the Finding Is Retrievable (retrieve_finding_detail) → Track the Custom Finding (create_or_update_work_item)

Autonomy modereview
Triggersmanual

routine.release-readiness-gate — Release Readiness Gate

Automate a sign-off process: verify the implementation, checkpoint the current state, ask a clarifying question, get explicit human approval, then confirm overall readiness. The worked example for a multi-step routine with human gates — never lands anything itself.

Actions, in declared order: Verify Implementation (verify_implementation) → Checkpoint Current State (create_checkpoint) → Ask: Ready to Ship? (ask_question) → Request Sign-Off (request_approval) → Confirm Readiness (evaluate_readiness)

Autonomy modereview
Triggersmanual

routine.drift-resolve — Drift Resolve

Resolve detected spec-vs-code drift by delivering the fix vehicle a human decides on: detect drift over a scope (the spec-drift pass), group it, ask the person to confirm the direction (fix-code or update-intent) BEFORE any write, then deliver — a change set at proposed (fix-code, the object routine.findings-land lands) or a Change Request submitted for review (update-intent). Stops at the proposal; never touches the working tree.

Actions, in declared order: Detect Drift (spec-drift pass) (verify_implementation) → Confirm Resolution Direction (ask_question) → Assemble Drift Fix Change Set (manage_change_set) → Propose Drift Fix Change Set (manage_change_set) → Open Intent Change Request (create_change_proposal) → Submit Intent Change Request for Review (request_change_approval)

Autonomy modesuggest
Triggersmanual

routine.spec-recheck — Spec Recheck

The index moved; re-evaluate the suspect obligations. Runs the 9.332 spec pass (verify_implementation's detector scan) over the scope so every obligation is re-measured against the current index, and delivers the refreshed findings — drift, unconfirmed links, stale evidence — into the ONE review inbox where they are decided. Never touches the working tree.

Actions, in declared order: Re-evaluate Suspect Obligations (spec pass) (verify_implementation)

Autonomy modesuggest
Triggersindex.updated

routine.change-request-verify — Change Request Verify

The work a Change Request proposed is completed; close it with proofs. Runs the 9.332 spec pass to re-measure the affected obligations and refresh their proofs, then attempts the VERIFIED close (close_change_request) — a human-gated step whose closure gate refuses with unverified_change naming each unmet obligation unless every live obligation carries a satisfied proof. The refusal is the routine's honest "what is still missing" output, never an error.

Actions, in declared order: Re-measure Affected Obligations (spec pass) (verify_implementation) → Close Change Request with Proofs (close_change_request)

Autonomy modesuggest
TriggersThe source does not carry a triggers entry for this routine.

routine.adopt-brownfield — Adopt Brownfield

Adopt an EXISTING repository: index what is actually there, draft the intent the index supports (generate_local_specbook — local, confirm-gated), ask the ranked questions the draft raises (the human gate), and leave the drafted sections in the ONE review inbox as specbook_chunk proposals for batch approval. Computable without a model key; never touches the working tree.

Actions, in declared order: Index the Repository (verify_implementation) → Draft Intent from the Index (generate_local_specbook) → Answer the Draft's Ranked Questions (ask_question)

Autonomy modesuggest
Triggersmanual

routine.build-validate-index — Build Validate Index

Establish a trustworthy code index and report its readiness, with nothing else bundled: initialize the project, build the code index, and evaluate readiness. Free and deterministic end to end — the only durable effect is the local index itself, never the working tree.

Actions, in declared order: Initialize Project (initialize_project) → Build Code Index (build_code_index) → Evaluate Readiness (evaluate_readiness)

Autonomy modesuggest
Triggersmanual

routine.repair-broken-gate — Repair Broken Gate

Take a broken-gate finding (a gate that reports green while verifying nothing — D-132) from suspicion to an owned work item: retrieve the finding's detail, re-run the verification pass so the gate's CURRENT state is measured, and open the delete-or-fix work item a human decides on. Never touches the working tree.

Actions, in declared order: Retrieve Finding Detail (retrieve_finding_detail) → Re-run the Gate (verification pass) (verify_implementation) → Open Delete-or-Fix Work Item (create_or_update_work_item)

Autonomy modesuggest
Triggersmanual

routine.proposal-delivery — Proposal Delivery

Deliver the next work item's assembled change set as a proposal in the ONE review inbox: get the next work item, assemble its change set, and record the delivery as a durable proposal row (manage_proposal) the inbox lists and a human decides on. Stops at the delivery — the change set stays in draft and nothing is landed; routine.findings-land is the routine that lands approved work.

Actions, in declared order: Get Next Work Item (get_next_work_item) → Assemble Work Item Change Set (manage_change_set) → Record Delivery Proposal (manage_proposal)

Autonomy modesuggest
Triggersmanual

routine.capture-and-continue — Capture And Continue

The mid-work capture loop: capture an observation so it is not lost, then promote it into a proposal in the ONE review inbox (the 9.402 relationship promotion — the proposal evidence-links the capture, the capture row stays queryable) and continue the work. Never blocking, never deleting; the promotion is decided in the inbox like every proposal.

Actions, in declared order: Capture Observation (capture_observation) → Promote Capture to Proposal (triage_capture)

Autonomy modesuggest
Triggersmanual

routine.directional-bulk-resolution — Directional Bulk Resolution

One decision, N Change Requests: detect the drift group (the spec-drift pass), ask the human to confirm the directional resolution ("the code is right — update the spec") BEFORE any write, then fan out one Change Request per drift finding — each titled from its finding, sharing the confirmed direction, each reviewable on its own. Stops at the created requests; never touches the working tree.

Actions, in declared order: Detect Drift Group (spec-drift pass) (verify_implementation) → Confirm Directional Resolution (ask_question) → Open One Change Request per Drift Finding (create_change_proposal)

Autonomy modesuggest
Triggersmanual

routine.lane-orchestrator-briefing — Lane Orchestrator Briefing

The orchestrator's loop: dispatch work into a conversation lane (start_run), wait a bounded window for the run to reach a state (await_run), then compose the orchestrator's briefing (compose_briefing, human audience) from the run's own records. The dispatch parks at its confirm gate first — dispatching provider work is cost-bearing and user-visible, and never happens without a real approval.

Actions, in declared order: Dispatch Work into Lane (start_run) → Await Run State (await_run) → Compose Orchestrator Briefing (compose_briefing)

Autonomy modesuggest
Triggersmanual

routine.enumerate-assess-worked-pattern — Enumerate & Assess (Worked Pattern)

Task 10.4c worked pattern 1 of 5: enumerate a real population of spec obligations, page through it with a paginated traversal, assess each one as a first-class finding, and end with an honest coverage reconciliation. No hardcoded subject ids anywhere — the population is whatever step-enumerate actually finds.

Actions, in declared order: Enumerate the Real Population (get_spec_context) → Assess Each Subject (author_finding) → Track the Run (create_or_update_work_item)

Autonomy modereview
Triggersmanual

routine.enrich-decide-worked-pattern — Enrich & Decide (Worked Pattern)

Task 10.4c worked pattern 2 of 5: for each subject in a real population, enrich it (draft a spec_delta work item capturing its requirement text) and then decide on it (confirm the draft) — a same-subject two-step chain with no caller-supplied ids anywhere; each id flows forward through real step-output bindings.

Actions, in declared order: Enumerate the Real Population (get_spec_context) → Enrich: Draft One spec_delta Per Subject (create_or_update_work_item) → Decide: Confirm Each Draft (confirm_work_item)

Autonomy modereview
Triggersmanual

routine.shared-cause-review-worked-pattern — Shared-Cause Review (Worked Pattern)

Task 10.4c worked pattern 3 of 5: group live findings by shared cause (category, respecting the canonical groupability registry) and review each SHARED CAUSE as one decision instead of one decision per finding — PopulationTraversalV1's "concern" mode, dispatching hide_finding_group once per concern.

Actions, in declared order: Group Live Findings by Shared Cause (group_findings_by_concern) → Review Each Shared Cause (hide_finding_group)

Autonomy modereview
Triggersmanual

routine.approve-resume-worked-pattern — Approve & Resume (Worked Pattern)

Task 10.4c worked pattern 4 of 5: page through a real population, requiring one human approval per page (manage_change_set is confirm-gated). A page attempted without approval genuinely pauses the run at waiting_for_human, mid-traversal — and resumes from the real stored cursor, never a caller's claim, once approval is granted, even across a session boundary.

Actions, in declared order: Enumerate the Real Population (get_spec_context) → Approve & Decide, One Page At A Time (manage_change_set)

Autonomy modereview
Triggersmanual

routine.verify-worked-pattern — Verify (Worked Pattern)

Task 10.4c worked pattern 5 of 5: a read-only re-check over a real population, producing a stable, idempotent coverage report. No writes, no approvals — the same routine run twice against an unchanged population produces byte-identical traversal and reconciliation output.

Actions, in declared order: Enumerate the Real Population (get_spec_context) → Verify Each Subject, Read-Only (retrieve_finding_detail)

Autonomy modeshadow
Triggersmanual

routine.qa-campaign — QA Campaign

Plan a QA campaign from the journey graph, run persona testers against the declared qa-target, cluster what they observed, reproduce each candidate with fresh testers before it becomes a finding, and send each reproduced blocking finding through a bounded repair loop. Approve the budget and the billed account before anything runs.

Actions, in declared order: Plan the campaign (plan_campaign) → Approve the budget and the billed account (request_approval) → Run the testers (run_tester) → Cluster what the testers observed (campaign_collect) → Plan the independent replay of each candidate (reproduce_candidate) → List the replays to run (campaign_collect) → Replay each candidate with fresh testers (run_tester) → Join each candidate with its replays (campaign_collect) → Conclude: reproduced, flaky or environmental (reproduce_candidate) → Pick the blocking findings (campaign_collect) → Open a work item for each blocking finding (create_or_update_work_item) → Pair each blocking finding with its work item (campaign_collect) → Repair each blocking finding (one at a time) (routine.run) → Readiness verdict (evaluate_readiness)

Autonomy modereview
Triggersmanual

routine.qa-tester-run — QA Tester Run

Run one QA tester (a persona walking one journey) against the declared qa-target with the enforced-boundary driver. Observations become captures, never findings; the outcome and the behavioural telemetry are derived from what the tester did, not from what it says.

Actions, in declared order: Run the tester (run_tester)

Autonomy modereview
Triggersmanual

routine.qa-repair-loop — QA Repair Loop

Repair one reproduced QA finding with a bounded loop: dispatch the repair to the host, verify the implementation, replay the original tester steps with a fresh tester, and stop when the replay no longer shows the finding (at most 3 iterations; reaching the limit is not a pass).

Actions, in declared order: Dispatch the repair to the host lane (start_run) → Wait for the repair run (await_run) → Verify the implementation (verify_implementation) → Replay the original steps with a fresh tester (run_tester) → Does the replay still show the finding? (evaluate_candidate)

Autonomy modereview
Triggersmanual

routine.docs-to-specbook — Docs To Specbook

Turn an imported pile of documents in the Library into a reviewable specbook: deterministic candidate extraction (requirements, capabilities, endpoints, data models, workflow steps), the canonical intent pages, one pending proposal per surviving candidate with a verbatim citation, and one decision question per contradiction. No model, no network; nothing is approved — a person decides the proposals.

Actions, in declared order: Extract Spec Candidates (extract_spec_candidates) → Seed Canonical Intent Pages (seed_intent_pages) → Propose Surviving Candidates (propose_spec_candidates) → Raise Contradiction And Open Questions (raise_spec_contradiction_questions)

Autonomy modesuggest
Triggersmanual

On this page

Bundled routinesroutine.finish-my-app — Finish My Approutine.project-rescue — Project Rescueroutine.understand-repository — Understand Repositoryroutine.bug-investigation — Bug Investigationroutine.pr-review — PR Reviewroutine.placeholder-audit — Placeholder Auditroutine.spec-completeness-interview — Spec Completeness Interviewroutine.test-impact — Test Impact Analysisroutine.adversarial-critique — Adversarial Plan Critiqueroutine.security-sweep — Security Sweeproutine.findings-triage — Findings Triageroutine.findings-land — Findings Landroutine.session-catchup — Session Catchuproutine.findings-propose — Findings Proposeroutine.backlog-burndown — Backlog Burndownroutine.findings-surface — Surface Custom Findingsroutine.release-readiness-gate — Release Readiness Gateroutine.drift-resolve — Drift Resolveroutine.spec-recheck — Spec Recheckroutine.change-request-verify — Change Request Verifyroutine.adopt-brownfield — Adopt Brownfieldroutine.build-validate-index — Build Validate Indexroutine.repair-broken-gate — Repair Broken Gateroutine.proposal-delivery — Proposal Deliveryroutine.capture-and-continue — Capture And Continueroutine.directional-bulk-resolution — Directional Bulk Resolutionroutine.lane-orchestrator-briefing — Lane Orchestrator Briefingroutine.enumerate-assess-worked-pattern — Enumerate & Assess (Worked Pattern)routine.enrich-decide-worked-pattern — Enrich & Decide (Worked Pattern)routine.shared-cause-review-worked-pattern — Shared-Cause Review (Worked Pattern)routine.approve-resume-worked-pattern — Approve & Resume (Worked Pattern)routine.verify-worked-pattern — Verify (Worked Pattern)routine.qa-campaign — QA Campaignroutine.qa-tester-run — QA Tester Runroutine.qa-repair-loop — QA Repair Looproutine.docs-to-specbook — Docs To Specbook