Skip to content

test: verify installed updater with isolated hosted cases - #196357

Closed
RomneyDa wants to merge 3 commits into
mainfrom
openclaw/updater-hosted-proof-recovery-20261110
Closed

RomneyDa wants to merge 3 commits into
mainfrom
openclaw/updater-hosted-proof-recovery-20261110

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

Summary

Temporary validation-only companion for #196301. This draft is not intended to merge into production. It adds an isolated GitHub-hosted Node installed-updater C → Q proof, gated to this exact same-repository validation branch; no workflow dispatch, deployment, release, package publication, or write token is added.

Input and provenance

  • Candidate artifact: package-under-test-42717541806-1, from run 42717541806.
  • Candidate SHA-256: 8af1ea0fa5901638538863c602ae28674849322bd759ea80d936fe3c9824ac69.
  • Candidate build metadata commit: dd6c99776b161d441cb827f78d2b031addce6648.
  • Exact Node runtime: 26.12.1.
  • The seven-file existing first-hop helper closure is preserved with checked byte sizes and SHA-256 hashes in tooling/PROVENANCE.json. Binding receipts record the actual harness head and Actions identity.

Cases and isolation

Runs all five installed cases sequentially: success, relative traversal spelling, absolute symlink chain, fatal canary-child exit 42 after private registration/write, and cancellation after observed private registration/write. Each case uses fresh private state, config, home, workspace, npm prefix/cache, and temporary paths. Bounded allowlisted evidence excludes installations, databases, state/config, homes, caches, and tarballs.

No product code, source budgets, repository capacity caps, or configuration changes. Existing command and launch budgets remain unchanged. The workflow and harness should be retired after the requested proof is reviewed.

Validation

  • Inspected actual package scripts before checks.
  • Bash syntax and all 12 JavaScript/TypeScript module syntax checks passed.
  • All five scaffold tests passed, including fatal exit 42 and read-only ledger inspection.
  • YAML parsing passed.
  • All seven helper provenance byte-size/hash checks passed.
  • git diff --check passed; checkout clean.
  • Generated scaffold scratch moved outside the harness source directory.
  • Cached actionlint was not located, so actionlint was not run.

These are local scaffold/provenance checks, not hosted installed-updater acceptance. Actual hosted acceptance is not yet claimed; inspect exact-head workflow results and all five per-case receipts before drawing that conclusion.

@clawsweeper

clawsweeper Bot commented Nov 10, 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.

@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. labels Nov 10, 2026
@clawsweeper

clawsweeper Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR adds an isolated hosted workflow that exercises five installed-updater cases and exports bounded diagnostic receipts.

Example: An installed plugin reads config.txt through a symlink to an external package.

  • Before: The existing hosted validation does not exercise private writes and retained settings for this specific plugin layout.
  • After: The new workflow checks independent private writes, unchanged live data, retained settings, and updater activation or failure settlement.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The isolated harness has concrete assertions and no identified defect, while completed installed-case evidence remains unavailable.
Proof confidence 🦐 gold shrimp (3/6) The ordinary contributor proof gate does not apply to this maintainer-authored validation PR; scaffold checks and completed package verification do not establish acceptance of the installed-updater cases still running.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes
User problem: Update rehearsal can fail when an installed plugin reads ordinary data through an external package symlink.
Reason: The maintainer-author explicitly chose temporary hosted validation for the active repair, with no production merge intended.

Merge readiness

✅ Ready for maintainer review

Keep this maintainer-authored draft open as a temporary validation companion, preserving its explicit do-not-merge intent; no actionable introduced defect was found.

Priority: P2
Reviewed head: c0103664d08ba2dd2f4b957dcabb9e5b8d2dce8d

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Completed hosted receipts for all five installed cases are not yet available; the same-schema C-to-Q exercise does not establish a published-release schema upgrade.
Agent review details

How this fits together

The validation workflow consumes a pinned candidate package, installs it in disposable directories, invokes its real update CLI against a version-distinct derivative, and exports synthetic diagnostics.

flowchart LR
  A[Pinned candidate artifact] --> B[Identity and hash verification]
  B --> C[Isolated npm installation]
  C --> D[Installed update CLI]
  D --> E[Plugin writes and updater ledger]
  E --> F[Bounded evidence artifact]
Loading

Technical review

Best possible solution:

Use this draft to collect the scoped installed-updater evidence, then retire the temporary companion without merging it into production.

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

This is a validation-only PR; review inspected the introduced source and hosted execution state without running target code.

Is this the best way to solve the issue?

The standalone adapter reuses the existing package-derivation helper and exercises the installed CLI without product test seams; its pinned copy is justified by the temporary, artifact-bound purpose.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 45ac7f1619f4.

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

PR surface

Docs +71, Config +1407. Total +1478 across 16 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 1 71 0 +71
Config 15 1407 0 +1407
Generated 0 0 0 0
Other 0 0 0 0
Total 16 1478 0 +1478

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: The focused validation supports an active updater repair without changing shipped behavior.
  • 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: The focused validation supports an active updater repair without changing shipped behavior.
  • 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.

Rank-up moves

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

  • Inspect the completed hosted receipts before using this companion as acceptance evidence for the linked repair.

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 9, 2026, 8:09 PM ET / November 10, 2026, 01:09 UTC.

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

Labels

P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XL 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