Skip to content

Latest commit

 

History

History
621 lines (531 loc) · 38.5 KB

github-native.md

File metadata and controls

621 lines (531 loc) · 38.5 KB

GitHub-native development

Kit researches, records decisions and decomposes work. GitHub Issues own the executable backlog, priority, native dependencies and dispatch. One Orbi deployment per repository owns Pi implementation, tests, PR creation, independent review and merge gates. Merged PRs and GitHub history retain delivery evidence.

Freshness and delivery ownership

The shared mode contract applies to every skill. /push saves eligible changes in the invoking checkout only, pulls verified main and delivers to main. Other local worktrees are not inspected, saved or integrated; minimal Git metadata supports boundaries and safe landing. Explicit /git-commit-push all retains its sweep. /push still inventories paginated issue/PR evidence, synchronizes already-merged upstream Orbi changes, and reports unfinished remote work by URL, owner, reason and next action. A clean local checkout does not prove remote main is current. Names and bot authors are hints, not ownership proof; default-branch ancestry proves inclusion. An open Orbi-owned PR stays with its coordinator even if checks pass. No worker-head cherry-pick, PR checkout, remote-ref deletion or review/protection bypass is added. State/source pins are refreshed before integration and publication; changed inputs need normal merge reconciliation and affected checks/review. API failure means unknown/partial coverage, never an empty queue. Independent verified delivery can continue, but required unavailable gates still hold dependent publication. Read-only and restricted planning never fetch or sync Git. Only standalone writable Plan With Me / Plan For Me use the shared planner freshness exception. None of this activates Orbi or qualifies live delivery.

Support boundary

GitHub Issues are the only executable backlog and Orbi owns delivery. Preserve uncommitted changes and recovery evidence, and reconcile still-required outcomes into GitHub Issues. Historical plans and research do not authorize a second executor or cancel unresolved product acceptance.

Kit keeps /plan-with-me and /plan-for-me: both publish issue-based plans under the same handoff contract. Orbi is the separate delivery project, not a renamed Kit executor. Retained fix/apply modes preserve their accepted scope and shared ownership/review/PR gates; planning stops after publication. Marketplace names are not support for the removed runner. Explicit commands authorize activation; live qualification requires separate evidence.

Owner questions and external inputs are tracked in GitHub Issues. The former BLOCKERS.md repository ledger is removed and deprecated: do not create, read or require it, and do not treat a missing ledger as an empty queue.

Default dispatch

Ordinary issues default to ai-ready, regardless of who opens them. This includes external reports; issue authors are not trusted instruction authorities. Keep credentials scoped and preserve existing CI, branch protection, sensitive-change controls and any required human acceptance independently of dispatch. Branch protection is not a Kit setup/start prerequisite.

Install .github/workflows/issue-ready.yml in each participating repository. It labels newly opened/reopened ordinary issues without executing their text. It preserves owner-task, ai-planning, ai-epic, explicit ai-paused and Orbi ownership/recovery states. Update the installed workflow before publishing owner tasks. It does not relabel on edits or label removal, which would defeat pauses and recovery. Existing issues need an ownership-aware backfill. Issue producers using Actions' GITHUB_TOKEN must publish readiness themselves for eligible worker issues: their events do not trigger another workflow.

Kit creates planning issues with ai-planning atomically, creates the full batch and native dependency edges, reads it all back, then adds ai-ready last. A large plan has an ai-epic coordination issue with native sub-issues; Orbi excludes epics. Unresolved proposals retain ai-planning. Native blockedBy relationships delay execution of dependent ready issues; free-text dependency lists are not a second scheduler. See Plan Handoff.

ai-paused is a Kit default-label opt-out, not an Orbi runtime stop signal. To pause an idle issue, remove ai-ready as well and check for a concurrent claim. For already-owned work use the deployment's supported operator controls; adding a label is not proof that its worker stopped.

Publish a planning batch

The helper requires Python 3 and an authenticated gh with repository issue-write access. Preview uses no network and performs no writes. Apply uses GitHub REST, not a local task store. Create a transient JSON input outside Git:

