adoption_host

command
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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

  1. OpenTrajectoryProject → stub model → SealDecision
  2. ExecTool for PURE (build_manifest) and gated NON_IDEMPOTENT_WRITE (ship_release)
  3. CommitStep
  4. Optional -with-package: CAS put, thin export, rehydrate
  5. 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

Overview

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL