Universal lessons with project handover; whole-document edits; worker discovery and routing
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
Lessons and statements carry a required scope; project items leave the shared store for a per-project handover pile filed into that project's own docs. Every learning round ends with a whole-document edit with traced lessons. sisi workers / route / delegate discover tools, choose the most affordable adequate worker and record results in the personal store; the host tool's own subagents come first, the command-line runner is the fallback. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
dad13062a1
commit
ba84772acf
33 files changed
+4623
-125
No files matched your search
@@ -115,6 +115,14 @@ def _commit(msg, pathspecs):
|
||||
if not ok: # a pathspec that matches nothing makes git add refuse them all: add what exists one by one
|
||||
for s in pathspecs:
|
||||
git("add", "-A", "--", s, check=False)
|
||||
# A pathspec whose files were all deleted before ever being tracked (an emptied notes
|
||||
# folder, say) matches nothing in the index either, and git commit refuses it: commit
|
||||
# only the pathspecs that actually staged something.
|
||||
staged = git("diff", "--cached", "--name-only", check=False).stdout.splitlines()
|
||||
pathspecs = [s for s in pathspecs
|
||||
if any(f == s or f.startswith(s.rstrip("/") + "/") for f in staged)]
|
||||
if not pathspecs:
|
||||
return None
|
||||
spec = ["--"] + list(pathspecs)
|
||||
else:
|
||||
git("add", "-A")
|
||||
|
||||
Reference in new issue
Block a user