Commit Graph

8 Commits

Author SHA1 Message Date
Levi Neely 6884e69995 subagent_generate: validate constraints is an array 2026-05-17 14:02:58 +02:00
Levi Neely a5efaa623f subagent_generate: rewrite as standalone Python; fix spawn header
- Eliminates inline Python-in-shell; same logic, directly inspectable.
- Fix stale Output comment in subagent_spawn header.
2026-05-17 14:01:57 +02:00
Levi Neely 65f7bc3bd9 subagent_spawn: exponential backoff, structured output; fix stale docs
- Replace 5s/50ms poll with exponential backoff (~25s total)
- Output structured KV (session, path, backend, model) like cascade
- subagent_generate: remove stale result_path from header, document arg input
- Soften 'always use pipeline' to guidance matching actual behavior
2026-05-17 13:57:10 +02:00
Levi Neely bf91cab41c subagent_generate: accept JSON as arg; remove all escaping from prompt examples 2026-05-17 13:54:38 +02:00
Levi Neely 3eb5152ded remove result_path — redundant with parent_session_id header 2026-05-17 10:34:35 +02:00
Levi Neely 5f0e25bd1d subagent_generate: structured identity envelope (role, roster, protocol, constraints) 2026-05-17 10:26:22 +02:00
Levi Neely 33323b275e subagent_generate: fix JIT agent system prompt
Use $OLLIE/x/prime SYSTEM_PROMPT command instead of bare token.
Wrap custom prompt in echo command since all prompt array entries
are now shell commands.
2026-05-04 11:33:36 +02:00
Levi Neely 2bbaecb531 JIT subagent generation via subagent_generate | xargs subagent_spawn
- rename agent_generate to subagent_generate
- subagent_generate reads JSON from stdin, copies default.json as base,
  replaces prompt with SYSTEM_PROMPT + identity text
- update tools-subagent.md to enforce composition pattern
- remove unused agent configs and prompts (devops, qa, reviewer,
  sysarchitect, writer)
- update agents/README.md
- update core submodule (remove stale-read pruning)
2026-05-02 13:50:52 +02:00