overcode 0.6.2__tar.gz → 0.6.4__tar.gz

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 (369) hide show
  1. {overcode-0.6.2/src/overcode.egg-info → overcode-0.6.4}/PKG-INFO +1 -1
  2. {overcode-0.6.2 → overcode-0.6.4}/docs/advanced-features.md +16 -8
  3. {overcode-0.6.2 → overcode-0.6.4}/docs/backends.md +18 -12
  4. {overcode-0.6.2 → overcode-0.6.4}/docs/children.md +48 -0
  5. {overcode-0.6.2 → overcode-0.6.4}/docs/cli-reference.md +91 -2
  6. {overcode-0.6.2 → overcode-0.6.4}/docs/configuration.md +121 -5
  7. {overcode-0.6.2 → overcode-0.6.4}/docs/design/agent-observability-0.6.1.md +42 -0
  8. {overcode-0.6.2 → overcode-0.6.4}/docs/design/background-shell-classification.md +42 -1
  9. {overcode-0.6.2 → overcode-0.6.4}/docs/design/opencode-parity.md +6 -4
  10. {overcode-0.6.2 → overcode-0.6.4}/docs/getting-started.md +1 -1
  11. overcode-0.6.4/docs/release-notes-0.6.3.md +51 -0
  12. overcode-0.6.4/docs/release-notes-0.6.4.md +46 -0
  13. {overcode-0.6.2 → overcode-0.6.4}/docs/skill-profiles.md +2 -2
  14. {overcode-0.6.2 → overcode-0.6.4}/docs/tui-guide.md +77 -23
  15. {overcode-0.6.2 → overcode-0.6.4}/pyproject.toml +1 -1
  16. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/agent_files.py +18 -3
  17. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/agent_identity.py +11 -0
  18. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/agent_io.py +63 -6
  19. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/__init__.py +4 -0
  20. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/base.py +102 -0
  21. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/claude_code.py +7 -0
  22. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/codex.py +23 -1
  23. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/grok.py +11 -0
  24. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/hermes.py +10 -0
  25. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/opencode.py +65 -2
  26. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/opencode2.py +62 -19
  27. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/opencode2_stats.py +23 -2
  28. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/opencode_stats.py +126 -8
  29. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/shell.py +2 -0
  30. overcode-0.6.4/src/overcode/background_shells.py +331 -0
  31. overcode-0.6.4/src/overcode/budget_gate.py +165 -0
  32. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/bundled_skills.py +11 -0
  33. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/child_lifecycle.py +55 -4
  34. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/claude_bg.py +74 -17
  35. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/__init__.py +2 -0
  36. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/agent.py +322 -23
  37. overcode-0.6.4/src/overcode/cli/archive.py +227 -0
  38. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/budget.py +15 -4
  39. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/config.py +31 -0
  40. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/jobs.py +98 -4
  41. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/monitoring.py +1 -3
  42. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/perms.py +14 -0
  43. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/quota.py +0 -2
  44. overcode-0.6.4/src/overcode/cli/shells.py +144 -0
  45. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/view.py +3 -3
  46. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/column.py +8 -0
  47. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/context.py +74 -2
  48. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/emoji.py +5 -5
  49. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/hover.py +127 -10
  50. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/layout.py +20 -0
  51. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/registry.py +91 -10
  52. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/render_git.py +11 -3
  53. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/render_identity.py +41 -0
  54. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/render_performance.py +49 -0
  55. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/render_supervision.py +39 -3
  56. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/command_palette.py +95 -2
  57. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/config.py +84 -0
  58. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/daemon_housekeeping.py +3 -1
  59. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/daemon_process_probe.py +4 -0
  60. overcode-0.6.4/src/overcode/daemon_shell_probe.py +148 -0
  61. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/daemon_stats_sync.py +3 -2
  62. overcode-0.6.4/src/overcode/data/keymaps/classic.yaml +27 -0
  63. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/data_export.py +1 -1
  64. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/engine_recorders.py +13 -7
  65. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/engine_wake.py +19 -0
  66. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/follow_mode.py +224 -7
  67. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/git_context.py +97 -33
  68. overcode-0.6.4/src/overcode/heartbeat_sender.py +92 -0
  69. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/hook_handler.py +75 -5
  70. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/hook_status_detector.py +86 -6
  71. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/job_launcher.py +35 -14
  72. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/journey.py +3 -1
  73. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/keymap.py +1 -1
  74. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/launcher.py +57 -8
  75. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/lifecycle.py +193 -41
  76. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/monitor_daemon.py +220 -41
  77. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/monitor_daemon_state.py +35 -3
  78. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/paths.py +11 -0
  79. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/quota_calibration.py +1 -40
  80. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/quota_engine.py +21 -44
  81. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/quota_model.py +0 -4
  82. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/session_manager.py +189 -7
  83. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/settings.py +4 -3
  84. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/sister_controller.py +8 -0
  85. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/sister_poller.py +5 -0
  86. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/status_constants.py +22 -7
  87. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/status_detector_factory.py +16 -0
  88. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/status_history.py +65 -9
  89. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/summarizer_client.py +25 -3
  90. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/summarizer_component.py +177 -39
  91. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/summary_columns.py +5 -3
  92. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/summary_groups.py +3 -3
  93. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/swarm.py +67 -5
  94. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/swarm_files.py +28 -15
  95. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/swarm_view.py +13 -5
  96. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tmux_utils.py +59 -2
  97. overcode-0.6.4/src/overcode/transcript_archive.py +1605 -0
  98. overcode-0.6.4/src/overcode/transcript_queue.py +112 -0
  99. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui.py +75 -37
  100. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui.tcss +8 -0
  101. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/command_bar.py +3 -1
  102. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/daemon.py +41 -2
  103. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/dialogs.py +83 -2
  104. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/input.py +2 -1
  105. overcode-0.6.4/src/overcode/tui_actions/new_shell.py +64 -0
  106. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/overagent.py +3 -1
  107. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/session.py +148 -33
  108. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/swarm.py +3 -3
  109. overcode-0.6.4/src/overcode/tui_actions/typing_guard.py +613 -0
  110. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/view_control.py +2 -0
  111. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_engine.py +2 -2
  112. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_helpers.py +2 -2
  113. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_logic.py +45 -18
  114. overcode-0.6.4/src/overcode/tui_tooltip.py +72 -0
  115. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/agent_visibility_modal.py +2 -2
  116. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/command_palette.py +96 -10
  117. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/daemon_status_bar.py +6 -27
  118. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/session_summary.py +10 -2
  119. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/summary_config_modal.py +21 -14
  120. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/swarm_rows.py +11 -10
  121. overcode-0.6.4/src/overcode/typing_guard.py +192 -0
  122. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/usage_monitor.py +11 -13
  123. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/web_api.py +75 -12
  124. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/web_control_api.py +33 -6
  125. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/web_server.py +7 -1
  126. overcode-0.6.4/src/overcode/weft_claims.py +352 -0
  127. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/worker_guard.py +37 -8
  128. overcode-0.6.4/src/overcode/workflow_progress.py +564 -0
  129. {overcode-0.6.2 → overcode-0.6.4/src/overcode.egg-info}/PKG-INFO +1 -1
  130. {overcode-0.6.2 → overcode-0.6.4}/src/overcode.egg-info/SOURCES.txt +17 -0
  131. {overcode-0.6.2 → overcode-0.6.4}/LICENSE +0 -0
  132. {overcode-0.6.2 → overcode-0.6.4}/MANIFEST.in +0 -0
  133. {overcode-0.6.2 → overcode-0.6.4}/README.md +0 -0
  134. {overcode-0.6.2 → overcode-0.6.4}/docs/README.md +0 -0
  135. {overcode-0.6.2 → overcode-0.6.4}/docs/architecture.md +0 -0
  136. {overcode-0.6.2 → overcode-0.6.4}/docs/claude-session-files.md +0 -0
  137. {overcode-0.6.2 → overcode-0.6.4}/docs/design/483-484/00_overview.md +0 -0
  138. {overcode-0.6.2 → overcode-0.6.4}/docs/design/483-484/01_usage_log.md +0 -0
  139. {overcode-0.6.2 → overcode-0.6.4}/docs/design/483-484/02_learning_journey.md +0 -0
  140. {overcode-0.6.2 → overcode-0.6.4}/docs/design/483-484/03_overagent.md +0 -0
  141. {overcode-0.6.2 → overcode-0.6.4}/docs/design/483-484/04_phasing_and_questions.md +0 -0
  142. {overcode-0.6.2 → overcode-0.6.4}/docs/design/README.md +0 -0
  143. {overcode-0.6.2 → overcode-0.6.4}/docs/design/acp-agent-integration-analysis.md +0 -0
  144. {overcode-0.6.2 → overcode-0.6.4}/docs/design/agent-agnostic-backends-opencode.md +0 -0
  145. {overcode-0.6.2 → overcode-0.6.4}/docs/design/agent-backend-hermes.md +0 -0
  146. {overcode-0.6.2 → overcode-0.6.4}/docs/design/agent-backends-codex-grok.md +0 -0
  147. {overcode-0.6.2 → overcode-0.6.4}/docs/design/auto-naming.md +0 -0
  148. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/README.md +0 -0
  149. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/SYNTHESIS.md +0 -0
  150. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/candidates.md +0 -0
  151. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/overcode-vs-bernstein.md +0 -0
  152. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/overcode-vs-bobbit.md +0 -0
  153. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/overcode-vs-ccmanager.md +0 -0
  154. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/overcode-vs-claude-squad.md +0 -0
  155. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/overcode-vs-cmux.md +0 -0
  156. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/overcode-vs-composio.md +0 -0
  157. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/overcode-vs-dmux.md +0 -0
  158. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/overcode-vs-gastown.md +0 -0
  159. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/overcode-vs-kagan.md +0 -0
  160. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/overcode-vs-orca.md +0 -0
  161. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/overcode-vs-superset.md +0 -0
  162. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/overcode-vs-vibe-kanban.md +0 -0
  163. {overcode-0.6.2 → overcode-0.6.4}/docs/design/bakeoffs/zellij-vs-tmux.md +0 -0
  164. {overcode-0.6.2 → overcode-0.6.4}/docs/design/billing-code-ids.md +0 -0
  165. {overcode-0.6.2 → overcode-0.6.4}/docs/design/cost-model-0.6.1.md +0 -0
  166. {overcode-0.6.2 → overcode-0.6.4}/docs/design/e2e-devcontainer-testing.md +0 -0
  167. {overcode-0.6.2 → overcode-0.6.4}/docs/design/engine-0.6.md +0 -0
  168. {overcode-0.6.2 → overcode-0.6.4}/docs/design/model-alias-resolution.md +0 -0
  169. {overcode-0.6.2 → overcode-0.6.4}/docs/design/opencode-stats-reader-performance.md +0 -0
  170. {overcode-0.6.2 → overcode-0.6.4}/docs/design/quality-review-2026-10.md +0 -0
  171. {overcode-0.6.2 → overcode-0.6.4}/docs/design/scaling-audit-2026-09-22.md +0 -0
  172. {overcode-0.6.2 → overcode-0.6.4}/docs/release-notes-0.3.0.md +0 -0
  173. {overcode-0.6.2 → overcode-0.6.4}/docs/release-notes-0.4.2.md +0 -0
  174. {overcode-0.6.2 → overcode-0.6.4}/docs/release-notes-0.5.1.md +0 -0
  175. {overcode-0.6.2 → overcode-0.6.4}/docs/release-notes-0.5.2.md +0 -0
  176. {overcode-0.6.2 → overcode-0.6.4}/docs/release-notes-0.5.3.md +0 -0
  177. {overcode-0.6.2 → overcode-0.6.4}/docs/release-notes-0.5.4.md +0 -0
  178. {overcode-0.6.2 → overcode-0.6.4}/docs/release-notes-0.5.5.md +0 -0
  179. {overcode-0.6.2 → overcode-0.6.4}/docs/release-notes-0.5.6.md +0 -0
  180. {overcode-0.6.2 → overcode-0.6.4}/docs/release-notes-0.5.7.md +0 -0
  181. {overcode-0.6.2 → overcode-0.6.4}/docs/release-notes-0.5.8.md +0 -0
  182. {overcode-0.6.2 → overcode-0.6.4}/docs/release-notes-0.6.0.md +0 -0
  183. {overcode-0.6.2 → overcode-0.6.4}/docs/release-notes-0.6.1.md +0 -0
  184. {overcode-0.6.2 → overcode-0.6.4}/docs/release-notes-0.6.2.md +0 -0
  185. {overcode-0.6.2 → overcode-0.6.4}/docs/releasing.md +0 -0
  186. {overcode-0.6.2 → overcode-0.6.4}/docs/tui-refactoring-plan.md +0 -0
  187. {overcode-0.6.2 → overcode-0.6.4}/docs/ux-performance-analysis-2026-03-09.md +0 -0
  188. {overcode-0.6.2 → overcode-0.6.4}/docs/wrappers.md +0 -0
  189. {overcode-0.6.2 → overcode-0.6.4}/setup.cfg +0 -0
  190. {overcode-0.6.2 → overcode-0.6.4}/setup.py +0 -0
  191. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/__init__.py +0 -0
  192. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/activity_log.py +0 -0
  193. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/agent_bundle.py +0 -0
  194. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/agent_scanner.py +0 -0
  195. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/agent_worktree.py +0 -0
  196. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/_stats_common.py +0 -0
  197. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/codex_stats.py +0 -0
  198. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/grok_stats.py +0 -0
  199. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/hermes_stats.py +0 -0
  200. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/jsonl_tail.py +0 -0
  201. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/opencode2_patterns.py +0 -0
  202. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/opencode2_plugin_install.py +0 -0
  203. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/backends/overagent.py +0 -0
  204. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/burn.py +0 -0
  205. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/child_presets.py +0 -0
  206. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/claude_bg_ledger.py +0 -0
  207. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/claude_config.py +0 -0
  208. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/claude_pid.py +0 -0
  209. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/__main__.py +0 -0
  210. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/_shared.py +0 -0
  211. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/activity.py +0 -0
  212. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/daemon.py +0 -0
  213. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/doctor.py +0 -0
  214. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/focal.py +0 -0
  215. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/hooks.py +0 -0
  216. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/keys.py +0 -0
  217. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/lifecycle.py +0 -0
  218. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/models.py +0 -0
  219. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/naming.py +0 -0
  220. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/parallelism.py +0 -0
  221. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/sister.py +0 -0
  222. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/skill_profiles.py +0 -0
  223. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/skills.py +0 -0
  224. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/split.py +0 -0
  225. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/tags.py +0 -0
  226. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/trip.py +0 -0
  227. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cli/wrappers.py +0 -0
  228. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/clock.py +0 -0
  229. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/codes.py +0 -0
  230. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/__init__.py +0 -0
  231. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/render_context.py +0 -0
  232. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/render_time.py +0 -0
  233. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/render_usage.py +0 -0
  234. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/columns/render_virtual.py +0 -0
  235. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/conversation_spend.py +0 -0
  236. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/conversation_warning.py +0 -0
  237. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/cost_check.py +0 -0
  238. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/daemon_cadence.py +0 -0
  239. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/daemon_claude_skill.md +0 -0
  240. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/daemon_logging.py +0 -0
  241. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/daemon_presence.py +0 -0
  242. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/daemon_utils.py +0 -0
  243. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/data/claude_prices.json +0 -0
  244. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/data/keymaps/default.yaml +0 -0
  245. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/data/keymaps/vscode.yaml +0 -0
  246. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/data/model_metadata.json +0 -0
  247. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/dependency_check.py +0 -0
  248. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/doctor.py +0 -0
  249. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/energy.py +0 -0
  250. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/engine_protocol.py +0 -0
  251. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/engine_socket.py +0 -0
  252. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/entrypoint.py +0 -0
  253. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/episodes.py +0 -0
  254. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/exceptions.py +0 -0
  255. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/git_stats.py +0 -0
  256. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/hermes_plugin/__init__.py +0 -0
  257. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/hermes_plugin/plugin.yaml +0 -0
  258. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/history_reader.py +0 -0
  259. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/hook_dialects.py +0 -0
  260. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/idle_stages.py +0 -0
  261. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/implementations.py +0 -0
  262. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/job_manager.py +0 -0
  263. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/json_store.py +0 -0
  264. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/launch_settings.py +0 -0
  265. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/layout_migration.py +0 -0
  266. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/ledger.py +0 -0
  267. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/mentor.py +0 -0
  268. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/model_metadata.py +0 -0
  269. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/monitor_daemon_core.py +0 -0
  270. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/month_files.py +0 -0
  271. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/name_source.py +0 -0
  272. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/namer.py +0 -0
  273. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/naming_lab.py +0 -0
  274. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/naming_policy.py +0 -0
  275. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/notifier.py +0 -0
  276. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/opencode_plugin/overcode-telemetry-v2/index.js +0 -0
  277. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/opencode_plugin/overcode-telemetry-v2/overcode-telemetry-core.mjs +0 -0
  278. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/opencode_plugin/overcode-telemetry-v2/tui.js +0 -0
  279. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/opencode_plugin/overcode-telemetry.js +0 -0
  280. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/overagent.py +0 -0
  281. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/pane_capture_gate.py +0 -0
  282. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/pid_utils.py +0 -0
  283. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/presence_logger.py +0 -0
  284. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/price_table.py +0 -0
  285. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/pricing.py +0 -0
  286. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/process_resources.py +0 -0
  287. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/prompt_lab.py +0 -0
  288. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/protocols.py +0 -0
  289. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/rename.py +0 -0
  290. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/sandbox_detect.py +0 -0
  291. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/session_archive.py +0 -0
  292. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/session_identity.py +0 -0
  293. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/skill_library.py +0 -0
  294. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/spawn.py +0 -0
  295. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/spend_recompute.py +0 -0
  296. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/ssh_provisioner.py +0 -0
  297. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/standing_instructions.py +0 -0
  298. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/stat_gate.py +0 -0
  299. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/stats_reader.py +0 -0
  300. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/status_detector.py +0 -0
  301. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/status_patterns.py +0 -0
  302. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/status_theme.py +0 -0
  303. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/statusline_tap.py +0 -0
  304. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/summarizer_prompts.py +0 -0
  305. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/supervisor_daemon.py +0 -0
  306. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/supervisor_daemon_core.py +0 -0
  307. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/swarm_history.py +0 -0
  308. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/swarm_publisher.py +0 -0
  309. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/testing/__init__.py +0 -0
  310. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/testing/renderer.py +0 -0
  311. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/testing/tmux_driver.py +0 -0
  312. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/testing/tui_eye.py +0 -0
  313. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/testing/tui_eye_skill.md +0 -0
  314. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/time_context.py +0 -0
  315. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tmux_manager.py +0 -0
  316. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/transcript_index.py +0 -0
  317. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/trip.py +0 -0
  318. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/__init__.py +0 -0
  319. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/activity.py +0 -0
  320. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/claude_bg.py +0 -0
  321. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/diagnostics.py +0 -0
  322. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/jobs.py +0 -0
  323. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/mentor.py +0 -0
  324. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/navigation.py +0 -0
  325. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/sisters.py +0 -0
  326. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_actions/view.py +0 -0
  327. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_engine_link.py +0 -0
  328. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_render.py +0 -0
  329. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_split.py +0 -0
  330. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_theme.py +0 -0
  331. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_timers.py +0 -0
  332. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/__init__.py +0 -0
  333. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/agent_select_modal.py +0 -0
  334. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/auto_naming_modal.py +0 -0
  335. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/billing_code_modal.py +0 -0
  336. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/billing_codes_modal.py +0 -0
  337. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/column_header.py +0 -0
  338. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/command_bar.py +0 -0
  339. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/daemon_panel.py +0 -0
  340. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/dialog_style.py +0 -0
  341. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/help_overlay.py +0 -0
  342. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/instruction_history_modal.py +0 -0
  343. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/job_summary.py +0 -0
  344. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/journey_panel.py +0 -0
  345. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/jump_modal.py +0 -0
  346. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/modal_base.py +0 -0
  347. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/naming_lab.py +0 -0
  348. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/new_agent_defaults_modal.py +0 -0
  349. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/new_agent_modal.py +0 -0
  350. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/passthru_config_modal.py +0 -0
  351. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/preview_pane.py +0 -0
  352. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/rename_agent_modal.py +0 -0
  353. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/sister_selection_modal.py +0 -0
  354. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/skills_modal.py +0 -0
  355. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/status_colours_modal.py +0 -0
  356. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/status_timeline.py +0 -0
  357. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/summary_prompt_lab.py +0 -0
  358. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/tmux_config_modal.py +0 -0
  359. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/tui_widgets/tui_log_panel.py +0 -0
  360. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/upgrade_consent.py +0 -0
  361. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/usage_analytics.py +0 -0
  362. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/view_control.py +0 -0
  363. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/web_server_runner.py +0 -0
  364. {overcode-0.6.2 → overcode-0.6.4}/src/overcode/wrapper.py +0 -0
  365. {overcode-0.6.2 → overcode-0.6.4}/src/overcode.egg-info/dependency_links.txt +0 -0
  366. {overcode-0.6.2 → overcode-0.6.4}/src/overcode.egg-info/entry_points.txt +0 -0
  367. {overcode-0.6.2 → overcode-0.6.4}/src/overcode.egg-info/requires.txt +0 -0
  368. {overcode-0.6.2 → overcode-0.6.4}/src/overcode.egg-info/top_level.txt +0 -0
  369. {overcode-0.6.2 → overcode-0.6.4}/tests/test_e2e_multi_agent_jokes.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: overcode
