fix(spawn): seed todos[] into builder template .trinity/local.json (TDPLAN-0007 follow-up)

Verification audit caught a gap: spawn create copies templates/builder/ tree
directly (DEFAULT_TEMPLATE), but builder/.trinity/local.json lacked the todos[]
schema — so freshly spawned branches would not inherit it. Seeded todos[] +
max_todos:10 + todo_text_max_chars:200 + operational note to match @memory's
LOCAL.template.json. Now both spawn-create and template-push paths produce
todos[].

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
AIOSAI
2026-06-07 22:30:35 -07:00
co-authored by Claude Opus 4.8
parent 626ab81a46
commit 9a64db9093
2 changed files with 8 additions and 5 deletions
@@ -86,7 +86,7 @@
"f012": {
"path": ".trinity/local.json",
"name": "local.json",
"content_hash": "df2ba4a97f0a",
"content_hash": "8f8a98e42d92",
"has_branch_placeholder": false
},
"f013": {
@@ -149,7 +149,7 @@
"content_hash": "a4cf0a8e3b4f",
"has_branch_placeholder": false
},
"f018": {
"f015": {
"path": "apps/modules/__init__.py",
"name": "__init__.py",
"content_hash": "e3b0c44298fc",
@@ -263,7 +263,7 @@
"content_hash": "28e9ae373563",
"has_branch_placeholder": false
},
"f015": {
"f018": {
"path": "apps/plugins/__init__.py",
"name": "__init__.py",
"content_hash": "e3b0c44298fc",
@@ -17,7 +17,9 @@
"max_key_learnings": 25,
"session_summary_max_chars": 150,
"learning_value_max_chars": 200,
"note": "DO NOT trim, prune, or delete entries. Rollover to @memory handles overflow automatically. Just add new entries."
"note": "DO NOT trim, prune, or delete entries. Rollover to @memory handles overflow automatically. Just add new entries. todos[] is OPERATIONAL — never vectorized/trimmed by rollover; completing/removing a todo is normal.",
"max_todos": 10,
"todo_text_max_chars": 200
},
"status": {
"health": "healthy",
@@ -25,6 +27,7 @@
"current_lines": 0
}
},
"todos": [],
"key_learnings": {},
"sessions": [
{
@@ -34,4 +37,4 @@
"status": "completed"
}
]
}
}