Mechanisms over intentions: request-time lesson delivery, self-referential rules, enforced question dialog
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
sisi prompt hands the matching recipe and lessons to the agent when the human's request arrives. Every rule ends with the command that prints its reasons, history, lessons and enforcement; sisi rule lists what enforces each rule. Ending a turn by asking in reply text instead of the question dialog is sent back. Rulebook budget raised to 200 lines and 12,000 characters. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
f7bc6eded1
commit
11be8e3664
21 files changed
+1087
-44
No files matched your search
+3
-2
@@ -453,7 +453,8 @@ and enforced checks, not listed/read counters. A stale refusal names exactly wha
|
||||
Rules - format: {"id", "title", "body", "action": "add|replace", "shortens": "..."}.
|
||||
Body: prose paragraphs wrapped at 100 characters (apply re-wraps for you), ending with a
|
||||
paragraph starting "Why:". Keep the id and the Why when replacing. Title is the heading text.
|
||||
Budget: at most 120 lines AND at most 7200 characters, and a cycle must not increase the
|
||||
Budget: at most 200 lines AND at most 12000 characters, counting the one generated
|
||||
`More: sisi rule N` pointer line per rule, and a cycle must not increase the
|
||||
characters unless it names in "shortens" which existing rule text gets shorter or is replaced
|
||||
(required whenever a rule is added or the book would grow in characters); never past the budget.
|
||||
Rule numbers in lessons ("rule 5") mean the numbered list in the brief, which maps number to id.
|
||||
@@ -1284,7 +1285,7 @@ def check_file(path):
|
||||
parts.append(pre)
|
||||
for n, rid in enumerate(order, 1):
|
||||
if rid in by_id:
|
||||
parts.append("## %d. %s {#%s}\n\n%s" % (n, by_id[rid]["title"], rid, by_id[rid]["body"]))
|
||||
parts.append("## %d. %s {#%s}\n\n%s\n%s" % (n, by_id[rid]["title"], rid, by_id[rid]["body"], overlay.more_line(n)))
|
||||
cand = "\n\n".join(parts) + "\n"
|
||||
lines, chars = overlay.size(cand)
|
||||
out.append(" rulebook: %s lines, %s characters -> %d lines, %d characters "
|
||||
|
||||
Reference in new issue
Block a user