Repository navigation
fix(release): recover extended-stable plugin publishing without changing the candidate - #151282
Conversation
|
🦞👀 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: blocked before merge. Reviewed September 17, 2026, 10:21 PM ET / September 18, 2026, 02:21 UTC (Revision 3). ClawSweeper reviewWhat this changesAllows trusted main release tooling to publish plugins from an unchanged extended-stable candidate, rechecks candidate authority before publication, and validates the resulting evidence for core publication. Merge readiness⛔ Blocked before merge - 4 items remain Both earlier findings are repaired, and current main still lacks this recovery path. The merged July dependency update addresses a narrower problem; its explicit pause on broader recovery work remains a release-owner decision. Priority: P2 Review scores
Verification
How this fits togetherThe release workflows turn a validated monthly candidate into published npm packages. They authenticate workflow and candidate identities before publication, then use successful plugin publication evidence to authorize core publication. flowchart TD
A[Validated monthly candidate] --> C[Verify candidate and trusted tooling]
B[Main release tooling] --> C
C --> D[Prepare and verify package artifacts]
D --> E[Environment approval]
E --> F[Recheck live candidate authority]
F --> G[Publish plugins to npm]
G --> H[Verify evidence for core publication]
Decision needed
Why: The related merged PR explicitly preserves the pause, while this re-review establishes repaired implementation and proof without deciding release scope. Before merge
Agent review detailsSecurityNone. PR surfaceTests +276, Docs +9, Config +40, Other +14. Total +339 across 10 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep recovery in the existing trusted release tooling, bound to immutable package bytes and current candidate authority, with fresh qualification whenever candidate source changes. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main rejects a trusted-main plugin dispatch even when its source equals the canonical monthly tip. The reported failed release run corroborates the operational problem; this review executed no target code. Is this the best way to solve the issue? Yes. Reusing trusted tooling and the existing live identity verifier preserves the frozen candidate and avoids a competing publication owner; both prior correctness findings are addressed. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against bf4c8270acef. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (2 earlier review cycles)
|
|
@clawsweeper re-review Both previous findings are repaired in b49bb1c. The PR body now includes live REST identity evidence, remote workflow/type checks and 148 passing tests, plus before/after publication-boundary proof: the previous workflow permits a moved candidate to reach the captured npm write; the repair rejects it before that write. The release candidate itself remains unchanged. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
|
…ing the candidate (openclaw#151282) * fix(release): recover extended-stable plugin publication from trusted main * fix(release): preserve workflow identity and final candidate authority
…151339) Restore filesystem import-boundary, workflow-routing, and full-suite inventory guards after the changes in #151302, #151282, and #151001. Route native filesystem configuration through the existing facade, register the recovery and Codex attempt tests in their existing owners, and select those guards when their inventory inputs change. Includes the reviewed routing repair from #151340 with its original human authorship preserved. Finalize the existing Gateway serial admission and two-worker ceiling before runtime placement reads recipient policy. This preserves compact worker limits when inventory changes without changing timing measurements, original compaction assertions, configuration, dependencies, or user-facing runtime behavior. Validation: exact-head CI run 35306657804 completed green; the native watcher exited 0 with no pending checks. Retained focused proof passed 1,591 tests across six files, with both new placement regressions failing before the repair and all four placement cases passing after it. Committed-branch review found no actionable defects. The pre-existing diagnostics test-support lint issue from #151161 remains an explicitly nonblocking follow-up.
…penclaw#151339) Restore filesystem import-boundary, workflow-routing, and full-suite inventory guards after the changes in openclaw#151302, openclaw#151282, and openclaw#151001. Route native filesystem configuration through the existing facade, register the recovery and Codex attempt tests in their existing owners, and select those guards when their inventory inputs change. Includes the reviewed routing repair from openclaw#151340 with its original human authorship preserved. Finalize the existing Gateway serial admission and two-worker ceiling before runtime placement reads recipient policy. This preserves compact worker limits when inventory changes without changing timing measurements, original compaction assertions, configuration, dependencies, or user-facing runtime behavior. Validation: exact-head CI run 35306657804 completed green; the native watcher exited 0 with no pending checks. Retained focused proof passed 1,591 tests across six files, with both new placement regressions failing before the repair and all four placement cases passing after it. Committed-branch review found no actionable defects. The pre-existing diagnostics test-support lint issue from openclaw#151161 remains an explicitly nonblocking follow-up.
What Problem This Solves
Fixes extended-stable plugin publication getting stuck on frozen candidate-owned tooling after validation. The 2026.7.33 plugin run rejected its tested Codex pin when npm latest changed; trusted main already treats that drift as advisory, but the plugin workflow could not use that recovery path.
User Impact
Release operators can recover plugin publication without changing a validated candidate or its dependency pins. No Gateway runtime or package-version changes. Existing npm environment approvals and artifact/readback checks remain required.
Why This Change Was Made
Permit trusted-main plugin tooling only against the exact canonical extended-stable branch tip, and recheck that tip immediately before each OIDC npm write after the approval wait. Teach trusted-main core publication to consume the successful candidate-bound plugin run after verifying workflow identity and tooling ancestry. REST run titles are not workflow names: resolve the static name through the actual run's workflow ID.
The canonical-branch route remains supported; the core recovery verifier comes from trusted tooling, not the frozen candidate. Extended-stable token bootstrap remains prohibited.
Evidence
Plugin NPM Releasename.pnpm check:workflows,pnpm tsgo:test:root, and all 148 selected workflow/identity regression tests passed on Blacksmith Testbox. This repairs the previous PR CI test-type failure. The lease run may conclude cancelled when stopped; these are command results.b60a4e9fa97cddf1869a1866d879b3051783cf12with its original successful release validation. No publication retry has started.