Repository navigation
fix(release): bound publication recovery to authenticated original evidence - #196596
Conversation
OpenClaw-Publication: abfbfbf5-b067-4515-a86b-fb0966d6ec9e
OpenClaw-Publication: f8570c45-3da1-459c-98b7-ac39f4f91c54
OpenClaw-Publication: 26ecd3d3-263d-4bc8-b005-05325b100678
OpenClaw-Publication: b6c7c43f-4252-41a5-bf63-946ce2fb2a89
OpenClaw-Publication: 8479cb12-ce63-44ac-b35a-4baac32f7b09
OpenClaw-Publication: 0b194f7f-7ad9-41ab-8200-60328347ccc3
OpenClaw-Publication: 3624462e-edb8-4eb6-906a-10ae4be0df5d
Preserve the reviewed three-file correction unchanged while resolving its test conflict with the already merged repair. Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: a51a7eb4-ebb8-41c4-97a0-93b8474198f7
OpenClaw-Publication: cb0f9035-5174-49d5-a399-cd8fab8371b9
OpenClaw-Publication: 1550244b-437d-4fa2-b7da-91427630206f
OpenClaw-Publication: 998652a8-cd73-476f-aa13-486b5ef3bcff
|
🦞👀 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. |
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 663b868e-afb3-437f-a0a6-1e330d69572b
OpenClaw-Publication: 004582c6-e7b3-4f68-9a12-aadcd4baedec
OpenClaw-Publication: 2e36dfa9-dfc9-4649-87a4-ac036debd550
OpenClaw-Publication: 500fc32e-96dd-4b7b-98a7-23d29cb451cb
|
Codex review: needs real behavior proof before merge. What this changesThis PR replays completed run attempts and exact-SHA comparisons while consolidating duplicate permission and artifact metadata reads. Example: A package consumer authenticates retained qualification run 42386075889, attempt 1.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 4 items remain Keep open: this maintainer-authored PR addresses repeated release-evidence requests still present on main, but its changed request-count assertion fails current-head CI. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherRelease preview collects authenticated GitHub evidence into a bounded carrier; package consume and authorize commands validate that evidence and refresh live authority before emitting publication outputs. flowchart LR
A[GitHub release evidence] --> B[Preview authentication]
B --> C[Bounded evidence carrier]
C --> D[Consume and authorize]
E[Live permissions and metadata] --> D
D --> F[Publication outputs]
Technical reviewBest possible solution: Keep the existing replay and authority owners, correct the stale request-count assertion, and validate the optimized release flow without changing candidate qualification or publication permissions. Do we have a high-confidence way to reproduce the issue? Current main excludes the reported completed-attempt and exact-SHA routes from replay, establishing repeated acquisition from source; current-head CI independently demonstrates the stale count assertion without a local test run. Is this the best way to solve the issue? The approach fits the existing content-only replay boundary: duplicate work moves to established owners, mutable checks remain live, and no additional cache framework or production layer is needed. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a10341b17f5e. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: in-process harness. SecurityNeeds attention: Source inspection found no concrete authorization bypass, but the release-authority optimization still needs final-effect validation. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +117, Other +26. Total +143 across 12 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, 6:09 AM ET / 11:09 UTC. |
OpenClaw-Publication: 3b9e9ecf-2ad4-4451-a79c-39f4c588b96e
OpenClaw-Publication: 49318147-01d3-473c-bc85-a9b980e3555e
OpenClaw-Publication: a9b96fd0-3487-44c5-89af-cf045841eeb3
OpenClaw-Publication: 5ea47457-2204-451e-92f9-fb5f29c71d47
OpenClaw-Publication: d76599c7-9b62-4589-8dee-c07869e3ca1c
OpenClaw-Publication: 31bc8d15-5696-46c7-9a21-a93ea38faa96
OpenClaw-Publication: 0e82f47f-9fee-4942-aacb-7caaa31c81d4
Problem
Publisher
42792702215and npm child42795139047exhausted GitHub installation quota during full package fanout. Retained evidence needed bounded replay without replacing full admission or rebuilding C/Q artifacts. Original ClawHub child42795145859/1packed all 101 packages but never published: its approval failed with installation-quota HTTP 403 at 10:17:22 UTC on November 10, 2026, and publication job129767568082was skipped with no steps. Its seal contains unavailable entries without attempt IDs, not failed publication attempts.Solution
Release/channel/route/Windows operands and artifact identities remain unchanged. No new credential, permission expansion, replacement admission, C/Q rebuild, release dispatch, merge or external publisher-pin change.
Evidence and remaining gates
25529b0852f402d9a6e6999eb618ff92adb64e90; worktree clean. Exact-head CI 42816682065 completed successfully, with no failed jobs in its inventory.42814883590one95470bc6da7bafd99e636a11e72c2d79c9c9130exposed eight stdin-import failures from the newly reached recovery module's unguardedrealpathSync("-"), plus one seal-corruption fixture mismatch. The correction preserves realpath/symlink CLI recognition while allowing non-file importers; the fixture now flips one byte in the actual same-length ZIP, reaching digest validation without weakening its assertion. These failures are green in the subsequent exact-head CI.git diff --checkpassed. No local tests, lint, typecheck, build, dependency installation or product execution ran, per task constraints. A red-on-base run of the original handoff regressions and live-flow verification remain unperformed; hosted green CI does not prove a live release or registry write.b00324095c9f04ec00317d666de48573ba2aa198: 26 files, +2962/-211. Exact net new test LF: 1352, funded byreceipt-bounded-publication.txt; the earlier immutable-authority allocation remains 117. Changed-test-specific wall time and CI seconds remain unmeasured.Operational and quota limits
The handoff is implemented but the original incident is not operationally recovered. No package writes or release retry were performed. Fresh registry absence, current protected inputs, approval and conservative measured capacity are still needed at operation time.
Original measured fixture: preview 194, consume 162, authorize 159; the 101-consumer extrapolation was 32,615, not an executed workload. Earlier full-fanout static predictions of 27,134 were not measurements and do not establish quota fit.
Allowlisted first/last quota headers are observed from existing responses without extra requests.
fetch-metadata-onlyaccounting excludes gh authority/evidence calls, archive redirects and registry traffic; it is not a complete dispatch budget or automatic quota gate. Selected scope avoids full prepared-roster prefetch. Full FRV traversal, stale-child inventories, pagination/retries, polling and Actions-managed traffic remain to be accounted for without assuming independent job quotas.The incident launched 101 package jobs within two seconds, with 79 installation-quota errors within about 5.93 seconds. Original logs lacked capacity/remaining/reset/resource and Retry-After headers. Actual capacity, reset, safe batch size and retry window remain unverified. No unrelated quota was substituted; this proof does not justify a release retry.
Prior security-scan SARIF upload HTTP 403 was not changed. Main conflict was previously reconciled against
23bf595953db; PR #196541 is already merged. The paused simplification patch remains unchanged. Lead owns package-write reconciliation, merge and release.Co-authored-by: RomneyDa [email protected]