Local control plane for work with claim, evidence, receipt, and work-ledger primitives
Project description
Motus CLI
The Motus CLI is the reference local interface for the work-packet and ledger loop. It is the reference implementation of the shipped Motus packet and ledger surface.
- define or select a work item,
- claim active ownership,
- attach evidence while the work happens,
- release with a terminal receipt,
- inspect that receipt directly.
Install
pip install motusos
motus --help
First Local 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,
- evidence can be attached,
- a terminal receipt can be emitted and inspected directly.
Light Path Vs Governed Path
Use the light path for routine bounded work:
motus work claim ...
motus work evidence ...
motus work release ...
motus work receipt ...
Use the governed packet path only when the consequence of the work justifies the 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.
Reference Release Workflow
Motus also includes a bounded compiled release workflow surface for consequential release work:
motus release scaffold --release-id 0.3.16
motus release sync --release-id 0.3.16
motus release validate --release-id 0.3.16
motus release finalize --release-id 0.3.16
When running from the source tree instead of an installed CLI, bind to the repo package explicitly:
PYTHONPATH=src python3 -m motus.cli release scaffold --release-id 0.3.16
PYTHONPATH=src python3 -m motus.cli release sync --release-id 0.3.16
PYTHONPATH=src python3 -m motus.cli release validate --release-id 0.3.16
PYTHONPATH=src python3 -m motus.cli release finalize --release-id 0.3.16
That workflow forms the release as explicit work:
- one authored
release-source.json, - one generated workflow manifest,
- six generated stage packets,
- one generated receipt template,
- one generated metrics template,
- one strict
final-receipt.json.
Workspace layout:
.motus/releases/{release-id}/
release-source.json
generated/
workflow.json
packets/*.json
receipt-template.json
metrics-template.json
final-receipt.json
Rules:
release_idmust be a slug using only letters, digits,.,_, or-.release-source.jsonis the only authored release-instance surface.- generated outputs are disposable and are rebuilt by
sync. validateis no-write and fails closed on drift.finalizeemits one immutable final receipt.
It is a reference workflow surface, not a hidden orchestration engine. The packets route to capability classes and keep runtime-brand decisions behind the adapter boundary.
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.3.16.tar.gz.
File metadata
- Download URL: motusos-0.3.16.tar.gz
- Upload date:
- Size: 392.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02c11910c80039e54c2bb9d100e317bbf4746ec924a37632665a49faf845d23e
|
|
| MD5 |
28d7dd45a26a93d08120757b2ba8ee0a
|
|
| BLAKE2b-256 |
f81327af759c590712711afb2f30650c968afa891eac376f59193e924bdd7be7
|
Provenance
The following attestation bundles were made for motusos-0.3.16.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.3.16.tar.gz -
Subject digest:
02c11910c80039e54c2bb9d100e317bbf4746ec924a37632665a49faf845d23e - Sigstore transparency entry: 1374984424
- Sigstore integration time:
-
Permalink:
motus-os/motus@8cd2cf862c70bb029791f440653529c0a4c20074 -
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@8cd2cf862c70bb029791f440653529c0a4c20074 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file motusos-0.3.16-py3-none-any.whl.
File metadata
- Download URL: motusos-0.3.16-py3-none-any.whl
- Upload date:
- Size: 583.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3516d276cea0b67bc8c880a48ef71cfb3a462da0a226d92553efaf33966ffd43
|
|
| MD5 |
a0263a59165deafba88a0eae35c99663
|
|
| BLAKE2b-256 |
85b40a7c1c3f5134db6976d1c43f6068d746c15db85eec80aec536cd61883d6f
|
Provenance
The following attestation bundles were made for motusos-0.3.16-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.3.16-py3-none-any.whl -
Subject digest:
3516d276cea0b67bc8c880a48ef71cfb3a462da0a226d92553efaf33966ffd43 - Sigstore transparency entry: 1374984542
- Sigstore integration time:
-
Permalink:
motus-os/motus@8cd2cf862c70bb029791f440653529c0a4c20074 -
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@8cd2cf862c70bb029791f440653529c0a4c20074 -
Trigger Event:
workflow_dispatch
-
Statement type: