Skip to content

fix(release): backport retrospective batch 1 to 2026.10.10 - #178231

Merged
RomneyDa merged 27 commits into
release/2026.10.10from
tideclaw/batch1-release-2026.10.10
Oct 20, 2026
Merged

RomneyDa merged 27 commits into
release/2026.10.10from
tideclaw/batch1-release-2026.10.10

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Summary

Backports the first release-retrospective remediation batch to the active release/2026.10.10 beta 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 existing workflow action pins and test-harness APIs while retaining the fixes' production behavior and regression coverage. A follow-up test adaptation restores helpers that existed on main before the source fixes and corrects 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
  • 14 focused release-tooling test files exercised
  • 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 all 16 backport commits

Ledger follow-up: openclaw/maintainers#286

RomneyDa and others added 15 commits October 20, 2026 07:30
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]>
@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.

@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper 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 scripts Repository scripts size: XL labels Oct 20, 2026
@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. 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. 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
@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 recovery and reuse, companion auditing, and validated release-branch pushes to release/2026.10.10.

Example: An FRV parent checkpoints preparation during attempt 1 but fails before sealing its execution plan.

  • Before: A later attempt rejects recovery because the immutable attempt-one plan is missing.
  • After: A later attempt can seal from the retained preparation checkpoint while preserving parentRunAttempt 1 and recording sealParentRunAttempt 2.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The inspected implementation has no established actionable defect, but required authority-chain evidence and retained-artifact compatibility proof are outstanding.
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 unrecoverable validation failures, unnecessary repeated qualification, and incomplete diagnostic output.
Reason: The maintainer-authored batch addresses concrete release failures and explicitly adopts the source fixes' direction.

Merge readiness

⛔ Blocked before merge - 5 items remain

Keep this maintainer-authored backport open: it addresses concrete release-tooling failures, and no new actionable code defect was found.

Priority: P2
Reviewed head: 97e57246577d84b936e5e457ba7b6c3f426f71a7

Before merge

  • Add real behavior proof - Authority-chain proof required: supplied fixture transports and test reports cover production readers but do not demonstrate an actual attempt-one checkpoint through later sealing and release-consumer effects; provide redacted nonpublishing logs or live output showing allowed recovery, wrong-producer and wrong-attempt rejection, revoked qualification authority rejection, and exclusion of borrowed or reassigned cancellation targets before I/O. Replay retained pre-backport plans and admissions through the updated readers. Redact credentials, IPs, phone numbers, and non-public endpoints. 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 authority bypass was established, but the changed retained-evidence boundary remains security-sensitive.
  • Resolve merge risk - Later-sealed plans and descendant reuse change which retained evidence can authorize release consumers and cancellation; final-effect authority preservation remains unestablished.
  • Complete next step - Land the remaining corresponding source fixes on main before this backport, as the author explicitly requires.
  • 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: Missing is a real workflow trace covering checkpoint recovery, descendant reuse, and forbidden-authority rejection before final effects, plus retained pre-backport evidence replay.
Agent review details

How this fits together

Release workflows and CLI helpers consume pinned source identities, admission receipts, and GitHub run artifacts to recover validation, authenticate reusable evidence, and control release-branch pushes.

flowchart TD
  A[Release operator] --> B[Release CLI and workflows]
  B --> C[Attempt one preparation checkpoint]
  C --> D[Immutable execution plan]
  D --> E[Evidence and authority verification]
  E --> F[Validation recovery and cancellation]
  E --> G[Release consumers]
Loading

Technical review

Best possible solution:

Land the source-reviewed repairs with coordinated workflow and reader changes while preserving frozen-workflow npm recovery and the candidate-recovery restriction.

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

The base rejects later-attempt sealing without an existing plan and restricts recovery to npm; source inspection establishes those paths, while no target code was executed during this review.

Is this the best way to solve the issue?

The existing lifecycle and evidence-verification owners are appropriate, and the latest restriction avoids claiming recovery for an incomplete candidate graph.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 9e9e1bf10821.

Merge-risk options

Maintainer options:

  1. Validate the changed authority chain (recommended)
    Demonstrate authorized recovery and rejection of unrelated, stale, or revoked authority through the real release consumers and cancellation boundary.
  2. Defer the authority-changing backports
    Keep the batch pending until the source recovery and reuse work has evidence suitable for release inclusion.

Provenance checked

  • FRV rerun reconciliation changes intended behavior with a stated reason (f8c1398: Write-once reruns prevented duplicate attempts after ambiguous GitHub responses; the new source fix deliberately permits one retry only after reconciliation and exact terminal-state checks.)
  • Artifact-producer recovery keeps the original intent (14edef7: Recover failed npm qualification on its original producer while retaining successful diagnostics and original dispatch identity; this batch extends the same owner to Docker and retains the legacy npm path.)
  • Immutable plan restoration keeps the original intent (52df844: Authenticate the original admission and immutable plan after parent reruns remove artifacts; later sealing retains digest witnesses and binds its separate sealer attempt.)
  • Qualification reuse changes intended behavior with a stated reason (38740f2: Separate candidate-owned qualification from independently trusted admission and publication tooling; descendant reuse preserves those identities and requires an approved changelog-only delta.)
  • SDK acknowledgement diagnostics keeps the original intent (9dc08b1: Report acknowledgement requirements early with the exact rerun command; the new readable report preserves the existing authoritative evidence validation.)
  • Stable release branch creation changes intended behavior with a stated reason (878ee97: The stable orchestrator creates the confirmed cut branch; this batch replaces its direct push with validation bound to that same exact SHA.)

Testing

Proof path: in-process harness.

Security

Needs attention: No concrete authority bypass was established, but the changed retained-evidence boundary remains security-sensitive.

Evidence

What I checked:

Likely related people:

  • Dallin Romney: Raw commit 14edef7 adds scripts/frv.mjs:347 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:476 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 6670690 adds scripts/full-release-validation-policy.mjs:1092 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 667069055284; files: scripts/full-release-validation-policy.mjs)

PR surface

Tests +1269, Docs +45, Config +79, Other +1327. Total +2720 across 37 files. Added test files: 4.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 16 1535 266 +1269
Docs 3 46 1 +45
Config 3 86 7 +79
Generated 0 0 0 0
Other 15 1392 65 +1327
Total 37 3059 339 +2720

Labels

Label changes:

No label changes.

Label justifications:

  • P2: These repairs affect release-operator recovery and validation efficiency without establishing an urgent installed-runtime regression.
  • merge-risk: 🚨 security-boundary: Recovered plans and cross-revision evidence influence authorization at release-consumer and cancellation boundaries.
  • 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 that recovered evidence rejects unrelated producers and that revoked qualification authority or reassigned cancellation lineage cannot reach release effects.

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-20T07:45:24.475Z sha ae5af3f :: needs real behavior proof before merge. :: [P1] Read publication admission from its checkpoint file | [P1] Discover the sealer attempt from artifact-backed plans | [P1] Preserve recovery for existing frozen workflows | [P2] Accept the separator forwarded after the package-script flag | [P2] Allow a fresh cut equal to the comparison base | [P2] Accept the documented companion-audit invocation
  • reviewed 2026-10-20T08:00:04.871Z sha 5689bd1 :: needs real behavior proof before merge. :: [P1] Read publication admission from its checkpoint file | [P1] Discover the sealer attempt from artifact-backed plans | [P1] Preserve recovery for existing frozen workflows | [P2] Accept the separator after the package-script flag | [P2] Allow a fresh cut equal to the comparison base | [P2] Accept the documented companion-audit invocation
  • reviewed 2026-10-20T08:10:21.802Z sha 1752ddd :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-20T08:35:20.402Z sha 4adc0ac :: needs real behavior proof before merge. :: none

Reviewed October 20, 2026, 4:57 AM ET / 08:57 UTC (Revision 5).

@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Added the release-branch test helper and corrected the RRI-118 integration fixture so it exercises the structured artifact-producer contract. The repaired case passes on the source, stable, and beta branches; workflow guards remain green.

@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

Refreshed the beta 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: 8 focused suites passed (430 tests, 2 skipped), 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

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot removed merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Oct 20, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

Addressed the latest source and backport findings in ac6f08b0be9 and 908a5e1d9e7:

  • 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: all 44 artifact tests passed; the full FRV run passed 113 existing tests, and both corrected retry regressions passed in the focused rerun.

@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 4adc0acf39c: 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:

@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
@RomneyDa
RomneyDa merged commit bd85ff3 into release/2026.10.10 Oct 20, 2026
228 of 230 checks passed
@RomneyDa
RomneyDa deleted the tideclaw/batch1-release-2026.10.10 branch October 20, 2026 23:41
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: 🚨 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