Local development had no provisioner, so every wish stopped at "sandbox not
ready", and dev:all started neither the coordinator nor the deployer.
- The provisioner moves from apps/ide to apps/provisioner and gains a backend
switch: `local` starts an executor and a verifier process per run generation
on this host (WF_SANDBOX_MODE=host, own directories and run-scoped tokens,
development mode only) and points workspaces at the local Theia; `kubernetes`
keeps the Kata Jobs, now started with the image entrypoint instead of the npm dev
script and allowed to reach the platform Git service.
- In development the resource grant needs no runtime image digest.
- setup:local is one idempotent script that creates or completes .env.local,
including the deployment mode, provisioner and grant settings.
- dev:all starts Git, API, provisioner, coordinator, deployer and web; dev:ide
starts Theia and the IDE gateway; ide:install and ide:build wrap the separate
Theia package. npm test also runs the provisioner tests.
- Project settings accept the target branch and dependency install commands.
- Web development conveniences require WF_DEPLOYMENT_MODE=development.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The IDE carried a second, Theia-internal coordination system: multi-
client save barriers, a hash-chained snapshot store, IndexedDB draft
recovery, transferable debugger-control leases that intercepted
Theia's plugin RPC, Ed25519 actor assertions from the gateway, and an
API gate that blocked every agent integration while any IDE workspace
was open until a human imported a coordinated snapshot. It depended on
Theia internals, made F5 debugging require five environment variables
plus a gateway-signed header, and stalled agent runs. IDE and agents
now hand off through Git commits (docs/architecture.md ADR-7).
- Delete apps/ide/coordination, apps/ide/security, the policy
extension's coordination/draft/DAP-guard/lifecycle-safety modules and
the unused product.json; the policy extension keeps only the managed
extension allow-list and scoped collaboration.
- API: workspace snapshot import/match/check routes are gone. The
project integration lease (one integrating run per project, fenced)
moves to domain/integration-lease.ts and is still enforced on
integrate/build transitions and build evidence.
- Workspace lifecycle: pause/resume no longer requires a save barrier;
automatic sleep needs 30 idle minutes and zero gateway connections,
which the gateway now reports itself. The lifecycle/integration
authorize relays and the gateway's assertion signing are removed;
gateway edit roles match the contract roles.
- Worker: no snapshot matching, workspace-input gate or local lock
file during integration; runtime workspace-snapshot is removed.
- Web: the snapshot import panel is removed from run detail.
- Provisioner workspaces no longer mount coordination state or the
gateway public key; local setup no longer generates gateway keys.
The local Theia build under apps/ide/lib must be rebuilt to pick up the
slimmer policy extension.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Imports the previously untracked working tree as-is so that the review
changes that follow (requirements -> design -> implementation) can be
reviewed as diffs and reverted if needed. No content changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>