Repository navigation
fix(release): allow approved retired-line maintenance publication - #196657
Conversation
Co-authored-by: RomneyDa <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. What this changesThis PR carries explicit retired-line publication approval through the existing parent receipt, child publishers, preflight command, and release notes. Example: Publish v2026.9.37 while main is on 2026.11.2.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 3 items remain Keep open: this maintainer-authored PR addresses a documented release-policy gap, and source review found no definite introduced defect. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe release parent consumes qualified artifacts and human approval, issues a release-bound receipt, and dispatches core and plugin publishers that enforce publication authority before npm writes. flowchart TD
A[Qualified release artifacts] --> C[Approved release parent]
B[Maintainer retirement decision] --> C
C --> D[Versioned approval receipt]
D --> E[Core and plugin guards]
E --> F[npm publication]
C --> G[Canonical GitHub release notes]
Technical reviewBest possible solution: Extend the existing approval receipt and shared retirement owner while preserving frozen candidate bytes and live authorization before every publication. Do we have a high-confidence way to reproduce the issue? Current main visibly rejects 2026.9.37 against 2026.11.2, and its publication preflight still unconditionally excludes extended-stable core publication; no target code was executed during this review. Is this the best way to solve the issue? The patch uses the existing approval and retirement owners, preserves ordinary rejection, and shares canonical note context across rendering and readback; no unnecessary parallel owner or definite simplification defect was identified. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against af37a0013eef. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: in-process harness. SecurityNeeds attention: The receipt now delegates retirement publication authority, whose final-effect rejection remains unproven. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +455, Docs +4, Config +21, Other +146. Total +626 across 21 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 10, 2026, 7:32 AM ET / 12:32 UTC. |
|
Merged via squash auto-merge.
|
…aw#196657) Co-authored-by: RomneyDa <[email protected]>
What Problem This Solves
The documented explicit-maintainer-decision path for a retired extended-stable line was not represented in the shared publisher. The already-qualified 2026.9.37 candidate therefore cannot be published in November without either changing its frozen source or bypassing the ordinary active-line rejection. Neither is appropriate.
User Impact
Release managers can publish an explicitly approved retired maintenance release without changing its qualified source or bypassing existing human approval and live publication guards. No application behavior, package bytes, public SDK, or user configuration changes.
Why This Change Was Made
Carry an optional retired-line publication reason in the existing environment-approved parent receipt. Ordinary v1 receipts retain their behavior; only authenticated v2 receipts can authorize this narrowly scoped exception. Core and plugin publication retain their live parent, human approval, exact source, artifact, and protected publisher checks. Trusted publisher policy evaluates the unchanged candidate rather than executing its older policy implementation. Release notes describe the retired maintenance line accurately.
Remove the stale unconditional extended-stable exclusion in publication preflight while retaining the existing exact sealed-route and provenance checks.
Scope and risk
This is publisher-only recovery for the explicitly authorized 2026.9.37 extended-stable release. Candidate/qualification source remains 81da850; original admitted tooling remains e7bbd05. Original FRV 42782249510/2 and all sealed payloads remain unchanged. No tag, package, selector, environment protection, or publication has been changed by this PR.
The default rejection remains unchanged. The reason is bounded single-line data, not shell code or a new child bypass flag. Publication still requires the existing live approval flow.
Evidence
b868d5b07559c3cf571fbae386a7261e22827faebc422b24844db1592e50b650) and test allocation. Review used the operator-authorized independent-subagent route; it is not claimed as local ClawSweeper evidence.