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 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.1.tar.gz (93.7 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.1-py3-none-any.whl (132.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: motusos-0.5.1.tar.gz
  • Upload date:
  • Size: 93.7 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.1.tar.gz
Algorithm Hash digest
SHA256 92973fc147893d5ecb0a6446e7634670ae36ee4f0d83d44a72edb569e842c004
MD5 f135f2375b1596a9f782e65439bc46ee
BLAKE2b-256 c4f62d4d976fdd49a3b571415b6bff33439883d41e2e3a2a081544f091220221

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: motusos-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 132.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6c801b97f4a5761ca22362590e115aa76505367a642e3d33bd2d221d01754729
MD5 0a7b7c8859786ade5516c51ce695b0f1
BLAKE2b-256 4e9b4a4c78cf01c0b344ac4702ea18fe38e29425e857407272191180f1102c02

See more details on using hashes here.

Provenance

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