{
  "issues": [
    {
      "key": "cache-bounds-v1",
      "title": "Bound cache growth",
      "outcome": "Cache memory stays within the configured entry budget.",
      "scope": "Update the existing cache and its eviction tests.",
      "exclusions": "Do not change the public cache API.",
      "acceptance": "The eviction test proves the oldest entry is removed at capacity.",
      "verification": "Run the repository's cache test command; record exact results.",
      "sources": "Link the accepted cache specification at its published revision.",
      "blocked_by": []
    }
  ]
}

Replace the generic verification/source examples with real commands and reachable links before applying. blocked_by accepts batch keys or existing issue numbers in the target repository. Depend on executable children rather than an open epic; use epic for coordination membership. A ready issue may wait on an undispatched prerequisite: its native edge preserves that wait. The helper resolves numeric issue IDs for the native REST API. kind: "epic" creates coordination-only work; epic: "KEY" links a child. For worker tasks, ready: false requires pending_reason and keeps the issue undispatched. Use kind: "owner-task" for a defined human-only action instead; see owner tasks for the checklist and dependent issue reference.

python3 scripts/github_issues.py --repo OWNER/REPO --batch /tmp/batch.json
python3 scripts/github_issues.py --repo OWNER/REPO --batch /tmp/batch.json --apply

Keep stable keys across retries. The helper inventories all issue states and refuses duplicates and changed contracts. A matching closed or owned issue is already published: the helper reports it without writes and keeps its identity for dependencies. It creates and verifies all remaining issues and edges before any readiness publication. Immediately before each issue's ai-ready POST, it freshly checks title/body, open state, readiness/ownership, epic classification, the exact native blockedBy ID set and native parent against the complete saved spec. Observed drift or a failed read stops publication with an issue-specific error; the final check never repairs changed dependencies or parents.

A failed apply can leave an undispatched partial batch, or leave earlier issues ready while a later issue remains ai-planning. Earlier readiness and foreign edits are preserved, not rolled back. Inspect actual ownership and reconcile the cause through supported GitHub tools before retrying the same stable-key input; do not blindly replay it to overwrite drift. Publication is still non-atomic: another client can edit after a final read and before the separate label write. Serialize publishers of the same batch; this rule is not cross-client exclusion, and GitHub offers no atomic issue-create idempotency key or read/label transaction. Do not use this helper to overwrite an existing edited issue.

One-time review of legacy owner work

The 2026-11-26 fleet audit found 16 open non-epic ai-planning issues aged 3–206 days; most were waiting on owner approval, store release, real hardware or live-system evidence. For each participating repository, review its current open ai-planning issues excluding epics and existing owner-task issues. Report only confirmed owner-only candidates with the issue link, missing human input and what it unblocks. Leave all labels unchanged; do not infer owner-only work from age or convert unresolved intent. This is a one-time report for maintainers, not a step in every /unblock pass.

Cutover

  1. Inventory old services, cron jobs, task data, worktrees, existing PRs and actual workers. Installed-executor removal must verify legacy processes stopped and registrations removed, while preserving recovery evidence. Do not reinstall the removed CLI to inspect state. Do not stop unrelated gateways.
  2. Report actual host inventory separately; source changes alone do not prove host service removal. Ordinary Kit/Pi/Claude/Codex functionality remains. Removing the old executor neither activates Orbi nor qualifies its delivery.
  3. Reconcile unfinished local tasks against open/closed issues, PRs and merged evidence, following Plan Handoff. Preserve legacy IDs and immutable sources. Never redispatch completed or owned work. Do not synchronize two queues or prune worktrees as part of migration.
  4. To qualify live delivery, verify actual issue pickup, PR creation, independent review, required CI, merge and failed-run recovery in a single-repository pilot. Offline contract tests and doctor alone do not qualify that loop.
  5. For fleet evaluation, use distinct deployments, non-overlapping task pools and measured resource budgets. Pilot and capacity evidence qualify the rollout; they are not extra activation approvals.

One repository per deployment

Use Orbi's supported external single-repository mode. Verify current upstream prerequisites before installation: its documented baseline includes GitHub CLI 2.94+, Python 3.14 (provisionable with uv), Node 22.19+, Pi with a working model provider and a user scheduler session. Install Orbi from its release channel in a separate deployment checkout, not inside Kit or a delivery worktree. Inspect the installer or follow upstream's editable uv tool installation instructions. Do not patch upstream Orbi or change agent credentials to make setup pass.

