بنقرة واحدة
autopilot
[RCS] Strict autonomous loop: $blueprint -> $forge -> $code-review
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
[RCS] Strict autonomous loop: $blueprint -> $forge -> $code-review
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Compatibility visual-delivery runtime for Roblox creator UI, HUD, and plugin work; the canonical completion owner is now Forge.
Run read-only deep repository analysis and return a ranked synthesis with explicit confidence, concrete file references, and clear evidence-vs-inference boundaries. Use when a user says 'analyze', 'investigate', 'why does', 'what's causing', or needs grounded cross-file explanation before any changes are proposed.
Persistent Roblox Studio execution loop that carries an approved creator plan to verified completion
Run an anti-slop cleanup/refactor/deslop workflow
Ask Claude via local CLI and capture a reusable artifact
Ask Gemini via local CLI and capture a reusable artifact
| name | autopilot |
| description | [RCS] Strict autonomous loop: $blueprint -> $forge -> $code-review |
| surface-class | operator |
| domain | creator-runtime |
| audience | operator |
| artifact-type | skill |
$blueprint -> $forge -> $code-review
If $code-review is not clean, Autopilot returns to $blueprint with the review findings as the next planning input, then continues again through $forge and $code-review until the review is clean or a hard blocker is reported.
<Use_When>
$autopilot, "autopilot", "auto pilot", "autonomous", "build me", "create me", "make me", "full auto", "handle it all", or "I want a/an..."<Do_Not_Use_When>
$plan / $blueprint$forge or direct executor work$code-review
</Do_Not_Use_When><Strict_Loop_Contract> Autopilot must not run a separate broad expansion/planning/execution/QA/validation lifecycle as its primary behavior. It delegates those concerns to the three canonical workflow phases below:
Phase blueprint — consensus planning gate
$blueprint to produce/update PRD and test-spec artifacts.return_to_blueprint_reason and the review findings as first-class planning input.$forge.Phase forge — implementation + verification loop
$forge from the approved blueprint artifacts.$code-review.Phase code-review — merge-readiness gate
$code-review on the diff/artifacts produced by $forge.APPROVE with architectural status CLEAR.COMMENT, REQUEST CHANGES, any architectural WATCH/BLOCK, or any unresolved finding is not clean.review_verdict, set return_to_blueprint_reason, and transition back to Phase blueprint.The only normal terminal state is complete after a clean code review. Cancellation, blocked credentials, unrecoverable repeated failures, or explicit user stop may terminate earlier with preserved state.
</Strict_Loop_Contract>
<Execution_Policy>
blueprint, then forge, then code-review.$blueprint.$code-review always returns to $blueprint; do not patch findings ad hoc outside the loop..rcs/state, $blueprint, $forge, $code-review, and pipeline primitives; do not invent a separate execution framework.<State_Management>
Use rcs_state MCP tools (or rcs state ... --json fallback if MCP transport is unavailable) for Autopilot lifecycle state. State must be session-aware when a session id exists.
Required fields:
{
"mode": "autopilot",
"active": true,
"current_phase": "blueprint",
"iteration": 1,
"review_cycle": 0,
"max_iterations": 10,
"phase_cycle": ["blueprint", "forge", "code-review"],
"handoff_artifacts": {
"context_snapshot_path": ".rcs/context/<slug>-<timestamp>.md",
"blueprint": null,
"forge": null,
"code_review": null
},
"review_verdict": null,
"return_to_blueprint_reason": null
}
state_write({mode:"autopilot", active:true, current_phase:"blueprint", iteration:1, review_cycle:0, state:{phase_cycle:["blueprint","forge","code-review"], handoff_artifacts:{context_snapshot_path, blueprint:null, forge:null, code_review:null}, review_verdict:null, return_to_blueprint_reason:null}})current_phase:"forge", persist the plan/test-spec paths under handoff_artifacts.blueprint.current_phase:"code-review", persist implementation/test evidence under handoff_artifacts.forge.active:false, current_phase:"complete", persist review_verdict:{recommendation:"APPROVE", architectural_status:"CLEAR", clean:true} and completed_at.iteration and review_cycle, set current_phase:"blueprint", persist review_verdict:{..., clean:false}, persist handoff_artifacts.code_review, and set return_to_blueprint_reason to a concise review-driven reason.$cancel; preserve progress for resume rather than deleting handoff artifacts.
</State_Management><Continuation_And_Resume>
When the user says continue, resume, or keep going while Autopilot is active, read autopilot-state.json and continue from current_phase:
blueprint: run/update consensus planning from current handoffs and any return_to_blueprint_reason.forge: execute the approved plan and record verification evidence.code-review: review the current diff and decide clean vs return-to-blueprint.complete: report completion evidence; do not restart.Do not restart discovery or discard handoff artifacts on continuation. </Continuation_And_Resume>
<Pipeline_Orchestrator>
Autopilot may be represented by the configurable pipeline orchestrator (src/pipeline/) when useful. The Autopilot pipeline contract is:
blueprint -> forge -> code-review
Pipeline state should use current_phase values that match the same phase names (blueprint, forge, code-review, complete, failed) and should carry iteration, review_cycle, handoff_artifacts, review_verdict, and return_to_blueprint_reason alongside stage results.
</Pipeline_Orchestrator>
<Escalation_And_Stop_Conditions>
$cancel.$code-review is clean.
</Escalation_And_Stop_Conditions><Final_Checklist>
blueprint produced/updated approved planning artifactsforge implemented and verified the plan with fresh evidencecode-review returned a clean verdict (APPROVE + CLEAR)review_verdict.clean is true and return_to_blueprint_reason is nullcomplete or cancellation state is preserved coherently