Skip to content

Commit 358efb8

Browse files
author
Michael Eichelbeck
committed
feat(v2): complete cloud target acceptance
1 parent 7aa0534 commit 358efb8

24 files changed

Lines changed: 5767 additions & 133 deletions

File tree

AGENTS.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ Destructive commands (need permission): `zeroshot kill`, `zeroshot clear`, `zero
101101
| Graph verifier analysis | `crates/openengine-cluster-server/src/graph_verifier/` |
102102
| Native product construction | `zeroshot-rust/` |
103103
| Native v2 cloud controller/OECP backend | `zeroshot-rust/src/native_v2_cloud.rs`, `native_v2_cloud/` |
104+
| Native v2 target authority/routes | `zeroshot-rust/src/native_v2_target_authority.rs`, `native_v2_target_authority/` |
105+
| Native v2 production hosting composition | `zeroshot-rust/src/native_v2_hosting.rs`, `native_v2_hosting/` |
104106
| Native v2 private capsule runner | `zeroshot-rust/src/native_v2_capsule.rs`, `native_v2_capsule/` |
105107
| Native v2 capsule composition root | `zeroshot-rust/src/native_v2_candidate.rs`, `native_v2_candidate/` |
106108
| Native v2 CLI and OECP adapter | `zeroshot-rust/src/native_v2_cli.rs`, `native_v2_cli/` |
@@ -225,16 +227,18 @@ must not be reintroduced.
225227

226228
The shipped CLI uses one local named-target registry and delegates discovery, login, atomic
227229
repository/runtime setup, and authenticated target-scoped `run/*` OECP session creation to
228-
`TargetControlAuthority`. Current hosted discovery has no such target-wide native-v2 authority;
229-
`UndefinedTargetControlAuthority` therefore fails closed instead of guessing a route or falling
230-
back. The first production authority must implement that port without moving provider or harness
231-
interpretation into hosting.
230+
`TargetControlAuthority`. It reuses hosted OAuth device/session discovery, stores only the refresh
231+
family in the OS credential store, and uses the native-v2 target discovery for atomic setup and a
232+
target-wide controller WebSocket. Access/OECP tokens remain memory-only; provider and harness
233+
interpretation never moves into hosting.
232234

233235
`GraphSpec` remains the control-flow source of truth. Provider, harness, model, effort, session
234236
scope, and required environment names are resolved through its companion runtime plan at admission.
235-
One run owns one workspace: ordinary verifiers are read-only and may overlap, while workers and Git
236-
delivery are exclusive writers. Capsule/session loss and force-stop are terminal; there is no
237-
workspace replacement or replay engine.
237+
One target admits at most one nonterminal run; exact resubmission dedupes, distinct submission
238+
conflicts, and retained terminal runs remain observable. One run owns one workspace: ordinary
239+
verifiers are read-only and may overlap, while workers and Git delivery are exclusive writers.
240+
Capsule/session loss and force-stop are terminal; there is no workspace replacement or replay
241+
engine.
238242

239243
`execution/process` is the contained streaming-session seam. Recovery is registered before spawn,
240244
stdout and diagnostics remain bounded, and close/release owns termination and reaping exactly once.

0 commit comments

Comments
 (0)