agent-bios 0.9.7 → 0.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/DEPENDENCIES.md +19 -19
  2. package/README.md +34 -11
  3. package/claude/CLAUDE.md +2 -1
  4. package/claude/guides/claude-prompting.md +1 -1
  5. package/claude/guides/cli-multi-model-workflow.md +19 -1
  6. package/claude/guides/coding-staged-workflow.md +32 -0
  7. package/claude/guides/gpt-prompting.md +1 -1
  8. package/claude/guides/learning-flow.md +5 -5
  9. package/claude/guides/llm-capability-boundary.md +6 -1
  10. package/claude/guides/session-distill-workflow.md +19 -9
  11. package/claude/guides/tooling-gotchas.md +16 -0
  12. package/claude/hooks/__pycache__/tooling-gotchas-hook.cpython-314.pyc +0 -0
  13. package/claude/hooks/tooling-gotchas-hook.py +7 -0
  14. package/codex/AGENTS.md +2 -1
  15. package/codex/guides/claude-prompting.md +1 -1
  16. package/codex/guides/cli-multi-model-workflow.md +19 -1
  17. package/codex/guides/coding-staged-workflow.md +32 -0
  18. package/codex/guides/gpt-prompting.md +1 -1
  19. package/codex/guides/learning-flow.md +5 -5
  20. package/codex/guides/llm-capability-boundary.md +6 -1
  21. package/codex/guides/session-distill-workflow.md +19 -9
  22. package/codex/guides/tooling-gotchas.md +16 -0
  23. package/{scripts → compose}/assemble.py +209 -25
  24. package/{scripts → compose}/canary.sh +14 -5
  25. package/{scripts → compose}/check-domains.py +9 -3
  26. package/{config → compose}/domains.json +1 -0
  27. package/{scripts → compose}/pkgid.py +8 -1
  28. package/compose/prune-backups.py +204 -0
  29. package/compose/register-hooks.py +44 -0
  30. package/{scripts/install.sh → install.sh} +403 -94
  31. package/launch/agent-launch.py +5294 -0
  32. package/launch/agent-launch.toml +376 -0
  33. package/{scripts → launch}/check-prompting-targets.sh +1 -1
  34. package/{scripts → launch}/provision-venv.sh +1 -1
  35. package/{scripts → learn}/check-learning.py +7 -7
  36. package/{scripts → learn}/collect-learning.py +10 -10
  37. package/{config → learn}/learning.schema.json +3 -3
  38. package/{scripts → learn}/migrate-learnings.py +95 -54
  39. package/{scripts → learn}/redact.py +4 -4
  40. package/package.json +25 -23
  41. package/wrappers/claude-run.sh +162 -0
  42. package/{scripts → wrappers}/codex-run.sh +62 -6
  43. package/config/agent-launch.toml +0 -143
  44. package/scripts/agent-launch.py +0 -2350
  45. package/scripts/check-parity.sh +0 -2003
  46. /package/{shell → launch}/agent-launch.zsh +0 -0
  47. /package/{config → learn}/promotions.json +0 -0
  48. /package/{scripts/session-cost.py → session-cost.py} +0 -0
  49. /package/{scripts → wrappers}/codex-helm.sh +0 -0
