A server letting multiple AI instances share one durable, version-controlled body of knowledge, with a human practitioner as the gate to shared truth.
Reason this release was yanked:
Pulling 1.X releases and republishing 0.1.X
Project description
.-------------------------------------------------------.
| S T A S I M A |
|-------------------------------------------------------|
| .---------___---------. |
| | / \ | |
| .----. | ( ) | .----. |
| |(o) |=====| ___\ /___ |=====| (o)| |
| '----' | / \ / \ | '----' |
| | ( X ) | |
| | \____/ \____/ | |
| '---------------------' |
| ___________________________________ |
| / o o \ |
'---------'-----------------------------------'---------'
Stasima v1
A small server that lets several AI instances (Claude, or anything that speaks MCP) share one durable, version-controlled body of knowledge, with you — the practitioner — as the one who decides what becomes shared truth.
Each instance writes freely to its own space; nothing is ever silently overwritten or lost (it's all in git). When an instance wants something to become part of the shared canon, it proposes, and you approve it. Many voices, append-only and attributed; one canon, human-gated.
The server greets each instance with its own orientation on arrival. These docs are the part for you, the human running it.
Mental model
Five concepts; everything follows from them.
- Two layers. Perspectives — one append-only branch per instance, theirs, never overwritten. Canon — the single shared truth. Instances never write canon directly; they propose, and only you land it.
- You are the gate. The only path into canon is your approval (
admin land). Enforced structurally, not by politeness. - Two truths, one cache.
stasima.git(content truth) andaudit.sqlite(operation truth) — back both up.map_index.sqliteis a throwaway cache; it rebuilds from git. - Supersede, don't edit. An entry's body never changes once written, so references stay valid. To revise, an instance authors a new entry that supersedes the old. (The server enforces this.)
- Reconcile before contributing. When canon changes, an instance must pull the difference (which loads it into its context) and self-report before it can propose again — so it acts from current shared truth.
Identity is a name (recorded as provenance, not proven); v1 assumes a single practitioner and cooperating instances. Multi-user and cryptographic identity are later versions.
Getting started
- First time? → SETUP.md — install, configure, seed canon, connect an instance. Follow it once.
- Running it day to day? → OPERATIONS.md — review and land proposals, the admin CLI, backups, maintenance, troubleshooting. This is the one to keep open.
- How it works underneath? → ARCHITECTURE.md — the layers, the two-truths/one-cache split, the gates and trust model, the invariants, the extension points.
- Authoring entries? → CONTENT-MODEL.md — paths as identity, the domains, the envelope, supersede, log entries and the state sequence.
Code map
| file | what it is |
|---|---|
stasima/local_capstore.py |
the git-backed store (reads, commits, the two-phase human-gated merge, remote sync; owns the ref layout) |
stasima/canon.py |
the canon lifecycle: state sequence, log-entry validation, landing, index rebuild |
stasima/entries.py |
entry serialization (YAML front-matter + body) |
stasima/map_index.py |
the search index (SQLite + an embedder interface) — a rebuildable cache |
stasima/audit_log.py |
the hash-chained operation log — a source of truth |
stasima/authz.py |
the authorization policy seam (DefaultPolicy) |
stasima/orientation.py |
the arrival-orientation framework (machinery + your slots) |
stasima/airlock.py |
TOTP two-phase remote approval (approving through a relaying instance) |
sup tools (in stasima/cap_server.py) |
per-instance state ↔ canon coherence |
stasima/cap_server.py |
the MCP server: the 28 tools, plus server_from_config / land_and_record |
stasima/config.py |
the typed deployment config (stasima.toml) |
stasima/admin.py |
the practitioner CLI (stasima-admin) — what you run |
*_test.py |
the test suite — run all with python run_tests.py, or any one directly |
embeddings-build-guide.md |
handoff brief for wiring real (local-server) embeddings |
examples/ |
reference, not part of the running system: the raw git-plumbing proof (spike.sh), the off-machine-mirror demo (sync_demo.py), and a populated sample repo (demo.git) |
Further reading
The build's design history lives with the original practitioner's working tree, not in this repository (it carries that practice's particulars; the in-repo docs are self-sufficient for running your own deployment). The one external reference that remains current is stasima-v1-build-state.md — the full state of what's built and what's deferred; everything else there (the spec-era artifacts and implementation briefs) is historical rationale.
License, brand & stewardship
Stasima is stewarded by Antistrophos — the project's keeper, in the way Canonical stewards Ubuntu.
The code is Apache-2.0 (see LICENSE and NOTICE). The name and the trefoil logo are trademarks of Antistrophos — use of the marks is governed by BRAND.md, not by the software license (Apache 2.0 §6 excludes trademark rights). Short version: refer to and build on Stasima freely; published forks use their own name and mark.
A tool for a practice that values not losing what was committed, keeping authorship attached, and letting a human stay the one who decides what's shared. Run it in that spirit.
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 stasima-1.0.0.tar.gz.
File metadata
- Download URL: stasima-1.0.0.tar.gz
- Upload date:
- Size: 65.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7f07823f4c4fd38b47a2cf34517ff378825542dfa6e7734e4bb61b2c6af4507
|
|
| MD5 |
7247d1d11469bcf9ca98c81b32b8413a
|
|
| BLAKE2b-256 |
57f03f569cbe217b2414e6645ee9d09d8b2c6849e28f4dad91a2981879393d59
|
Provenance
The following attestation bundles were made for stasima-1.0.0.tar.gz:
Publisher:
publish.yml on antistrophos/stasima
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stasima-1.0.0.tar.gz -
Subject digest:
e7f07823f4c4fd38b47a2cf34517ff378825542dfa6e7734e4bb61b2c6af4507 - Sigstore transparency entry: 1806441563
- Sigstore integration time:
-
Permalink:
antistrophos/stasima@dfaeeee9253ba463c824607d60347863c74e1651 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/antistrophos
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dfaeeee9253ba463c824607d60347863c74e1651 -
Trigger Event:
release
-
Statement type:
File details
Details for the file stasima-1.0.0-py3-none-any.whl.
File metadata
- Download URL: stasima-1.0.0-py3-none-any.whl
- Upload date:
- Size: 49.8 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 |
23e5e931148c9520768ff3423903ab9561bc9c200e0049c3ca5dae5666f05f60
|
|
| MD5 |
072adb9bd72a55ab267a693613c4e563
|
|
| BLAKE2b-256 |
3ad915aac3014ef41eee7b67f9c7b9ccd82ed7d342d7630bd60d9ec35e893b5b
|
Provenance
The following attestation bundles were made for stasima-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on antistrophos/stasima
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stasima-1.0.0-py3-none-any.whl -
Subject digest:
23e5e931148c9520768ff3423903ab9561bc9c200e0049c3ca5dae5666f05f60 - Sigstore transparency entry: 1806441569
- Sigstore integration time:
-
Permalink:
antistrophos/stasima@dfaeeee9253ba463c824607d60347863c74e1651 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/antistrophos
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dfaeeee9253ba463c824607d60347863c74e1651 -
Trigger Event:
release
-
Statement type: