Repository navigation
fix(release): consent to staged Codex onboarding companion - #131298
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Maintainer follow-through: the consent and official-provenance repair is complete, with all three staged and all three published-package Docker onboarding/channel/agent flows passing. The shared fixture/harness repair is already merged. The earlier Discord
The PR body now contains exact commands, artifact identity, source/owner reasoning and proof limitations. The model/channel APIs were mocked; this is actual package/CLI/state proof, not authenticated live-channel testing. The earlier unrelated RPC scheduling failures and separate historical full-package validator limitations remain disclosed rather than relabeled as passing. The latest ClawSweeper outer-Docker proof request is satisfied by these real runs. @clawsweeper re-review for the completed provenance repair beyond the previously reviewed |
|
Codex review: needs maintainer review before merge. Reviewed August 28, 2026, 2:26 AM ET / 06:26 UTC. ClawSweeper reviewWhat this changesUpdates the release onboarding Docker fixture and its documentation so candidate Codex and channel plugins are installed from the verified prerelease registry with explicit capability consent when supported. Regression provenancePossible regression — probable (failure trace; reviewed change). No predecessor PR is attributed. Merge readinessKeep open: the branch plausibly repairs the candidate-plugin release fixture without weakening capability consent, but the exact head still needs its candidate Discord/Slack outer-Docker acceptance evidence. Priority: P2 Review scores
Verification
How this fits togetherRelease validation builds an immutable prerelease plugin registry, mounts it into Docker onboarding fixtures, and verifies that a packaged CLI can install and configure plugins noninteractively. This change affects the fixture’s candidate-plugin selection and installation path before onboarding invokes the channel setup. flowchart LR
A[Candidate plugin packages] --> B[Immutable prerelease registry]
B --> C[Docker onboarding fixture]
C --> D[Capability-consent help probe]
D --> E[Managed pinned plugin install]
E --> F[Noninteractive onboarding]
F --> G[Release acceptance result]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +369, Docs +60, Other +3. Total +432 across 8 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the single verified prerelease-registry path and merge after exact-head candidate Discord and Slack acceptance proves the outer Docker harness installs the pinned companions. Do we have a high-confidence way to reproduce the issue? Yes at source level: the reported noninteractive candidate-plugin failure is owned by the reviewed fixture sequence and supported by focused regressions, though an exact-head outer-Docker reproduction is still pending. Is this the best way to solve the issue? Yes: planner-owned immutable registry requirements plus pinned managed npm installs preserve candidate provenance and capability consent without bypassing the trusted-plugin boundary. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 533319b6753f. LabelsLabel changes:
Label justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
Use the shared command-help consent helper for the reviewed Codex and external channel fixtures. Keep exact staged Codex versions pinned, use official catalog selectors for published packages, and preserve historical automatic setup when the candidate CLI lacks capability consent. Replace source-order assertions with shell boundary coverage and document reviewed plugin preinstallation before retrying noninteractive setup. Co-authored-by: Dallin Romney <[email protected]>
8fef30e to
760fe34
Compare
Stage the selected Discord or Slack companion with Codex in the verified prerelease registry and install its exact pinned npm spec after onboarding. The former npm-pack path installed matching bytes but could not establish the official provenance required by trusted plugin state APIs. Remove local archive packaging and install overrides. Reject missing or mismatched source companions before CLI use while keeping published catalog selection and historical automatic setup unchanged. Co-authored-by: Dallin Romney <[email protected]>
Keep the immutable Codex registry artifact unchanged and serve source Discord/Slack tarballs as separately validated exact npm packages. Remove source install overrides and fail closed without the mounted registry. Co-authored-by: Dallin Romney <[email protected]>
Restore the planner-owned immutable prerelease registry artifact containing Codex and the selected source channel companion. This supersedes the separate tarball mount follow-up.
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
…131298) * fix(release): consent to staged Codex onboarding companion * fix(e2e): prepare reviewed onboarding plugins explicitly Use the shared command-help consent helper for the reviewed Codex and external channel fixtures. Keep exact staged Codex versions pinned, use official catalog selectors for published packages, and preserve historical automatic setup when the candidate CLI lacks capability consent. Replace source-order assertions with shell boundary coverage and document reviewed plugin preinstallation before retrying noninteractive setup. Co-authored-by: Dallin Romney <[email protected]> * fix(e2e): preserve official provenance for candidate channels Stage the selected Discord or Slack companion with Codex in the verified prerelease registry and install its exact pinned npm spec after onboarding. The former npm-pack path installed matching bytes but could not establish the official provenance required by trusted plugin state APIs. Remove local archive packaging and install overrides. Reject missing or mismatched source companions before CLI use while keeping published catalog selection and historical automatic setup unchanged. Co-authored-by: Dallin Romney <[email protected]> * fix(e2e): preserve frozen channel candidate registry Keep the immutable Codex registry artifact unchanged and serve source Discord/Slack tarballs as separately validated exact npm packages. Remove source install overrides and fail closed without the mounted registry. Co-authored-by: Dallin Romney <[email protected]> * fix(e2e): keep candidate plugins in one registry Restore the planner-owned immutable prerelease registry artifact containing Codex and the selected source channel companion. This supersedes the separate tarball mount follow-up. --------- Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: Vincent Koc <[email protected]> Co-authored-by: Dallin Romney <[email protected]>
What Problem This Solves
Release-validation npm onboarding stopped when the required Codex plugin correctly requested capability consent that silent onboarding cannot grant. After explicit preparation fixed that, the real candidate Discord agent turn exposed a second fixture defect:
npm-pack:installed matching bytes but did not establish official provenance required byopenKeyedStore.The original pnpm-migration Package Acceptance failure, additional consent reproduction, and Discord provenance failure are preserved. These failures do not establish a pnpm defect. This completes the onboarding-specific repair using the merged shared fixture/harness repair.
Why This Change Was Made
The fixture owns preparation of reviewed artifacts. Production consent and trust guards are correct and stay unchanged. The scenario now explicitly prepares Codex before non-interactive onboarding, then the selected external channel after onboarding and the existing dependency-absence assertion. The actual CLI command help determines consent support; displayed package versions are not a reliable feature boundary.
Candidate Discord/Slack companions join Codex in the existing planner-owned immutable prerelease registry. The producer verifies source SHA, candidate version, package identity and hashes; the container requires the selected companions before any OpenClaw call. Exact pinned official npm specs retain candidate bytes and normal catalog-backed provenance. Source mode without the verified registry fails clearly, rather than selecting another source.
Removed: archive packing, temporary archive cleanup/mounts, source install overrides and the direct
npm-pack:channel path. Published/no-registry catalog selection, historical automatic setup, bundled channels, bounded failed/timed-out probes, JSON/ref-auth assertions, and model configuration after onboarding remain intact. No global acceptance, manually stamped trust, runtime policy change, new public config, schema change, dependency override or Codex protocol change.User Impact
Release tooling can validate modern and historical candidates without weakening plugin capability consent. Non-interactive operators now have explicit preparation and retry guidance in CLI onboarding and wizard automation.
--accept-riskremains separate from plugin capability consent.Product runtime LOC: +0/-0. Release tooling: +49/-46, net +3. Tests: +403/-34. Docs: +61/-1. Total: +513/-81 across eight files. The provenance follow-up removes 27 net tooling lines by using the existing registry instead of maintaining a second archive flow.
Evidence
Reviewed source:
8ceb4b12e8591516c73816f9593cce10a16eeea8. Final head5f2d7aff42c2aab61438a3a2c1391cd753e09686preserves Vincent's follow-up commits and has the identical complete Git tree,0a785e549191d8ef14575b839b5e20704a84fa6f. Package proof and the clean whole-diff review below are explicitly reused on identical bytes, not represented as executions at a different SHA.5f2d7aff42c2aab61438a3a2c1391cd753e096868ceb4b12e8591516c73816f9593cce10a16eeea8[email protected], no staged registry; all three real Docker flows passed. Blacksmith Testboxtbx_01m13ewth0r13g54bd771z67rt, wrapper exit 0, lease verified completed760fe344e8a54893a2725df4c197e168c02a52fe: 10 intended failures / 75 passing controls. Repaired focused suite: 164 passed; existing installer/registry suite: 133 passedgit diff --checkpassed; MDX passed; canonical audit checked 6,917 links with zero brokenFrozen proof retains original source
76feb368b5aa4122af8fb4e2f08b457d3ab8d460, artifact9658437294from run33099873637, and package SHA-256e1e2b2bea928ac3f628f21aae72f26808b89c10ad6d69246a05c9fc36f9f1a0d. All three downloaded lane summaries and complete logs were inspected: each actually executed and returned status 0. Published-package bytes were separately checked against npm integrity. No candidate substitution or artifact-validator bypass.The earlier contributor-reported 140-test run is retained as additional evidence; the final 164-test owner/sibling run and 133-test trust run above are the expanded maintainer proof. The separate Full Release Validation parent belongs to the broader migration and is not claimed complete here.
Exact focused commands
Published proof ran the canonical
pnpm test:docker:npm-onboard-channel-agentseparately for each channel with the exact downloaded package, host build disabled, and no prerelease registry/source override. Package/model/channel endpoints were isolated; the model and channel APIs were mocked. This is real package/CLI/state integration proof, not a claim of authenticated provider or live-channel testing.Review boundaries and remaining limitations
The latest ClawSweeper review requested outer Docker forwarding/candidate-lane proof and maintainer acceptance, with no code findings. The staged and published three-channel runs now supply that proof. No separate rank-up item was left unaddressed. A refresh is requested for the later provenance repair; it is not a substitute for the independent completed review and exact-head CI.
Direct sibling Codex inspection used tag
rust-v0.150.1, commit90854393966b21e9ebfd21b122334eb09a20c93d:codex-rs/app-server/src/request_processors/initialize_processor.rs:44–159andcodex-rs/app-server/src/message_processor.rs:835–901. The OpenClaw pin remains@openai/[email protected]; both failures occur in host artifact preparation before app-server initialization.Earlier unrelated RPC sanity under saturated host scheduling recorded 302 passing tests and two timing failures; both passed unchanged targeted retry. That is not reported as a clean 304-test run. Those two original RPC failures remain a separate unresolved follow-up; an unchanged targeted retry does not establish their cause, and neither completed repair lane owns an active investigation. No timeouts or unrelated RPC code changed here. Historical full-package checks had separate old-tarball mode/ACPX validation failures before plugin execution; actual historical CLI compatibility passed in the shared repair. The canonical docs audit recognizes the externally owned ClawHub route flagged by generic Mintlify; the valid route was not removed.
Capability consent was introduced by the plugin consent change; validation exposed unprepared fixtures rather than a product-policy defect. Dallin Romney (@RomneyDa) remains the original author, with exact coauthor trailers preserved. Vincent Koc (@vincentkoc) and Peter Steinberger's contributions remain in the history. AI-assisted: yes. Release-note context is recorded here;
CHANGELOG.mdremains release-generated.