Skip to content

fix(release): backport retrospective batch 1 to 2026.10.6 - #178239

Merged
RomneyDa merged 29 commits into
release/2026.10.6from
tideclaw/batch1-release-2026.10.6
Oct 21, 2026
Merged

RomneyDa merged 29 commits into
release/2026.10.6from
tideclaw/batch1-release-2026.10.6

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

Summary

Backports the first release-retrospective remediation batch to the active release/2026.10.6 stable patch train.

Source fixes:

RRI-452 is intentionally excluded because its fix, #103798, is already present in this release train.

Conflict adaptations preserve this branch's workflow action pins and older test-harness APIs. The backport also restores helper definitions that existed on main before the source fixes and updates the RRI-118 integration fixture to exercise the structured artifact-producer contract.

Validation

  • formatting check on all changed Markdown, workflow, script, and test files: pass
  • focused release-tooling suites exercised, including the full package-acceptance suite under a clean Git fixture environment
  • repaired RRI-118 producer continuation integration: pass on source, stable, and beta branches
  • pnpm tsgo:scripts: pass
  • changed-script/test oxlint: 0 warnings, 0 errors
  • test/scripts/ci-workflow-guards.test.ts: pass
  • exact RomneyDa co-author trailer verified on every backport commit

Ledger follow-up: openclaw/maintainers#286

RomneyDa and others added 16 commits October 20, 2026 07:32
Declare the plan lifecycle helpers consumed by the TypeScript tests so NodeNext resolution checks the new exports.

Co-authored-by: RomneyDa <[email protected]>
Account for npm, Docker, and candidate producer jobs during failed release continuation, binding each recovery to the authenticated workflow and exact dispatch evidence.

Co-authored-by: RomneyDa <[email protected]>
Add a bounded, evidence-only audit for later same-path commits, PR companions, neighbor tests, reference candidates, and candidate file/content differences.

Co-authored-by: RomneyDa <[email protected]>
Validate a captured release SHA from an immutable detached checkout, then push that exact SHA only after static, type, dead-code, and changed-test gates pass.

Co-authored-by: RomneyDa <[email protected]>
Checkpoint exact attempt-one preparation inputs before execution-plan sealing so a retry can recover pre-seal failures without rebuilding authority from live state. Bind the eventual sealer attempt into the immutable plan and authenticate it at publication and cancellation boundaries.

Co-authored-by: RomneyDa <[email protected]>
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Oct 20, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 20, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

Refreshed the stable backport with all source-review follow-ups:

  • RRI-12 execution-plan descendant admission;
  • RRI-57 package-manager separator compatibility;
  • RRI-107 separator and zero-delta stable-cut handling;
  • RRI-118 legacy frozen-workflow npm compatibility;
  • RRI-61 authenticated checkpoint layout and artifact-backed sealer selection.

Validation on this head: all 8 focused suites passed. The three Git-fixture cases affected by the injected host Git-config environment passed after running with those inherited variables unset; pnpm tsgo:scripts passed and oxlint reported zero findings. All five new commits retain the required co-author trailer.

The corresponding source PRs remain the landing prerequisites for this backport.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

What this changes

This PR backports release diagnostics, validation reuse, producer recovery, checkpoint restoration, companion auditing, and guarded release pushes to release/2026.10.6.

Example: A Docker artifact producer fails while other release validation jobs pass.

  • Before: Continuation recovers the npm producer but cannot recover the failed Docker producer.
  • After: Continuation authenticates and retries the Docker producer, preserves successful work, and recollects the parent evidence.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) Useful approved repairs with no definite new defect, but authority and serialized-evidence compatibility gates remain uncleared.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is necessary before merge. See Before merge.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Release operators encounter avoidable recovery failures, repeated validation work, and incomplete diagnostics on the active stable patch train.
Reason: The maintainer-authored backport has an approved direction and carries concrete release repairs, including new operator commands and flags.

Merge readiness

⛔ Blocked before merge - 3 items remain

Keep this maintainer-authored stable backport open: the release branch still needs these repairs, and no new definite code defect was found.

Priority: P2
Reviewed head: 142f6bb21faabdbc5d47eddad4c446f6c5aae30f

Before merge

  • Add real behavior proof - Authority-chain proof required: supplied fixtures exercise recovery, descendant admission, checkpoint layout, and later-sealer selection, but do not demonstrate the complete allowed and forbidden paths through final rerun, cancellation, and publication effects. Include foreign-parent producers, mismatched checkpoint/sealer attempts, revoked qualification authority, and retained Docker architecture jobs; redact credentials, IPs, phone numbers, and non-public endpoints. Retained frozen-run and newly recovered-plan compatibility with the selected pinned verifier also remains unproven. After adding proof, update the PR body, then request a new review with @clawsweeper re-review. The PR author or someone with repository write access can request it.
  • Resolve security review attention item - No concrete bypass was found, but the changed release-authority paths have not met the final-effect proof requirement.
  • Add data-model compatibility proof - The review found that existing stored data may not work after upgrade. Show that existing data still loads and works with this change.

Findings

None.

Tests

  • Missing end-to-end proof: Provide a nonpublishing production-path trace of allowed effects and rejection before I/O for foreign producers, mismatched checkpoint/sealer attempts, revoked qualification authority, and changed cancellation lineage; base-fail/head-pass evidence is not supplied for every added regression.
Agent review details

How this fits together

Release workflows and operator CLIs consume pinned source identities, workflow attempts, admissions, and artifact receipts to control validation recovery and prepare evidence for protected publication.

flowchart LR
  A[Release operator] --> B[Release CLI]
  B --> C[Pinned GitHub workflows]
  C --> D[Artifact producers]
  C --> E[Immutable plan and checkpoint]
  D --> F[Evidence verification]
  E --> F
  F --> G[Protected publication]
Loading

Technical review

Best possible solution:

Land the branch-adapted repairs after verifying authority boundaries and retained-evidence compatibility with the selected frozen tooling.

Do we have a high-confidence way to reproduce the issue?

The base source exposes the reported release-tooling failures, including rejecting help and successful-child no-ops and limiting artifact recovery to npm; no target code was executed during this review.

Is this the best way to solve the issue?

The approved aggregate backport uses the existing release owners, preserves frozen-workflow compatibility paths, and incorporates the earlier implementation corrections.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 4213136ceea7.

Provenance checked

  • Rerun reconciliation changes intended behavior with a stated reason (f8c1398: Rerun mutations were write-once to avoid duplicate attempts after ambiguous transport failures.)
  • Artifact producer continuation keeps the original intent (14edef7: Recover failed npm qualification while retaining successful package bytes and diagnostic jobs.)
  • Publication admission and immutable plan restoration keeps the original intent (6670690: Preserve authenticated source and registry observations through recovery rather than reconstructing authority from new observations.)
  • Execution-plan digest witness keeps the original intent (52df844: Authenticate restored plan bytes against the original guarded upload and its recorded digest.)
  • Prepared Docker artifacts keeps the original intent (a162944: Qualify and publish exact prepared image bytes with authenticated producer identities instead of rebuilding at publication.)
  • Successful-child rerun handling changes intended behavior with a stated reason (53ccbd1: Targeted recovery rejected children that were not failed.)
  • SDK acknowledgement diagnostics keeps the original intent (9dc08b1: Report acknowledgement requirements during candidate validation while retaining authoritative SDK evidence checks.)

Testing

Proof path: in-process harness.

Security

Needs attention: No concrete bypass was found, but the changed release-authority paths have not met the final-effect proof requirement.

Evidence

What I checked:

  • Approved and still necessary backport: Live metadata confirms an open, maintainer-authored PR targeting release/2026.10.6 at the reviewed head; GitHub reports it mergeable. (142f6bb21faa)
  • Pinned introduction reviewed: The introduced diff contains branch-specific ports of the merged release repairs, including preserved action pins and older fixture contracts. (scripts/frv.mjs:486, 142f6bb21faa)
  • Previous implementation findings addressed: Current code reads the adjacent publication-admission checkpoint, selects the recorded sealer attempt, retains legacy npm recovery, accepts the package-script separator and zero-delta cut, and rechecks artifact producers before retry mutations. (scripts/full-release-validation-state.mjs:881, 142f6bb21faa)
  • Later Docker recovery adaptation: Since the previous completed review, Docker sealing now records exact successful architecture jobs from retained attempts and verifies those jobs when consuming the manifest. (scripts/docker-release-artifacts.mjs:412, 142f6bb21faa)
  • Supplied validation evidence: RomneyDa reports focused suites, script typechecking, lint, and merged-tree checks; the full discussion supplies no additional final-effect authority trace. (142f6bb21faa)
  • Frozen qualification contract: The release policy distinguishes candidate, qualification, and publisher identities and states that advancing main does not upgrade frozen workflows or establish hosted release authority. Public docs: docs/reference/RELEASING.md. (docs/reference/RELEASING.md:169, 142f6bb21faa)

