Skip to content

Fix managed provider launches, recovery, and rewind checkpoints - #849

Merged
danshapiro merged 495 commits into
mainfrom
the-usual/managed-provider-environment
Oct 17, 2026
Merged

danshapiro merged 495 commits into
mainfrom
the-usual/managed-provider-environment

Conversation

@danshapiro

Copy link
Copy Markdown
Owner

What changed

Managed provider launches now build their runtime inputs from bounded, selected configuration and resource data. The provider setup preserves required executable permissions, reports copy failures with the responsible path and limit, and supports read-only operator-home files while masking private credential directories.

The branch also makes fresh-agent recovery and failure outcomes durable, carries stable session identity through recovery and code-rewind checkpoints, and tightens the checkpoint scope and ownership checks across REST, MCP, WebSocket, and browser paths.

Validation

  • cargo fmt --all -- --check
  • cargo clippy --workspace
  • cargo test --workspace --exclude freshell-tauri --locked
  • pnpm run typecheck
  • Focused Vitest: 54 tests passed across runtime-broker, operator-home, external-target, and architecture suites.
  • Live managed-provider acceptance passed 3/3 and code-checkpoint acceptance passed 5/5 on feature tip a3b93606; these ran before merging the latest origin/main changes.

The local-only runtime-opencode-home-file-reference-rust.spec.ts was attempted on the merged tip. Its test broker rejected the provider-volume metadata lookup before creating a container because the generic browser rig has no initial-provider-volume authorization handoff. The failure is recorded in .runtime-evidence/3d2a36699c325f32dce63626d788376c3ef8fda2/231c600c-59e9-4f41-ad6b-08cef1e27e32/broker.jsonl; the assertion now includes the returned API error to make that setup problem diagnosable.

…vider-environment

# Conflicts:
#	crates/freshell-runtime-protocol/src/lib.rs
#	crates/freshell-supervisor/src/backend.rs
#	crates/freshell-supervisor/src/backend/docker.rs
#	scripts/testing/runtime-test-broker.ts
#	test/e2e-browser/helpers/managed-runtime.ts
#	test/unit/architecture/fresh-agent-only-runtime.test.ts
@danshapiro
danshapiro merged commit dc666e7 into main Oct 17, 2026
7 checks passed
@danshapiro
danshapiro deleted the the-usual/managed-provider-environment branch October 17, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant