Plan fixes: issued chores only, brief from any field, first-line node, exact judge match, concurrency-based isolation, running nodes kept on re-record, lead join, damaged state; single claim path, one outcomes pass
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a8974c02cc
commit
df744edc7c
6 files changed
+301
-187
No files matched your search
+4
-1
@@ -22,7 +22,8 @@ _NOTE = re.compile(r"(?:\s+\(p\d+: (?:came back \d+x|not seen) since(?:; p\d+: (
|
||||
_RETRO_TAG, _DATE = re.compile(r"(?:\s*\[retro\b[^\]]*\])+$"), re.compile(r"\d{4}-\d{2}-\d{2}")
|
||||
_DKEY = lambda s: " ".join(re.sub(r"(?i)(?:\s*\[(?:retro|agent)\b[^\]]*\])+$", "", _NOTE.sub("", re.sub(r"^\s*(?:[-*]|\d+\.)\s+", "", s.replace("`", "")).strip())).lower().split())
|
||||
|
||||
ORGANIZE = """You are a worker. Do this task yourself; do not delegate it further.
|
||||
ORGANIZE = """sisi chore: rules organize
|
||||
You are a worker. Do this task yourself; do not delegate it further.
|
||||
|
||||
Audit and organize the learned rules below. They are instructions an AI engineering agent reads at the start
|
||||
of every session: the first list in every project, the second only in the project "%(name)s". Retros add to
|
||||
@@ -615,6 +616,8 @@ def run(args, cwd=None):
|
||||
show(cwd)
|
||||
return 0
|
||||
if args[0] == "organize" and len(args) == 1:
|
||||
from . import plan
|
||||
plan.issue("rules organize", cwd)
|
||||
print(organize_brief(cwd))
|
||||
return 0
|
||||
if args[0] == "organize" and len(args) == 3 and args[1] == "--record":
|
||||
|
||||
Reference in new issue
Block a user