Likely related people:

  • Dallin Romney: Raw commit 14edef7 adds scripts/frv.mjs:315 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 14edef7f0677; files: scripts/frv.mjs)
  • Peter Steinberger: Raw commit 52df844 adds scripts/release-ci-summary.mjs:475 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 52df8444f85d; files: scripts/release-ci-summary.mjs)
  • Vincent Koc: Raw commit c28cb02 adds scripts/full-release-validation-policy.mjs:585 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c28cb0238475; files: scripts/full-release-validation-policy.mjs)

PR surface

Tests +1270, Docs +45, Config +80, Other +1404. Total +2799 across 40 files. Added test files: 4.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 17 1551 281 +1270
Docs 3 46 1 +45
Config 4 87 7 +80
Generated 0 0 0 0
Other 16 1496 92 +1404
Total 40 3180 381 +2799

Labels

Label changes:

No label changes.

Label justifications:

  • P2: These repairs improve release-operator recovery and validation without establishing an urgent shipped-runtime regression.
  • merge-risk: 🚨 compatibility: The backport changes serialized execution plans and Docker producer evidence consumed by pinned release tooling; retained-run compatibility remains unverified.
  • merge-risk: 🚨 security-boundary: Recovered checkpoints and producer attempts influence rerun, cancellation, and publication authority; final-effect verification remains outstanding.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Add final-effect proof for foreign producer ownership, revoked qualification authority, mismatched checkpoint attempts, and changed cancellation lineage.
  • Demonstrate retained frozen-run and newly recovered-plan compatibility with the selected pinned verifier.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (4 earlier review cycles)
  • reviewed 2026-10-20T08:01:04.748Z sha e8f4fbd :: needs real behavior proof before merge. :: [P1] Read publication admission from the checkpoint's actual file | [P1] Discover the sealer attempt for artifact-backed plans | [P2] Accept proven descendants through execution-plan validation | [P2] Accept the package-script separator after --push | [P2] Allow a fresh cut equal to origin/main | [P1] Preserve recovery for supported frozen workflows
  • reviewed 2026-10-20T08:12:58.562Z sha e9ca9ce :: needs real behavior proof before merge. :: [P2] Recheck artifact producers before retrying a rerun
  • reviewed 2026-10-20T08:35:53.844Z sha 5af2bbb :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-20T08:58:19.288Z sha 76b2f73 :: needs real behavior proof before merge. :: none

Reviewed October 20, 2026, 7:53 PM ET / 23:53 UTC (Revision 5).

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@RomneyDa

Copy link
Copy Markdown
Member Author

Addressed the latest source and backport findings in 2cf2cac5b42 and 4c82b01b616:

  • parent resolution now adopts newer authenticated npm, Docker, and candidate producer attempts while retaining the original dispatch record;
  • both child and parent bounded 5xx retry callbacks recheck every artifact producer immediately before the second POST;
  • regressions cover all expanded producer stages and concurrent producer advancement before both retry mutation paths.

Validation: both focused suites pass together: 159 tests passed.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@RomneyDa

Copy link
Copy Markdown
Member Author

Follow-up exact-head CI repair in 5af2bbbc9a5: the cached-plan fixture now preserves the inferred restoration call contract, and the exact previously failing root-tooling TypeScript stripe passes on the source head.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. label Oct 20, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added the docker Docker and sandbox tooling label Oct 20, 2026
@openclaw-barnacle openclaw-barnacle Bot added the docs Improvements or additions to documentation label Oct 20, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

Integrated the current release/2026.10.6 base in 142f6bb after #178231 merged. The only textual overlaps were the docs-link and bounded job-listing CI repairs; #178239 now uses the stronger merged-base versions.

Validation on the merged tree: 22/22 focused release-child-evidence tests passed, 14,965/14,965 internal links resolved, and git diff --check passed.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot removed the docs Improvements or additions to documentation label Oct 20, 2026
@RomneyDa
RomneyDa merged commit ef90e2e into release/2026.10.6 Oct 21, 2026
403 of 405 checks passed
@RomneyDa
RomneyDa deleted the tideclaw/batch1-release-2026.10.6 branch October 21, 2026 00:24
@RomneyDa

Copy link
Copy Markdown
Member Author

Exact-head CI on 142f6bb is green after one unrelated Feishu timing-flake rerun. The initial shard failure was confined to three canceled-stream assertions in untouched extensions/feishu code; the exact merged tree passed both Feishu files locally (38/38), and the remote shard passed on rerun. Final replacement matrix: 189 passed, 34 skipped, 0 failed.

The remaining ClawSweeper hold is proof-only: no code finding or confirmed authority bypass; it requests release-owner production-path and retained-data compatibility evidence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker and sandbox tooling merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. scripts Repository scripts size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants