Reference in New Issue
Block a user
Delete Branch "fix/sop-checklist-1973-1974-ops-marker-render"
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?
Summary
Two small ops-fixes in the SOP checklist machinery:
#1973 — normalize
memory-consultedpr_section_markerfrom"Memory/saved-feedback consulted"→"Memory consulted". The slash causednormalize_slug()to collapse it to a different string, so the Gitea PR body parser never found the expected heading and the checklist status never resolved.#1974 —
render_statustreats body-section presence as informational only. The gate is peer-ack, not body-fill. Unfilled body sections still surface in the description for human visibility, but no longer flip the status tofailure.Changes
.gitea/sop-checklist-config.yaml: updated marker.gitea/scripts/sop-checklist.py: body-unfilled is informational.gitea/scripts/tests/test_sop_checklist.py: updated assertions to match new contractTest plan
python3 -m pytest test_sop_checklist.pypasses (101 tests)SOP Checklist
Comprehensive testing performed
Yes — 101 unit tests pass, including updated assertions for the new body-unfilled contract.
Local-postgres E2E run
N/A — pure script change; no handler DB path touched.
Staging-smoke verified or pending
N/A — zero behavior change to the staging surface.
Root-cause not symptom
Yes — #1973 fixes the root cause (marker mismatch due to slash normalization). #1974 fixes the root cause (gate conflating peer-ack with body-fill).
Five-Axis review walked
Self-audit: correctness (marker now resolves), readability (comment explains why), architecture (config layer), security (no new surface), performance (no change).
No backwards-compat shim / dead code added
Yes — no shims. The test updates align with the new contract.
Memory consulted
Yes — consulted staged patch descriptions and prior #1973/#1974 context.
Fixes #1973
Fixes #1974
cab66667ffto72df19b5135-axis review on current head
e40607df: approved. The diff is now limited to normalizing the memory-consulted PR section marker from "Memory/saved-feedback consulted" to "Memory consulted" so it matches the slug normalization path. No sop-checklist code or gate-pass logic is changed, no auth/security surface is loosened, and the required BP contexts are present/success with mergeable=true.APPROVE: verified current head
e40607df. Diff only normalizes sop-checklist memory-consulted marker from Memory/saved-feedback consulted to Memory consulted so slug matching can resolve. No gate/auth/merge-control weakening or regression found. BP-required contexts present+green and mergeable=true; governance qa/security and sop-checklist pull_request status still failing separately.