Skip to content

TreeHarbor 0.1.4-alpha.1 — external agent API contexts

Pre-release
Pre-release

Choose a tag to compare

@ArtAndrew ArtAndrew released this 29 Oct 12:17

TreeHarbor 0.1.4-alpha.1 — external agent API contexts

Connect an agent controller that already provides execution: pin an exact source revision, read files through the API, submit immutable changes and retain the results after closing the task context. This path uses the Rust service, PostgreSQL and local object storage without requiring TreeHarbor-managed execution. The existing managed workspace/runtime workflow remains available.

New commands: client api-run-create, api-run-status and api-run-close. Creation atomically records the task and its exact source/profile; closing fences further reads and submissions while preserving accepted versions and replay receipts. External tasks report origin: external_api and execution_observed: false. Their registration does not attest process isolation, execution, stopping or successful tests. The client supplies its own execution environment and protects its credentials.

See the API workflow and protocol, immutable proposals and operator setup.

Upgrade

This version introduces schema migration 032. Stop the service and workers, take a consistent backup, install the 0.1.4 binaries, run admin migrate with the new binary, then restart the updated service and workers together. Installation never runs a migration automatically. Mixed-version/rolling upgrades and downgrade after API records are created are unsupported. Existing workspace/run identities, old request digests and saved receipts are preserved.

Verified packages

Tag v0.1.4-alpha.1 identifies source 6f095bc123abba186f8cfe06b73fe3cf35893663. Main CI and signed producer, both attempt 1, passed. Both Linux packages were installed and exercised before those same bytes were signed. Independent official verification checked online and bundled signatures, all eight subjects per architecture, metadata/data hashes and the exact producer invocation.

Archive SHA-256
Linux ARM64 99c6337c7e25327d17d72fa8fa564be6b38e7ae6e02d0d931f63739148c80779
Linux x86-64 ca2c25119674329d9106d60adf67bca1d9df1cc496c8a9f98a99036a6bc7d7e1

Installed acceptance includes two separately scoped API tasks reading the same exact base, proposing overlapping edits, closing without runtime observations, replaying receipts and inspecting retained diffs. Existing managed execution/capture/cleanup and native check/publication/replacement-node recovery scenarios also pass. CLI/PostgreSQL tests cover process loss before and after acceptance, close/accept races, stale/revoked authorization, retained pins and populated-schema upgrades. A separate Connected projection test exports ordinary Git after context close and preserves the exact parent.

Install

Choose aarch64 for Linux ARM64 or substitute x86_64. Use GitHub CLI with attestation verification, a shell and tar. The API path needs the documented PostgreSQL/local-storage setup and scoped credentials. Managed execution additionally needs its supported Docker/gVisor deployment profile.

tag=v0.1.4-alpha.1
stem=treeharbor-0.1.4-alpha.1-aarch64-unknown-linux-musl
source_commit=6f095bc123abba186f8cfe06b73fe3cf35893663
gh release download "$tag" --repo ArtAndrew/TreeHarbor \
  --pattern "$stem.tar.gz" --pattern "$stem.tar.gz.sha256" \
  --pattern "$stem.provenance.sigstore.json"
gh attestation verify "$stem.tar.gz" --bundle "$stem.provenance.sigstore.json" \
  --repo ArtAndrew/TreeHarbor \
  --signer-workflow ArtAndrew/TreeHarbor/.github/workflows/release-provenance.yml \
  --source-ref "refs/tags/$tag" --source-digest "$source_commit" \
  --signer-digest "$source_commit" --deny-self-hosted-runners
sha256sum --check --strict "$stem.tar.gz.sha256"
tar -xzf "$stem.tar.gz"
sh "$stem/install.sh" --prefix "$HOME/.local/treeharbor-preview-0.1.4"
"$HOME/.local/treeharbor-preview-0.1.4/bin/treeharbor" --version

Verify signed bytes before executing the installer and use a fresh prefix. Each architecture's metadata ZIP contains the original dependency observations and installed-runtime receipt; it can be verified with the same signature bundle and source/workflow options. Signatures do not establish a reproducible build, complete native dependency attribution or production readiness.

Scope

This remains an operator-assisted alpha for controlled repositories. The API uses a private Unix socket. Acceptance provides no implicit review, validation, publication or merge authority. Connected uses a separately authorized bridge and GitHub PR/check/review processes. This release has no fresh live GitHub or LLM trial; earlier live-trial evidence retains its original source identity. Full Connected queue/recovery certification, complete Standalone readiness, authority cutover, broader deployments and measured performance remain unfinished.

Standard Elastic License 2.0, without workspace-count limits. Third-party notices remain intact. Report first-use problems without private source or credentials.