3
- Version: 0.6.2
3
+ Version: 0.6.4
4
4
  Summary: A supervisor for managing multiple Claude Code instances in tmux
5
5
  Author: Mike Bond
6
6
  Project-URL: Homepage, https://github.com/mkb23/overcode
@@ -120,19 +120,27 @@ Budget enforcement is **soft** — the agent is not killed or put to sleep. Inst
120
120
 
121
121
  1. **Heartbeats are skipped** — the agent won't receive periodic instructions, so it naturally stops when it finishes its current work or hits a permission prompt
122
122
  2. **Supervision is skipped** — the supervisor daemon won't launch a daemon Claude to approve prompts or steer the agent
123
+ 3. **Prompts are refused** — for every backend, overcode refuses to type a prompt into the agent: `overcode send` (so a parent's messages and the supervisor's too), the TUI's command bar, reinjected instructions and the web API. The sender is told the budget and how to raise it, and the agent shows red with a "rejected" badge. Keys and gestures (Enter, Escape, approve, reject, menu numbers) always go through. Claude Code agents also refuse a prompt typed straight into their pane (their `UserPromptSubmit` hook).
123
124
 
124
- The agent can still finish whatever it's currently doing. It just won't receive any more automated nudges.
125
+ The agent can still finish whatever it's currently doing. It just won't receive any more prompts or automated nudges.
126
+
127
+ To talk to it anyway, send on purpose:
128
+
129
+ ```bash
130
+ overcode send --over-budget my-agent "wrap up and report"
131
+ ```
125
132
 
