Documentation
Supabase is oshepherd’s primary setup path. Redis/Celery/FastAPI remains supported with its existing CLI defaults. The Supabase candidate is published as 0.1.0rc1; see installation.
Start and use an installation
| Task | Guide |
|---|---|
| Install from a checkout or candidate wheel | Installation |
| Run everything locally with Docker and inspect the database in Studio | Local Supabase walkthrough |
| Use Supabase Cloud with Ollama on your machine | Cloud walkthrough |
| Add another machine that serves inference | Worker onboarding: invite/join |
| Give a script its own inference key | Client onboarding: create/list/revoke |
| View and follow worker logs | Worker logs |
| Restart, install a background service, or disable an installation | Operations reference |
| Use the Redis backend | Redis setup |
An operator manages an installation. A worker executes jobs through its local Ollama server. A client sends inference requests. Client keys and worker invitations are separate credentials; choose the onboarding guide for that role.
The walkthroughs use separate private state directories:
| Example | State directory |
|---|---|
| Manual local operator | .oshepherd/local/end-user/operator |
| Cloud operator | .oshepherd/cloud/first-run |
| Remote joined worker | ~/.local/state/oshepherd/second-worker |
| Commands using the default operator directory | ~/.local/state/oshepherd/share (or under XDG_STATE_HOME) |
Pass the same --state-dir when managing or resuming an installation. Transfer only an exported client file or worker invitation, not the operator directory.
Understand the database and API
- Architecture and data model explains the broker’s records and transitions.
- Versioned SQL migrations define the database schema. The release manifest selects migration histories; existing migrations are immutable.
- Supabase protocol defines RPCs, roles, limits, leases, output, asynchronous jobs and cleanup.
- Supported routes summarizes the client surface. Protocol fixtures explain compatibility with the original Redis API.
For inspection, select the oshepherd schema in Studio or the cloud Table Editor. Start with workers, worker_models, jobs and chunks. The oshepherd_api schema contains the RPC functions used by gateways and workers.
Develop and validate
| Document | Purpose |
|---|---|
| Development handoff | Repository map, checks and contracts to preserve |
| Disposable local acceptance | Automated fresh-stack test; removes its own database after testing |
| Progress ledger | Dated validation evidence and current qualification status |
| Next steps | Remaining work and acceptance criteria |
| Design and acceptance plans | Architecture, installation and compatibility specifications |
| Experiments and runbooks | Detailed procedures and historical measurements |
Use the manual local walkthrough for a database you want to keep. The disposable acceptance runner is a development tool with a different lifecycle.
The progress ledger owns validation claims; the next-steps document owns pending work. Dated experiment reports retain the results of their original revisions. Successful manual use does not close the remaining Edge cancellation and resource qualification gates.