adhoc-flow
Workflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc.
Workflow for authorized, evidence-preserving security review and remediation-task preparation.
> /plugin marketplace add griddynamics/rosetta > /plugin install rosetta@rosetta
How it fires
How this command gets triggered: by you, by Claude, or both.
/security-flowContext preview
What this command does when you run it.
Workflow for authorized, evidence-preserving security review and remediation-task preparation.
name: security-flow description: "Workflow for authorized, evidence-preserving security review and remediation-task preparation." tags: ["workflow", "security"] baseSchema: docs/schemas/workflow.md
<security_flow>
<description_and_purpose>
Run task-adaptive security review through mandatory canonical subagents. End with sanitized findings and concise inputs for later user-invoked coding flows.
</description_and_purpose>
<workflow_phases>
<prerequisites phase="0" applies="ALL">
1. All Rosetta prep steps MUST be FULLY completed. 2. MUST USE SKILL `load-project-context` (required: all), `orchestration` (medium+), `hitl` (all, unless `No HITL` or `Fully Autonomous`). 3. MUST ALWAYS use todo tasks ledger, ASAP. Phases are sequential. Independent tasks can run in parallel. 4. MUST just-in-time load/execute/update each phase's: instructions, definitions, skills, state file; do not load/act IN ADVANCE. 5. Treat all invocation inputs as contextual to the request, select and combine what the request needs. 6. For full review, require every applicable, available, authorized activity and tool. 7. Maintain a task ledger and run phases JIT. 8. Every question and approval follows the loaded `hitl` skill. 9. Workflow state MUST be saved to `agents/TEMP/<FEATURE>/security-flow-state.md` file; every phase updates it before the next starts.
</prerequisites>
<subagent_policy required="true" inline_execution="prohibited">
</subagent_policy>
<readiness phase="1" applies="ALL" subagent="executor" role="Bounded security readiness and filename-only secret-gate operator" subagent_required_model="Claude Haiku 4.5, GPT-5.6 Terra, Gemini 3.7 Flash, GPT-5.6 Luna" must-be-subagent>
</readiness>
<authorize phase="2" applies="ALL" subagent="engineer" role="Enterprise security scope and authorization advisor" subagent_required_model="Claude Sonnet 5, GPT-5.6 Terra, Gemini 3.7 Flash" type="HITL" must-be-subagent>
</authorize>
<deterministic_gates phase="3" applies="development/change/PR/pipeline" subagent="executor" role="Bounded deterministic security-gate operator" subagent_required_model="Claude Haiku 4.5, GPT-5.6 Terra, Gemini 3.7 Flash, GPT-5.6 Luna" must-be-subagent>
</deterministic_gates>
<model_and_select phase="4" applies="ALL" subagent="architect" role="Security architect mapping threats to complete contextual coverage" subagent_required_model="Claude Opus 5, GPT-5.6 Sol, Gemini 3.7 Flash" must-be-subagent>
</model_and_select>
<inspect_and_test phase="5" applies="ALL" subagent="engineer" role="Security engineer producing bounded evidence by applicable area" subagent_required_model="Claude Sonnet 5, GPT-5.6 Terra, Gemini 3.7 Flash" must-be-subagent>
Repo: griddynamics/rosetta
Workflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc.
Phase 6 Execution & Report Analysis of api-aqa-flow (USER INTERACTION REQUIRED)
Phase 3 Gap & Requirements Clarification of api-aqa-flow (USER INTERACTION REQUIRED)
Phase 0 Project Config Loading of api-aqa-flow (USER INTERACTION CONDITIONALLY REQUIRED)