Skip to Content
Commands

Commands

doss COMMAND [flags] · vault location: $DOSS_HOME, default ~/.doss

Reference

CommandWhat it does
doss initCreate a new vault, or attach this device to an existing cloud vault. Auto-registers the device, installs a GitHub deploy key when needed, and runs connect unless --no-connect is passed.
doss connectWire the vault into installed agents’ global instruction files. Use --file PATH for an unknown agent; --remove to undo.
doss checkValidate vault files. --changed checks files touched since the last commit, including local/access.yaml when present.
doss syncValidate, commit, pull, and push. Invalid state does not leave the machine.
doss doctorShow vault health: stats, sync state, agent wiring, hooks, devices, and tidy hints. --fix repairs wiring. Alias: status.
doss devicesList synced device registrations, marking current device and active vs. deactivated status.
doss deactivateChoose a non-current device, revoke its recorded GitHub deploy key when present, then mark it inactive. Scripts may pass doss deactivate DEVICE_ID.
doss viewGenerate a requester-scoped redacted context view with self/, access.json, and manifest.json. Use doss view cleanup --dir PARENT to remove expired views.
doss tidyPrint stale facts, unconfirmed guesses, rough-shared facts missing rough values, and notes backlog. Read-only.
doss logRecord or read the disclosure ledger. --record --to VERIFIED_ID --shared TOPIC --level rough or full notes a disclosure.
doss uninstallUnwire agents and delete the local vault. It refuses unsafe deletion unless forced.
doss hookHarness endpoint for post-edit and stop; wired by connect, not run by hand.

Setup Variants

CommandUse when
doss initMain human path: guided setup for a new vault.
doss init --from owner/repoAttach another device to an existing GitHub vault.
doss init --from GIT_URLAttach another device from an arbitrary git remote URL.
doss init --githubCreate a new private GitHub cloud copy using the default repo name.
doss init --github --repo NAMECreate a new private GitHub cloud copy with a specific repo name.
doss init --remote GIT_URLCreate a vault and connect it to an existing remote.
doss init --git-name "Owner Name" --git-email owner@example.comNon-interactive setup where an agent supplies commit identity after asking the owner.
doss init --dir PATHInitialize a vault outside the default ~/.doss location.
doss init --no-connectInitialize without wiring agent instruction files.

doss deactivate blocks future Doss-managed GitHub sync when the device has recorded deploy-key metadata. It cannot erase an already cloned local plaintext vault, and it cannot revoke separate owner account credentials such as GitHub sessions, PATs, or personal SSH keys.

Who Runs What

  • Agents, after editing memory: doss check --changed, then fix any precise errors.
  • Agents, at wrap-up: doss sync.
  • Agents, after allowed disclosure: doss log --record --to VERIFIED_ID --shared TOPIC --level rough or full.
  • Hosts / serving layers, before an external request: doss view --for VERIFIED_ID --out DIR.
  • Owners: init, devices, deactivate, doctor, tidy, uninstall, and policy edits.

Frontmatter Fields

Valid metadata keys for Markdown memory files:

FieldValuesMeaning
sourceowner / imported / inferred / peerwhere it came from
statusactive / suggestedsuggested = unconfirmed and never disclosed
confidencehigh / medium / low, or 0-1how sure
tagslist of stringsfree grouping
verify_byYYYY-MM-DDfreshness contract; past due appears in tidy
evidencestringpointer to where this was learned
roughstringrequired only for rough-shared self/ topics; owner-authored coarse value for rough disclosure
Last updated on