126
133
  ### Resuming After Budget
127
134
 
128
135
  To continue past a budget, either raise it or clear it:
129
136
 
130
137
  ```bash
131
- overcode set-budget my-agent 10.00 # Raise to $10
132
- overcode set-budget my-agent 0 # Remove limit entirely
138
+ overcode budget set my-agent 10.00 # Raise to $10
139
+ overcode budget set my-agent 0 # Remove limit entirely
140
+ overcode budget transfer parent my-agent 5.00 # A child whose parent has a budget
133
141
  ```
134
142
 
135
- Heartbeats and supervision resume automatically on the next daemon loop (~10s).
143
+ Heartbeats, supervision and prompts resume automatically (the "rejected" badge clears on the next daemon loop).
136
144
 
137
145
  ### No Global Default
138
146
 
@@ -355,7 +363,7 @@ the same `api_key` on the sister's entry in `sisters:`.
355
363
 
356
364
  ### TUI Toggle
357
365
 
358
- Press `w` in the TUI to start/stop the API server. Its port appears in the daemon status bar.
366
+ Run "API server (sisters)" from the TUI's `/` palette to start/stop the API server. Its port appears in the daemon status bar.
359
367
 
360
368
  ## AI Summarizer
361
369
 
@@ -424,7 +432,7 @@ Add notes to agents for yourself or collaborators.
424
432
 
