Skip to content

fix: qualify skill migration against the frozen release target - #200044

Merged
RomneyDa merged 2 commits into
mainfrom
fix/frozen-skill-split
Nov 16, 2026
Merged

RomneyDa merged 2 commits into
mainfrom
fix/frozen-skill-split

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes full-release qualification rejecting an older frozen candidate for not performing a skill-library migration that was introduced only on main.

User Impact

Release operators can validate preservation on pre-split candidates and migration on newer targets without skipping survivor scenarios. No product behavior or release candidate content changes.

Why This Change Was Made

The existing committed-source contract owner now selects preservation versus migration from the selected target. Admission records the same derived mode and source evidence that the Docker harness consumes. Existing recipe coverage remains enabled; unexpected allowlist changes still fail. Partially present migration contracts are rejected. This is the remaining candidate-contract follow-up to #200043 for maintainer-directed 2026.11.5 qualification.

Evidence

  • New host-selection regression fails against the prior owner; final three owning suites pass 114/114 tests (9.97s), including existing survivor assertions, both target contracts, and a dirty source addition that must not change selection.
  • Exact release candidate 7d158fc selects preservation; canonical base 6b8a1a5 selects migration.
  • Bash syntax, formatting and git diff --check pass.
  • Local type-aware lint cannot load the existing eslint-plugin-solid dependency; hosted lint must supply this gate. No checks were suppressed.
  • Full six-file diff reviewed and simplified locally. Local ClawSweeper/autoreview execution is unavailable in this environment; hosted independent review is required before landing. Self-review is not independent review.
  • Real Docker upgrade qualification remains outstanding and will run with newly admitted reviewed tooling; local unit proof is not live upgrade proof.

Exact-head CI follow-up

The first hosted lint run found one missing-braces style error in the new test fixture. Commit 4ae4116 adds braces only; production behavior and the 114-test proof are unchanged. Formatting and whitespace checks pass. Fresh-head hosted CI remains required.

Preserve the pre-split allowlist on targets without the migration while retaining exact migration assertions on current targets. Share committed-source selection between admission and execution; retain every survivor scenario.

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

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts docker Docker and sandbox tooling size: S labels Nov 16, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 16, 2026
Address the exact hosted curly lint finding; no change to test or production semantics.

Co-authored-by: RomneyDa <[email protected]>
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 16, 2026
@clawsweeper

clawsweeper Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR selects skill-library preservation or migration assertions from the frozen candidate’s committed source.

Example: A pre-split candidate preserves tools.allow as ["read", "skill_workshop"].

  • Before: Qualification fails because it expects skill_library and a migration marker.
  • After: Qualification requires the original allowlist and no migration marker; newer targets still require migration.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The focused patch is correct on source review and supported by owner-boundary tests and successful exact-head gates; complete Docker qualification is outside the supplied proof.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored qualification-tooling repair has subprocess fixture coverage and reported red-before/green-after owner tests; the body explicitly does not claim completed Docker release qualification.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Release operators cannot qualify a frozen candidate when newer harness assertions demand a migration that candidate never implemented.
Reason: The maintainer-authored direction is established, and the bounded repair changes qualification expectations without changing candidate contents or product policy.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR provides a focused qualification repair, with no actionable introduced defect found.

Priority: P2
Reviewed head: 4ae4116593f3766399a05ecaf431266ffb837deb

Before merge

None.

Findings

None.

Agent review details

How this fits together

Release admission and the Docker upgrade-survivor wrapper inspect the selected candidate’s committed migration sources and pass the derived expectation to the survivor assertions.

flowchart TD
  A[Selected candidate commit] --> B[Committed source reader]
  B --> C[Skill migration selector]
  C --> D[Admission record]
  C --> E[Docker survivor environment]
  E --> F[Preservation or migration assertions]
Loading

Technical review

Best possible solution:

Use the shared committed-source selector to preserve pre-split specimens while retaining exact migration checks for targets that implement the split.

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

The current-main assertion demonstrably rejects an accepted pre-split specimen that correctly retains its allowlist; no target code or tests were executed during this read-only review.

Is this the best way to solve the issue?

The patch fixes the expectation at the existing qualification boundary, shares selection between both consumers, rejects partially present contracts, and retains all survivor scenarios.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 3f98927a197e.

Provenance checked

  • Skill-library survivor assertions keeps the original intent (3c8129e: Preserve personal-library tool access exactly once when upgrading across the skill_workshop split.)
  • Frozen-target compatibility selection keeps the original intent (7c2fd96: Bind newer migration-specimen expectations to the selected committed target rather than version ordering or observed migrated output.)
  • Admission source evidence keeps the original intent (3c4981a: Validate frozen contracts through trusted tooling and inert committed-source reads before dependent execution.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

PR surface

Tests +73, Other +34. Total +107 across 6 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 74 1 +73
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 4 37 3 +34
Total 6 111 4 +107

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: Incorrect survivor expectations block qualification of older frozen candidates, with no product-runtime change.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Incorrect survivor expectations block qualification of older frozen candidates, with no product-runtime change.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

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.

Reviewed November 16, 2026, 4:41 AM ET / 09:41 UTC.

@RomneyDa
RomneyDa merged commit 82974f3 into main Nov 16, 2026
124 checks passed
@RomneyDa
RomneyDa deleted the fix/frozen-skill-split branch November 16, 2026 09:49
@RomneyDa

Copy link
Copy Markdown
Member Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 17, 2026
…law#200044)

* fix: qualify skill migration against the frozen release target

Preserve the pre-split allowlist on targets without the migration while retaining exact migration assertions on current targets. Share committed-source selection between admission and execution; retain every survivor scenario.

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

* style: brace frozen migration fixture branch

Address the exact hosted curly lint finding; no change to test or production semantics.

Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker and sandbox tooling P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant