diff --git a/CHANGELOG.md b/CHANGELOG.md index e3a7b55..0dad43c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ All notable changes to this project are recorded here. The format follows ### Changed +- The name now expands to "sisi is still improving"; the earlier expansion is retired. - The always-loaded rulebook budget is raised to the largest size vendor guidance supports; growth still requires shortening elsewhere. diff --git a/README.md b/README.md index e08f551..0ca0b6e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# sisi: self-improving superintelligence +# **sisi** is still improving **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 @@ -14,9 +14,10 @@ when they fail. 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. -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. +The name is recursive: its first word is the name itself. It is also a plain statement of where +things stand: each turn leaves your tools a little better, and that work is never finished. 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 diff --git a/sisi/cli.py b/sisi/cli.py index 253589a..88d4e16 100644 --- a/sisi/cli.py +++ b/sisi/cli.py @@ -1,7 +1,9 @@ """Command dispatch. Heavy modules are imported lazily so hooks (tick, gate) stay fast.""" import json, os, sys -HELP = """sisi: shared rulebook and enforced definitions of done for every AI coding CLI +HELP = """sisi is still improving + +A shared rulebook and enforced definitions of done for every AI coding CLI. sisi contract init [--goal TEXT] create .sisi/contract.json here sisi contract check validate the contract diff --git a/sisi/retro.py b/sisi/retro.py index f431978..a1adf72 100644 --- a/sisi/retro.py +++ b/sisi/retro.py @@ -1310,9 +1310,9 @@ def digest_lines(include_all=False, con=None): pending = [r for r in rows if r["id"] not in _summ_ids] n = len(rows) if n == 1: - count_line = "Sisi has learned 1 lesson from past work, %d summarized and %d not yet summarized." % (len(summarized), len(pending)) + count_line = "sisi has learned 1 lesson from past work, %d summarized and %d not yet summarized." % (len(summarized), len(pending)) else: - count_line = "Sisi has learned %d lessons from past work, %d summarized and %d not yet summarized." % (n, len(summarized), len(pending)) + count_line = "sisi has learned %d lessons from past work, %d summarized and %d not yet summarized." % (n, len(summarized), len(pending)) out = [count_line, ""] if said: out.append("## What you said") diff --git a/tests/test_public.py b/tests/test_public.py index ec65e4e..5ad7e79 100644 --- a/tests/test_public.py +++ b/tests/test_public.py @@ -179,3 +179,36 @@ class NoStaleValues(unittest.TestCase): if __name__ == "__main__": unittest.main() + + +class BrandIsWrittenCorrectly(unittest.TestCase): + """The brand is 'sisi is still improving', always lower case; the old expansion is retired.""" + + def tracked(self): + out = subprocess.run(["git", "ls-files"], cwd=REPO, capture_output=True, text=True).stdout + for name in out.split("\n"): + path = os.path.join(REPO, name) + if not name or not os.path.isfile(path): + continue + try: + yield name, open(path, encoding="utf-8").read() + except UnicodeDecodeError: + continue + + def test_old_expansion_is_gone_outside_the_changelog(self): + old = re.compile("self[- ]improving\\s+super" + "intelligence", re.I) + bad = [n for n, text in self.tracked() if n != "CHANGELOG.md" and old.search(text)] + self.assertEqual(bad, []) + + def test_brand_line_is_always_lower_case(self): + brand = re.compile(r"\*{0,2}sisi\*{0,2}\s+is\s+still\s+improving", re.I) + bad = [] + for name, text in self.tracked(): + for m in brand.finditer(text): + if m.group(0) != m.group(0).lower(): + bad.append((name, m.group(0))) + self.assertEqual(bad, []) + + def test_readme_title_is_the_brand(self): + first = open(os.path.join(REPO, "README.md"), encoding="utf-8").readline().rstrip("\n") + self.assertEqual(first, "# **sisi** is still improving")