The suite installer does not create repository deployments. Selecting Orbi explicitly authorizes a host-wide stop, stable release update and restart of verified local Linux installations, including paused ones. For this installer path, verified manager/unit/file ownership, a validated release pin and a passing orbi check are the activation checks; no separate cutover or human approval record is required. Use --skip orbi if scheduling must stay paused. This is a maintenance path, not a live-qualification procedure.

Example configuration shape (merge with the shipped Orbi example):

source_repos = ["OWNER/REPO"]
repo_dir = "/path/to/repo"
deploy_home = "/path/to/orbi-repo"
workspace_root = "/path/to"
unit_name = "repo"
engine_source_track = "release"
max_concurrency = 1

source_repos contains exactly one repository. Each additional repository gets its own deployment/configuration/checkout and unique unit_name. Use supported orbi setup / orbi install-units, not hand-written unit-name substitutes. Upstream setup can enable timers. Use Kit’s setup --prepare-only when activation is not intended. Respect this repository's worktree placement: all new task worktrees must be under the canonical repository's .worktrees/. Verify the selected Orbi release meets that rule before enabling it; workspace_root alone must not be assumed to control task-worktree placement.

orbi check --config /path/to/orbi.toml
orbi status --config /path/to/orbi.toml
orbi doctor --config /path/to/orbi.toml

Orbi has no cross-deployment ownership lock or machine-wide capacity guarantee. max_concurrency is per deployment. Start with one pilot slot; before fleet rollout, configure and test aggregate CPU/memory/model budgets (for example systemd slice limits) rather than multiplying that slot count across every repository. doctor can diagnose overlapping pools; it does not establish a global resource budget. Do not serve one repository from multiple deployments or machines.

Kit lifecycle skill

Use /orbi [status|version|setup|start|update|stop|prune|now|help] to inspect or manage deployments. /orbi status all [--work] [--verbose|--json] summarizes observable local deployments and GitHub API budget from any directory, without repo/config selectors. GitHub access is not required for the local inventory; per-repo issue lists are opt-in via --work. Preserve literal all in one helper call and never inject --repo-dir; partial/denied manager coverage is not an empty host. See host inventory. For prune previews and explicit --apply, see stale templates. /orbi version [--json] identifies the selected deployment engine release/revision and verification evidence without full status, bootstrap or network probes. Missing deployment is unconfigured; unverifiable metadata is unknown, never the global CLI. Bare invocation reads status; --repo-dir selects the canonical repository and --config selects its existing native configuration. Explicit /orbi start, plain /orbi update, and install.sh with Orbi selected authorize activation. Verify unit and file ownership, the release pin and a passing orbi check. Neither a cutover record nor separate human approval is required. Public setup maps to helper start. setup --prepare-only prepares without activating scheduling (direct helper setup remains non-activating). Failed or unknown technical checks hold activation with the specific blocker and repair, not a silent fallback to preparation. If genuinely absent and no explicit config was supplied, start first uses the same setup preparation, validates non-activating, then rebinds and revalidates under the activation lock. Existing targets skip initial preparation and reject bootstrap/harness selectors. Start reports already-running without mutation when the newest official release is pinned and all configured timers are enabled and active. Otherwise it uses the same locked release transaction as update, quiescing owned work as needed, then repairing units and activating only after the deployment check passes. Failed sync or check starts nothing and reports a bound recovery command. Partial, foreign or missing explicit configs require deliberate recovery, never silent resume. To quiesce, disable owned timers, cancel verified queued starts and stop owned workers through systemd. Missing evidence is unavailable, not stopped. Linux supports lifecycle changes; macOS supports read-only status/version. help prints the action reference read-only and needs no repository.

On Linux, status names the state it observed: absent when no deployment owns the repository, and unavailable when scheduler evidence cannot be verified. With readable scheduler evidence, it reports running while any service is active, activating or reloading; draining when no service is running but one is deactivating. Otherwise it reports prepared when an owned timer is enabled or active, and stopped when services are inactive or failed and no owned timer is enabled or active. macOS status reports local deployment metadata but leaves active scheduler state unavailable.