@@ -1,143 +0,0 @@
1
- schema_version = 1
2
-
3
- [backends.codex]
4
- command = "codex"
5
- passthrough_args = []
6
-
7
- [backends.claude]
8
- command = "claude"
9
- passthrough_args = ["--dangerously-skip-permissions"]
10
-
11
- # Optional dependencies. `command` gates the route: unresolvable means the route
12
- # is unavailable and the review setup degrades without it. `install` is the single
13
- # source for both the one-line hint shown when it is missing and what
14
- # `agent-bios install --with <name>` runs.
15
- [capabilities.onto]
16
- command = "onto"
17
- install = "npm i -g onto-mcp"
18
-
19
- [capabilities.ultracode]
20
- command = "ultracode-for-codex"
21
- install = "npm i -g ultracode-for-codex"
22
-
23
- [hosts.codex]
24
- models = ["gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna"]
25
- # onto review seat used when a CROSS-family main (Claude) routes onto review to
26
- # this (gpt/codex) family; must be an onto review-role registered (provider, model).
27
- onto_review = { provider = "openai", model = "gpt-5.6-sol" }
28
-
29
- [hosts.codex.tiers.frontier]
30
- model = "gpt-5.6-sol"
31
- effort = "max"
32
-
33
- [hosts.codex.tiers.helm]
34
- model = "gpt-5.6-sol"
35
- effort = "xhigh"
36
-
37
- [hosts.codex.tiers.workhorse]
38
- model = "gpt-5.6-terra"
39
- effort = "high"
40
-
41
- [hosts.codex.tiers.sweep]
42
- model = "gpt-5.6-luna"
43
- effort = "low"
44
-
45
- [hosts.codex.agent_templates]
46
- frontier = "${CODEX_HOME}/agents/frontier.toml"
47
- workhorse = "${CODEX_HOME}/agents/workhorse.toml"
48
- sweep = "${CODEX_HOME}/agents/sweep.toml"
49
-
50
- [hosts.claude]
51
- models = ["claude-fable-5", "claude-opus-5", "claude-sonnet-5", "claude-haiku-4-5"]
52
- # onto review seat used when a CROSS-family main (Codex) routes onto review to
53
- # this (anthropic/claude) family; must be an onto review-role registered (provider, model).
54
- onto_review = { provider = "anthropic", model = "claude-fable-5" }
55
-
56
- [hosts.claude.tiers.frontier]
57
- model = "claude-fable-5"
58
- effort = "max"
59
-
60
- [hosts.claude.tiers.helm]
61
- model = "claude-opus-5"
62
- effort = "xhigh"
63
-
64
- [hosts.claude.tiers.workhorse]
65
- model = "claude-opus-5"
66
- effort = "medium"
67
-
68
- [hosts.claude.tiers.sweep]
69
- model = "claude-haiku-4-5"
70
- effort = "low"
71
-
72
- [presets.balanced]
73
- label = "Balanced"
74
- description = "HELM default for everyday work with native multi-perspective review."
75
- mode = "builder"
76
- main_tier = "helm"
77
- frontier_effort = "max"
78
- review_setup = "native-panel"
79
- delegation = true
80
- codex_execution_policy = "bypass"
81
- claude_permission_mode = "bypassPermissions"
82
-
83
- [presets.deep-review]
84
- label = "Deep review"
85
- description = "HELM with hybrid onto, native, and Ultracode review at deep FRONTIER effort."
86
- mode = "builder"
87
- main_tier = "helm"
88
- frontier_effort = { codex = "ultra", claude = "max" }
89
- review_setup = "hybrid"
90
- delegation = true
91
- codex_execution_policy = "bypass"
92
- claude_permission_mode = "bypassPermissions"
93
-
94
- [presets.fast-batch]
95
- label = "Fast batch"
96
- description = "WORKHORSE default for high-volume, cost-conscious execution."
97
- mode = "builder"
98
- main_tier = "workhorse"
99
- frontier_effort = "max"
100
- review_setup = "native-panel"
101
- delegation = true
102
- codex_execution_policy = "bypass"
103
- claude_permission_mode = "bypassPermissions"
104
-
105
- [presets.solo]
106
- label = "Solo"
107
- description = "Single-model session: delegation off (no tier fan-out; the standing spawn policy is lifted), review via the host's own command only."
108
- mode = "builder"
109
- main_tier = "helm"
110
- frontier_effort = "max"
111
- review_setup = "none"
112
- delegation = false
113
- codex_execution_policy = "bypass"
114
- claude_permission_mode = "bypassPermissions"
115
-
116
- [presets.vanilla]
117
- label = "Vanilla"
118
- description = "Plain CLI session: no launch contract, no tier bindings, standard permissions — exactly what the bare backend gives you."
119
- mode = "software-engineer"
120
- main_tier = "helm"
121
- frontier_effort = "max"
122
- review_setup = "none"
123
- delegation = false
124
- codex_execution_policy = "standard"
125
- claude_permission_mode = "standard"
126
-
127
- [presets.session-distill]
128
- label = "Session distill"
129
- description = "Dedicated session-distill run: mine recent sessions, verify, place, and apply per the session-distill workflow."
130
- mode = "distill"
131
- main_tier = "helm"
132
- frontier_effort = "max"
133
- review_setup = "hybrid"
134
- delegation = true
135
- codex_execution_policy = "bypass"
136
- claude_permission_mode = "bypassPermissions"
137
- mission = "This is a session-distill initiative session, gated on a trigger. When the user enters the trigger command '{trigger}': read the session-distill-workflow guide in your installed guides directory, then the initiative SSOT design/session-distill/HANDOFF.md in the agent-bios repo, and run the next mining window per that guide. Until the trigger arrives, respond normally and do not start the workflow. Every promotion passes through explicit user approval; nothing is applied to the corpus without it."
138
- trigger = "distill!"
139
-
140
- # Nudge baseline lives in ~/.local/share/agent-bios/session-distill-state.json,
141
- # written by scripts/session-distill/update-state.py at window close.
142
- [session_distill]
143
- nudge_after = 250