docs(sop): fail-closed CI integrity — no fail-open gates (MERGE-BLOCKING) #2325
Reference in New Issue
Block a user
Delete Branch "docs/sop-fail-closed-ci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Codifies CTO directive: no CI/test check may fail open; required gates must fail loud + fail closed when they cannot verify (auth/identity/missing-file/unreachable). One exception: fork/advisory behind an explicit trust-boundary split, never counted as a passing required context. Lists the real violations found this session.
SOP Checklist (RFC#351)
SOP-ack (engineers, non-author core-security): verified the PR fills each checklist item.
/sop-ack comprehensive-testing
/sop-ack local-postgres-e2e
/sop-ack staging-smoke
/sop-ack root-cause
/sop-ack five-axis-review
/sop-ack no-backwards-compat
/sop-ack memory-consulted
qa-review APPROVE (core-qa): checklist testing claims are consistent with the diff; CI / all-required green on head. SOP qa gate satisfied.
security-review APPROVE (core-security): fail-closed / no-silent-skip posture verified for the security surface in this change. SOP security gate satisfied.
/qa-recheck /security-recheck /refire-tier-check
/security-recheck
/refire-tier-check
/security-recheck
/refire-tier-check
APPROVED after independent current-head 5-axis review at
ba8ecdeb48.Correctness: the SOP addition clearly codifies the CTO fail-closed CI rule: required protected-context checks must not pass when auth, identity, dependency reachability, required files, or test collection cannot verify the intended invariant. It also preserves the correct fork/advisory exception as an explicit trust-boundary split that is not counted as a passing required gate.
Robustness/security: positive process hardening. The text distinguishes 401/403 inability-to-verify from authenticated 404 findings, which directly addresses prior failure modes. Performance: docs-only. Readability: the section is concrete, actionable, and links production CI/CD back to the same rule.
Cross-PR overlap guard: narrowed SOP/docs overlap check found no open sibling touching
runbooks/dev-sop.mdorrunbooks/sop-production-cicd.md. No semantic conflict found.APPROVED: The SOP update correctly codifies fail-closed CI integrity as a merge-blocking rule and ties it to concrete required-context behavior.
The guidance distinguishes protected same-repo contexts from fork/advisory degradation, calls out auth failure versus genuine 404, and requires coverage for absent identity/unauthorized/missing-file paths. This is documentation-only, but it matches the recent CI integrity incidents and gives reviewers an enforceable standard rather than a vague preference.
APPROVED on current head
ba8ecdeb48.Five-axis check: the SOP/CI integrity documentation change reinforces fail-closed expectations for merge-blocking gates and avoids normalizing fail-open behavior. It is documentation/policy-scoped, does not alter runtime auth or secret handling, has no performance impact, and is readable. Current CI is green and agent-researcher has a current-head official approval.