woos-code-review-gate
Independent code/security review gate for Hermes workflow. Uses woos-code-reviewer and woos-security-reviewer where applicable.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Independent code/security review gate for Hermes workflow. Uses woos-code-reviewer and woos-security-reviewer where applicable.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Produce the high-level architecture overview used by downstream product design and engineering.
Independent high-level architecture review gate for discovery.
Capture and structure raw ideas through guided interview or quick note. Produces a structured idea document ready for research or PRD pass. Focuses purely on product intent — no technical decisions.
Entry-point product workflow from raw idea to validated product design artifacts. Stops at reviewed PRD readiness and does not include engineering implementation.
Write the per-feature PRD from the ranked requirements contract using the mandatory PRD template.
Dedicated analyze gate for PRD and UI brief consistency. Runs script extraction first, then semantic review with evidence-backed findings.
| name | woos-code-review-gate |
| description | Independent code/security review gate for Hermes workflow. Uses woos-code-reviewer and woos-security-reviewer where applicable. |
| version | 1.7.0 |
| author | Hermes Profile |
| license | MIT |
Enforce independent review before PR readiness.
woos-code-reviewerwoos-security-reviewer (additional)woos-code-reviewer for every code change.woos-security-reviewer when scope includes auth, input handling, secrets, payments, external callbacks, or sensitive data flows.woos-review-context before and after reviewer execution.NOT_RUN and stop.BLOCKED and stop.woos-code-reviewer, woos-security-reviewer) MUST be dispatched as a separate agent instance with fresh context (e.g., via task/spawn tool). In-context skill injection where the same LLM session plays the reviewer role is NOT a valid invocation.invocation_evidence MUST include dispatch_mode: "fresh_context". Any other value is invalid and MUST return BLOCKED.PASS | REQUEST_CHANGES | NOT_RUN | BLOCKEDreviewers_usedcode_reviewer_statussecurity_reviewer_status (when required)review_roundreview_dimensions_coveredcompleteness_checkresolved_prior_findingscarry_forward_findingsreview_context_fileexecution_mode: Lite | Standardengineering_plan_present: true|false (true required in Standard; false allowed only when execution_mode=Lite)spec_alignment_status: PASS | REQUEST_CHANGESspec_deviation_findingsintentional_deviationsac_coverage_status: PASS | REQUEST_CHANGES | SKIPPEDac_coverage_gaps (PRD AC IDs without a passing test)scope_drift_status: PASS | REQUEST_CHANGES | SKIPPEDscope_drift_findings (files touched outside the union of all tasks' declared Diff Scope)baseline_compliance_status: PASS | REQUEST_CHANGESdeviation_detected: true|falsedeviation_adr_path (required when deviation_detected=true)approval_ref (required when deviation_detected=true)unconfirmed_constraints_frozen: true|falseblocking_findingsengineering-plan MUST NOT cause REQUEST_CHANGES and MUST NOT be fabricated.spec_deviation_findings.intentional_deviations.spec_alignment_status: REQUEST_CHANGES.This gate absorbs what the prior Gate 3 (Executable Acceptance) used to do.
AC list, the reviewer MUST locate at least one test in the current diff (or pre-existing passing test inside one of that story's tasks' Diff Scope) that exercises that AC.ac_coverage_gaps.ac_coverage_gaps sets ac_coverage_status: REQUEST_CHANGES.ac_coverage_status: SKIPPED (omit/empty ac_coverage_gaps).This gate absorbs what the prior Gate 4 (Deviation Control) used to do.
Diff Scope (across every story in the plan) against the actual files touched in the diff.Diff Scope MUST be listed in scope_drift_findings.scope_drift_findings sets scope_drift_status: REQUEST_CHANGES unless an intentional deviation with rationale is recorded in intentional_deviations (and the plan was updated accordingly).scope_drift_status: SKIPPED (omit/empty scope_drift_findings).Gate passes only when all required reviewers are clear AND every status field is PASS or SKIPPED (and SKIPPED is allowed only when execution_mode=Lite).
security_scope_detected MUST be derived from explicit evidence, not reviewer intuition only.
security_scope_evidencewoos-review-context.woos-review-context with resolved/carry-forward findings.<workspace_root>/.ratchet/review-context/<run_id>.yaml.review_round_max: 2reconciliation_attempt_max: 1 (within each round)max_review_runtime_seconds: provided by woos-run-orchestratorBLOCKED and invoke woos-human-handoff.{
"enforcement": {
"required_invocations": ["code-reviewer", "woos-review-context"],
"conditionally_required_invocations": ["woos-security-reviewer"],
"actually_invoked": ["code-reviewer", "woos-review-context"],
"missing_invocations": [],
"invocation_evidence": [
{
"skill": "code-reviewer",
"dispatch_mode": "fresh_context",
"invoked_at": "2026-05-12T22:00:00Z",
"artifact_ref": "git diff HEAD",
"output_digest": "sha256:..."
}
],
"baseline_compliance_status": "PASS",
"deviation_detected": false,
"deviation_adr_path": "",
"approval_ref": "",
"unconfirmed_constraints_frozen": false,
"security_scope_detected": false,
"security_scope_evidence": [],
"completeness_passed": true
}
}
When security_scope_detected is true, woos-security-reviewer MUST appear in actually_invoked.
Missing invocation_evidence MUST return BLOCKED.