sisi works for any agent in any harness: one hook-input normaliser, a table of tool classes, a table-driven installer for every tool installed, sisi update, XDG paths

The rulebook is delivered to every installed agent tool (a link, or a marked block in a real file, refreshed
whenever it is rebuilt). Hooks are wired for tools whose hook files take Claude Code's shape: Claude Code,
Codex and Qwen Code. The tools and tool classes are plain data in canon/harnesses.json and canon/tools.json.
sisi uninstall takes out exactly what install put in. sisi release records its source remote, and sisi update
fetches and releases the newest sisi from it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Sonnet 5.5 committed 2026-11-23 20:31:50 -07:00
1 parent 9173acf14b
commit aecb666c86
11 files changed
+699 -97

No files matched your search

+5
View File
@@ -86,6 +86,11 @@ def build_rulebook():
text += "\n" + HEAD_USER + "\n" + "\n".join(mine) + "\n"
out = store.data("generated", "core.md")
store.write(out, text)
try: # the copies of it that sisi put into a tool's real instructions file follow
from . import install
install.refresh(out)
except Exception:
pass # this runs inside hooks: it must never raise
return out