Shorter README with nothing that goes stale; honest rulebook budget; complete cycle instructions
ci / tests (macos-latest, python 3.10) (push) Canceled after 0s
ci / tests (macos-latest, python 3.11) (push) Canceled after 0s
ci / tests (macos-latest, python 3.13) (push) Canceled after 0s
ci / tests (macos-latest, python 3.9) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.10) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.11) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.13) (push) Canceled after 0s
ci / tests (macos-latest, python 3.10) (push) Canceled after 0s
ci / tests (macos-latest, python 3.11) (push) Canceled after 0s
ci / tests (macos-latest, python 3.13) (push) Canceled after 0s
ci / tests (macos-latest, python 3.9) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.10) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.11) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.13) (push) Canceled after 0s
README cut by about 40 percent, with tests that refuse version numbers, counts, years and a word ceiling. The rulebook budget now counts characters as well as lines. Folded lessons no longer count as loose notes, reading a lesson no longer invalidates a cycle, and the cycle brief answers the twenty gaps the first real cycle reported. Adds `sisi cycle check`. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
4a2905ba80
commit
e5b603486b
12 files changed
+1026
-317
No files matched your search
@@ -1,81 +1,73 @@
|
||||
# sisi: self-improving superintelligence
|
||||
|
||||
**The purpose of sisi is that your AI agents get better at working for you on every single turn, in every tool,
|
||||
without you doing anything.** Each piece of work ends with the agent recording how it could have gone better.
|
||||
That lesson goes into one store that every agent in every tool reads, so the next turn, in any tool, starts
|
||||
smarter than the last one. Lessons that keep recurring are strengthened until the mistake cannot happen again.
|
||||
**Your AI agents get better at working for you on every turn, in every tool, automatically, just by
|
||||
being used. There is nothing to schedule or maintain.** Each piece of work ends with the agent
|
||||
recording how it could have gone better. That lesson goes into one store that every agent in every
|
||||
tool reads, so a later turn in any tool can start from it. A lesson that recurs after being shown is
|
||||
strengthened until an enforced check stops the mistake.
|
||||
|
||||
The direction it pushes is fixed: you state an outcome at a higher and higher level (a function, then a module,
|
||||
then a product) and get it back correct, complete, verified by the strongest method available, and fast, with
|
||||
fewer and fewer interruptions.
|
||||
The direction is fixed: state an outcome at a higher level and get it back correct, complete,
|
||||
verified by the strongest method available and fast, with fewer interruptions. An agent writes
|
||||
down how success will be checked, runs those checks before saying it is done, and is sent back
|
||||
when they fail.
|
||||
|
||||
To improve, an agent first has to know whether it succeeded. So sisi also makes an agent write down how success
|
||||
will be checked, run those checks before it says it is done, and get sent back when they fail. It is a rulebook
|
||||
and a small command-line tool, plain Python with no dependencies. What it learns about you is kept outside the
|
||||
clone, so updating never loses it.
|
||||
sisi is a shared rulebook and a small command-line tool in plain Python with no dependencies. What
|
||||
it learns about you is kept outside the clone, so updating never loses it.
|
||||
|
||||
**How far along this is.** The name states the goal, not the present. Today every turn is checked, measured and
|
||||
ends with a recorded lesson; each lesson takes effect at once (a field note, a draft recipe, a learned note or
|
||||
a backlog item), is offered to later agents when they start that kind of work (strong matches in full, the rest as one-line
|
||||
headings the agent chooses from), and is strengthened when the same problem recurs
|
||||
after being shown — up to an enforced check the gate runs. Consolidation (`sisi cycle`) folds lessons into the
|
||||
rulebook without growing it, and `sisi improve` reports whether any of this is working. There is nothing to
|
||||
schedule: it all runs from normal use. See [Status](#status) for exactly what works, and
|
||||
[docs/learning.md](docs/learning.md) for the loop in plain words. What is not yet shown: that this makes agents
|
||||
measurably better over weeks of real use. `sisi improve` exists to answer that, and it needs use to have data.
|
||||
|
||||
## Why it exists
|
||||
|
||||
- **Agents report "done" without proof.** The definition of done is usually a sentence in an instruction file.
|
||||
Nothing makes the agent write it as something runnable, and nothing stops it ending a turn when a check fails.
|
||||
- **Each tool learns separately.** A lesson learned in one tool is lost to the others, and instructions drift apart
|
||||
across `CLAUDE.md`, `AGENTS.md` and friends.
|
||||
- **The work takes too long.** Nobody measures the time from a request to a result that is actually verified, so
|
||||
nobody can tell whether a change to the instructions helped.
|
||||
The name states the goal, not the present. What is not yet shown is that this makes agents
|
||||
measurably better over weeks of real use. `sisi improve` reports the counted evidence for that
|
||||
question, and it needs real use to have data.
|
||||
|
||||
## How it works
|
||||
|
||||
- **A contract per piece of work.** `.sisi/contract.json` in the project lists the checks that decide success,
|
||||
each with the claim it supports, a command, the result expected and its rung (below). It can also list
|
||||
invariants (what must not get worse), assumptions and open questions. The agent drafts it from the request.
|
||||
- **A ladder of checks.** Each check is rated by how strong the evidence is: 1 proof, model checking or the type
|
||||
system; 2 property-based tests, fuzzing, comparison with a reference; 3 example tests; 4 golden files and
|
||||
snapshots, including screenshots; 5 a rubric scored by an independent judge; 6 the human. The rulebook tells the
|
||||
agent to use the highest rung that is feasible, and sets a minimum rung for kinds of claim that need it
|
||||
(concurrency, parsing, money, state machines, data migration).
|
||||
- **An end-of-turn gate.** A hook calls `sisi verify` when the agent tries to finish. If a check fails or did not
|
||||
run, the agent is sent back with the failures. If a large change has no contract, it is sent back to write one.
|
||||
Small edits pass. After three send-backs in a row the agent is let through and the result is marked unverified,
|
||||
so a broken check cannot trap a session. Today this blocks in Claude Code, Codex, Gemini CLI, Copilot CLI,
|
||||
Qwen Code and Pi, and sends the agent back with a follow-up message in Cursor (see the table below).
|
||||
- **A retrospective after each piece of work.** `sisi retro` records how the work could have gone better, against
|
||||
five aims: the human could have worked at a higher level, a stronger check was possible, the human was
|
||||
interrupted more than needed, the result was not what they meant, it took longer than it had to. Retros become
|
||||
shared lessons (`sisi lessons`), which every tool reads.
|
||||
- **Time to delivery.** Each time the gate lets a turn end, sisi records the time since the human's last typed
|
||||
message, how many times it sent the agent back, and how long the checks took. `sisi time` compares the last 7
|
||||
days with the 7 before.
|
||||
- **One shared store.** The rulebook, lessons, results and settings are written once and read by every tool, which
|
||||
are connected by reference (an import line or a symlink), never by copy.
|
||||
`sisi retro` ends each piece of work by recording how it could have gone better: the moment, the
|
||||
cause, and the change that would make a later agent do it right without being told, in the words a
|
||||
different agent would use for that work. The lesson takes effect in your personal store at once and
|
||||
is offered to later agents starting matching work. If the problem recurs after a lesson has been
|
||||
shown, it is strengthened: a note, a candidate rule, then an enforced check the gate runs.
|
||||
`sisi cycle` consolidates lessons into rules and library entries without growing the rulebook.
|
||||
Whether it is due is checked during normal use, so nothing is scheduled; see
|
||||
[docs/learning.md](docs/learning.md).
|
||||
|
||||
Improvement needs a way to tell success from failure:
|
||||
|
||||
- **A contract of executable checks.** `.sisi/contract.json` lists the checks that decide success,
|
||||
each with its claim, a command, the result expected and its rung, plus invariants (what must not
|
||||
get worse), assumptions and open questions. The agent drafts it from the request.
|
||||
- **A ladder of six rungs.** Rung 1 proof, model checking or the type system; rung 2
|
||||
property-based testing, fuzzing or comparison with a reference; rung 3 examples; rung 4 golden
|
||||
files and snapshots, including screenshots; rung 5 a rubric scored by an independent judge; rung
|
||||
6 the human. Use the highest feasible rung; some claim kinds have a minimum (concurrency,
|
||||
parsing, money, state machines, data migration).
|
||||
- **An end-of-turn gate.** A hook runs `sisi verify` when the agent tries to finish. A failing or
|
||||
unrun check sends it back, a large change with no contract sends it back to write one, and small
|
||||
edits pass. After repeated send-backs it is let through marked unverified, so a broken check
|
||||
cannot trap a session.
|
||||
- **Time to delivery.** When the gate lets a turn end, sisi records how long the verified result
|
||||
took and how often the agent was sent back. `sisi time` reports it.
|
||||
- **One shared store.** Rulebook, lessons, results and settings are written once and read by every
|
||||
tool, connected by reference (an import line or a symlink), never by copy.
|
||||
|
||||
## Quick start
|
||||
|
||||
Requirements: Python 3.9 or newer (see "Python versions" below), and `git`. Linux and macOS are what the tests and
|
||||
CI are meant to cover; Windows is not supported (the code imports `fcntl`).
|
||||
Requirements: Python 3.9 or newer, and `git`, on Linux or macOS. Windows is not supported (the code
|
||||
imports `fcntl`). The minimum Python version is proved by CI; the reasoning is in
|
||||
[CONTRIBUTING.md](CONTRIBUTING.md).
|
||||
|
||||
git clone https://github.com/swaits/sisi.git
|
||||
cd sisi
|
||||
bin/sisi install # wire sisi into the tools it finds; backs up every file it edits
|
||||
bin/sisi doctor # shows what is wired in each tool
|
||||
bin/sisi install --dry-run
|
||||
bin/sisi install
|
||||
bin/sisi doctor
|
||||
|
||||
`sisi install` links `bin/sisi` as `~/.local/bin/sisi`; make sure that folder is on your `PATH`, or call
|
||||
`bin/sisi` from the clone. It edits your tools' global instruction files only by adding an import line, and
|
||||
`sisi uninstall` restores every file you have not edited since exactly as it was, and removes only its own
|
||||
entries from a file you have edited. `sisi install --dry-run` shows every change first and makes none. It skips any tool whose configuration folder does not exist.
|
||||
The dry run prints every change and makes none. Install backs up every file it edits, adds only an
|
||||
import line, a link, hook entries or a generated plugin, and skips a missing configuration folder.
|
||||
It links the command as `~/.local/bin/sisi`; make sure that folder is on your `PATH`, or call
|
||||
`bin/sisi` from the clone. `sisi doctor` shows what is wired and anything you must still do.
|
||||
|
||||
Now a first contract. Change to one of your own projects (not the sisi clone), where `sisi contract init --goal "slugify() turns titles into URL slugs"` creates a
|
||||
skeleton whose placeholder check fails until you replace it. Replace it with a real check. Here, for a small
|
||||
function and a test next to it:
|
||||
For a first contract, change to one of your own projects and run
|
||||
`sisi contract init --goal "slugify() turns titles into URL slugs"`. That skeleton's placeholder
|
||||
check fails until you replace it. For a small function with a test next to it:
|
||||
|
||||
{
|
||||
"id": "slugify",
|
||||
@@ -96,158 +88,107 @@ function and a test next to it:
|
||||
"questions": []
|
||||
}
|
||||
|
||||
Then:
|
||||
Trimmed output:
|
||||
|
||||
$ sisi verify
|
||||
ID KIND RUNG TIER STATUS SECS
|
||||
examples general 3 fast passed 0.1
|
||||
|
||||
...
|
||||
OK
|
||||
|
||||
`sisi verify` exits 0 when every check passes, 1 when one fails, 2 when there is no contract and 3 when the
|
||||
project is not trusted (see Security). With the hook installed you do not run it yourself: the agent writes the
|
||||
contract, and the gate runs it at the end of each turn.
|
||||
`sisi verify` succeeds only when every check passes; `sisi help` lists the other exit meanings.
|
||||
With a hook wired you do not run it yourself: the agent writes the contract and the gate runs it.
|
||||
|
||||
## Which tools are supported
|
||||
## Supported tools
|
||||
|
||||
| Tool | Rulebook loaded | Lessons at session start | End-of-turn enforcement | How verified |
|
||||
|---|---|---|---|---|
|
||||
| Claude Code | yes | yes | blocks | ran end to end |
|
||||
| Codex CLI | yes | yes | blocks | built from documentation; session-start hook fired live |
|
||||
| Gemini CLI | yes | yes | blocks | built from documentation |
|
||||
| GitHub Copilot CLI | yes | yes | blocks | ran end to end |
|
||||
| Qwen Code | yes | yes | blocks | built from documentation; session-start hook fired live |
|
||||
| Pi | yes | yes | blocks | built from documentation; extension loaded and tick ran live |
|
||||
| Cursor | no (no confirmed global file) | yes | sends a follow-up | built from documentation |
|
||||
| OpenCode | yes | no | unknown | built from documentation; plugin load verified live |
|
||||
| Muse Code | yes (via the Claude/Codex files) | no | unknown | not built |
|
||||
| Antigravity | via the shared Gemini file | no | unknown | not built |
|
||||
| Windsurf | pointer file | no | none | built from documentation |
|
||||
| Cline | yes | no | none | built from documentation |
|
||||
| Kiro | yes | no | none | built from documentation |
|
||||
| Zed | yes | no | none | built from documentation |
|
||||
| Goose | yes | no | none | built from documentation |
|
||||
| Amp | yes | no | none | built from documentation |
|
||||
| Grok CLI | yes | no | none | ran end to end (`grok inspect` lists the file as global) |
|
||||
| Crush | yes | no | none | built from documentation |
|
||||
| Aider | yes (via `read:` in an existing `~/.aider.conf.yml`) | no | none | built from documentation |
|
||||
| T3 Code | via provider | via provider | via provider | host app; nothing to wire |
|
||||
| Orca | via provider | via provider | via provider | host app; nothing to wire |
|
||||
Enforcement is what happens at the end of a turn; evidence is how the wiring was checked.
|
||||
`sisi doctor` gives the live state on your machine. Per-tool detail, limits and steps you must
|
||||
take are in [docs/harnesses.md](docs/harnesses.md).
|
||||
|
||||
This table comes from `sisi doctor` and the wiring code (`sisi/wiring.py`, `sisi/adapters.py`); per-tool limits
|
||||
and any step you must take yourself are in [docs/harnesses.md](docs/harnesses.md). Where there is no gate, the
|
||||
rulebook still tells the agent to write and run a contract, but nothing enforces it. `sisi install` is skipped
|
||||
for a tool whose configuration folder is missing, and `sisi install --dry-run` prints exactly what would be
|
||||
created, edited (with diffs) or skipped while changing nothing. The uninstall guarantee: a file you have not
|
||||
edited since install is restored byte for byte (or removed, if sisi created it); a file you have edited since
|
||||
install keeps your edits, with only sisi's own entries removed and every other byte left as it was; a file
|
||||
sisi cannot edit with certainty is skipped and reported, never rewritten, and a generated plugin or extension
|
||||
you edited is left alone entirely. Agent skills linked into `~/.agents/skills` are supported by the wiring but
|
||||
the product ships none yet.
|
||||
| Tool | Enforcement | Evidence |
|
||||
|---|---|---|
|
||||
| Claude Code | blocks | ran end to end |
|
||||
| Codex CLI | blocks | documentation; session-start hook fired live |
|
||||
| Gemini CLI | blocks | documentation |
|
||||
| GitHub Copilot CLI | blocks | ran end to end |
|
||||
| Pi | blocks | documentation; extension loaded, tick ran live |
|
||||
| Qwen Code | blocks | documentation; session-start hook fired live |
|
||||
| Cursor (no confirmed global rulebook file) | sends a follow-up | documentation |
|
||||
| Aider (existing config file only) | rulebook only | documentation |
|
||||
| Amp | rulebook only | documentation |
|
||||
| Cline | rulebook only | documentation |
|
||||
| Crush | rulebook only | documentation |
|
||||
| Goose | rulebook only | documentation |
|
||||
| Grok CLI | rulebook only | verified with `grok inspect` |
|
||||
| Kiro | rulebook only | documentation |
|
||||
| Windsurf (pointer file) | rulebook only | documentation |
|
||||
| Zed | rulebook only | documentation |
|
||||
| Antigravity (through the shared Gemini file) | unknown | nothing wired separately |
|
||||
| Muse Code (through Claude Code or Codex files) | unknown | nothing wired directly |
|
||||
| OpenCode | unknown | documentation; plugin loading verified live |
|
||||
| Orca | through its provider | host app; nothing to wire |
|
||||
| T3 Code | through its provider | host app; nothing to wire |
|
||||
|
||||
Where there is no gate, the rulebook still tells the agent to write and run a contract, but nothing
|
||||
enforces it.
|
||||
|
||||
## The verifier library
|
||||
|
||||
sisi ships 140 verification techniques in ten sections (design, prove, many-inputs, concurrency, test-quality,
|
||||
regression, real-world, safety, intent, completeness) and 20 recipes that say what "done" means for a kind of
|
||||
work (a bug fix, a new library, a data migration, a web UI change, and so on). Each technique has a minimal
|
||||
example, the exact command, what passing looks like, and a JSON check to paste into a contract. Agents query it
|
||||
instead of inventing a check from memory:
|
||||
sisi ships verification techniques and recipes that say what "done" means for a kind of work, such
|
||||
as a bug fix or a data migration. Each technique gives an example, the exact command, what passing
|
||||
looks like, and a check to paste into a contract. `sisi verifiers` and `sisi done` list them, so
|
||||
agents query them instead of inventing a check. Trimmed output:
|
||||
|
||||
$ sisi verifiers for "a parser that must not crash on hostile input"
|
||||
1. hostile-input-from-schema rung 2 cost medium installed: no
|
||||
Does every call my API or tool accepts survive wrong, missing, huge and strange arguments with a clean error and no crash?
|
||||
2. klee rung 1 cost high installed: no
|
||||
Which inputs make this C program crash, overflow or break an assert, found by exploring its paths?
|
||||
3. afl-plus-plus rung 2 cost medium installed: no
|
||||
Can any input make this native program or library crash, hang or trip a sanitizer?
|
||||
4. atheris rung 2 cost medium installed: no
|
||||
Can any input make this Python code raise an exception it should not, hang, or crash the interpreter?
|
||||
|
||||
$ sisi done for "bug fix" # prints the full recipe for that kind of work
|
||||
Matching is by word overlap, weighted toward the question each entry answers, so phrase the claim
|
||||
as a doubt and read the top results rather than trusting the first. `sisi verifiers show ID` prints
|
||||
an entry in full, `sisi verifiers doctor` reports installed tools, and `sisi done for "bug fix"`
|
||||
prints a recipe. Format and quality bar: [docs/verifier-format.md](docs/verifier-format.md).
|
||||
|
||||
The chooser is keyword matching over each entry's header, so phrase the claim the way you would phrase a doubt, and
|
||||
read the top few results rather than trusting the first. `sisi verifiers show ID` prints one entry in full, and
|
||||
`sisi verifiers doctor` says which of the tools are installed on your machine. Format and quality bar:
|
||||
[docs/verifier-format.md](docs/verifier-format.md). Most entries were run on the author's machine; the rest were checked against the
|
||||
tools' documentation. Each header says which (`verified: ran | docs | memory`).
|
||||
## Where data lives, updating and uninstalling
|
||||
|
||||
## Where data lives, and updating
|
||||
- **The product** is the clone: code, base rulebook, library and defaults. It is never written at
|
||||
run time.
|
||||
- **What sisi learns for you** lives in `~/.local/share/sisi` (or `$SISI_DATA`), a local git
|
||||
repository that is never pushed.
|
||||
- **Scratch** that can be rebuilt lives in `~/.local/state/sisi` (or `$SISI_STATE`).
|
||||
|
||||
| Place | Where | What |
|
||||
|---|---|---|
|
||||
| Product | the clone | code, base rulebook, verifier library, recipes, defaults. Never written at run time. |
|
||||
| Personal data | `~/.local/share/sisi` (or `$SISI_DATA`) | lessons, learned changes to rules (an overlay), your preferences, settings, trusted projects. A local git repository with every change committed, never pushed. |
|
||||
| Scratch | `~/.local/state/sisi` (or `$SISI_STATE`) | rebuildable: transcript index, locks, logs, results |
|
||||
|
||||
`sisi update` fast-forwards the clone (`git fetch` then a fast-forward merge; it refuses if you have local
|
||||
changes), takes a backup of your personal data, migrates its format if needed, reapplies your overlay to the new
|
||||
rulebook and rebuilds it. If the product changed a rule you had replaced, your version is kept and queued for a
|
||||
re-test. `sisi export` and `sisi import` move personal data to another machine as one archive. More:
|
||||
`sisi update` replaces only the product, after backing up your personal data, and reapplies what
|
||||
you learned. `sisi status` shows the live state; the layout is in
|
||||
[docs/personal-data.md](docs/personal-data.md).
|
||||
|
||||
## Uninstalling
|
||||
`sisi uninstall` removes the import line, hooks and links. A file you have not edited since install
|
||||
is restored byte for byte. A file you edited keeps your edits and loses only sisi's entries. A file
|
||||
sisi cannot edit with certainty is skipped and reported. Personal data and scratch are left for you
|
||||
to delete. The exact guarantee is in [docs/harnesses.md](docs/harnesses.md).
|
||||
|
||||
sisi uninstall
|
||||
## Designed but not built
|
||||
|
||||
removes the import line, hooks and links. A file not edited since install is restored byte for byte; a file you
|
||||
edited keeps your edits and loses only sisi's entries. Your personal data and
|
||||
scratch folders are left alone; delete them yourself if you want them gone. Then delete the clone.
|
||||
[docs/design.md](docs/design.md) separates what is built from what is not. The main missing pieces:
|
||||
|
||||
## Status
|
||||
|
||||
An early release. `sisi --version` prints the version, and [CHANGELOG.md](CHANGELOG.md) lists what changed.
|
||||
|
||||
Works today, with tests:
|
||||
|
||||
- Contracts, `sisi verify` (fast and deep tiers), the trust mechanism, the end-of-turn gate and session-start hook.
|
||||
- Wiring for every tool in the table above: blocking gates in Claude Code, Codex, Gemini CLI, Copilot CLI,
|
||||
Qwen Code and Pi; a follow-up gate in Cursor; rulebook-only links elsewhere; an OpenCode plugin whose
|
||||
enforcement is unproven (see [docs/harnesses.md](docs/harnesses.md)); and `sisi doctor`, `audit`.
|
||||
- The verifier library and recipes, with `sisi verifiers lint`.
|
||||
- Retros, lessons, quarantined preferences, time to delivery, personal data, overlay, update, export and import,
|
||||
releases and rollback.
|
||||
- The learning loop that acts on lessons: immediate effects (field notes, draft recipes, learned notes,
|
||||
`sisi backlog`), delivery at the matching moment, the strength ladder (note, candidate rule, enforced check),
|
||||
consolidation (`sisi cycle`, with exact revert) and `sisi improve`. No scheduler: due-ness is a counter
|
||||
checked at session start, at the end of each turn and in `sisi retro`, `sisi verify` and `sisi done for`.
|
||||
Plain-words tour: [docs/learning.md](docs/learning.md).
|
||||
- A data layer that reads past Claude Code transcripts into a local database and builds a task set, escape
|
||||
candidates, per-check statistics and a weekly scoreboard (`sisi harvest`, `tasks`, `escapes`, `checks`,
|
||||
`scoreboard`; these are not listed in `sisi help`).
|
||||
|
||||
Designed but not built (see [docs/design.md](docs/design.md)):
|
||||
|
||||
- The build conductor: `sisi build "<what I want>"` turning a statement into verified work, and the question queue
|
||||
(`sisi inbox`). Neither command exists.
|
||||
- Replay experiments on a task set before a learned change ships, and the taste judge and playbooks. Learned
|
||||
changes currently ship first (personal overlay only) and are judged by measured deliveries afterwards, with
|
||||
exact revert and withdrawal as the safety net; the data layer above is groundwork for the replay version.
|
||||
- Proven end-to-end enforcement in OpenCode, and harvest of transcripts from tools other than Claude Code.
|
||||
|
||||
Not verified: whether Codex and OpenCode obey the rulebook as well as Claude Code does.
|
||||
|
||||
### Python versions
|
||||
|
||||
The minimum is Python 3.9. This was determined by reading, not by running old interpreters. Every Python file parses
|
||||
with `ast.parse(..., feature_version=(3, 8))`, and a search found no `match` statements, no `X | Y` types and no
|
||||
walrus operators. The newest standard-library features in use are `shutil.copytree(..., dirs_exist_ok=True)` and
|
||||
`sys.pycache_prefix`, both added in 3.8. The stated minimum is 3.9 because 3.8 is end of life and current macOS runners do not
|
||||
offer it. The test suite was run here on Python 3.11 and 3.14 and passes. CI runs the tests on Linux and macOS with Python 3.10, 3.11 and 3.13, and with 3.9 on macOS (the
|
||||
newest Ubuntu image no longer offers 3.9).
|
||||
- The build conductor (`sisi build "<what I want>"`) and its question queue (`sisi inbox`).
|
||||
Neither command exists.
|
||||
- Replay experiments on a task set before a learned change ships, a separate coach run, brief
|
||||
templates and playbooks. Learned changes instead ship to your overlay first and are judged by
|
||||
measured deliveries, with exact revert as the safety net.
|
||||
- The taste judge (a model judging at rung 5), a git-survival signal, transcript harvest beyond
|
||||
Claude Code, and proven end-to-end enforcement in OpenCode, reported by `sisi doctor` as unknown.
|
||||
|
||||
## Security
|
||||
|
||||
sisi runs commands that come from a project's contract. A contract in a project you did not write is untrusted
|
||||
until you read it and run `sisi contract trust`; until then `sisi verify` refuses and the gate runs nothing. sisi
|
||||
does not sandbox what a trusted contract runs. See [SECURITY.md](SECURITY.md), which also says how to report a
|
||||
problem privately.
|
||||
sisi runs commands from a project contract, so a contract you did not write is untrusted until you
|
||||
read it and run `sisi contract trust`; until then `sisi verify` refuses and the gate runs nothing.
|
||||
sisi does not sandbox what a trusted contract runs. See [SECURITY.md](SECURITY.md), including how
|
||||
to report a problem privately.
|
||||
|
||||
## Contributing
|
||||
|
||||
Tests, the standard-library-only rule, the verifier entry format and what belongs in the product versus your own
|
||||
overlay are in [CONTRIBUTING.md](CONTRIBUTING.md). A change log is in [CHANGELOG.md](CHANGELOG.md), and all docs are
|
||||
indexed in [docs/README.md](docs/README.md).
|
||||
Running the tests, the standard-library-only rule, the library entry format, and what belongs in
|
||||
the product rather than your own overlay are in [CONTRIBUTING.md](CONTRIBUTING.md). For the release
|
||||
you have, run `sisi --version`; changes between releases are in [CHANGELOG.md](CHANGELOG.md), and
|
||||
all docs are indexed in [docs/README.md](docs/README.md).
|
||||
|
||||
## Licence
|
||||
|
||||
MIT. Copyright (c) 2026 Stephen Waits. See [LICENSE](LICENSE).
|
||||
MIT. Copyright (c) Stephen Waits. See [LICENSE](LICENSE).
|
||||
Reference in new issue
Block a user