Repository navigation
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: needs maintainer review before merge. What this changesThis PR records publication schema versions and uses one shared contract to admit supported first-hop upgrades. Example: A candidate supports state schema 19 and agent schema 24, while 2026.10.1-beta.2 uses schemas 20/24.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR fixes a release-admission defect still present on main; the prior cron finding is resolved, and no actionable defect remains. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherRelease tooling consumes published-package identities and candidate schema support, then produces compatibility bridges, first-hop lanes, and frozen-target admission decisions. flowchart TD
A[Published package manifests] --> B[Publication inventory]
C[Candidate schema support] --> D[Shared admission contract]
B --> D
D --> E[Compatibility bridges]
D --> F[First hop and frozen target planning]
Technical reviewBest possible solution: Land the shared publication-admission contract with its frozen-v1 compatibility and verified CI repairs. Do we have a high-confidence way to reproduce the issue? Current-main source admits every recorded version, and the linked report supplies a concrete supported 1/1 versus unsupported 2/1 regression; no target code was executed during this review. Is this the best way to solve the issue? A single schema-admission owner fixes publication accounting, bridge generation, and planning together while preserving runtime schema refusal and the shipped frozen-artifact contract. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e30c085ac4e0. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource -189, Tests +368, Other +174. Total +353 across 79 files. Added test files: 1. View PR surface stats
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes:
Label justifications:
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 HistoryReview history (8 earlier review cycles)
Reviewed October 10, 2026, 9:59 PM ET / October 11, 2026, 01:59 UTC (Revision 9). |
ca9a785 to
db40d80
Compare
|
@clawsweeper re-review Accepted source-integrity and fixture findings are addressed in |
|
🦞👀 Re-review progress:
|
6f89cf1 to
dfb96be
Compare
|
dfb96be to
b8182c0
Compare
014631c to
37877c4
Compare
37877c4 to
3f477f8
Compare
) Release tooling recorded every published release as a supported first-hop upgrade source, including newer-schema betas an older candidate cannot read, and demanded registry coverage for every npm tag regardless of schema. The inventory now records each release's schema, and first-hop selection and registry coverage share one schema-admission check. Fixes #168257. Supersedes #168280, thanks @RomneyDa.
|
Thank you, @RomneyDa! The schema-admission fix landed on |
…claw#169012) Release tooling recorded every published release as a supported first-hop upgrade source, including newer-schema betas an older candidate cannot read, and demanded registry coverage for every npm tag regardless of schema. The inventory now records each release's schema, and first-hop selection and registry coverage share one schema-admission check. Fixes openclaw#168257. Supersedes openclaw#168280, thanks @RomneyDa.
) Release tooling recorded every published release as a supported first-hop upgrade source, including newer-schema betas an older candidate cannot read, and demanded registry coverage for every npm tag regardless of schema. The inventory now records each release's schema, and first-hop selection and registry coverage share one schema-admission check. Fixes #168257. Supersedes #168280, thanks @RomneyDa. (cherry picked from commit 4d96196)
What Problem This Solves
Release inventory incorrectly treated every recorded publication as a supported first-hop upgrade. A newly published higher-schema package could break release preparation or lead the candidate to promise unsupported upgrade bridges. Tracking: #168257 — publication inventory and first-hop admission.
Why This Change Was Made
Inventory v2 records the exact source package schema versions. One dependency-free contract admits only publications whose state/agent schemas are supported by the candidate manifest. Inventory generation, bridge/output generation, first-hop lanes, frozen-target planning and package fixtures consume this canonical admission decision. Unsupported publications remain accounted for with an explicit reason; missing facts fail closed. Blanket publication admission and the duplicated local record guard are removed.
Frozen v1 artifacts retain the named admitted-list contract shipped in stable
v2026.9.9; new generation requires v2 facts. Runtime schema refusal is unchanged. No schema guessing or new compatibility fallback.User Impact
Maintainers can account for a newer-schema publication without claiming downgrade support. Supported uncovered publications still fail with an actionable verified-package refresh command. No operator options, SQLite schema/store semantics, production publication or live Gateway changes.
Evidence
Accepted ClawSweeper findings
Latest durable ClawSweeper review is bound to prior head
37877, reviewed2026-10-11T01:13:33.936Z. Its two before-merge items are resolved on3f477: exact fallback-only hydration assertion with unchangedoff/mediumproof, and conflict integration preserving canonical #168618 refresh behavior. Both repairs have local owner proof and passing final-head CI below. This dispositions that review; it does not claim a new ClawSweeper verdict on3f477. No unaddressed Rank-up moves were present.scripts/lib/update-compat-contract.mjsbefore importing/executing its planner closure; the redundant late consumer check is removed. Existing dirty/missing-helper sentinel regressions fail before this repair and pass after it.Current candidate and hosted CI
Published head:
3f477f87d3398466d38535d6abbed91be909ae74, on pinned mainbbd2daf8b6def57eb0ac47c5e270c9b39cc168e6. Nine commits. The four inventory patches and the prior test-lint/cron patches remain byte-identical through conflict integration. No merge.Previous-head
37877c4f5131cfda7f40d0888dfa037a0289d57eCI run 38099612940 completed with 66 successful, 3 failed and 22 skipped jobs (91 settled). Two underlying failures, now repaired at their fixture owners; aggregate also failed:dd4b258a3cfa6fdef41535e5518fe260f5665a9cdeliberately reuses matching admitted host rows. The fixture now proves one admitted-owner/global-catalog load, exactly the missing fallback's scoped hydration, and unchanged emittedoff→mediumlevels. No redundant production reads restored.openMenuhelper installswa-after-showbefore the actual trigger click and joins completed opening before settled-hover/focus assertions. Attachment, library, browser-card and disabled/danger cases share this path; every color assertion and intentional during-animation test remains. The same held-opening condition passes both themes after the join. Installed Web Awesome's popup/next-frame/animation completion contract was directly inspected; no dependency patch, retry, timeout increase or production CSS change.76a1a8043866891d4bdeca57599ea68bc0e7f845, adds a real offline-refresh caller. Its force/deadline contract and owner checks remain intact; the internal publication helper stays private with fixed standalone provenance. The worker timeout import follows its new canonical module. Main already localizesSettingsSegmentedOption, so the redundant branch change drops out.Final local proof on this candidate:
node scripts/check-changed.mjs --base bbd2daf8b6def57eb0ac47c5e270c9b39cc168e6 -- src/cron/isolated-agent/run.runtime-thinking.test.ts ui/src/components/menu-surface.browser.test.ts src/agents/prepared-model-runtime.ts src/agents/prepared-model-runtime.types.ts src/agents/prepared-model-catalog-worker.native.integration.test.ts— exit 0, production types, all 28/28 core-test graphs, all three dead-export scans zero findings, changed lint, storage/loader/pairing guards and zero runtime cycles. Earlier complete branch gate on37877remains historical proof below, not relabeled.pnpm build: exit 0, 5m 56.3s.dist/build-info.json: commit3f477f87d3398466d38535d6abbed91be909ae74, version2026.9.9, built at2026-10-11T01:12:10.028Z. Build warnings/limits below are not passing budget claims.Latest two-fixture correction: production 0, tests +21/-18, net +3. No new runtime seam, operator option, schema or publication. Final exact-head CI run 38102095620 completed successfully on
3f477f87d3398466d38535d6abbed91be909ae74: 92/92 jobs settled — 70 successful, 22 skipped, zero failed/cancelled/unfinished. Requiredopenclaw/ci-gate, both repaired leaves and hosted Control UI performance succeeded. The PR is open, non-draft,MERGEABLE/CLEAN, with no auto-merge request. No merge; skipped coverage is not counted executed.Previous-head
014631c541824b3b95cb2b0d37b6871cfcb91d82CI run 38093252851: terminal failure — 53 successful, 11 failed, 25 skipped jobs; no unfinished jobs. Tested mergeb94d68020be8aadb5a5ea2398d52751e456dd1d4has base6b8e69e470765791cd8ac91d721b497f9b58948band the previous head014631c541824b3b95cb2b0d37b6871cfcb91d82. No earlier-head green check counts as final-head CI.All failed leaves came from unchanged main-owned files:
env: canonical main repair243b6dbf63d2d4c1bc7622ce67cd26c023c1bd64is integrated.f9940dc8a794948cf24492fd881296b60296ff4ais integrated. Local duplicate repairs were dropped.13296b17cd0f30a1242f36378d8a61448b6fbd55usesresolvePluginDmPolicy; publicresolveChannelDmPolicystays unchanged. The local duplicate repair was dropped.f9940dc8a794948cf24492fd881296b60296ff4aplus7562fd2b90129bef6674cc72247458da060c1d02account for those APIs and the subsequent conversation migration. No independent budget edit or environment override. Final candidate SDK report tests pass.The first scoped local gate passed production types and all 28 core-test type graphs, then found inherited dead exports from #168576 — shared presentation primitives and a local-only Gateway approval type. The repair removes unused wrappers, localizes internal types/content functions, retains custom-element registration, and moves existing panel tests/proof to the real registered-tag boundary with every assertion retained. Full-tree Knip models the actual computed browser-fixture imports; no production root, ignored finding, or baseline relaxation is added.
Fresh proof:
37877: SDK/UI boundary proof 34 passed, one platform skip, two shards, 14.76s. The SDK removal and callable-growth guards remain enforced.node scripts/check-changed.mjs --base 7562fd2b90129bef6674cc72247458da060c1d02: exit 0 on37877, including production types, all 28 core-test graphs, UI/scripts/root-test types, all three export audits, lint and lifecycle/storage/loader/pairing guards; zero runtime import cycles.pnpm build: exit 0, 7m 31.2s.dist/build-info.jsonrecords commit37877c4f5131cfda7f40d0888dfa037a0289d57e, version2026.9.9, built at2026-10-11T00:17:42.278Z. SDK/runtime/plugin/declaration/UI build phases completed. An initial build failed on missing installed Workboard Solid dependencies already declared by its manifest;pnpm installexited 0 without tracked changes, then the complete retry passed. The earlier gate was intentionally stopped before dependency reconciliation; its exit 143 is not a product verdict.Earlier
37877dead-export correction delta: production net -153; tests net +13; proof fixture net +12; Knip tooling net +8. Registered-tag JSX contracts are used by retained Solid rendering, not a test-only runtime seam. No production rendering, CSS, authorization, schema, defaults, or operator options change.Named migration coordination: #168739 — Solid chat tools and attachments introduces a future direct
PanelLoadingSkeletonconsumer insession-diff-panel.tsx. That lane should use the registered tag or restore the callable export with its actual production importer; no dormant test-only callable is retained merely for the future diff.CI root causes and canonical repairs
a9d10dc7df4681052c158dd760176e975c0d10e0records actual signal provenance and owns managed-child cleanup. The refreshed candidate passes the same five assertions, plus actual SIGKILL versus numeric-137 control. No timeout increase, retry, weaker assertion or gate bypass.off/mediumassertions remain; spy cleanup is infinally. Both thinking cases moved tosrc/cron/isolated-agent/run.runtime-thinking.test.tswithout a line-limit exception or new production seam.48588a65222205adaa0187e62f683e046e1a9d3cand removed our redundant deletion. Six real-browser cases and the affected UI E2E type graph pass; this fixture has zero final branch delta.26b31273295dd3e17e8482894a6c97096ed03e09, rather than duplicating its implementation or deleting the needed adapter. Async-only closure, rejection without legacy fallback, replacement/retirement, predecessor and commit-race cases pass.00e095399b2. Dropped our redundant pass-through correction and integrated canonical main; this fixture and its baseline change have zero final branch delta.Previous hosted attempts 38085748872 and 38088014935 were followed through complete terminal failure, not counted green. The former exposed duplicate UI imports and the cron fixture; the latter exposed the merge-convergence missing import. No lifecycle failure returned. No unchanged repush, CI rerun or gate bypass was used to obtain green.
Validation and identity
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/mobile-sidebar-session-menu.e2e.test.ts: 6/6, 21.42s.node scripts/run-tsgo.mjs --noEmit -p test/tsconfig/tsconfig.core.test.ui-e2e.json: exit 0. No production UI change.pnpm buildon committedce234c4bec20ae9f25d4a00ab0b1bd1a90a541b8: exit 0, 6m 24.8s; frozen inputs and exactdist/build-info.jsonidentity verified. SDK/runtime/plugin/declaration/UI validation passes. Completenode scripts/check-changed.mjs: exit 0, including production/script/test type graphs, lint, all three export audits, mock ratchet, SQLite/storage/loader/pairing/boundary guards and zero runtime import cycles. A preceding build rejected an in-flight baseline edit at its input fence and is excluded.ce234build is not relabeled as the final artifact. Final014631sanity: 5/5 canonical placement cases, mock-export ratchet exit 0, diff check and clean checkout. These are historical receipts, not final3f477artifact or integration proof; final-head local proof is recorded above.pnpm update:compat:checkmatched all 11 exact publication versions/integrities to tracked inventory and candidate schemas. Maintained CLI accounting at frozen candidate schemas 19/24 treated live beta.2 state 20/agent 24 as unsupported and succeeded without promising an upgrade bridge. No forbidden downgrade attempted.Scope, contracts and limitations
Canonical admission owner:
scripts/lib/update-compat-contract.mjs; producer:scripts/lib/update-compat-chunks.mts; consumers: inventory generation, postbuild, first-hop/frozen-target planning and package fixtures. Runtime schema refusal is unchanged; fixture source preparation precedes frozen Git identity, and dist generation does not rewrite source.Original inventory contract: production/tooling +159/-41, net +118; named inventory metadata +45/-1, net +44 (serialization moves discounted). Growth stores exact source schema facts and one admission decision that the previous admitted list could not express. Tests/test-support +305/-93, net +212; last fixture correction +47/-13, net +34, production zero. CI-follow-up delta separately: production +14/-46, net -32; audit configuration +7/-3, net +4; tests/test-support +625/-497, net +128, including the coherent thinking-suite move. Overflow harness/live-cache/fixture code is test support.
Final candidate versus pinned main: production +32/-221, net -189; production tooling +130/-35, net +95 (combined net -94); tests/test support +1066/-675, net +391, including the thinking-suite move; audit/metadata +60/-4, net +56, including exact inventory schema facts. Named proof fixture and generated metadata are not counted as runtime production. Earlier stage-specific deltas above are historical, not added together.
Acting agent directly inspected upstream Codex
codex-rs/login/src/auth/manager.rs:76,:164,:467, andcodex-rs/app-server/src/message_processor.rs:1120,codex-rs/app-server/src/request_processors/thread_processor.rs:531,:845; API-key/ChatGPT credentials and native resume/read contracts remain distinct. Oxlint entry and Solid peer contracts inspected directly. No dependency patch or Codex protocol change.The final build exits 0 while reporting startup JS 375,313 B / 374,861 B (+452 B; 366.5 KiB / 366.1 KiB), compared with +443 B on the earlier
37877build. This remains a budget violation, not a passing budget claim or authorized relaxation. The exact-head build also reports five pre-existing ineffective dynamic imports in session-roster cache/bootstrap, session-snapshot invalidation, chat-send actions, composer-draft store and sidebar narration; this repair adds none. Startup CSS remains above its advisory target but below its hard ceiling (1,388 B headroom). Linux shell proof uses the repository's existing Bash5 resolver; Apple's Bash3 failures are not Linux workflow verdicts. The earlier copied-harness broad run was not wholly green; its relevant corrected Docker/shell cases passed focused reruns, with deliberately filtered coverage not counted executed.No publication, release-tip mutation, database/schema/config surface change, live Gateway operation or merge. Release-note context: release preparation accounts for newer-schema publications without admitting unsupported first-hop upgrades.