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 work:

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

The compatibility loop creates or uses .motus/kernel-store.db by default. Set MOTUS_KERNEL_STORE_PATH or MOTUS_STORE_PATH only when you need a different Store path. 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.0.tar.gz (120.0 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.0-py3-none-any.whl (171.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: motusos-0.5.0.tar.gz
  • Upload date:
  • Size: 120.0 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.0.tar.gz
Algorithm Hash digest
SHA256 2d347a9d7796e2490a54242242924791513cac3c7e7f906ef84af2edeb524dce
MD5 45028ab2cceb0831fdcca814743df2ea
BLAKE2b-256 682d7fc9042c870f4779e63143fed7bdf1ef32b7d6144c4cdd2f232527a93613

See more details on using hashes here.

Provenance

The following attestation bundles were made for motusos-0.5.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: motusos-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 171.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05249f41fcced8a900ed711353f8e8533949362b100722593ec1354a24644b1e
MD5 5a3fb4c7772c05886d29d4c71c864f9f
BLAKE2b-256 064043b2cf8c2231cffc875b7ef7294c279c83aea776830cd01601ba6a63ac41

See more details on using hashes here.

Provenance

The following attestation bundles were made for motusos-0.5.0-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