425
433
  ### Viewing
426
434
 
427
- Press `l` to cycle to annotation mode (✏️) to see annotations in the summary line.
435
+ Press `l` to cycle to annotation mode (📝) to see annotations in the summary line.
428
436
 
429
437
  ### Use Cases
430
438
 
@@ -601,7 +609,7 @@ If the TUI detects multiple monitor daemon processes, it shows a warning every 5
601
609
 
602
610
  ### Resolution
603
611
 
604
- Press `\` to restart the monitor daemon. This kills existing daemons and starts a fresh one.
612
+ Run "Restart monitor daemon" from the TUI's `/` palette to restart the monitor daemon. This kills existing daemons and starts a fresh one.
605
613
 
606
614
  ### Prevention
607
615
 
@@ -623,7 +631,7 @@ This disables auto-refresh timers, letting you manually refresh with `r` and obs
623
631
 
624
632
  ### Color Issues
625
633
 
626
- If colors render incorrectly, press `M` for monochrome mode. This strips ANSI codes from the preview pane (sister agents and jobs).
634
+ If colors render incorrectly, run "Monochrome" from the `/` palette. This strips ANSI codes from the preview pane (sister agents and jobs).
627
635
 
628
636
  ### Mouse Issues
629
637
 
@@ -54,7 +54,7 @@ unavailable (see the pricing section below). grok also requires a SuperGrok
54
54
  resume, and token/cost/context columns.** opencode2 is the rolling 2.0
55
55
  *preview* CLI (`v0.0.0-dev-<build>`, no stable tags), verified live against
56
56
  `v0.0.0-dev-19272` and `v0.0.0-dev-19742`. The bare v2 TUI has no `--model`/`--agent`/`--fork`
57
- flags, no environment override beats a project permission deny (bypass is
57
+ flags (model, effort and agent go in through `OPENCODE_CONFIG_CONTENT`), no environment override beats a project permission deny (bypass is
58
58
  `--auto`-only), and every launch passes `--standalone` so each agent gets a
59
59
  private server — see the opencode2 section below for the full verified-quirk
60
60
  list.
@@ -91,9 +91,9 @@ with a clean "backend X does not support …" — never a crash.
91
91
  | Approve / reject gestures | `Enter` / `Escape` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Key gestures are backend-resolved; grok uses digit keys (`2`/`3`), no Enter; opencode2's Enter confirms the preselected *Allow once*; hermes uses digit + Enter (`1`/`4`) |
92
92
  | Live hook-grade status | — | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | codex: `-c 'hooks.<Event>=[...]'` + `--dangerously-bypass-hook-trust` injection, incl. `waiting_approval`; grok: global `~/.grok/hooks/overcode.json`, camelCase dialect, incl. `waiting_approval`; opencode2: bundled subdirectory TUI plugin (below); hermes: global `$HERMES_HOME/plugins/overcode/` Python plugin, incl. `waiting_approval` |
93
93
  | Rename notice and enhanced context reach the model | — | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | What Claude's UserPromptSubmit hook prints. opencode: a hidden synthetic part in `chat.message`; opencode2: appended to the prompt text, so the TUI shows it; codex: the hook's stdout, as a developer message; hermes: `pre_llm_call` context; grok discards an allowing UserPromptSubmit hook's output (see the grok telemetry section) |
94
- | Detection-mode toggle | `K` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Per-session dispatch picks hooks mode automatically when state files are fresh |
94
+ | Detection-mode toggle | `/` Status detection | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Per-session dispatch picks hooks mode automatically when state files are fresh |
95
95
  | Token / cost / context columns | — | ✅ | ✅ | ✅ | ⚠️ tokens/context ✅, cost ⚠️ estimate | ✅ | ⚠️ tokens/context ✅, cost ⚠️ estimate unless Hermes priced it | opencode2: SQLite `session_v2`/`session_message` reader. codex: rollout-JSONL reader; cost has no local figure, but `pricing.py` now carries a `gpt-5.6-sol` entry (codex's account-default model), so it shows that model's real published rate applied to codex's real token counts — a list-price estimate, not a billed figure. grok: `GrokStatsReader` reads a full local token/cost split from `updates.jsonl` (summed per-turn `turn_completed.usage`, `costUsdTicks` converted from nano-dollars) — genuinely billing-accurate, not an estimate. hermes: `HermesStatsReader` reads cumulative tokens + the live prompt size from `state.db`; Hermes's own `estimated_cost_usd` is used when its `cost_status` isn't `unknown`, else overcode prices the real tokens itself |
96
- | AI summaries | `A` | ✅ | ✅ | ✅ | ✅ | ✅ | |
96
+ | AI summaries | `/` AI summarizer | ✅ | ✅ | ✅ | ✅ | ✅ | |
97
97
  | Live terminal (split's bottom pane) | — | ✅ | ✅ | ✅ | ✅ | ✅ | |
98
98
  | Sleep mode / heartbeat | `z` / `H` | ✅ | ✅ | ✅ | ✅ | ✅ | |
99
99
  | Remote agents via sisters | `N` | ✅ | ✅ | ✅ | ✅ | ✅ | Capabilities travel with the agent, so remote gating matches local |
@@ -199,13 +199,18 @@ Two things to know about what each route leaves behind:
199
199
  live), and the telemetry reducer adopts the first session id it sees —
200
200
  agent B would mirror agent A's turns. A private server restores the
201
201
  process scoping the v1 plugin has by construction.
202
- - **No launch-time model or agent selection.** The bare v2 TUI rejects
203
- `--model` and `--agent` (`--fork` too — see below), so `--model` is
204
- ignored for opencode2 agents. `OPENCODE_MODEL` is still exported via the
205
- backend's env prefix as forward-compat, but it is verified *inert* on
206
- dev-19272 — the global-config model wins. Configure the model in
207
- `~/.config/opencode/opencode.json` instead; agent selection has no
208
- launch-time knob at all.
202
+ - **Model, effort and agent go in through `OPENCODE_CONFIG_CONTENT`** (#529).
203
+ The bare v2 TUI rejects `--model` and `--agent` (`--fork` too — see
204
+ below), and `OPENCODE_MODEL` is inert. overcode instead passes
205
+ `{"model": "provider/model#effort", "default_agent": "<persona>"}` as
206
+ `OPENCODE_CONFIG_CONTENT`, a config source v2 reads after the global and
207
+ project files, so it wins over both (verified on dev-19272, Oct 2026, with
208
+ an isolated HOME: the TUI footer showed the overlay's agent, model and
209
+ variant). A new session starts on them. A *resumed* session keeps the
210
+ model and variant it was created on (only the agent follows), so
211
+ `overcode restart --model/--effort` on an opencode2 agent warns, records
212
+ nothing, and leaves the switch to `restart --fresh` or `/model` in the TUI.
213
+ `--effort` needs `--model`, as on v1.
209
214
  - **No fork.** `--fork` exists only on v2's `mini`/`run` subcommands, not
210
215
  the bare TUI, so the `F` key is capability-gated off for opencode2
211
216
  agents.
@@ -429,8 +434,9 @@ overcode gates UI actions and telemetry off them.
429
434
  | Permissive | `--permission-mode dontAsk` | `--auto` alone (approximate — deny rules still win, see below) | `--auto` too (same single knob — deny rules always win, see below) | `-a never --sandbox workspace-write` | `--permission-mode auto` (**not** `dontAsk` — see below) |
430
435
  | Normal | (default) | opencode's own `permission` config | (default) | (default: `on-request` approval) | `--permission-mode default`, passed **explicitly on every launch** (see below) |
431
436
  | Allowed tools | `--allowedTools a,b` | ✗ no flag exists | ✗ no flag exists | ✗ no flag exists | `--allow <rule>` repeated once per tool |
432
- | Model | `--model sonnet` | `--model provider/model` | ✗ (not settable at launch — `OPENCODE_MODEL` is inert on this build, the global-config model wins; see below) | `-m <model>` (bare id, e.g. `gpt-5.6-sol`) | `-m <model>` (bare id, e.g. `grok-4.6`) |
433
- | Persona | `--agent name` | `--agent name` | ✗ (no launch-time knob at all) | ✗ (`-p/--profile` is a config-layer override, not a persona flag) | `--agent name` |
437
+ | Model | `--model sonnet` | `--model provider/model` | `{"model": "provider/model"}` in `OPENCODE_CONFIG_CONTENT` (a new session only: a resumed one keeps its model; see below) | `-m <model>` (bare id, e.g. `gpt-5.6-sol`) | `-m <model>` (bare id, e.g. `grok-4.6`) |
438
+ | Effort (`--effort`, #537) | `--effort <low\|medium\|high\|xhigh\|max>` | the agent's model variant via `OPENCODE_CONFIG_CONTENT` (`agent.<agent>.{model,variant}`; needs `--model`, the TUI has no `--variant`) | `provider/model#<variant>` in the `OPENCODE_CONFIG_CONTENT` model (needs `--model`; a new session only) | `-c model_reasoning_effort="<none\|minimal\|low\|medium\|high\|xhigh\|max>"` | `--reasoning-effort <level>` (canonical levels or a model's own menu id) |
439
+ | Persona | `--agent name` | `--agent name` | `{"default_agent": name}` in `OPENCODE_CONFIG_CONTENT` (the starting agent) | ✗ (`-p/--profile` is a config-layer override, not a persona flag) | `--agent name` |
434
440
  | Prescribe session id | `--session-id <uuid>` | ✗ | ✗ (mints its own `ses_…` ids) | ✗ | `--session-id <uuid>` (new conversations only) |
