Merge origin/main (reach rule, floor verdict) with attach and stated quota resets; one model's cap stays its own
ci / test (push) Waiting to run

Both sides kept: the reach column, floor verdict and reach line from origin;
`pick --node ID --started WORKER`, running nodes kept on re-record, stated
resets and plan-wide `out` only on quota wording from the fix branch. The
short `sisi help` is kept and names the floor verdict.

Also: a message naming one model's own cap ("your Fable limit", "limit for
this model") takes off only that model, even with a reset time; attaching a
running job prints the node header, reach and all. sisi/ is 3269 lines, the
cap as origin set it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Sonnet 5.5 committed 2026-12-04 07:35:02 -07:00
commit ee9a856160
9 files changed
+262 -129

No files matched your search

+7 -1
View File
@@ -3105,6 +3105,12 @@ cli.main(["tick"])
for why, t, reset in (("You've hit your Fable limit \u00b7 resets Dec 2, 2pm (America/Denver)", said, "2026-12-02T21:00:00"),
("limit hit, resets Jan 1 at 12:30am (UTC)", utc("2026-12-31T20:00:00"), "2027-01-01T00:30:00")):
self.assertEqual(gone(why, t)["a"][2], utc(reset), why)
capped = lambda why: sorted(models.outs([{"ts": stamp(said), "worker": "claude-fable-5-2", "verdict": "out", "why": why}], said,
dict.fromkeys(("claude-fable-5-2", "claude-opus-5-5"), "claude ultra")))
for why in ("You've hit your Fable limit \u00b7 resets Dec 2, 2pm (America/Denver)", LIMIT + ", resets in 3 days"): # one model's cap
self.assertEqual(capped(why), ["claude-fable-5-2"], why)
for why in ("You've hit your Claude limit, resets in 3 days", "You've hit your weekly limit \u00b7 resets Dec 2, 2pm (UTC)"):
self.assertEqual(capped(why), ["claude-fable-5-2", "claude-opus-5-5"], why)
for why in ("resets Dec 2, 2pm (Nowhere/Atall)", "resets Foo 2, 2pm", "resets Dec 1, 2pm (UTC)"): # unreadable or past: 6 h
self.assertEqual(gone(why)["a"][2], said + 6 * 3600, why)
@@ -4821,7 +4827,7 @@ cli.main(["tick"])
def test_the_product_stays_small(self):
code = sum(len(self.read(p).splitlines()) for p in glob.glob(os.path.join(REPO, "sisi", "*.py")))
self.assertLessEqual(code, 3264, "sisi is two loops. If it needs more than this, find the simpler shape.")
self.assertLessEqual(code, 3269, "sisi is two loops. If it needs more than this, find the simpler shape.")
rulebook = self.read(REPO, "canon", "core.md")
self.assertLess(len(rulebook.splitlines()), 144)
self.assertLessEqual(len(rulebook), 11778)