New lifecycle setup (including absent-start preparation) defaults to an installed Pi-Bolt executable; --harness pi explicitly selects stock Pi for new preparation. A deployment-local .orbi/harness-bin/pi exec launcher and namespaced fields in .orbi/env persist the choice for both workers and reviewers. No native Orbi harness field, global alias, automatic harness install or fallback is used. Existing managed selections are reused; legacy deployments keep their stored routing and are not silently migrated. Setup/status/start report deployment.harness as configured/resolved-now evidence, not observed running-process use. Drift/unavailable targets and incompatible final extension PATH/HOME/agent-directory overrides block managed activation.

Declared provider key/header references must be available in persisted deployment env and compatible final extension env, not just the caller shell. This reports references_available, not successful authentication/inference. A custom deployment catalog need not exist in the global catalog for this route. With no references, the selected executable must pass its supported non-refreshing stored-auth check in the pinned user auth home; otherwise preflight holds as auth_unverified. No temporary auth profile, credential copying or user-catalog mutation is used. See harness evidence for serialization, legacy/unknown reporting and repair boundaries. Native Pi-Bolt extensions, streaming/recovery and installed worker/reviewer compatibility remain live-unverified; static routing does not qualify delivery.

update explicitly requests release maintenance even when scheduling is current. With --config and no --repo-dir it uses the config's checkout, independent of where it is invoked. Under lock it quiesces the deployment; --wait lets workers finish without interrupting them and leaves scheduling paused on timeout. Then sync-engine-source resolves the newest official semver release and the helper pins it as sha:<commit>. After non-activating validation, plain update starts configured scheduling through start’s technical checks, even after an earlier /orbi stop. update --stop leaves scheduling stopped and defers unit refresh to the next authorized start. Tracked checkout changes refuse as source_dirty before quiescing. Uncertain ownership or scheduler evidence blocks sync; partial failures retain completed operations and failed steps without claiming stopped. Update preserves origin, provider, harness and slots; rollback is a deliberate owner edit of engine_source_track. It never refreshes Kit itself: that stays /update-kit.

For a first authorized deployment, preview with /orbi setup --dry-run --pi-providers /path/to/models.json --pi-provider PUBLISHED_PROVIDER_ID --pi-model PUBLISHED_MODEL_ID, then remove --dry-run only within that authority. Use actual published IDs and metadata, not invented limits or credentials. Without selectors, verified donor metadata is reused or the exact missing input is reported. An absent preview is write-free and explicitly defers staging-dependent source, validation and activation checks. /orbi setup --dry-run previews the start route; /orbi setup --prepare-only --dry-run previews preparation only. /orbi setup --harness pi selects stock Pi for a new target then starts it; add --prepare-only to opt out of activation. Public setup --resume-setup requires explicit --prepare-only; otherwise reject before mutation with corrected setup --prepare-only --resume-setup and the original arguments. Use /orbi status to inspect and /orbi stop for an authorized worker interruption. Context-free /orbi help reports the loaded helper path/default policy, parseable examples and recovery guidance, not the installed selected harness.

Each helper mutation reports its own outcome: direct helper setup (public setup --prepare-only) says prepared (staging, not scheduler activation), helper start (public default setup or start) says started or already-running, update says updated or up_to_date, and stop says stopped after verified inactivity; --dry-run says planned for all four. Quiescing reports disabled timers and stopped workers and preserves attempt files, worktrees and recovery inputs. Update syncs only after quiescing and starts scheduling unless --stop is used. The read-only status still describes current activity, not intent. Start also retains preparation.state (skipped, planned, prepared, failed). Preparation failure never activates; later failure preserves successful preparation, actual/possible mutation evidence and the original failed operation. Activation timeout can mean timers/workers already run: inspect status, never automatically retry, roll back or stop workers. Prepared/activated is not live-qualified.

The lifecycle reference owns prerequisite, retention, pinned-source and deployment-local uv isolation details. Native units still depend on a compatible shared bootstrap: this is not a self-contained executable per deployment. Installing the skill or passing offline checks does not prove live isolation or qualify the pilot.

Qualify the model provider

The diagnostics below were checked against Orbi 0.7.41. Re-check the release you actually deploy: the output and accepted configuration are release-scoped, and a green local diagnostic is not delivery evidence.

orbi check and orbi doctor compare Orbi's configured provider path with the selected provider/model. They send no model request and do not inspect Pi's own provider directory.

  • Native Pi provider (pi_providers unset). Pi uses its own agent directory. This path can be fully configured while Orbi's provider status still says NOT CONFIGURED (setup/doctor) and orbi check fails at check=model_provider with model provider not configured: those diagnostics mean Orbi has no explicit provider file or selection to inspect, not that Pi has no working provider. Verify it with Pi's own check and one real response:

    pi auth check --provider PROVIDER_ID
    pi --print "reply with the single word: ok"
  • Explicit Orbi selection (pi_providers, pi_provider, pi_model set). Point pi_providers at a JSON file in Pi's models.json shape, then select the provider and model in orbi.toml:

    pi_providers = ".orbi/pi-providers.json"
    pi_provider = "PROVIDER_ID"
    pi_model = "MODEL_ID"

    The file may reference a secret as $PROVIDER_API_KEY; keep its value in the gitignored state file or the service environment, never in the repository or a worktree. Copy the provider entry, including id, name, contextWindow and maxTokens, from the provider's published model catalog. Do not invent capabilities or reuse metadata from an unrelated model.

With an explicit provider file, Orbi materializes <worktree>/.orbi/pi-agent/ (gitignored) at run start: it merges the user and file providers into the per-run models.json, writes the selected provider/model into settings.json, and links auth.json to Pi's user agent directory when that file exists. Stored authentication for a built-in provider therefore remains usable without copying the token into the worktree; the user's Pi catalog and auth file are not modified.

Offline check, inference, and live delivery

  • Offline configuration check. orbi check and orbi doctor validate file shape, selector presence, endpoint/API fields and key references. A status such as key=PROVIDER_API_KEY=set only proves the referenced environment variable is non-empty; key=literal=set only proves a literal value is present. Neither authenticates the credential nor proves the model can answer.
  • Inference through the configured path. One real model response is required through the same provider/model and per-run agent directory a delivery uses. With an explicit Orbi selection, run one bounded test issue and inspect orbi status --follow plus the run journal's provider_config_loaded line. A bare pi --print is not proof of that path: it uses Pi's own agent directory and never reads pi_providers. A successful call proves the provider, model and credential path work; it does not qualify issue-to-merge delivery.
  • Live delivery. The pilot must then show issue → PR → independent review → required CI → protected merge, plus failed-run recovery. Only that protected merge, not a provider call or an offline test, is the delivery qualification evidence.

Record only non-secret evidence: provider/model identifiers, a pass/fail status, elapsed time, the non-secret journal provider_config_loaded line and the PR URL. Never paste a key, token, auth.json, session transcript or private account identity into an Issue, PR, test, log or document.

Read protection diagnostics safely

Branch protection is not a Kit setup/start prerequisite. Known unprotected branches and protection/rules endpoint HTTP 403 are informational, not scheduling blockers. A protection-specific 403 means details are unknown, not absent; it does not prove failure to authenticate or access the repository. Report each observed state with its source. No protection read/repair, PR-only mode, special opt-in, no-base-write engine proof, paid GitHub plan, engine release or second approval is required on that basis. Normal setup-as-start and start use the same activation path, including preparation and the first tick, when scheduling is authorized and other prerequisites pass. Do not add a protection probe to the shared preflight.

Authentication, repository access, deployment ownership and the other technical activation checks still apply. Prepare-only and dry-run never activate. Helper status preserves doctor.state=failed as a diagnostic outcome, not itself a Kit scheduling gate; distinguish protection diagnostics from other failed prerequisites. Successful startup does not imply successful merge or live qualification. Ordinary engine behavior and the engine pin are unchanged; existing protections, required CI, review and merge requirements remain in force.

orbi doctor may report merge_gate: FAILED classic protection enforces admins when the target branch enables enforce_admins. The merge executor uses an ordinary gh pr merge --match-head-commit <SHA> with the configured GitHub identity; it does not use an administrator override. The blocker therefore describes the configured merge identity, not a defect in the protection.

