Skip to main content

Local event-backed work ledger with Store runs, append-only events, receipts, and projections

Project description

Motus CLI

The Motus CLI is the reference local interface for the Store-backed work ledger. The local Store records durable run/event facts; work packets, evidence, decisions, and receipts are projections over those facts.

  1. start or observe a bounded run,
  2. record append-only events,
  3. close with a terminal outcome,
  4. inspect packet and receipt projections,
  5. keep compatibility work loops available while the Store path matures.

Install

pip install motusos
motus --help

First Store Loop

motus wrap -- python3 -c "print('motus store run')"

What this proves:

  • the CLI can execute an observed command,
  • the Store records run and outcome events,
  • output is summarized as metadata rather than persisted as raw transcript,
  • the command path is adapter-backed rather than manually journaled.

Compatibility Work Loop

motus install
motus init --empty --path .
motus doctor
LEASE_ID=$(motus work claim ADHOC-QUICKSTART-001 --intent "First local work item" --json | python3 -c 'import json,sys; print(json.load(sys.stdin)["lease_id"])')
motus work evidence "$LEASE_ID" test_result --passed 1 --failed 0
motus work release "$LEASE_ID" success
motus work receipt "$LEASE_ID"

What this proves:

  • the CLI is installed,
  • the local workspace is initialized,
  • a work item can be claimed through the compatibility lease path,
  • evidence can be attached,
  • a terminal receipt can be emitted and inspected directly,
  • the same loop writes project-local Store run/event truth by default and receipt reads prefer the Store projection.

Light Path Vs Userland

Use the light path for routine bounded command evidence:

motus wrap -- pytest

Use the compatibility work loop only when you need claim/evidence/release ergonomics:

motus work claim ...
motus work evidence ...
motus work release ...
motus work receipt ...

Both paths create or use .motus/kernel-store.db by default. Set MOTUS_KERNEL_STORE_PATH or its compatibility alias MOTUS_STORE_PATH only when you need a different Store path. If both are set, MOTUS_KERNEL_STORE_PATH wins. Set MOTUS_WORK_STORE_BRIDGE=disabled only for explicit compatibility recovery.

Add userland process only when the consequence of the work justifies extra structure, for example:

  • a release decision needs explicit scope, review, and closeout,
  • another actor must inherit the proof and acceptance boundary,
  • the work needs a stricter final receipt than the light loop provides.

Those higher-order workflows should reference Store runs, evidence, decisions, and receipt projections. They should not become a second Store or a hidden orchestration engine.

Read Next

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

motusos-0.5.3.tar.gz (94.2 kB view details)

Uploaded Source

Built Distribution

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

motusos-0.5.3-py3-none-any.whl (133.5 kB view details)

Uploaded Python 3

File details

Details for the file motusos-0.5.3.tar.gz.

File metadata

  • Download URL: motusos-0.5.3.tar.gz
  • Upload date:
  • Size: 94.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for motusos-0.5.3.tar.gz
Algorithm Hash digest
SHA256 19eff0a173aef8f19530ddb02c6801166e3c6736f7683b53c1b56b3dd25bc061
MD5 7fa7fc896c92bf60c34bb915832e51a6
BLAKE2b-256 ff3fc01c1f93415a25901bede937b6c6e2483f187b98d4e6d6a41d3d2de7dc1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for motusos-0.5.3.tar.gz:

Publisher: publish.yml on motus-os/motus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file motusos-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: motusos-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 133.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for motusos-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ce7b5f9f4c8e95f92debc7e6c4f2e89d5bda3f8200660f731ac14b889fee7851
MD5 e50531ff4592560e4ffd3e7acd254b84
BLAKE2b-256 06269f8a94798201e2a89f41905c9a787b7fc7dd531b5752d50444b6ba2b7080

See more details on using hashes here.

Provenance

The following attestation bundles were made for motusos-0.5.3-py3-none-any.whl:

Publisher: publish.yml on motus-os/motus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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