Commit graph

185 commits

Author SHA1 Message Date
Jason (Json)
5242bcedfc
fix: let updates finish when plugins change no config and openclaw.json is read-only (#201331)
* fix(update): publish plugin records without an empty config write

When plugin convergence after a core update changes no config path, publish the install records without writing openclaw.json. A config file the update cannot replace, such as a link to a provisioned read-only file, no longer fails an update whose plugin work converged, and the file keeps its bytes. A real config change against such a file is still refused.

The update report for a healthy Gateway with unfinished maintenance now names `openclaw gateway stop --force`, the command that works in a non-interactive shell and the one repair names.

Adds the published-driver-plugin-publication Docker lane: a published 2026.11.5 updater's first update with two official npm plugins and a symlinked read-only config.

* test(e2e): record the published-driver plugin cell before asserting

* test(update): keep the post-Doctor publication check on a real config change

* fix(update): bind records-only plugin publication to the planned config path

Check the config path proof captured for the update before and after the records-only publication, so a re-pointed config link cannot receive records planned for another config. The published-driver cell now pins its baseline plugin versions through a fixture registry and requires readable update history that names the update's own run.

* test(e2e): isolate and bound the published-driver plugin publication cell

Give the lane its own artifact directory, read readiness only from a successful probe in this run, bound fixture fetches by the cell deadline, and add a refused-channel-change mode: a real config write against the read-only config still fails the update, and the report names a Gateway stop that works unattended.

* test(e2e): pin the refused channel write and the cell's own artifact default

The negative control now requires the symlink refusal in post-update verification, the wrapper selects the plugin publication cell's artifact directory with its entry point, and the plugin observation is named after the local inventory it reads.

* test(e2e): default the plugin publication cell to a release and pin the refused control's plugins

* test(e2e): stamp lane plugin fixtures with the core target and check the config link itself
2026-11-18 17:47:50 -06:00
Jason (Json)
1dbe12a0ed
fix: let automatic updates finish plugin updates that an earlier update left owed (#201178)
* fix(update): let automatic updates retry owed plugin convergence once

* test(update): prove the installed Gateway retries owed plugin convergence once

* test(update): serve the fixture release to the Gateway's own discovery

* test(update): keep fixture runs in production order and bound registry cleanup
2026-11-18 07:18:44 -06:00
Jason (Json)
438e1e9a49
test: prove the next update restarts a Gateway that a killed update left stopped (#201101)
* test: prove a killed update that stopped a real Gateway is finished by the next update

Add the package-installed-recovery-live-gateway Docker lane. It reuses the
installed-recovery cell's fixture-managed systemd service and real Gateway,
kills an update in its post-activation Doctor after it stopped the Gateway,
and checks that a plain next update finishes it and restarts the Gateway on
the installed version, and that --no-restart refuses until update repair.

* test: publish live-gateway command output in failure diagnostics
2026-11-18 04:10:39 -06:00
Vincent Koc
02b939674e
improve(ci): isolate installed recovery checks (#187568)
* test(ci): schedule isolated installed recovery cells

Run each installed recovery cut as a finite scheduler cell and publish package-bound receipts after its host process group joins. Preserve the landed timeout, deferred-schema witness, and installed-inventory owners.

* fix(ci): settle recovery producers before publication

* fix(ci): retain scheduler ownership through package entry

* fix(ci): bind recovery publication to scheduler custody

* fix(ci): retain published recovery failure annotations
2026-10-31 22:54:21 +08:00
Vincent Koc
f92366d3c7
fix(update): preserve unrelated notices during handoff recovery (#188212)
* test(update): expose cross-run handoff notice mutation

* fix(update): use canonical handoff sentinel ownership

* fix(update): preserve handoff diagnostic failure boundaries

* test(update): exercise packaged rollback through an older runtime

* test(update): satisfy rollback harness lint rules

* test(update): bind the recovery observer event receiver

* test(update): use the service account home for rollback proof

* test(update): report packaged recovery failure coordinates

* test(update): bound the published recovery state fixture

* fix(update): reconcile captured notice owner with launchd identity

* test(update): complete the packaged handoff service fixture

* test(update): brace survivor service fixture branches

* test(update): preserve failed recovery startup diagnostics

* test(update): prioritize recovery failure causes

* test(update): isolate published recovery runtime

* test(update): observe notice preservation at canonical refusal

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-10-31 13:45:33 +08:00
Peter Steinberger
1fd1e33ddd
test(gateway,plugins,ui): remove low-value tests (batch d078) (#170888)
* test(gateway): deslop x2001 tests

* test(codex): deslop x2009 tests

* test(test): deslop x2007 tests

* test(gateway): deslop x2015 tests

* test(memory-core): deslop x2014 tests

* test(ui): deslop x2013 tests

* test(acp): deslop x1444 tests

* test(state): deslop x2018 tests

* test(plugins): deslop x2017 tests

* test(test): deslop x2011 tests

* Revert "test(test): deslop x2011 tests"

This reverts commit 523019224a0e1ecc4bd07ff20c9189dc22ab4d92.

* test: retain independent contracts in cleanup batch d078
2026-10-13 09:29:54 +00:00
Dallin Romney
bc860ad02f
fix: release validation misses interrupted package upgrades (#167377)
* test(update): validate pinned released package recovery

* test(update): qualify recovery on native storage and preserve settings

* fix(test): preserve pinned package recovery qualification cells

* test(update): reset recovery fault markers for each invocation

* test(update): count pinned recovery omissions in scheduler results
2026-10-08 13:04:04 -07:00
Patrick Erichsen
858d31d074
refactor: remove experimental fleet management (#165825)
* refactor: remove experimental fleet management

* test(audit): reconstruct retired tables for pinned reader proof

* refactor: remove retired fleet diagnostics classification

* fix(catalog): keep recommended model reader internal

* test(memory): expect revoked transcript reservation to reject

* fix(test): run Telegram model callbacks with the SQLite host

(cherry picked from commit 87f13837bc3f90f357873acb04a5626707aab853)

* docs(database): refresh worker access inventory after rebase

* refactor(sessions): keep cold turn guard type internal

* fix(sessions): preserve transcript owner across storage resolution

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2026-10-07 17:44:11 -07:00
Dallin Romney
471f950ee3
fix(ci): keep full release validation within measured budgets (#166774)
* test(config): seed existing config before warning dedupe rewrites

The first write of a missing config seeds native session catalog opt-outs, so rewriting the same literal config was rejected as a size drop before the warning assertions ran.

(cherry picked from commit 2f8b92b458)

* fix(ci): size update-restart-auth budget from measured hosted runs

Hosted release checks passed this lane in 1678-2290s and were killed at the 2280s inner cap during recovery-update-restart. Derive a 3420s inner cap and 3720s lane budget from the slowest measured pass, and raise the targeted job timeout to 75 minutes so the job cap stays above the lane.

(cherry picked from commit cf7321814f)

* ci: run release Docker seed lanes on Blacksmith with the smoke package

Release validation children ran docker-seed-e2e on a hosted 4-vCPU runner with a full build-all and serial lanes (~91m, FRV 37607411898). Use the hourly-main Blacksmith 16-vCPU row, the existing smoke package step, and three parallel lanes for those children only; manual dispatches keep the hosted path.

* fix(ci): give long unfitted release rows a 90-minute hosted job cap

core-runtime-config was cancelled at the 60-minute hosted cap with 5544 of ~5554 tests passed (FRV 37623751955); cli-process and agent-chat ran 41-52 minutes. Splitting them exceeds the full manual manifest output budget, so extend their job timeout instead.

* docs(ci): record release validation runner and measured budgets

* fix(ci): preserve release runner recovery and weighted admission
2026-10-07 15:46:49 -07:00
RoboClaw
38740f233d
feat(release): qualify frozen candidates with their own harness (#160695)
* feat(release): qualify frozen candidates with their own harness

Keep candidate qualification code, required coverage, and baselines frozen while independently trusted tooling authenticates admission and publication. Preserve historical recovery and verify exact qualified npm and Docker artifacts without candidate-to-publisher ancestry.

Co-authored-by: RomneyDa <6581799+RomneyDa@users.noreply.github.com>

* fix(release): restore authenticated harnesses before execution

Bootstrap only from the immutable caller commit, then restore and verify the authenticated callee revision before any repository code runs. Preserve canonical origin and path guards, with real Git regression coverage. Remove duplicate coercion declarations without importing executable normalization code before bootstrap admission.

Co-authored-by: RomneyDa <6581799+RomneyDa@users.noreply.github.com>

* test(release): align qualification fixtures with frozen harnesses

Provide explicit ordinary-lane workflow inputs and the complete committed bootstrap closure. Assert immutable caller seeds rather than a moving main checkout, preserving authenticated harness restoration. Keep the internal evidence script constant private.

Co-authored-by: RomneyDa <6581799+RomneyDa@users.noreply.github.com>

* fix(ci): register frozen qualification dynamic entrypoints

Model the verified Node child runner and generated admission-transport fixture as exact Knip entrypoints. Keep the fixture out of production roots and preserve the hard-zero unused-file and export checks without ignores or fake imports.

Co-authored-by: RomneyDa <6581799+RomneyDa@users.noreply.github.com>

* test(release): include captured baselines in plugin fixtures

Model the independent phase qualification-baseline step with empty outputs and assert both trusted baseline output bindings. Preserve the substituted candidate SHA and the scanner checks against the separately admitted source identity.

Co-authored-by: RomneyDa <6581799+RomneyDa@users.noreply.github.com>

* fix(release): remove circular manifest policy dependency

Remove the retired empty-advisory helper and emit the unchanged empty wire fields at their producers. Keep strict advisory rejection and the single manifest builder.

Co-authored-by: RomneyDa <6581799+RomneyDa@users.noreply.github.com>

* test(release): cover frozen catalog checkout closure

Preserve exact sparse-path, byte-integrity, and candidate-isolation assertions for both catalog dependencies. Keep them excluded from preflight materialization.

Co-authored-by: RomneyDa <6581799+RomneyDa@users.noreply.github.com>

* refactor(release): remove unused evidence facade export

Keep manifest child evidence owned by the extracted manifest module; policy and state consumers use that owner directly.

Co-authored-by: RomneyDa <6581799+RomneyDa@users.noreply.github.com>

* fix(release): revalidate admission before publication effects

Carry authenticated admission authority through Docker and npm publication, rechecking it after preparation and immediately before each external registry mutation. Preserve original evidence and publisher guards; deny revoked authority in recovered and multi-package publication.

Co-authored-by: RomneyDa <6581799+RomneyDa@users.noreply.github.com>

* test: align release qualification coverage with main

* test: format release checklist coverage

* test: restore release fixture closure

* test: run compact admission from frozen tooling

* test: cover oldest supported upgrade baseline

* test: reconcile package acceptance coverage

* test(release): align candidate-owned dispatch docs

---------

Co-authored-by: roboclaw-bot <309084314+roboclaw-bot@users.noreply.github.com>
Co-authored-by: RomneyDa <6581799+RomneyDa@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2026-10-04 12:56:50 -07:00
Dallin Romney
6160d9ff46
fix(release): split restart auth validation (#165048)
* fix(release): split restart auth validation

* fix(release): retain restart auth aggregate

* docs(ci): describe split release jobs
2026-10-04 12:04:01 -07:00
Dallin Romney
3d351089a5
chore(release): remove obsolete release-train fixtures (#164196)
* chore(release): remove obsolete release-train fixtures

* fix(release): preserve active frozen compatibility

* fix(release): complete obsolete train cutover
2026-10-03 14:08:34 -07:00
Dallin Romney
935563c38d
improve(ci): run first-hop post-convergence proof once (#163631)
* perf(ci): deduplicate post-convergence first-hop proof

* test(ci): cover canonical first-hop lane admission
2026-10-02 10:12:15 -07:00
Peter Steinberger
d89da7595d
fix(cron): keep legacy repair in Doctor (#160448)
Runtime preserves authored cron definitions and consumes canonical ownership, delivery, and schedules. Doctor performs supported repairs with verified backups, while update rehearsals retain live legacy sources for the live import. Preserve durable receipts, explicit scope boundaries, and deletion fences.

Published 2026.9.7 updater acceptance passed on Testbox. The separately matched native published-driver CI timeout also fails on clean main; the PR records that inherited failure and its limits.
2026-10-01 18:24:12 +00:00
Peter Steinberger
72cca0df98
test(agents, memory, ui, tooling): remove low-value tests (batch d112) (#161835)
* test(transcripts): deslop t0348 tests

* test(memory-core): deslop t0340 tests

* test(agents): deslop t0334 tests

* test(line): deslop t0361 tests

* test(docker-e2e): deslop t0362 tests

* test(scripts): deslop t0338 tests

* test(release): deslop t0359 tests

* test(markdown): deslop t0357 tests

* test(ui): deslop t0360 tests

* test(vitest): deslop t0363 tests

* test(ci): align config owner expectation after test cleanup
2026-09-30 11:59:03 +00:00
Peter Steinberger
95ed4ee478
fix(ci): run first-hop self-upgrades in waves and restore them to stable validation (#161774)
Raise first-hop lane weight to two under the existing npm limit of five, admitting at most two concurrent lanes while permitting one to overlap the weight-three survivor. Budget three 3500-second waves plus 20 minutes for the survivor and 10 minutes for setup/artifacts: 205 minutes, rounded to a 210-minute job timeout.

With the six-way contention bounded, return package-update-self-upgrade to the stable profile it was dropped from for 2026.9.7 (#161291, #161257).
2026-09-30 09:37:11 +00:00
Peter Steinberger
4d8c9bddda fix(e2e): size the Docker seed upgrade survivor for its auto-auth recovery update
Some checks are pending
CodeQL / Security High (channel-runtime-boundary) (push) Waiting to run
CodeQL / Security High (core-auth-secrets) (push) Waiting to run
CodeQL / Security High (mcp-process-tool-boundary) (push) Waiting to run
CodeQL / Security High (network-ssrf-boundary) (push) Waiting to run
CodeQL / Security High (plugin-trust-boundary) (push) Waiting to run
CodeQL / Security High (process-exec-boundary) (push) Waiting to run
Control UI Locale Refresh / resolve-base (push) Waiting to run
Control UI Locale Refresh / Verify generated PR App permissions (push) Blocked by required conditions
Control UI Locale Refresh / Refresh (push) Blocked by required conditions
Control UI Locale Refresh / Commit control UI locale refresh (push) Blocked by required conditions
Docs Sync Publish Repo / sync-publish-repo (push) Waiting to run
Docs / docs (push) Waiting to run
Node Runtime Conformance / scope (push) Waiting to run
Node Runtime Conformance / TypeScript contracts (push) Blocked by required conditions
Node Runtime Conformance / Rust workspace (push) Blocked by required conditions
Plugin Init Scaffold Validation / Validate provider scaffold (push) Blocked by required conditions
Plugin Init Scaffold Validation / scope (push) Waiting to run
Plugin NPM Release / preview_plugins_npm (push) Waiting to run
Plugin NPM Release / Validate release publish approval (push) Blocked by required conditions
Plugin NPM Release / preview_plugin_pack (push) Blocked by required conditions
Plugin NPM Release / Preflight plugin npm package () (push) Blocked by required conditions
Plugin NPM Release / Seal prepared plugin npm release (push) Blocked by required conditions
Plugin NPM Release / Trusted publisher OIDC exchange (push) Blocked by required conditions
Plugin NPM Release / approve_plugins_npm_release (push) Blocked by required conditions
Plugin NPM Release / Publish plugin npm package () (push) Blocked by required conditions
Plugin NPM Release / verify_plugins_npm (push) Blocked by required conditions
Vitest Cache Warm / dependencies (push) Waiting to run
Vitest Cache Warm / warm (push) Waiting to run
Workflow Sanity / actionlint (push) Waiting to run
Workflow Sanity / generated-doc-baselines (push) Waiting to run
CI Docker seed runs published-upgrade-survivor with
OPENCLAW_UPGRADE_SURVIVOR_UPDATE_RESTART_MODE=auto-auth, so the lane includes
the running-Gateway recovery update, but it kept the 1500s manual-mode
budget. Hosted 4-vCPU seed runs measured 846s and 1054s passes and then
1515s/1516s timeouts in upgrade-survivor:recovery-update-restart (CI
36496123315, 36519374717; FRV 36518668565).

Testbox 8-vCPU at the 2026.9.7 candidate: 627s lane, 325s recovery update.
x ~2.4 hosted ratio ~= 1505s, x ~1.5 => 2280s container budget, + 300s
host margin => 2580s lane, matching update-restart-auth. The recovery
update projects to ~780s (hosted 856s in 36506210440) against the 900s
command default, so the lane uses restart-auth's 1500s command timeout.

The release seed job runs six lanes serially: setup ~2m, package <=1032s,
other lanes <=1668s. (120 + 1032 + 1668) x 1.5 + 2580 = 6810s => 115m job
budget; the 60m budget already cancelled 36486786689 before fleet-cache.

Harness-only; no product code or scheduler concurrency changes.
2026-09-28 22:55:58 -07:00
Peter Steinberger
0eb4ad70c4 fix(e2e): size update lane budgets from hosted 4-vCPU measurements
Hosted run 36506342273 exhausted the first-hop container's 1800s budget.
Project 1558s + 560s final candidate hop + ~5s assertions ~= 2125s;
x ~1.5 gives 3200s inner, plus 300s host margin gives 3500s per lane.
Six sources still need two waves at npm weight limit 5; 2 x 3500s
plus 10m setup ~= 127m, rounded to a 130m self-upgrade chunk.

Restart-auth exceeded 1515s in run 36506342273: x ~1.5 gives 2280s
inner plus 300s host margin, or 2580s per lane. Run 36506210440
measured an 856s restart update; 4-CPU Crabbox measured 993s, so
set a lane-only 1500s command timeout and retain the global 900s default.

The OpenAI/recovery row's five weight-3 npm lanes serialize at limit 5:
30 + 30 + 20 + 25 + 43 = 148m, plus 10m setup => 160m rounded.
The chat lane overlaps. CI Docker seed excludes restart-auth and keeps
its 60m job budget. No product code or scheduler concurrency changes.

Validation: all 185 tests in the three focused files passed (71.13s wall,
one worker). Bash syntax, oxfmt, oxlint, and git diff --check passed.
Independent Codex autoreview found no actionable P0/P1 findings.
2026-09-28 20:03:19 -07:00
Peter Steinberger
ac59199ad3 fix(e2e): stage candidate providers for legacy-operator survivor lanes
Legacy published baselines (2026.7.35, 2026.6.34) author plugins.allow from
their bundled provider inventory. The candidate's doctor restores those
now-external providers at the exact candidate version, which does not exist
on npm or ClawHub before publication, so the prepublish registry must carry
them. Stage every official provider from the selected candidate's external
provider catalog for legacy-operator-state lanes, loaded once per plan.
2026-09-28 15:37:59 -07:00
Peter Steinberger
f0280ee9c3 fix(e2e): size first-hop budgets from measured update times
Allow 1800s per first-hop container and 2100s per lane using measured
published/candidate hop durations with a slow-host margin. Give the
six-source release self-upgrade job 80 minutes for two resource-limited
waves and setup. Preserve phase timing and concise update-step evidence.

Keep updater behavior, live authority checks, source coverage, and runner
concurrency unchanged. OverlayFS runtime-copy and journal-read overhead
remain a separate product performance follow-up.

Validation: 211 focused tests passed locally with one worker (55.36s wall);
inner/outer budget assertions failed against the prior harness. Bash syntax,
formatting, lint, timing formatter smoke, and diff checks passed. Independent
Codex review found no actionable P0-P2 findings.
2026-09-28 13:22:12 -07:00
Peter Steinberger
6652f7eac8
refactor: remove Tasks and TaskFlow runtime (#159179)
Remove Tasks and TaskFlow runtime, APIs, CLI, SDK surfaces and panels after the Cron, session, native execution and media completion ownership cutovers. Preserve stored rows and import provable legacy native assignments through Doctor; ambiguous ownership stays untouched with a warning.

Follows #158221, #158217, #158225, #158222, #158702 and #158776. Related: #156532. Task-specific public APIs retire immediately; retained responsibilities use their existing owners.

Maintainer-authorized administrative landing after full CI run 36312986498 attempt 2 passed on 274595e2, with subsequent actual conflicts reviewed and focused checks passing. Current PR CI preflight hits the 64 KiB changed-path metadata limit before tests (run 36335042695); its duplicate security-review status mirrors that planning failure. Review and scoped proof are recorded in the PR. Published 9.4 native import is proven; remaining native completion and 9.4 rollback witnesses are explicitly unproven.
2026-09-27 10:40:29 -07:00
Peter Steinberger
2bdf8709fc
test(core): remove low-value tests (batch d009) (#158725)
* test(codex): deslop s003 tests

* test(gateway): deslop s010 tests

* test(agents): deslop s013 tests

* test(commands): deslop s011 tests

* test(gateway): deslop s014 tests

* test(gateway): deslop s019 tests

* test(infra): deslop s016 tests

* test(agents): deslop s020 tests

* test(scripts): deslop s017 tests

* test(auto-reply): deslop s021 tests

* test: align d009 replay with current fixture contracts

* test(agents): remove orphaned BTW fixture export

* test: preserve independent regression coverage in d009

Restore eight independent authentication, retry, transcript, goal, reply ownership, and Xcode coverage contracts identified during review. Final correction review passed; final Testbox validation remains pending after lease and transport failures.
2026-09-26 11:08:36 +00:00
Peter Steinberger
2a1402cd3e
fix(startup): keep legacy state repair in Doctor (#151025)
* fix(startup): keep legacy state repair in doctor

Separate current-state startup readiness from explicit Doctor migrations.
Preserve current config recovery, quarantine, device identity checks,
lease fencing and updater completion ownership.

Remove automatic startup migration/checkpoint and node-host import paths.
Keep shipped read-only context and roster projections unchanged.

* test(doctor): align proof callers with repair ownership

Keep survivor fixture setup in caller order and select the shared Doctor
flow separately from the channel-specific proof. Include the complete
isolated diagnostics dependency closure.

Prove ordinary startup preserves legacy directories before explicit
Doctor repair, and await SQLite worker closure before test cleanup.

* test(startup): verify index repair through gateway maintenance

* test(doctor): align cutover fixtures with state owners

Reacquire the database after Doctor retires its generation, retain real session history for startup refusal, and keep pending reads at their actual owners. Distinguish the reused readonly reader from independent snapshot-token children and verify every child settles.

* fix(doctor): preserve image activation and published migration receipts

Run the shared noninteractive Doctor owner before default and Compose Gateway
activation so retained Docker volumes keep their published upgrade path while
ordinary Gateway startup stays readiness-only. Preserve root selectors and
settle interrupted repair before executing the original command.

Retain the path-wide tombstones emitted by the published restart-sentinel
importer, including consumed notices, and validate completed source decisions
before retiring recreated inputs. Add the root-image activation lane and causal
receipt coverage without introducing a schema, option, or second importer.

* test(docker): preserve release state pairs in upgrade proof

Use the existing synthetic v2026.9.2 corpus instead of combining a July shared database with a later agent schema. Preserve its deletion journal, registry, both transcript payloads, paired backups, and unsafe-state controls. Register the two shell-launched helpers with Knip.

* test(docker): normalize persisted schema snapshot rows

Compare node:sqlite schema rows using the same plain-object representation as the saved JSON preimage. Keep strict schema, row, and value-type assertions intact.

* fix(models): retain discovered models after refresh failures

Record successful legacy catalog results at the producer boundary so unavailable refreshes retain the accepted inventory. Preserve explicit outcomes, advisory SDK fallback behavior, and first-discovery starter policy.

* fix(models): preserve skipped catalog outcome semantics

Mark bundled static, configured, and advisory catalog projections with
explicit empty outcomes so legacy success inference cannot promote them
to observed account inventory. Preserve live outcomes and helper types.

Keep exact auth provenance histories and move existing fixture/policy
code into focused owners where required by the line-cap ratchet.

Validation: 447 producer and sibling cases, 56 shared self-hosted cases,
95 auth/policy cases, causal missing-outcome failures, maintained checks,
and independent review.

* test(plugin-sdk): keep discovery loader types acyclic

Move the shared loader type into a leaf consumed by both discovery
contract helpers. Preserve its public provider-test-contracts export
without a child-to-parent type import cycle.

Validation: maintained Madge check reports zero cycles; core, all core
test graphs, extension test types, lint, formatting and independent
review pass. Runtime behavior and previous catalog proof are unchanged.

* fix(plugin-sdk): mark generated static catalogs explicitly

Keep the generated non-live, non-strict catalog adapter from claiming
successful acquisition for manifest or configured rows. Preserve null,
errors, strict and custom callbacks, static catalogs, and public types.

Validation: three existing controls fail before the correction; all49
owner and sibling cases pass afterward, with types, lint, line caps and
fresh independent review clean.

* test(gateway): cover restart import during state retirement

Exercise canonical database close while a legacy notice read is paused. Verify admission rejection, retained canonical and source bytes, no migration receipt, and joined maintenance custody without changing the accepted sidecar-stop drain contract.

* fix(test): drain sharing fixtures before removing state

* test: bind retirement regression to its own worker

* docs(docker): clarify automatic Doctor activation

* test(doctor): keep readiness fixture runtime private

* test: stabilize shared skill watcher fixture roots

(cherry picked from commit 15606be10ed61be99931fcf3bb300ebdb475ad89)

* perf(tooling): share indexed scope parsing for artifact scans

(cherry picked from commit 6e6eef9f5b556e0005b16363169e6a85cd310ad0)

* fix(team-reports): use source owners in scheduler tests

The source barrel retired in #157819, but the scheduler tests still imported
it, breaking the extension test typecheck on main. Import the Discord and
GitHub owners directly, matching the production caller.

Validated the original TS2307/TS7006 failure, the corrected extension type
graph, all 36 scheduler tests, changed checks, and independent P2 review.

(cherry picked from commit 7c4866c73b)

* test(install): isolate global npm configuration in version fixtures

Use a controlled absent global config inside the fixture home so the
release helper does not query the deliberately narrow npm stub. Keep
predecessor selection, fresh-install behavior, and expected exits intact.

(cherry picked from commit 0a9eefc76c82d81bd134add3ac3d269ae1b607bd)

* test(docker): verify the complete image activation entrypoint
2026-09-25 13:43:40 -07:00
Peter Steinberger
fc2a110841
fix(memory): preserve historical dreaming jobs until Doctor repair (#157616)
* fix(memory): keep legacy dreaming cron repair in Doctor

Runtime reconciliation preserves historical and ambiguous dreaming rows and
manages only canonical declarations. The memory plugin classifies historical
jobs, while the cron store owns non-creating inventory, verified backup,
current-authority checks and atomic partition-local repair.

Preserve survivor IDs, ordering and runtime state; retain custom prompts and
foreign declarations. Remove the old core payload migration and runtime
adoption path. Published 2026.9.6 updater-child repair, exact backup retention
and repeated Doctor idempotence passed, with the landed plugin-inventory
handoff repair included in the proof candidate.

* docs(plugins): clarify trusted Doctor cron repair authority

* test: validate dreaming cron through public plugin boundaries

* fix(memory): keep authored tags from blocking dreaming

Warn about authored cron jobs that retain historical dreaming tags without
blocking creation or updates of the canonical dreaming declaration. Keep
Doctor responsible for recognized legacy and phase rows.

Extend the registered SQLite regression and published-updater scenario to
retain an independent authored tagged job through Doctor and real Gateway
convergence, then verify a settled plugin reload and preserved history.
2026-09-25 01:35:42 -07:00
RoboClaw
969c39aa17
fix: keep failed update report uploads in the CLI (#156633)
* fix: keep failed update report uploads in the CLI

OpenClaw-Publication: fa59f7dd-6cf2-4ca9-937e-04f34e1604d4
Co-authored-by: eleqtrizit <31522568+eleqtrizit@users.noreply.github.com>

* fix: preserve browser reporting and safe report status checks

Keep failed update reports in the existing action menu with an explicit browser
handoff after known unsent failures. Preserve publication uncertainty after a
lost transport response, and keep status reconciliation from starting a new
submission when the receipt is unavailable.

Co-authored-by: eleqtrizit <31522568+eleqtrizit@users.noreply.github.com>

* test: finish pending report reconnect menu flow

Choose report once and explicitly exit the retained pending menu before checking
Gateway reconnect and durable receipt behavior. Assert the status action so the
fixture follows the supported flow instead of looping until the worker OOMs.

* fix(update): align report receipt handling with main

Adopt the prepared-receipt projection and terminal-receipt cleanup from
canonical refactor efa6369 while preserving explicit browser publication,
status-only reconciliation, and post-admission transport uncertainty.
Keep that logic in the existing report owner and remove the unnecessary
unshipped result module.

Replace two expiry fixtures' one-second polling waits with the existing
validation-start signal. Retain the ownership and artifact assertions,
and join each paused submission before restoring its clock in finally.
The original polling failures remain recorded separately from later proof.

Co-authored-by: eleqtrizit <31522568+eleqtrizit@users.noreply.github.com>

* test(agents): await maintenance lifecycle events

Carry canonical fixture fixes from 0589c8360b, 3b1f037214 and
ba068dc06c after CI 36034827210 reached their old startup polls and
wall-clock disposal assertion.

The local follow-through exposed the compaction fixture's remaining
five-second startup wait. Race actual entry against owner settlement under
the existing test abort signal, preserving disposal order, resource
retention, write-authority and physical cleanup assertions.

All 28 affected cases pass across the final compact file and unchanged
ownership/harness files. Selected checks and independent P2 review pass.
Update-report production behavior and dependency inputs are unchanged.

Co-authored-by: IWhatsskill <284122573+IWhatsskill@users.noreply.github.com>
Co-authored-by: Ayaan Zaidi <hi@obviy.us>

* test(update): exercise report recovery after published replacement

Run the published 9.6 updater first, then exercise the candidate CLI report
retry and uncertain-status paths through the maintained survivor PTY owner.
Preserve the real npm failure, receipts, installed package and operator state.

* test(update): size the report recovery PTY before interaction

Configure and verify the actual terminal dimensions instead of relying on
COLUMNS and LINES, which do not size util-linux script with piped input.
Keep the real CLI, report assertions and maintained timeout unchanged.

* test(update): register the report recovery harness entry

Model the existing shell-invoked CLI alongside the other survivor commands
so the hard-zero unused-file scan follows its real executable entry point.

* test(update): preserve concurrent survivor entry registration

Move the unchanged report recovery entry beside worker-cell-package so the
three-way merge preserves main’s independent admission-probe registration.
The executable entry set and scan policy remain unchanged.

* test(agents): retain main’s ownership startup settlement race

Carry the exact canonical fixture postimage from67fd7e910b89 so startup
settlement remains joined and the current-main content conflict is resolved.
Preserve every ownership assertion and cleanup operation.

Co-authored-by: stevenlee-oai <stevenlee@openai.com>

* test(update): assert released update ledger step keys

Match the persisted update status contract rather than executor stage IDs.
Keep both ENOENT checks, report counts, retention assertions and deadlines.

* test(agents): retain abortable foreign maintenance wait

Carry the canonical main fixture refinement from 0bbad56fa8. Keep the startup-versus-settlement race and all lifecycle assertions while allowing Vitest cancellation to reach owned cleanup.

Co-authored-by: galiniliev <5711535+galiniliev@users.noreply.github.com>

---------

Co-authored-by: eleqtrizit <31522568+eleqtrizit@users.noreply.github.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: IWhatsskill <284122573+IWhatsskill@users.noreply.github.com>
Co-authored-by: Ayaan Zaidi <hi@obviy.us>
Co-authored-by: stevenlee-oai <stevenlee@openai.com>
Co-authored-by: galiniliev <5711535+galiniliev@users.noreply.github.com>
2026-09-25 01:49:40 +00:00
Peter Steinberger
f77ceef318
refactor: retire pre-June imports and config migrations (#157165)
* refactor: retire pre-June imports and config migrations

* test: use public plugin temp helpers

* refactor: remove orphaned migration exports

* test: keep snapshot coverage on supported Doctor keys

* test: retire pre-June Teams import verification

* test: remove unused auth migration imports

* test(telegram): isolate sticker fixture provider activation
2026-09-24 13:01:48 +00:00
Peter Steinberger
01b253c681
refactor: retire pre-June config and upgrade test support (#156859)
* refactor: retire pre-June config and upgrade test support

Retire obsolete Doctor keys and their runtime fallbacks. Older configurations use the documented 2026.9.5 Doctor bridge; current upgrade verification starts at June 2026 while historical receipts remain readable.

* fix: preserve retired config when the upgrade bridge is skipped

* test: align upgrade fixtures with retained migration contracts
2026-09-23 19:26:23 -07:00
Peter Steinberger
c93c3e0b55
fix(ci): preserve first failures through release validation
Live, Docker, channel and release wrappers could repeat failed validation
or downgrade failed jobs automatically. Run each test invocation once,
remove known-flake redispatch, and require an explicit recorded waiver
when the release policy permits one.

Wait for the original plugin publisher to settle before reporting failure.
Keep bounded artifact-download recovery before tests. Read published
v2026.9.6 empty retry metadata without restoring executable allowances or
automatic waivers, preserving the sealed plan digest. Use the existing
fresh-read owner for release-priority cleanup.

Testbox owner/sibling proof and three CI-config replays passed. The two
freshness regressions passed 20 repetitions. Published evidence retained
its original digest; nonempty retry metadata remained rejected. The stale
Testbox assertion now matches its already-landed four-hour lease; this
change raises no runtime, test, hook or watchdog budget.
2026-09-23 18:27:19 -07:00
Peter Steinberger
9b6248e9b5
feat(release): run the first-hop compat hops as parallel Docker lanes (#156717)
The update-first-hop-compat selection now expands at plan time into one
Docker lane per release recorded in scripts/lib/update-compat-inventory.json
(update-first-hop-compat-<version>), for both the Docker E2E pool and the
targeted GitHub matrix. Each lane runs the existing script with
OPENCLAW_UPDATE_FIRST_HOP_SOURCE_VERSIONS=<version>, writes its own
artifact directory, and carries a 25-minute budget at weight 1, so the
hops run concurrently instead of ~55 minutes serially.
2026-09-23 15:50:38 -07:00
Peter Steinberger
1d55e74cc6
fix(release): give the first-hop compat Docker lane a five-hop budget (#156336)
* fix(release): give the first-hop compat Docker lane a five-hop budget

* fix(ci): record the hosted gateway-server-isolated cohort cost
2026-09-23 02:43:13 -07:00
Peter Steinberger
3e4ab6bed8
refactor: retire pre-June import and verification compatibility (#156285)
* refactor: retire pre-June import and verification compatibility

Remove pre-June task, flow, and plugin-state sidecar imports, obsolete
runtime chunks, package/installer validation exceptions, the old MCP
attachment fallback, and the April self-upgrade lane with its orphan helpers.

Leave retired data files untouched and document migration through 2026.6.1.
Preserve June-and-later contracts and September delivery recovery receipts.

Refs #156190

* docs: route legacy upgrades through 2026.9.5

* test: await Telegram fixture lifecycle events

Replace the setup stopwatch with the actual stop event or terminal run outcome. Keep cancellation assertions and outer execution bounds, and prove early terminal outcomes fail promptly.
2026-09-23 02:22:22 -07:00
Peter Steinberger
151d031fe4
fix(release): give the first-hop compat lane a four-hop budget (#151285)
* fix(release): give the first-hop compat lane a four-hop budget

The packaged-updater first-hop lane now proves four serial hops
(2026.9.1 through 2026.9.4). On hosted runners each hop takes about six
minutes, so the 25-minute lane budget killed the fourth hop with SIGTERM
after the first three passed (release 2026.9.5 validation run
35287969616). Size the budget like the other multi-hop update lanes.

* test(release): align first-hop lane budget expectation
2026-09-17 18:24:32 -07:00
Peter Steinberger
48447a63c6
fix(update): restore Gateway and clear stale warnings after repair (#151003)
Complete update repair recovery after successful acknowledgement or failed finalization. Keep Gateway maintenance custody in the update parent, fence expired mutation work, and restore and verify the owned service before preserving the original failure exit. Doctor children do not activate their parent's Gateway. Clear acknowledged recovery warnings and actions in CLI and Control UI reports while retaining historical failure records.

Reuse the existing Doctor maintenance, activation deadline, and update ledger owners. Preserve recovery guidance for ordinary maintenance refusals and legacy failed-history handling without adding configuration, CLI options, database schema changes, or dependencies.

Related: #150950 #151132. Also related: #150942. Reported by @shadesurgeon.

Validation: exact-head CI run 35284407181 passed with zero pending checks; committed-branch review is scoped-clean. Existing proof includes 430 selected tests, 177 survivor tooling tests, changed-file and import-cycle checks, and the published 2026.9.4-driver Linux qualification. The injected 15000 ms plugin deadline refused a late config write, restored the Gateway, released custody, and retained exit code 1. That qualification uses a systemd fixture with real Gateway processes. Synthetic before/after screenshots show cleared recovery prompts with historical failures preserved.
2026-09-17 16:36:11 -07:00
Peter Steinberger
a3017f76b5
improve(upgrade): cover project workspace startup migration (#150077)
* test(upgrade): cover project workspace startup migration

* fix(upgrade): keep survivor catalogs dependency-free

* test(upgrade): copy current catalog into frozen target fixtures

* test(upgrade): recognize formatted shutdown results
2026-09-16 09:36:42 -07:00
Peter Steinberger
ec66133ba0
chore: cover worker state in published upgrade tests (#149487)
* test: add worker state upgrade survivor cells

Add opt-in Projects Doctor and terminal task/flow restoration cells using the unchanged published updater, verified package bytes, and the canonical survivor lifecycle. Preserve failed synthetic state until the outer Docker owner has joined.

Validation: 161 focused tests, selected changed checks, and P2 review. Actual package upgrade cells remain separately qualified against frozen candidate artifacts.

* test: activate taskflow survivor fixture on Gateway startup

* test: clean worker runtime with container ownership

* fix(test): preserve Docker status through exit traps
2026-09-15 21:51:41 -07:00
Peter Steinberger
73ace5dcef
fix(state): keep legacy catalog repair in Doctor (#148834)
* perf(state): preserve prepared queries during healthy reads

Inspect the legacy Workshop index without toggling SQLite catalog flags on healthy handles. Retain the existing bounded repair admission when malformed schema blocks ordinary reads. A native-authorizer regression covers prepared-query reuse.

* fix(state): keep legacy catalog repair in Doctor

* refactor(state): use native repair connection options

* test(doctor): verify maintenance-only catalog admission

* fix(doctor): admit update ledger reads before service stop

Use Doctor's bounded read admission for pre-stop ledger inspection and
its live rechecks on fresh private snapshots. Reset SQLite's schema cache
when ending admission so unknown malformed indexes remain refused.

Keep legacy catalog repair in Doctor and preserve updater ownership,
future-version refusal, and the existing continuation writer fence.

* fix(e2e): register Workshop recovery assertions

Allow the existing Workshop Doctor recovery scenario through shared successful-update validation so it can reach the fresh candidate repair stage. Extend the real assertion CLI regression while preserving failed-step checks.

* fix(e2e): recognize the Workshop frozen catalog

* fix(doctor): repair legacy catalogs before migration reads

Keep the prepared Doctor repair inside the migration transaction, ahead of publication-ledger reads. This lets standalone Doctor repair handle the v16 Workshop catalog while regular Gateway reads continue to refuse it.
2026-09-15 19:48:58 -07:00
Peter Steinberger
dac3cb6d47
fix(doctor): defer missing-plugin migrations with a warning instead of blocking (#147711)
* fix(doctor): defer unavailable plugin migrations with a warning

* test(update): pin missing-plugin fixture proxy upstreams

* fix(doctor): preserve pending obligations across repair paths

* fix(codex): preserve deletions during deferred migrations

* test(update): verify expected missing-plugin warnings

* fix(doctor): report pending migrations and honor activation policy

* fix(doctor): finish deferred config repairs after migration

* fix(doctor): settle retained session sources before completing migrations

* fix(doctor): preserve newer pending migration obligations

* refactor(doctor): keep repair planning in the legacy config owner

* fix(config): fence writes against new plugin migration obligations

* fix(doctor): preserve deferred inputs through archive publication

* chore(doctor): refresh PR head after push lag

* fix(doctor): avoid migrating state for unrelated config writes

Keep empty pending-plugin publication under the existing state writer coordinator without opening a writable database. Read current state outside discovery snapshots and retain immediate transactions for pending obligations and active writers.

Repair the rollback integration regression in #147711 while preserving the historical version-7 fixture, metadata validation, and competing-writer exclusion. The rollback and migration/config/session suites pass 77 tests; the full candidate P1 review is scoped-clean.

* chore(doctor): refresh CI after prerequisite repair

* style(config): avoid shadowing snapshot scope bindings

* chore(ci): refresh doctor migration checks

* chore(ci): refresh doctor checks after registry repair

* test(plugins): count batched installed-index reads

* fix(doctor): preserve closed ACP metadata during migration retries

* chore(ci): refresh doctor checks after routing fixes

* fix(acp): record source provenance before canonical supersession

* test(acp): keep legacy migration coverage with ACP runtime

* test(state): preserve historical schema fixtures after ACP addition
2026-09-14 23:20:56 -07:00
Peter Steinberger
e572c0cc40
fix(runtime): support Bun across tooling suite (#146807)
* fix(runtime): support Bun across tooling suite

* fix(security): guard Anthropic probe upstream requests

* fix(runtime): preserve native TypeScript script loading
2026-09-13 03:33:13 -07:00
Peter Steinberger
055250e760
chore: cover custom-plugin sibling imports in full release validation (#146636)
* test: cover custom-plugin sibling imports in release validation

* fix: complete sibling scenario release harness integration
2026-09-12 19:11:00 -07:00
Peter Steinberger
369f63b633
improve(msteams): reduce repeated reads during poll cleanup (#146575)
* improve(msteams): reduce repeated reads during poll cleanup

* test(upgrade): preserve balanced recovery scenario blocks

---------

Co-authored-by: Peter Steinberger <58493+steipete@users.noreply.github.com>
2026-09-12 17:33:46 -07:00
Vincent Koc
3c4981a51e
fix(ci): validate frozen targets without executing candidate code (#144023)
* fix(ci): run frozen bundle clients from their shipped layout

Resolve only the selected bundle contract with local committed-object reads and trusted syntax parsing. Preserve each legacy client's manifest, helper, import depth and bytes before Docker staging, and reject unknown or unreadable contracts.

* fix(ci): preserve frozen source read failures

Distinguish committed absence from missing, corrupt, or wrong-kind Git objects before selecting frozen compatibility. Share bounded local-only source reads across the shell and bundle resolver, and preserve errors through conditional callers before gateway Docker work. This is the source-read stage only; aggregate frozen admission remains separate.

* fix(ci): isolate frozen consumer contracts

* fix(ci): add inert frozen target admission

* fix(ci): validate Docker lane alias contracts
2026-09-10 22:51:05 +08:00
LightningWare LLC
faaf4b0fbd
fix(anthropic): preserve cache reuse across transient runtime context (#140621)
Anthropic tool loops could repeatedly write growing conversation history to the
prompt cache because a moving runtime-context carrier owned the checkpoint.
Use the existing replay lifecycle contract to exclude transient carriers from
both request builders while preserving retained anchors. Also omit empty beta
headers that caused direct API requests with thinking disabled to fail.

Add deterministic regression coverage and a packaged Docker test that verifies
real cache reads and incremental writes across two tool continuations and a new
user turn in both builders. Require that lane in stable/full release validation,
with explicit API-key preflight, no request retries, and a declared runtime entry
for dependency analysis.

Validation includes focused package/model/session and workflow tests, build and
package integrity checks, static checks, independent review, mock Docker, and
eight successful live Anthropic Docker requests. Hosted CI run 34379052492 passed
on the final PR head at attempt 2, after one unchanged browser-animation rerun.

Closes #140607

Thanks to @LightningWareLLC for reporting the regression and contributing the
lifecycle-aware cache repair.

Co-authored-by: LightningWareLLC <271410939+LightningWareLLC@users.noreply.github.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-09-09 10:35:56 -07:00
Jason O'Neal
352b372c0c
fix(update): restart Git installs upgrading from 2026.9.1 (#142631)
* fix(update): preserve 2026.9.1 Git restart bridge

* test(update): cover legacy restart bridge

* ci: retry timed-out CLI process shard
2026-09-09 06:56:18 -07:00
Dallin Romney
dcd33aa776
fix(release): omit unsupported corrupt-plugin update proof (#142061) 2026-09-08 03:03:12 -07:00
Peter Steinberger
009f929485
fix(release): bind source admission and retain first-hop coverage (#141746)
* fix(release): bind smoke and ancestry checks to selected sources

* fix(release): use the trusted owner for selected source checkout

* fix(ci): recognize frozen first-hop output declarations

Recognize reviewed literal and mapped postbuild output contracts without executing target code. Preserve required first-hop coverage for the frozen release while keeping unsupported-target and zero-run execution failures intact.
2026-09-07 19:28:55 -07:00
Peter Steinberger
7f9bf1d79a
fix(update): recover stale runs without stopping healthy gateways (#141562)
* fix(update): recover stale runs without stopping healthy gateways

Reconcile dead recorded drivers conservatively and make legacy recovery explicit through repair or new update admission. Retain driver, heartbeat, and post-core evidence across bounded ledger writes.

Related: #141273, #139284.

* fix(update): preserve preflight admission and fixture boundaries

Keep history diagnostics behind ownership admission and out of proven-pristine startup. Register the survivor catalog and tool entrypoint, and isolate repair option fixtures from retained update runs.

* fix(update): keep driver diagnostics best effort and inspect newer repairs

Continue adoption without an inspectable identity and keep heartbeat failures from aborting commands. Preserve unknown-adopter evidence and inspect newer abandoned post-core history before ledger-only repair.
2026-09-07 16:04:25 -07:00
Vincent Koc
07fe26ecf8
fix(release): consolidate frozen target harness contracts (#136761)
* fix(release): consolidate frozen target harness contracts

Keep current targets strict, source-qualify the frozen plugin fixture dialect, and omit only the mobile reconnect lane when the selected Gateway lacks its required iPhone watch-relay capability.

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>

Co-authored-by: Dallin Romney <dallinromney@gmail.com>

* fix(release): make frozen capability probes pipefail safe

* fix(release): restore frozen core harness dialects

* fix(release): default frozen code-mode catalog mode

* fix(release): bind frozen identity for docker chunks

* fix(release): derive frozen live package mode

* fix(release): materialize frozen bundle MCP client

* fix(release): use frozen typed onboarding contract

* fix(release): make frozen client mount traversable

* fix(release): preserve frozen client module scope

* fix(release): select frozen runtime-context input contract

* fix(release): qualify frozen MCP permission ownership

* fix(release): retain failed Docker harness diagnostics

* test(release): preserve harness cleanup assertion

* Revert "fix(release): qualify frozen MCP permission ownership"

This reverts commit 10028a08371a6c6ccb17ac76742bb0de00c7a957.

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2026-09-07 13:21:01 -07:00
Peter Steinberger
a6de2a2192
fix(update): restore missing official plugins at the selected release (#141478)
* fix(update): restore untracked official plugins from the core release cohort

Keep update admission and Doctor repair on the selected stable core version when formerly bundled official plugins have no install record. Preserve existing selectors and capability policy. Add DuckDuckGo published-upgrade and standalone Doctor coverage for bundled and already-missing states.

Related: #135002, #116740

* test(update): recognize missing optional plugin warnings

* test(update): isolate plugin repair proof and satisfy helper lint

* test(update): preserve beta tag selection in doctor fixture

* chore(ci): register plugin doctor survivor entrypoint
2026-09-07 13:08:35 -07:00
Peter Steinberger
c24b3f2e1a
fix: catch published upgrade regressions before merging (#141146)
* ci: gate published upgrades with legacy operator state

Add a latest-release PR/main tripwire and runtime-resolved weekly and release baselines. Exercise baseline-authored agents, approvals, cron owners, a plugin, and mock agent turns; preserve the narrow unfenced-updater refusal contract.

Related: #140778, #140784, #140886, #140825.

* test: verify native published upgrade lifecycle

Persist JSON-era CLI approval IDs, retain a moving plugin selector, and exercise the baseline updater-owned restart. Query cron owners before repair, reject malformed canonical approvals, and require clean Doctor evidence.

* test: keep survivor installs in disposable runtime state

Retain verification logs and hashes while letting the container own the legacy scenario npm prefix. Other survivor scenarios keep their existing artifact layout.

* test: preserve immutable sorting in CI docs guard

* fix: preserve historical release upgrade qualification

* test: handle absent release scenario output in assertions

* ci: preserve survivor coverage within existing limits

Keep all native operator and schema cases in their existing owner suites. Register the shell observer entry and current inert scenario catalog, and update fixture, request, and routing contracts without changing runner caps or assertions.

* ci: pair expanded upgrade baselines with native operator state

* test: classify upgrade baseline provenance as internal

* ci: preserve docs-only main push exclusions

* test: require successful upgrades from every supported baseline

Remove the temporary 2026.9.2 schema-refusal pass after #141109. Observe applied shared-state content while publication is deferred, retaining candidate, state-preservation, restart, and validated plugin-consent recovery checks.

* test: require legacy agent migration before upgrade probes

Snapshot the seeded roster and legacy session specimens independently of existing SQLite files. Require migrated agent stores, imported history, and preserved recovery artifacts before candidate probes can initialize state.

* test: scope upgrade specimens to session migration storage

Ignore native model catalogs and unrelated per-agent artifacts while preserving strict classification inside the legacy sessions directory and the existing SQLite runtime inventory.
2026-09-07 09:44:31 -07:00
Alix-007
a03f4db199
fix(fleet): keep numeric-user caches on tenant state (#137211)
Route Fleet-generated caches to writable tenant state and preserve explicit environment provenance through create, upgrade and restore. Retain normal container isolation and validate the packaged CLI through rootful Docker and rootless Podman lifecycle flows.

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
2026-09-06 21:11:29 +05:30