Resolve it through the repository's supported governance path: a different approving reviewer or ruleset where policy allows, or a human maintainer performing the protected merge. Keep enforced administrators, strict required CI status checks, independent review and any human-only label in place. Never disable branch protection, required checks, administrator enforcement or the review gate to make doctor green, never use an administrator override, and never manufacture an approval or a human confirmation. If protection legitimately blocks the deployment identity, record the exact blocker and leave the PR unmerged. The actual protected merge of the reviewed head remains the qualification evidence.

Human acceptance is a separate gate

New deployments prepared by /orbi setup default to human_review_gate = false, disabling the optional human-acceptance label gate, not required CI or independent AI review. Setup preserves an existing deployment's explicitly selected policy. Branch/admin protections, credential isolation and external authorization rules remain unchanged, including any operations-specific human-only gates.

The optional supported host setting human_review_gate = true posts one acceptance checklist when a PR opens and holds a delivery whose machine-unverifiable column is non-empty. Only a human applies ai-human-review; the agent and Runner must never add or remove it. An empty machine-unverifiable column is the intended pass state. The setting does not replace branch protection, required CI, independent review, credential isolation or sensitive-change controls, and a satisfied checklist is not a substitute for the protected merge or live-delivery evidence.

Verification and rollback

The pilot must show issue → PR → independent review → required checks → merge in GitHub and matching Orbi run diagnostics. Exercise failure recovery without losing the original PR/worktree or duplicating work. Preserve any repository-required human acceptance and never mark it from an automated review.

If qualification fails, record the exact missing input or failed check and preserve issues, PRs and recovery state. To pause a failed pilot, use the explicit stop command. Do not reinstall or resume the removed executor. Installing a CLI or passing offline tests is not live delivery.

Remaining requirements after executor removal

Removal is not completion, cancellation of product acceptance or live qualification. The original requirements are retained through immutable Git sources, not a new completed-task archive. Reconcile still-required outcomes into GitHub Issues without recreating the executor, duplicating finished work or losing source proof:

These sources establish prior intent/evidence only. Preserve their still-applicable human/live acceptance requirements and unresolved proof.

Upstream contracts

The diagnostic details above were checked against these pinned Orbi 0.7.41 sources. Use the release you deploy and re-check its corresponding files.

Orbi commands in Kit

Using Orbi

Branch protection is not a Kit setup/start prerequisite. Known unprotected branches and protection-only HTTP 403 are informational, not scheduling blockers; a 403 leaves protection details unknown, not absent. Authorized setup/start uses the normal activation path without PR-only mode, special opt-in, protection repair, paid GitHub plan, engine upgrade/proof or second approval on that basis. Authentication, repository access, ownership and other technical checks still apply. Existing protections, CI, review and merge requirements remain unchanged. Startup is not successful merge or live qualification; prepare-only and dry-run never activate. See protection diagnostics.

One Orbi deployment owns one repository. install.sh with Orbi selected authorizes refresh and activation of verified local Linux deployments. Use --skip orbi to leave them untouched, including when paused. Activation requires verified unit and file ownership, a validated release pin and a passing orbi check.

Use /orbi [status|version|setup|start|update|stop|prune|now|help] in Pi, /kit:orbi in Claude Code, or $kit:orbi in Codex. The Orbi skill provides:

