Skip to main content

Adapter for the Contably autonomous engineering instance.

Project description

oxi-adapter-contably

Adapter for the Contably autonomous engineering instance.

This adapter wires the oxi engine to the Contably codebase: the GitHub repo it ships PRs against, the budget caps it enforces, the dispatch host it spawns workers on, the scope policy that defines where workers may write, and the promote recipe that staging→production automation will eventually use.

Topology

  • Engine + ledger + dashboard + killswitch: Contabo VPS in /opt/oxi/. The engine runs every oxi systemd timer (tick, pr-watcher, ship-recovery, deadman, seed, branch-janitor, oauth-watch).
  • Worker dispatch: the VPS SSHs into a Mac Mini (Tailscale alias mini) and fires claude -p there. Worktrees live on the Mini under /Volumes/AI/Code/<project>-<session-tag>.
  • Single host on day one. The engine ships with mini as the only dispatch host, concurrency 20. A second host can be added after the parallel-run window passes acceptance criteria.

Install

# On the VPS, into oxi's venv:
pip install --pre oxi-adapter-contably

Or for development:

git clone https://github.com/escotilha/oxi
cd oxi/adapters/contably
pip install -e .

Verify

oxi status
# → ✓ adapter loaded (contably)

Operational notes

  • Auto-merge is on, gated by the critic. A failing critic blocks merge; an approving critic merges automatically. Sensitive paths listed in scope_policy().sensitive_for_critic always require a human review even when the critic approves.
  • Budget caps: $500 soft warn, $1000 hard cap per day. A runaway loop halts the engine and emits one budget_hard_stop event.
  • Killswitch: /opt/oxi/KILLSWITCH (file presence). All engine modules respect it. Run oxi v3 kill --reason "..." to set; oxi v3 unkill to lift.
  • Promote recipe (promote_recipe()) is wired but the engine-side daily_promote.run() is currently dormant. Staging→production stays on the manual /deploy-conta-production path until the post-cutover observation period.

See docs/contably-os-cutover-spec.md in the oxi repo for the end-to-end cutover plan.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oxi_adapter_contably-0.1.0b1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oxi_adapter_contably-0.1.0b1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file oxi_adapter_contably-0.1.0b1.tar.gz.

File metadata

  • Download URL: oxi_adapter_contably-0.1.0b1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for oxi_adapter_contably-0.1.0b1.tar.gz
Algorithm Hash digest
SHA256 c4d2dc1782aa117343f14deae42195ecfc31bbe5a21583421da260551d86f174
MD5 5bb55a0f3c13f0294f462e4d5acff134
BLAKE2b-256 9f81b3dbd680571fa3b85686b2073b4f71173a2cfacbc7307436db0155f22823

See more details on using hashes here.

File details

Details for the file oxi_adapter_contably-0.1.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for oxi_adapter_contably-0.1.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc077975cebc600a48ee1ab9fe1a3166af109d56d0020d94ec5d4a526752929a
MD5 a13349ce1de97916ad6a1b242b31808e
BLAKE2b-256 85835c8978a2a0507d850f717c6630e279e0c1af83be56b4b174cce1c547a217

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page