command
Version:
v0.2.2
Opens a new window with list of versions in this module.
Published: Sep 7, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Go adoption host demo
Host owned seal loop using only the public Go client. Stub model (no paid API).
Optional filesystem CAS and thin .tir export with rehydrate check.
What it proves
OpenTrajectory → Project → stub model → SealDecision
ExecTool for PURE (build_manifest) and gated NON_IDEMPOTENT_WRITE (ship_release)
CommitStep
- Optional
-with-package: CAS put, thin export, rehydrate
- Optional
-sandbox: non idempotent tools rejected
How this differs
| Example |
Intent |
examples/adoption_host (this) |
Adoption: host loop + optional package |
examples/kill_mid_deploy |
Crash safety / durable resume |
Run
From go/:
go run ./examples/adoption_host
go run ./examples/adoption_host -sandbox
go run ./examples/adoption_host -with-package
Tests:
go test ./examples/adoption_host -count=1
Documentation
¶
Package main is the Go adoption host demo (public client APIs only).
go run ./examples/adoption_host
go run ./examples/adoption_host -sandbox
go run ./examples/adoption_host -with-package
Source Files
¶
Click to show internal directories.
Click to hide internal directories.