Action Effect and boundary
Bare skill invocation or status Read-only status for the repository, including worktree disk use and its last recorded Kit lifecycle action; missing evidence is unavailable, not an empty queue.
version Read-only selected deployment engine release/revision and verification evidence, without full status or global CLI probes.
help Read-only action reference, without a repository or deployment.
setup Start by default: map to start, preparing and validating if absent.
setup --prepare-only Prepare source/configuration without scheduling or timer activation (direct helper setup).
start The command authorizes scheduling after checks: prepare if absent; otherwise stop owned work as needed, sync, pin and validate the newest release, then repair units and start scheduling. No changes if already current with all configured timers enabled and active.
update Plain update authorizes maintenance and activation, even after an earlier stop. Disable owned timers, cancel queued starts and stop owned workers, then pin and validate the newest official release before starting scheduling. update --stop updates and leaves scheduling stopped. It is not /update-kit.
stop Disable owned timers, cancel queued starts and stop owned workers through systemd. Report stopped after verified inactivity.
prune On Linux, preview verified finished Orbi task worktrees and stale unloaded user unit templates. Use prune --apply to remove candidates. See prune safety checks.
now [#N] This session claims the issue Orbi would take next (or issue N), implements it on Orbi's delivery branch and opens its PR, then hands the PR to Orbi for independent review and merge. now --dry-run shows the issue only. See session delivery.

Linux supports lifecycle changes. macOS supports status, version and help only. Never run bare orbi to inspect: it runs a Runner tick, not status.

Update the release and start scheduling in one command (no separate stop or start):

/orbi update --dry-run
/orbi update

From any directory, use /orbi update --config /path/to/orbi.toml to select the checkout declared in that config. Add --wait to let workers finish instead of interrupting them. If work remains after 30 minutes, scheduling stays paused and no update is applied. Update syncs only after verifying inactivity and enables configured timers only after validation and start’s technical checks. Use --stop to leave scheduling stopped and skip activating unit refresh. To update all discoverable local deployments without stopping live workers, use /orbi update all. The shared drain budget defaults to two hours; completed updates restore each deployment's prior running or stopped scheduling. Check the per-deployment receipt and pending recovery.

The upstream CLI remains available for diagnostics:

orbi check  --config /path/to/orbi.toml   # configuration and provider checks
orbi status --config /path/to/orbi.toml   # current delivery state
orbi doctor --config /path/to/orbi.toml   # read-only diagnostics

Upstream orbi setup and orbi install-units can activate timers. Prefer the Kit lifecycle skill with setup --prepare-only for non-activating preparation. Deployments use a separate checkout. Installing the CLI alone does not start workers or qualify delivery.

Read GitHub-native deployment and the current lifecycle reference for prerequisites and preparation. For a first deployment, supply credential-free Pi provider metadata with --pi-providers PATH --pi-provider ID --pi-model ID and optional --pi-thinking LEVEL, or reuse a verified selection from a visible deployment; see provider bootstrap. For stored-auth providers, Pi authentication must already work. Custom catalogs with declared key/header references require service-ready deployment env values, not shell-only keys; setup does not automate login or guarantee provisioning. New configs derive git_transport from the verified SSH/HTTPS origin without rewriting it. With setup --prepare-only, existing selections and pins are preserved.

New lifecycle setup defaults to Pi-Bolt, already installed on the caller's PATH; --harness pi explicitly selects stock Pi for new setup or absent-start preparation. There is no automatic harness installation or silent fallback. Setup/status/start identify configured selection and executable evidence in deployment.harness, not measured use by a running worker. Existing deployments are not silently migrated. See harness selection and evidence for deployment-local routing, drift refusal, service credential references and unverified live compatibility.

An authorized /orbi setup starts by default, using the same path as start to prepare and activate in one invocation (no second approval once gates are evidenced):

/orbi setup --dry-run --pi-providers /path/to/models.json --pi-provider PUBLISHED_PROVIDER_ID --pi-model PUBLISHED_MODEL_ID
/orbi setup --pi-providers /path/to/models.json --pi-provider PUBLISHED_PROVIDER_ID --pi-model PUBLISHED_MODEL_ID

Replace placeholders with published catalog IDs/paths. Preview checks prerequisites without writes and explicitly defers staging-dependent validation/activation checks. Actual preparation must validate before activation. Existing valid/active targets skip preparation; omit bootstrap/harness selectors on subsequent starts. Explicit --config must exist; partial/foreign targets are not absent. Results retain preparation.state separately from activation and live qualification. /orbi help provides setup/stock-Pi/status/stop examples and targeted recovery; configured slots and harness evidence are not enabled capacity or running-process proof.

For interrupted preparation, follow partial-failure recovery. The bounded --resume-setup path is only for an existing config's missing deployment-local provider file, with setup --prepare-only --resume-setup, --config PATH and matching provider inputs; without --prepare-only, public resume is rejected before mutation with the corrected command. Other incomplete states need deliberate repair. setup --prepare-only does not activate scheduling or qualify live recovery, isolation or delivery. Direct Python helper setup remains non-activating; --prepare-only is a public skill flag only. Failed or unknown activation checks name the blocker and next safe action, never a silent preparation-only success. Keep credentials out of Git and preserve workers and recovery state.