435
441
  | Resume | `--resume <id>` | `--session <id>` | `--session <id>` (every launch also passes `--standalone`, see below) | `codex resume <id>` (subcommand, options after) | `--resume <id>` |
436
442
  | Fork | `--resume <id> --fork-session` | `--session <id> --fork` | ✗ (no `--fork` on the bare v2 TUI — the flag exists only on `mini`/`run`) | `codex fork <id>` (subcommand, options after) | `--resume <id> --fork-session --session-id <new-uuid>` |
@@ -229,6 +229,54 @@ children:
229
229
  running keep their code; children it launches afterwards take the new
230
230
  one. See [Billing Codes](configuration.md#billing-codes).
231
231
 
232
+ ## Releasing a child
233
+
234
+ `overcode release <child>` (or "Release from parent" in the TUI palette,
235
+ run twice to confirm) frees a child from its parent. It becomes a
236
+ top-level agent:
237
+
238
+ - It leaves the parent's tree: the tree view, `kill`'s cascade, and the
239
+ parent's SUB$ from now on. Its own children go with it.
240
+ - Its oversight ends: no on-stuck timeout, no report expected, and a
241
+ parent's `overcode follow` on it stops with exit code `0`.
242
+ - No budget reclaim: it has no parent to send money to.
243
+ - A running agent is told it is independent and no longer has to run
244
+ `overcode report` (typed into its pane, as `overcode send` does);
245
+ `--no-notify` skips that.
246
+
247
+ What it (and its children) had spent until then stays with the parent:
248
+ the parent's SUB$ keeps counting it, and only spend after the release is
249
+ the child's own. Its billing code, budget and preset are unchanged.
250
+ `overcode show` says whom it was released from, when, and what it had
251
+ spent by then.
252
+
253
+ ## Adopting an agent
254
+
255
+ `overcode adopt <agent>... --parent <parent>` is release's reverse: it
256
+ makes top-level agents children, for ones that should have been and were
257
+ not (launched from a job by an older overcode, say). Each one, with its own
258
+ children, joins the parent's tree: the tree view, `kill`'s cascade,
259
+ oversight (under its own on-stuck setting) and the parent's SUB$, its spend
260
+ so far included. From then on it bills to the parent's code; what it spent
261
+ before stays on its old code. Its budget is kept, and reclaim never hands
262
+ that much to the parent. A running agent is told it now reports to the
263
+ parent, unless `--no-notify`.
264
+
265
+ An agent with a parent is refused (release it first), and so is a cycle or
266
+ a tree that would pass the depth limit. Inside an agent, `--parent`
267
+ defaults to the calling agent and may only name it or one of its
268
+ descendants.
269
+
270
+ ## Agents launched from a job
271
+
272
+ A job an agent started (`overcode bash`, see
273
+ [Jobs](cli-reference.md#overcode-bash--overcode-jobs)) passes that agent
274
+ on: an agent the job launches is its child, as if the agent had launched
275
+ it. `overcode bash --top-level-launches` makes them top-level instead, and
276
+ `overcode launch --parent`/`--no-parent` inside the job win over both. If
277
+ the agent has gone by the time the job launches, the launch is top-level,
278
+ with a warning.
279
+
232
280
  ## What a child inherits
233
281
 
234
282
  Unless you pass a flag for a setting, a child takes these from its parent:
@@ -344,11 +344,38 @@ overcode follow <agent-name> [--session <session>]
344
344
  ```
345
345
 
346
346
  Exit codes:
347
- - `0` — child reported success
347
+ - `0` — child reported success, or was released from its parent (`overcode release`)
348
348
  - `1` — child reported failure or terminated
349
349
  - `2` — oversight timeout expired
350
350
  - `130` — interrupted (Ctrl-C)
351
351
 
352
+ ### `overcode release`
353
+
354
+ Free a child from its parent: it becomes a top-level agent, leaves the
355
+ parent's tree (tree view, cascade kill, SUB$ from now on), stops owing a
356
+ report and has no oversight timeout or budget reclaim. What it spent until
357
+ now stays in the parent's SUB$. Its billing code, budget and preset are
358
+ unchanged. A running agent is told it no longer reports, unless
359
+ `--no-notify`. See [Child Agents](children.md#releasing-a-child).
360
+
361
+ ```bash
362
+ overcode release <agent-name> [--no-notify] [--session <session>]
363
+ ```
364
+
365
+ ### `overcode adopt`
366
+
367
+ Make top-level agents children of a parent: release's reverse. Each joins
368
+ the parent's tree with its own children (tree view, cascade kill, SUB$ with
369
+ its spend so far, oversight under its own setting) and bills to the
370
+ parent's code from now on. Its budget is kept; reclaim never refunds it to
371
+ the parent. Inside an agent, `--parent` defaults to the caller and must be
372
+ the caller or one of its descendants. See
373
+ [Child Agents](children.md#adopting-an-agent).
374
+
375
+ ```bash
376
+ overcode adopt <agent-name>... [--parent <parent>] [--no-notify] [--session <session>]
377
+ ```
378
+
352
379
  ### `overcode budget`
353
380
 
354
381
  Manage agent cost budgets.
@@ -582,7 +609,7 @@ overcode web [options]
582
609
  | `--stop` | | Stop the running API server |
583
610
  | `--session` | | Tmux session name |
584
611
 
585
- Starts the server in the background and exits immediately. If already running, shows the current URL. Use `--stop` to stop a running server. Same toggle as the TUI `w` key.
612
+ Starts the server in the background and exits immediately. If already running, shows the current URL. Use `--stop` to stop a running server. Same toggle as the TUI's "API server (sisters)" palette command.
586
613
 
587
614
  Routes: `GET /api/status`, `GET /api/agents/{name}/status`,
588
615
  `GET /api/timeline/raw`, `GET /health`, and the control routes under
@@ -657,6 +684,68 @@ added. See [Subscription quota](configuration.md#subscription-quota).
657
684
 
658
685
  ---
659
686
 
687
+ ### `overcode archive`
688
+
689
+ The transcript archive (see Configuration, "Transcript Archive"): every
690
+ Claude Code transcript, byte-exact and compressed, kept for ever.
691
+
692
+ ```bash
693
+ overcode archive status # sessions, sizes, last sweep, pending, flagged-secret count
694
+ overcode archive sweep [--now] # sweep in the foreground (--now: busy files too)
695
+ overcode archive import <snapshot.tar.zst> # a tar of ~/.claude; every file becomes a manifest row
696
+ overcode archive find --repo github.com/org/repo [--since 30d] [--agent N] [--billing C]
697
+ overcode archive cat <session-id> [--subagents] # decompressed to stdout
698
+ ```
699
+
700
+ `find` prints manifest rows as JSON lines (the current version of each
701
+ archived file); `--repo` takes any spelling of a remote or a local
702
+ checkout, and covers its worktrees (removed ones too), clones without a
703
+ remote (same root commit) and removed `<checkout>-*` copies beside it. `find` and `cat` are a stable interface
704
+ for other tools (shirka).
705
+
706
+ `overcode archive --root <dir> <command>` (or `$OVERCODE_TRANSCRIPTS_DIR`)
707
+ uses another archive directory: a trial sweep or import of the real
708
+ `~/.claude` into a scratch archive leaves `~/.overcode/transcripts` alone.
709
+
710
+ ## Jobs and Background Shells
711
+
712
+ ### `overcode bash` / `overcode jobs`
713
+
714
+ Run a long command as a tracked job in its own window of the `jobs` tmux
715
+ session, linked to the agent that started it. An agent the job launches
716
+ (`overcode launch` in a dispatcher script, say) is that agent's child,
717
+ unless `--top-level-launches`.
718
+
719
+ ```bash
720
+ overcode bash "pytest tests/" -n full-tests
721
+ overcode jobs list [--all]
722
+ overcode jobs tail full-tests [-n 50]
723
+ overcode jobs wait full-tests [--until REGEX] [--timeout 10m]
724
+ overcode jobs kill full-tests
725
+ ```
726
+
727
+ `jobs wait` returns when `--until` matches a line of the job's output (exit
728
+ 0), or when the job ends: 0 if it completed without `--until`, 1 if it
729
+ failed, was killed or ended without a match. 2 means no such job and 124 a
730
+ timeout. It never outlives its job, so use it instead of an
731
+ `until … grep …; do sleep N; done` loop.
732
+
733
+ ### `overcode shells`
734
+
735
+ Background shells of Claude agents, each classified as a **service** (a dev
736
+ server, `tail -f`: never ends), **batch** work (builds, tests: ends and wakes
737
+ the agent) or a **watcher** (waits for something, then wakes the agent). A
738
+ watcher still polling an overcode agent or job that has ended is **stuck**:
739
+ the agent's row shows 🧟, and overcode never stops it by itself.
740
+
741
+ ```bash
742
+ overcode shells [agent] [--stuck]
743
+ overcode shells --kill <pid-or-shell-id>
744
+ ```
745
+
746
+ `--kill` stops the shell and everything under it, only if that pid is still
747
+ the same shell.
748
+
660
749
  ## Daemon Commands
661
750
 
662
751
  ### Monitor Daemon
@@ -82,6 +82,10 @@ session_archive:
82
82
  terminated_grace_seconds: 3600 # 1 hour; negative disables automatic archiving
83
83
  archive:
84
84
  retention_months: 0 # 0 keeps every month (the default)
85
+ transcripts: # See "Transcript Archive" below
86
+ enabled: false # true: keep copies of Claude's transcripts (off by default)
87
+ sweep: true # hourly sweep + hook-queue drain in the daemon
88
+ max_bytes: 0 # 0: no cap; warns at 80%, never deletes
85
89
 
86
90
  # Archived agents' own files (day bundles); kept for ever by default
87
91
  # See "Agent Files and Retention" below
@@ -113,6 +117,10 @@ children:
113
117
  budget_reclaim: auto # auto: a finished child's unused budget goes back to its
114
118
  # parent; manual: only `overcode budget reclaim <child>`
115
119
 
120
+ # overcode send between two Claude Code agents (#553)
121
+ send:
122
+ prefer_claude_messaging: false # true: refused without --force; use Claude's SendMessage
123
+
116
124
  # Claude subscription quota: the Q% column's estimate
117
125
  # See "Subscription Quota" below
118
126
  quota:
@@ -130,6 +138,7 @@ monitor_daemon:
130
138
  # See "Delegated Work" below
131
139
  observability:
132
140
  finished_row_seconds: 30 # a finished agent's own row stays this long
141
+ recent_finished_hours: 6 # "recent": ✅ counts only the last 6 hours
133
142
 
134
143
  # Sister instances for cross-machine monitoring
135
144
  # See docs/advanced-features.md for setup guide
@@ -231,7 +240,7 @@ Setting `wrapper: devcontainer` makes all new agents launch inside a Docker cont
231
240
  Omitting `backend` (or setting it to `null`) leaves new agents on overcode's
232
241
  built-in default (`claude-code`) — same effect as not having the key at all.
233
242
  There are two surfaces for setting it: editing `config.yaml` directly (as
234
- above), or the TUI's `G` new-agent-defaults modal, which has a **Backend**
243
+ above), or the TUI's "New agent defaults…" modal (`/` palette), which has a **Backend**
235
244
  row that cycles through every registered backend plus `(unset)` (space/enter
236
245
  to cycle, `a` to apply). There is no `overcode config set` CLI subcommand —
237
246
  `overcode config` only supports `init`/`show`/`path`/`tmux` — so config.yaml
@@ -342,7 +351,7 @@ Every TUI key can be changed under `keys:` in `~/.overcode/config.yaml` (#510):
342
351
 
343
352
  ```yaml
344
353
  keys:
345
- preset: vscode # default | vscode
354
+ preset: vscode # default | vscode | classic
346
355
  overrides: # main-screen actions
347
356
  jump_to_agent: [ctrl+j, J] # action -> one key or a list
348
357
  toggle_monochrome: null # unbind
@@ -370,6 +379,52 @@ overcode keys --presets # list presets
370
379
 
371
380
  The palette's **Key preset** command switches preset and rebinds the running TUI immediately. The help overlay (`h`), the palette and the footer always show the keys in effect.
372
381
 
382
+ ### Classic preset
383
+
384
+ Since 0.6.4 settings you set once and daemon admin have no bare key by
385
+ default, because prose typed into the TUI pane by mistake flipped them a
386
+ character at a time. They stay in the `/` palette (help marks them `·`).
387
+ `keys: {preset: classic}` (or `overcode keys --use classic`) brings their
388
+ old keys back:
389
+
390
+ | Action | classic |
391
+ |---|---|
392
+ | Monochrome / Theme / Emoji-free | `M` / `Y` / `E` |
393
+ | Column headers | `L` |
394
+ | Start / stop supervisor daemon | `[` / `]` |
395
+ | Restart monitor daemon | `\` |
396
+ | AI summarizer | `A` |
397
+ | API server (sisters) | `w` |
398
+ | New agent defaults… / Skill profiles… / Sister visibility… | `G` / `W` / `U` |
399
+ | Status detection (hooks/polling) | `K` |
400
+
401
+ To keep just one of them, bind it yourself instead: `keys: {overrides: {toggle_theme: Y}}`.
402
+
403
+ ## Typing guard
404
+
405
+ `tui.typing_guard` (default on) notices prose typed into the TUI pane by
406
+ mistake: four or more typing keys, three or more of them different, each
407
+ within 0.6 s of the last. From then until you stop typing for a second,
408
+ every key is ignored, and what the earlier keys did is put back: toggles
409
+ and cycles, the chosen agent, and any dialog or command bar they opened
410
+ (closed without sending). Keys that act outside the TUI with no
411
+ confirmation of their own (quit, the overagent, a new shell, sending
412
+ `1`-`5`/Enter/Esc to an agent, restarting the monitor daemon) never fire
413
+ in the middle of a burst of keys: they run once it settles, or not at all
414
+ if it was typing. One warning says what was ignored and undone.
415
+
416
+ `Ctrl+Z` ("Undo last change" in the palette) undoes the last setting
417
+ changed from a key or the palette, newest first, whether or not the guard
418
+ is on.
419
+
420
+ ```yaml
421
+ tui:
422
+ typing_guard: false # every key acts at once, as before 0.6.4
423
+ ```
424
+
425
+ "Typing guard" in the `/` palette switches it and saves this setting. See
426
+ [TUI guide → Typing guard](tui-guide.md#typing-guard).
427
+
373
428
  ### VSCode preset
374
429
 
375
430
  VSCode's integrated terminal runs some keys as VSCode commands instead of passing them to the program (`terminal.integrated.commandsToSkipShell`). On Linux/Windows that takes `Ctrl+P` (Quick Open), `Ctrl+K` (chord prefix), `Ctrl+G` (recent directory), `Ctrl+E`, `Ctrl+J` and `Ctrl+F`; on every OS it takes `Ctrl+Space`, ``Ctrl+` ``, `Ctrl+Tab`, `Ctrl+Q` and `F1`. On macOS most workbench shortcuts use Cmd, so the Ctrl keys get through there, but they still clash with VSCode habits. The `vscode` preset moves off all of them:
@@ -667,6 +722,62 @@ batch at a time and writes `sessions/<tmux>/.layout`. An agent launched
667
722
  before the upgrade keeps writing its name-keyed files until it is
668
723
  relaunched (restart, revive), and they are left in place until then.
669
724
 
725
+ ## Transcript Archive
726
+
727
+ Claude Code deletes its transcripts after `cleanupPeriodDays` (30 by
728
+ default). With `archive.transcripts.enabled: true` (or "Transcript archive"
729
+ in the TUI palette), overcode keeps a byte-exact copy of every one, whether
730
+ or not it launched the session, under `~/.overcode/transcripts/` (directory
731
+ mode 700, files 600; never in git). It is off by default: then the daemon
732
+ neither sweeps nor drains, the hooks queue nothing, and `overcode archive`
733
+ only does what you run by hand (`status`, `find`, `cat` and `import` work
734
+ as usual; `sweep` says the setting is off, then sweeps once):
735
+
736
+ ```
737
+ ~/.overcode/transcripts/
738
+ manifest.jsonl one row per captured file version (append-only)
739
+ YYYY-MM/<session id>/ month of the session's first record
740
+ main.v1.jsonl.zst the transcript (zstd -19)
741
+ subagents/agent-x.v1.jsonl.zst its subagents, tool results, other session files
742
+ meta.json the session's latest manifest row
743
+ ```
744
+
745
+ - **Sweep.** The monitor daemon walks `~/.claude/projects` once an hour on
746
+ a background thread and copies every file whose size or mtime changed
747
+ and whose content is new. A file that only grew replaces its version; one
748
+ rewritten or shrunk, and Claude's `*.superseded-*` / `*.orphaned-*`
749
+ copies, add `v2`, `v3`, ... and the old versions are kept. An append to
750
+ a transcript written in the last hour waits until it goes quiet (at most
751
+ a day).
752
+ - **Hooks.** The `SessionEnd` and `PreCompact` hooks of overcode's agents
753
+ only queue the transcript's path; the daemon copies it within a minute.
754
+ - **Rows.** Each manifest row carries the session id, kind, sizes and
755
+ sha256, first/last record times, Claude's version, the `cwd`, its
756
+ normalised git remote (a clone of a local clone takes that one's
757
+ remote), branch and root commit, and the overcode agent, agent id,
758
+ billing code and parent when overcode ran the session (null otherwise).
759
+ The copies are never redacted; a row only counts the key-like strings in
760
+ its file (`secrets_flagged`).
761
+ - **Size.** Kept for ever by default (about 14x smaller than the raw
762
+ transcripts). `max_bytes` warns at 80% and stops taking new copies past
763
+ it; nothing is ever deleted.
764
+
765
+ ```yaml
766
+ archive:
767
+ transcripts:
768
+ enabled: false # true: archive; false: only what you run with `overcode archive`
769
+ sweep: true # false (with enabled): no sweep or queue drain, hooks still queue
770
+ max_bytes: 0 # e.g. 5GB
771
+ ```
772
+
773
+ Commands: `overcode archive status`, `overcode archive sweep [--now]`,
774
+ `overcode archive import <snapshot.tar.zst>` (a `tar --zstd` of
775
+ `~/.claude`'s `projects/`, `file-history/` and `history.jsonl`; every file
776
+ becomes a row), `overcode archive find --repo <remote|path> [--since 30d]
777
+ [--agent N] [--billing C] [--session ID] [--kind main]` (manifest rows as
778
+ JSON lines) and `overcode archive cat <session id> [--subagents]`
779
+ (the transcript, decompressed). Needs the `zstd` command.
780
+
670
781
  ## Delegated Work
671
782
 
672
783
  A Claude agent hands work out inside its own session: subagents (in the
@@ -697,12 +808,17 @@ and the parent's own rules decide.
697
808
  ```yaml
698
809
  observability:
699
810
  finished_row_seconds: 30 # 0 folds a finished agent into the counts at once
811
+ recent_finished_hours: 6 # what "recent" (the default) counts as ✅
700
812
  ```
701
813
 
702
814
  `finished_row_seconds` is how long a finished agent keeps its own row
703
815
  under its parent; after that it is only a ✅/❌ count in the parent's
704
816
  SubAgents cell. The TUI's Agent visibility dialog (`d`) sets it too, and
705
- can hide finished agents altogether, or all but the failed ones.
817
+ chooses what the counts cover: **recent** (the default) counts ✅ only for
818
+ agents that finished within `recent_finished_hours` and ❌ for every
819
+ failure; **all** counts every one since the agent started or last
820
+ `/clear`ed; it can also show only the failed ones, or hide finished
821
+ agents altogether.
706
822
 
707
823
  ## Children Presets
708
824
 
@@ -774,7 +890,7 @@ billing:
774
890
  ```
775
891
 
776
892
  A value that isn't one of these is ignored with a warning (at launch and in
777
- the TUI's billing dialog). In the TUI, "New agent defaults…" (`G`) sets
893
+ the TUI's billing dialog). In the TUI, "New agent defaults…" (`/` palette) sets
778
894
  both, and `s` in the billing codes dialog opens it on those rows; the new-agent
779
895
  dialog's Billing row shows the code the mode picks.
780
896
 
@@ -1115,7 +1231,7 @@ monitor_daemon:
1115
1231
 
1116
1232
  Read when the daemon starts: after changing it, restart the daemon with
1117
1233
  `overcode monitor-daemon stop` then `overcode monitor-daemon start`, or
1118
- press `\` (Restart monitor) in the TUI.
1234
+ run "Restart monitor daemon" from the TUI's `/` palette.
1119
1235
 
1120
1236
  ## Pricing Configuration
1121
1237
 
@@ -1010,6 +1010,48 @@ Choices where the design left room:
1010
1010
 
1011
1011
  ---
1012
1012
 
1013
+ ## Workflow progress (#498) as built
1014
+
1015
+ Owner (2026-10-26): the "agent DAG" is a Claude Code Workflow run inside
1016
+ one Claude agent; first surface is the agent's row plus a hover with
1017
+ per-phase counts, e.g. `review-changes · 2/3 · 7/12✅`.
1018
+
1019
+ - **Declared phases** (`workflow_progress.parse_meta`): the hook side
1020
+ parses `export const meta = {name, phases: [{title}]}` from the Workflow
1021
+ call's `tool_input.script` with a small JS-literal reader (strings of
1022
+ three quote kinds, unquoted keys, comments, trailing commas; a call, a
1023
+ spread or a `${}` makes it no meta). Kept on the run as `phases` (20
1024
+ titles of 40 chars at most). A run started by `name` or `scriptPath`
1025
+ keeps the response's `scriptPath`; the engine reads that file once.
1026
+ - **Counts, best source first** (`run_progress`): the final record
1027
+ `workflows/<run>.json` once the run is over (each agent's `state` and
1028
+ `phaseTitle`: exact, failures included); else the journal (`started` /
1029
+ `result` per agent with its phase: exact started and finished per
1030
+ phase, failures not told apart); else hooks alone (finished workflow
1031
+ agents by the run their `SubagentStop` names, live ones to the newest
1032
+ running run: counts, no phases). The phase a run is in is the phase of
1033
+ its latest-started agent; `2/3` is its place among the declared ones.
1034
+ - **Engine** (`WorkflowFiles`): computed on every detection (full and
1035
+ quick ticks) into `SessionDaemonState.workflow_progress`: running runs
1036
+ and the newest three finished, counts and absolute times only. Journals
1037
+ are read from where the last read stopped when their (mtime, size)
1038
+ moved (`SwarmFiles.journal`, now incremental for the publisher too);
1039
+ final records and scripts once. Between ticks the wake loop stats each
1040
+ running run's journal (`changed()`, each move reported once) and
1041
+ quick-ticks its agent: the journal's `result` line can land after the
1042
+ `SubagentStop` that woke the last quick tick.
1043
+ - **Views**: the WF column (`workflow`, after the name; gated on
1044
+ `FleetFlags.any_has_workflow`, a run going), the WF and SubAgents hovers
1045
+ (each run, then a line per phase), `overcode show` (Workflows), and
1046
+ `overcode list`. Low detail drops the run's name to fit at 120 columns.
1047
+
1048
+ Not verified live: the final record's agent states other than `done`
1049
+ (failure words are guessed: `failed`, `error`, `killed`, `cancelled`, …);
1050
+ whether the journal says anything for a failed or retried agent; a
1051
+ `resumeFromRunId` run (its cached agents may not appear in the new journal).
1052
+
1053
+ ---
1054
+
1013
1055
  ## Appendix: capture index
1014
1056
 
1015
1057
  `docs/design/spike-agent-types/captures/`, scrubbed (paths become `~`,
@@ -1,6 +1,6 @@
1
1
  # Background shells: services, batch work and watchers
2
2
 
3
- - **Status:** Proposal / Not implemented
3
+ - **Status:** Implemented (October 2026), with the differences in *As built* at the end
4
4
  - **Date:** October 2026
5
5
  - **Issue:** [#515](https://github.com/mkb23/overcode/issues/515)
6
6
  - **Builds on:** #507 (the status model where yellow means "idle at the prompt, but work in flight elsewhere will wake it")
@@ -101,3 +101,44 @@ A job command containing a single quote (e.g. `…; echo 'done'`) breaks the quo
101
101
  3. Should overcode ever kill a stuck watcher itself? Proposed: **no**. Flag it, and let the person or the agent decide.
102
102
  4. Where should the process walk run: in the daemon's per-tick resource sampling (where the pid is already known) or in a slower housekeeping pass? Shells change rarely, so every 10–30 s is probably enough.
103
103
  5. Containers and remote sisters: the process walk only sees local processes. Fall back to the status-bar count there.
104
+
105
+ ## As built (October 2026)
106
+
107
+ Owner answers (2026-10-06): a service alone **does** keep its agent yellow;
108
+ a stuck watcher gets a warning badge, never a colour change; overcode never
109
+ stops a shell by itself, but the CLI can.
110
+
111
+ - **Which shells.** Not the process walk first: every parent `Stop` carries
112
+ `background_tasks`, whose `type: shell` entries (id, command, description)
113
+ are Claude's own list of the shells still running. The hook side keeps them
114
+ as `swarm.bg_shells` (`swarm.note_bg_shells`); a task notification drops
115
+ one. A shell's `tasks/<id>.output` exit mark (`swarm_files.ShellEnds`) ends
116
+ it early. The process table then gives each one's pid and runtime signals.
117
+ - **Process walk.** Claude runs the shells under `claude bg-pty-host` /
118
+ `bg-spare` helpers, not as direct children; and a session hosted by
119
+ Claude's own daemon has them outside the agent's tree altogether. So the
120
+ probe (`daemon_shell_probe.ShellProbe`) takes the Bash-tool shells under
121
+ the agent's CLI first, then any elsewhere in the table whose command no
122
+ other shell shares. It reuses the table the 5 s resource sampling took: no
123
+ extra `ps`. `lsof` runs only for a shell the rules call batch, at most once
124
+ a minute per shell.
125
+ - **Classification** (`background_shells.classify`): rules on the command,
126
+ then a `sleep` child (poll loop) or a listening socket, then Claude's
127
+ description. CPU and output growth are not used yet, nor the LLM
128
+ classifier: an unplaced shell is batch, which is what every shell was
129
+ before.
130
+ - **Stuck.** A watcher wrapped in a loop whose target (`overcode follow X`,
131
+ `overcode jobs tail|wait X`) has ended, gone missing or never existed is
132
+ stuck 90 s later (`STUCK_GRACE_SECONDS`). `jobs wait`, `follow` and a
133
+ streaming `jobs tail` on their own end with their target, so they never
134
+ are. `gh run watch` and `kubectl wait` targets are not checked.
135
+ - **What the person sees.** 🏭 batch, 🔭 watcher, 📻 service (all yellow) in
136
+ place of 🔌, which remains for shells the status bar counts beyond the
137
+ classified ones; 🧟 beside the light for a stuck watcher. A listed shell
138
+ whose process was never found counts only up to the status bar's count, so
139
+ a stale list can't hold an agent yellow. The status-detail hover lists each
140
+ shell. `SessionDaemonState.background_shells` publishes the list.
141
+ - **CLI.** `overcode shells [agent] [--stuck]` lists them; `overcode shells
142
+ --kill <pid|id>` stops one and its children, after checking the pid is
143
+ still that shell. `overcode jobs wait` is the prevention half; the overcode
144
+ skill points agents at it.