Scoping rules
Strategies
Section titled “Strategies”Each artifact type follows one of three strategies. Workspace only keeps it per repository. Global only keeps one copy on the machine. Merge by key combines global defaults with workspace entries, and the workspace entry wins for the same key, except that shipped activities and jobs always keep their names (see the table).
| Artifact | Strategy | Meaning |
|---|---|---|
| Tasks | Workspace only | Each repository has its own backlog and lifecycle state. |
| Activities and jobs | Merge by key | Workspace files add new names. A shipped default keeps its name: a workspace file with the same name is ignored when a run resolves it. |
| Policies | Merge by key | Profiles override by name; global deny rules accumulate. |
| Job runs | Workspace only | Runs belong to one workspace; their records share the global database, while checkout-local logs and worktrees live under .. |
| Skills | Merge by key | Global defaults live in ~/; workspace entries override by skill name. |
| Audit | Global only | One authoritative event trail. |
Where state lives
Section titled “Where state lives”| Path | Holds |
|---|---|
~/ |
Machine state: task bundles, orbit. (audit, runs, routines, frictions), workspace registry, shipped resources, skills, and config.. |
<repo>/ |
Workspace identity, local config overrides, auto-tasks, routines, worktrees, and logs. This state is gitignored. |
Deleting workspace state gives that checkout a clean slate; it does not delete the task bundles or audit database in the global root. For backups, stuck runs, database recovery, and upgrades, see the runbooks.
Typical workspace state
Section titled “Typical workspace state”.orbit/ auto_tasks/ # auto-task definitions frictions/ # friction tag taxonomy (tags.yaml) resources/ # workspace-local activities/, executors/, jobs/, policies/ routines/ # routine definitions state/ audit/ diagnostics/ job-runs/ logs/ worktrees/ auto-tasks.json # scheduler cursor layout.version semantic.db # lexical search index (historical file name) config.toml config.yamlTask bundles are not under .. They live in the global root at
~/, next to the audit database
~/.
Rule of thumb
Section titled “Rule of thumb”Keep anything that describes this repository’s work in the workspace. Keep reusable execution defaults as global assets. Override a policy profile or skill in the workspace when needed; for an activity or job, add one under a new name, because a shipped name is never replaced.