Loading...
Loading...
AI SDLC approvals, sandbox, and command rule workflow. Use when an AI assistant needs to decide whether to request escalated permissions, explain sandbox failures, propose prefix_rule approvals, avoid unsafe command patterns, or document why a command was or was not rerun outside the sandbox. Supports `--quick-flow` for fast assumption-driven execution and `--full-flow` for question-driven verified execution.
npx skill4agent add mikegorelikoff/ai-sdlc-harness ai-sdlc-approvals-sandboxInternal AI SDLC skill, not client-facing by default. Every rule below is important to follow. None of it can be skipped. Before producing the final artifact, confirm required inputs, target audience, missing facts, output format, and constraints when they are unclear. Do not invent missing information. Ask concise clarification questions when required inputs are absent.
ai-sdlc-approvals-sandboxTBDNot providedAssumption--quick-flow--full-flow--full-flow--quick-flow--quick-flowdecision-log.md--quick-flow--full-flow--full-flow--full-flowspecs-refiniment/<feature-name>/<file.md>ai-sdlc-handoff/v1resultblockersnext_requirednext_optionalreasoncommandexpected_artifactsummary.txt*-summary.txt_ai_sdlcspecs-refiniment/<feature-name>/decision-log.mdspecs/<feature-name>/decision-log.md# Decision Log
| ID | Date | Status | Owner | Decision | Context/Evidence | Options Considered | Affected Artifacts | Validation/Trace Links |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| DEC-001 | YYYY-MM-DD | proposed / accepted / superseded / rejected | role or name | concise decision | source facts, artifact links, or evidence | option A; option B; recommended default | affected docs, tasks, code, tests, or rollout notes | requirement IDs, test IDs, validation commands, PRs, commits, or tickets |specs/specs/specs-refiniment/<feature-name>/<file.md>specs-refiniment/<feature-name>/<file.md>specs/specs-refiniment/<feature-name>/_ai_sdlc/state.toonspecs/<feature-name>/_ai_sdlc/state.toonpython3 skills/_shared/state_machine.py check --feature <feature-name> --skill <this-skill-name> --workspace <refinement|implementation> --quick-flow|--full-flowbegincomplete--artifacts <path>--decision-ref DEC-###--full-flow--quick-flow--assumption "..."--decision-ref DEC-###decision-log.mdpython3 skills/_shared/state_machine.py status --feature <feature-name> --workspace <refinement|implementation> --format toonstate.toonartifact_metadataai-sdlc-artifact-metadata/v1featureartifactpathworkspaceskillflow_modestate_filedecision_logstatusownercreated_atupdated_attrace_idsrelated_artifactsvalidationmetatagsmetatagsai-sdlcrefinementimplementationdraftreviewapprovedvalidated--quick-flowflow_mode: quick--full-flowflow_mode: fullstatusvalidationtrace_idsrelated_artifactsdecision-log.mdstate.toonspecs-refiniment/_ai_sdlc/specs-index.toonspecs/_ai_sdlc/specs-index.toonspecs-refiniment/specs-index.mdspecs/specs-index.mdpython3 skills/_shared/ai_sdlc_specs_index.py --workspace <refinement|implementation> --quick-flow|--full-flow--quick-flowspecs-index.toon--full-flowspecs-index.toonspecs-index.mdscripts/approval_plan.py--quick-flow--full-flowpython3 skills/ai-sdlc-approvals-sandbox/scripts/approval_plan.py --quick-flow --command "<command>" --justification "<user-facing question?>"python3 skills/ai-sdlc-approvals-sandbox/scripts/approval_plan.py --full-flow --command "<command>" --justification "<user-facing question?>" --prefix-rule "<safe reusable prefix>"--prefix-ruleprefix_rulepython3 skills/ai-sdlc-approvals-sandbox/scripts/approval_plan.py \
--command 'go test ./internal/service/...' \
--justification 'Allow running focused service tests with the required sandbox permissions?' \
--prefix-rule 'go test ./internal/service/...'justificationprefix_ruleSandbox decision:
- Command: exact command
- Required for: task-specific reason
- Sandbox issue: filesystem | network | listener | GUI | external service | destructive | none
- Escalation: requested | not requested | denied | granted
- Prefix rule: proposed rule | none and why
- Result: passed | failed | skipped | blocked
- Residual risk: none | concrete limitation{
"sandbox_permissions": "require_escalated",
"justification": "Allow running Go tests with a writable external cache for this package?",
"prefix_rule": ["go", "test", "./internal/service/..."]
}{
"sandbox_permissions": "require_escalated",
"justification": "Need permissions.",
"prefix_rule": ["python3"]
}prefix_rulermgit resetprefix_rule$ai-sdlc-validation