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.
- start or observe a bounded run,
- record append-only events,
- close with a terminal outcome,
- inspect packet and receipt projections,
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92973fc147893d5ecb0a6446e7634670ae36ee4f0d83d44a72edb569e842c004
|
|
| MD5 |
f135f2375b1596a9f782e65439bc46ee
|
|
| BLAKE2b-256 |
c4f62d4d976fdd49a3b571415b6bff33439883d41e2e3a2a081544f091220221
|
Provenance
The following attestation bundles were made for motusos-0.5.1.tar.gz:
Publisher:
publish.yml on motus-os/motus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
motusos-0.5.1.tar.gz -
Subject digest:
92973fc147893d5ecb0a6446e7634670ae36ee4f0d83d44a72edb569e842c004 - Sigstore transparency entry: 1525718776
- Sigstore integration time:
-
Permalink:
motus-os/motus@d10ab4de2083515011942a0dfa78a63225f3e99d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/motus-os
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d10ab4de2083515011942a0dfa78a63225f3e99d -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c801b97f4a5761ca22362590e115aa76505367a642e3d33bd2d221d01754729
|
|
| MD5 |
0a7b7c8859786ade5516c51ce695b0f1
|
|
| BLAKE2b-256 |
4e9b4a4c78cf01c0b344ac4702ea18fe38e29425e857407272191180f1102c02
|
Provenance
The following attestation bundles were made for motusos-0.5.1-py3-none-any.whl:
Publisher:
publish.yml on motus-os/motus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
motusos-0.5.1-py3-none-any.whl -
Subject digest:
6c801b97f4a5761ca22362590e115aa76505367a642e3d33bd2d221d01754729 - Sigstore transparency entry: 1525718989
- Sigstore integration time:
-
Permalink:
motus-os/motus@d10ab4de2083515011942a0dfa78a63225f3e99d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/motus-os
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d10ab4de2083515011942a0dfa78a63225f3e99d -
Trigger Event:
workflow_dispatch
-
Statement type: