@denizokcu/haze 0.9.0 → 0.11.0

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 (241) hide show
  1. package/CHANGELOG.md +133 -17
  2. package/README.md +164 -68
  3. package/SECURITY.md +22 -0
  4. package/bin/haze.js +102 -1
  5. package/dist/buildInfo.json +7 -0
  6. package/dist/cli/chat/TaskBar.d.ts +2 -1
  7. package/dist/cli/chat/TaskBar.js +7 -4
  8. package/dist/cli/chat/chatMetrics.d.ts +17 -1
  9. package/dist/cli/chat/chatMetrics.js +22 -5
  10. package/dist/cli/chat/contextReport.d.ts +11 -0
  11. package/dist/cli/chat/contextReport.js +46 -0
  12. package/dist/cli/chat/fileMentionSuggestions.d.ts +29 -0
  13. package/dist/cli/chat/fileMentionSuggestions.js +92 -0
  14. package/dist/cli/chat/inputSuggestions.d.ts +5 -0
  15. package/dist/cli/chat/inputSuggestions.js +17 -3
  16. package/dist/cli/chat/liveRegion.d.ts +25 -0
  17. package/dist/cli/chat/liveRegion.js +48 -0
  18. package/dist/cli/chat/messages.d.ts +33 -2
  19. package/dist/cli/chat/messages.js +216 -33
  20. package/dist/cli/chat/sessionLifecycle.d.ts +67 -0
  21. package/dist/cli/chat/sessionLifecycle.js +205 -0
  22. package/dist/cli/chat/sessionRecorder.js +80 -14
  23. package/dist/cli/chat/startupInfo.js +11 -4
  24. package/dist/cli/chat/tips.d.ts +21 -0
  25. package/dist/cli/chat/tips.js +43 -0
  26. package/dist/cli/chat/wizardDispatch.d.ts +64 -0
  27. package/dist/cli/chat/wizardDispatch.js +744 -0
  28. package/dist/cli/commands/chat.d.ts +6 -0
  29. package/dist/cli/commands/chat.js +373 -790
  30. package/dist/cli/commands/chatModes.d.ts +1 -1
  31. package/dist/cli/commands/chatModes.js +7 -2
  32. package/dist/cli/commands/commandHelp.js +5 -3
  33. package/dist/cli/commands/commands.d.ts +5 -2
  34. package/dist/cli/commands/commands.js +22 -18
  35. package/dist/cli/commands/doctor.d.ts +19 -0
  36. package/dist/cli/commands/doctor.js +76 -0
  37. package/dist/cli/commands/fleetCommand.d.ts +14 -0
  38. package/dist/cli/commands/fleetCommand.js +46 -0
  39. package/dist/cli/commands/formatters.d.ts +5 -0
  40. package/dist/cli/commands/formatters.js +35 -6
  41. package/dist/cli/commands/logsCommand.js +1 -7
  42. package/dist/cli/commands/modelCommand.js +1 -1
  43. package/dist/cli/commands/ndjsonSink.d.ts +23 -0
  44. package/dist/cli/commands/ndjsonSink.js +38 -0
  45. package/dist/cli/commands/providerWizard.d.ts +10 -2
  46. package/dist/cli/commands/providerWizard.js +50 -4
  47. package/dist/cli/commands/runCommand.d.ts +4 -0
  48. package/dist/cli/commands/runCommand.js +142 -16
  49. package/dist/cli/commands/sessionPicker.d.ts +9 -0
  50. package/dist/cli/commands/sessionPicker.js +29 -0
  51. package/dist/cli/commands/settingsSummary.js +6 -4
  52. package/dist/cli/commands/skillConfirmRemove.js +4 -3
  53. package/dist/cli/commands/skillWizard.d.ts +2 -0
  54. package/dist/cli/commands/skillWizard.js +16 -6
  55. package/dist/cli/commands/streaming/abortCause.d.ts +24 -0
  56. package/dist/cli/commands/streaming/abortCause.js +16 -0
  57. package/dist/cli/commands/streaming/assistantText.js +9 -2
  58. package/dist/cli/commands/streaming/goalCheckpoint.d.ts +65 -0
  59. package/dist/cli/commands/streaming/goalCheckpoint.js +23 -0
  60. package/dist/cli/commands/streaming/goalSupervisor.d.ts +64 -0
  61. package/dist/cli/commands/streaming/goalSupervisor.js +127 -0
  62. package/dist/cli/commands/streaming/idleTimer.d.ts +26 -0
  63. package/dist/cli/commands/streaming/idleTimer.js +24 -0
  64. package/dist/cli/commands/streaming/toolCallRecovery.d.ts +2 -0
  65. package/dist/cli/commands/streaming/toolCallRecovery.js +24 -0
  66. package/dist/cli/commands/streaming/toolGroupRenderer.d.ts +31 -0
  67. package/dist/cli/commands/streaming/toolGroupRenderer.js +50 -2
  68. package/dist/cli/commands/streaming/toolResultState.d.ts +6 -1
  69. package/dist/cli/commands/streaming/toolResultState.js +29 -7
  70. package/dist/cli/commands/streaming/turnOutcome.d.ts +17 -0
  71. package/dist/cli/commands/streaming/turnOutcome.js +27 -11
  72. package/dist/cli/commands/streaming/turnRuntime.js +6 -4
  73. package/dist/cli/commands/streaming.d.ts +82 -3
  74. package/dist/cli/commands/streaming.js +528 -91
  75. package/dist/cli/commands/wizardActions.d.ts +7 -0
  76. package/dist/cli/commands/wizardActions.js +7 -0
  77. package/dist/cli/commands/wizardPrompts.js +7 -1
  78. package/dist/cli/commands/wizardSuggestions.d.ts +8 -0
  79. package/dist/cli/commands/wizardSuggestions.js +64 -14
  80. package/dist/cli/commands/wizardTransition.d.ts +4 -0
  81. package/dist/cli/commands/wizardTransition.js +1 -2
  82. package/dist/cli/index.js +82 -22
  83. package/dist/cli/terminalTitle.d.ts +6 -0
  84. package/dist/cli/terminalTitle.js +36 -0
  85. package/dist/config/inputHistory.d.ts +3 -3
  86. package/dist/config/inputHistory.js +12 -18
  87. package/dist/config/modelDiscovery.d.ts +71 -0
  88. package/dist/config/modelDiscovery.js +214 -0
  89. package/dist/config/privateStorage.js +28 -2
  90. package/dist/config/providerAuth.d.ts +14 -0
  91. package/dist/config/providerAuth.js +49 -0
  92. package/dist/config/providerPresets.d.ts +49 -5
  93. package/dist/config/providerPresets.js +573 -73
  94. package/dist/config/providers.d.ts +2 -0
  95. package/dist/config/providers.js +9 -0
  96. package/dist/config/settings.d.ts +58 -0
  97. package/dist/config/settings.js +38 -1
  98. package/dist/config/skillSettings.d.ts +6 -13
  99. package/dist/config/skillSettings.js +20 -19
  100. package/dist/core/agent/budgets.d.ts +36 -0
  101. package/dist/core/agent/budgets.js +44 -0
  102. package/dist/core/agent/compaction.d.ts +38 -0
  103. package/dist/core/agent/compaction.js +108 -19
  104. package/dist/core/agent/completionController.d.ts +230 -0
  105. package/dist/core/agent/completionController.js +287 -0
  106. package/dist/core/agent/contextBudget.d.ts +46 -0
  107. package/dist/core/agent/contextBudget.js +89 -7
  108. package/dist/core/agent/errors.js +6 -2
  109. package/dist/core/agent/events.d.ts +86 -0
  110. package/dist/core/agent/reasoningPolicy.d.ts +31 -0
  111. package/dist/core/agent/reasoningPolicy.js +27 -0
  112. package/dist/core/agent/toolCapabilities.d.ts +27 -0
  113. package/dist/core/agent/toolCapabilities.js +58 -0
  114. package/dist/core/agent/toolExecutionBudget.d.ts +35 -0
  115. package/dist/core/agent/toolExecutionBudget.js +49 -0
  116. package/dist/core/agent/toolOutputStore.d.ts +13 -0
  117. package/dist/core/agent/toolOutputStore.js +27 -10
  118. package/dist/core/agent/toolResults.d.ts +12 -0
  119. package/dist/core/agent/toolResults.js +38 -0
  120. package/dist/core/agent/turnBudget.d.ts +35 -0
  121. package/dist/core/agent/turnBudget.js +27 -0
  122. package/dist/core/agent/turnPolicy.d.ts +11 -0
  123. package/dist/core/agent/turnPolicy.js +19 -0
  124. package/dist/core/agent/workState.d.ts +76 -1
  125. package/dist/core/agent/workState.js +120 -13
  126. package/dist/core/attachments/imageAttachments.d.ts +90 -0
  127. package/dist/core/attachments/imageAttachments.js +245 -0
  128. package/dist/core/attachments/readBlessings.d.ts +37 -0
  129. package/dist/core/attachments/readBlessings.js +79 -0
  130. package/dist/core/deadline.d.ts +33 -0
  131. package/dist/core/deadline.js +74 -0
  132. package/dist/core/goal/completionPolicy.d.ts +27 -0
  133. package/dist/core/goal/completionPolicy.js +37 -1
  134. package/dist/core/goal/requestClassifier.d.ts +0 -3
  135. package/dist/core/goal/requestClassifier.js +0 -13
  136. package/dist/core/io/boundedRead.js +76 -29
  137. package/dist/core/limits/byteBudgets.d.ts +7 -0
  138. package/dist/core/limits/byteBudgets.js +7 -0
  139. package/dist/core/limits/textBudgets.d.ts +25 -0
  140. package/dist/core/limits/textBudgets.js +25 -0
  141. package/dist/core/log/llmLog.js +7 -0
  142. package/dist/core/persistence/orderedFileWriter.d.ts +10 -0
  143. package/dist/core/persistence/orderedFileWriter.js +16 -2
  144. package/dist/core/process/backgroundRegistry.d.ts +35 -0
  145. package/dist/core/process/backgroundRegistry.js +195 -0
  146. package/dist/core/process/runBoundedProcess.d.ts +9 -0
  147. package/dist/core/process/runBoundedProcess.js +74 -29
  148. package/dist/core/safety/missingExecutable.d.ts +42 -0
  149. package/dist/core/safety/missingExecutable.js +77 -0
  150. package/dist/core/safety/urlGuard.d.ts +2 -1
  151. package/dist/core/safety/urlGuard.js +3 -2
  152. package/dist/core/session/sessionSlimming.js +47 -4
  153. package/dist/core/session/sessionStore.d.ts +74 -0
  154. package/dist/core/session/sessionStore.js +268 -18
  155. package/dist/core/subagent/contracts.d.ts +120 -0
  156. package/dist/core/subagent/contracts.js +55 -0
  157. package/dist/core/subagent/executionProfiles.d.ts +28 -0
  158. package/dist/core/subagent/executionProfiles.js +45 -0
  159. package/dist/core/subagent/subagentCoordinator.d.ts +78 -0
  160. package/dist/core/subagent/subagentCoordinator.js +164 -0
  161. package/dist/core/subagent/subagentRunner.d.ts +211 -145
  162. package/dist/core/subagent/subagentRunner.js +208 -98
  163. package/dist/core/subagent/workspaceMutationPolicy.d.ts +11 -0
  164. package/dist/core/subagent/workspaceMutationPolicy.js +52 -0
  165. package/dist/core/tasks/taskStorage.js +12 -1
  166. package/dist/llm/client.d.ts +36 -29
  167. package/dist/llm/client.js +102 -33
  168. package/dist/llm/hazeTools.d.ts +2559 -150
  169. package/dist/llm/hazeTools.js +119 -31
  170. package/dist/llm/lsp.d.ts +26 -4
  171. package/dist/llm/lsp.js +90 -14
  172. package/dist/llm/lspTools.d.ts +2366 -0
  173. package/dist/llm/lspTools.js +87 -79
  174. package/dist/llm/openaiCodex.d.ts +3 -0
  175. package/dist/llm/openaiCodex.js +47 -0
  176. package/dist/llm/openaiCodexOAuth.d.ts +54 -0
  177. package/dist/llm/openaiCodexOAuth.js +214 -0
  178. package/dist/llm/requestContext.d.ts +25 -1
  179. package/dist/llm/requestContext.js +51 -8
  180. package/dist/llm/systemPrompt.d.ts +15 -1
  181. package/dist/llm/systemPrompt.js +24 -8
  182. package/dist/llm/toolResultTypes.d.ts +8 -1
  183. package/dist/llm/tools/bashTool.d.ts +906 -32
  184. package/dist/llm/tools/bashTool.js +30 -4
  185. package/dist/llm/tools/editMatch.d.ts +14 -0
  186. package/dist/llm/tools/editMatch.js +72 -0
  187. package/dist/llm/tools/failures.d.ts +2 -0
  188. package/dist/llm/tools/failures.js +1 -0
  189. package/dist/llm/tools/fetchTool.d.ts +42 -26
  190. package/dist/llm/tools/fetchTool.js +1 -1
  191. package/dist/llm/tools/fileToolShared.d.ts +6 -4
  192. package/dist/llm/tools/fileToolShared.js +18 -23
  193. package/dist/llm/tools/gitIgnore.d.ts +49 -0
  194. package/dist/llm/tools/gitIgnore.js +129 -0
  195. package/dist/llm/tools/grepRunner.d.ts +5 -0
  196. package/dist/llm/tools/grepRunner.js +52 -71
  197. package/dist/llm/tools/outputCap.d.ts +2 -6
  198. package/dist/llm/tools/outputCap.js +2 -6
  199. package/dist/llm/tools/processTool.d.ts +1077 -0
  200. package/dist/llm/tools/processTool.js +41 -0
  201. package/dist/llm/tools/readRecovery.d.ts +10 -0
  202. package/dist/llm/tools/readRecovery.js +135 -0
  203. package/dist/llm/tools/toolContext.d.ts +9 -1
  204. package/dist/llm/tools/toolContext.js +83 -43
  205. package/dist/llm/tools/workspaceFile.d.ts +9 -1
  206. package/dist/llm/tools/workspaceFile.js +33 -4
  207. package/dist/llm/webFetch.d.ts +17 -0
  208. package/dist/llm/webFetch.js +66 -86
  209. package/dist/llm/workerContext.d.ts +18 -0
  210. package/dist/llm/workerContext.js +55 -0
  211. package/dist/skills/SkillLoader.d.ts +2 -2
  212. package/dist/skills/SkillRegistry.d.ts +3 -2
  213. package/dist/skills/SkillRegistry.js +43 -13
  214. package/dist/skills/builder/SkillBuilder.d.ts +3 -0
  215. package/dist/skills/builder/SkillBuilder.js +23 -5
  216. package/dist/skills/skillTools.js +11 -4
  217. package/dist/skills/types.d.ts +6 -1
  218. package/dist/ui/codeHighlight.d.ts +4 -0
  219. package/dist/ui/codeHighlight.js +31 -0
  220. package/dist/ui/components/Header.d.ts +1 -1
  221. package/dist/ui/components/MarkdownText.d.ts +16 -2
  222. package/dist/ui/components/MarkdownText.js +244 -34
  223. package/dist/ui/components/TextInput.d.ts +12 -2
  224. package/dist/ui/components/TextInput.js +80 -8
  225. package/dist/ui/theme.d.ts +4 -3
  226. package/dist/ui/theme.js +5 -4
  227. package/dist/utils/buildInfo.d.ts +104 -0
  228. package/dist/utils/buildInfo.js +253 -0
  229. package/dist/utils/format.d.ts +2 -0
  230. package/dist/utils/format.js +8 -0
  231. package/dist/utils/fs.d.ts +9 -1
  232. package/dist/utils/fs.js +87 -29
  233. package/dist/utils/openPath.d.ts +2 -0
  234. package/dist/utils/openPath.js +22 -0
  235. package/dist/utils/path.d.ts +2 -0
  236. package/dist/utils/path.js +5 -1
  237. package/dist/utils/utf8.d.ts +22 -0
  238. package/dist/utils/utf8.js +54 -0
  239. package/dist/utils/version.d.ts +9 -3
  240. package/dist/utils/version.js +28 -2
  241. package/package.json +24 -19
package/CHANGELOG.md CHANGED
@@ -1,5 +1,121 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.0 - 2026-08-15
4
+
5
+ ### Added
6
+
7
+ - Runtime provenance and stale-install protection: `npm run build` now embeds `dist/buildInfo.json` (version, commit, build time), and the `bin/haze.js` launcher verifies required compiled modules (including the goal supervisor) and manifest/version/commit consistency before starting — refusing incomplete or stale builds with an actionable rebuild hint instead of running partially outdated code. `haze --version --verbose` prints the executing version, commit, runtime/executable paths, and goal-supervisor state; the new `haze doctor` command reports the same provenance plus artifact/manifest checks, the runtime capability registry (`logicalGoalSupervisor`, `crossTurnCheckpoints`, `automaticBudgetContinuation`), and a warning when a nearby source checkout is newer than the running binary (interactive startup shows the same warning; nothing is ever switched silently). Session headers now record the executing build (version + commit + build time) so saved failures tie to the code that actually ran, every goal start logs "goal supervisor enabled; automatic continuation across physical-turn budgets" in debug output, and `npm run dev:link` builds the checkout, links it globally, and verifies the `haze` on PATH resolves to this checkout's version and commit (the non-global alternative remains `npm run haze -- <args>`).
8
+ - Autonomous goal continuation across physical turns: per-turn step/tool budgets no longer end the user's goal, and a voluntary final is no longer accepted as completion while this turn's declared `writeTasks` list has pending/in-progress items or post-mutation validation is missing/stale/failed (implement/fix/test intents) — prose alone is never evidence. A logical-goal supervisor wraps each request — a turn that stops `recoverable-incomplete` at any budget boundary (including `tool-calls` finishes) automatically starts the next continuation turn against the preserved conversation, sharing one mutation lease, seeding cumulative task/validation/mutation evidence so nothing resets at the boundary and completed work is never replayed. It continues while measurable progress occurs and stops only for structured completion, concrete external blockers, user cancellation, the goal deadline, or two consecutive no-progress cycles (the first being the allowed corrective) — never silently discarding recoverable work and never reporting it complete. Interactively, continuation is automatic with a visible "Continuing unfinished goal — cycle N" status and the `R` key is reserved for genuinely paused goals; headless `--timeout` now bounds the whole logical goal, `stream-json` gains `goal_start`/`goal_continue`/`goal_end` events, the JSON result envelope gains cumulative `goal` evidence (cycles, stop reason, total mutations, final validation outcome and task counts), and the exit code stays non-zero unless the goal structurally completed.
9
+ - Model-written `/compact` summaries (F-09): manual `/compact` now asks the active model to summarize the older conversation into a continuity summary (goal, decisions, files, validation results, next action), keeping the recent tail verbatim. Set `manualCompaction: "heuristic"` in settings to keep the previous model-free bounded excerpt; automatic mid-turn compaction always uses the heuristic excerpt, and any summarization failure falls back to it.
10
+ - Headless `--timeout <duration>` (e.g. `30s`, `10m`, `2h`) sets an absolute turn deadline that bounds total elapsed time; on expiry haze emits a `timeout` stream-json event and exits non-zero. Per-tool execution deadlines (default 10m; 20m for subagents) ensure an uncooperative tool cannot defer a turn indefinitely, with late-settlement quarantine so ignored cancellation cannot mutate state.
11
+ - Optional per-provider `modelLimits` metadata (`contextWindowTokens`, `maxOutputTokens`) for request budgeting; `npm run release:verify` checks package/lockfile/README/changelog/SECURITY/docs/AGENTS version agreement in one run (wired into `prepublishOnly`).
12
+ - Provider presets now carry curated per-model context-window and output-token limits (from the models.dev catalog, the same source pi and nanocoder use; cross-checked against kilocode and opencode's models.dev exports), and the provider wizard writes them into the provider's `modelLimits` settings when a suggested model is added — so request budgeting uses the real window instead of the conservative 32K fallback without any user configuration. Limits are per-preset because aggregators may cap context below the origin model (e.g. Together serves DeepSeek-V4-Pro at 512K vs DeepSeek's own 1M); a drift-guard test keeps every suggested model on every hosted preset covered. Suggested model lists were refreshed to current releases (e.g. gpt-5.6 family, gemini-3.7-flash, claude-opus-5, grok-4.6, glm-5.3, kimi-k3, Qwen3.7-Max, Qwen3.8-2.4t, thinkingmachines/Inkling, nemotron-3.5-lightning, deepseek-v4-pro-0813) and stale/deprecated ids (o4-mini, devstral-2512, qwen3-32b) were replaced. Poe's suggested ids were corrected to its provider-prefixed form (`anthropic/claude-opus-4.8`, not `claude-opus-4.8`). New curated gateway presets: Kilo Gateway, Novita AI, Deep Infra, SiliconFlow, and Nebius AI Studio (all OpenAI-compatible endpoints with their conventional API-key env vars).
13
+
14
+ ### Changed
15
+
16
+ - Session files no longer grow quadratically over long sessions (F-03): snapshots rewrite the full conversation history each turn, so a long session cost O(turns × history) bytes on disk. Once superseded snapshots dominate the file (16 MB by default), haze atomically rewrites it keeping only the newest conversation/work-state snapshots plus all small entries; restore semantics are unchanged and browsing history (ui messages, events) is preserved.
17
+ - The completion-rescue slice now also covers `test`-intent requests (F-04): a long test-orchestration turn that exhausts the tool-only boundary without a substantive answer gets the same bounded rescue slice as implement/fix requests, gated by the shared `intentExpectsValidation` policy.
18
+ - Headless print mode now self-heals from provider context overflows (F-10): `-p` runs compact the loaded conversation once and retry, like the interactive path. When compaction is unavailable, the error message says so explicitly instead of the misleading "not enough conversation history".
19
+ - Mutation tools fail closed when Git cannot run (F-05): ignore checks for `editFile`/`writeFile`/`replaceLines` now distinguish "checked and not ignored" from "could not check". Reads still fail open, but writes into a workspace where ignore status is unverifiable (missing/broken Git) are refused with `ignore_check_unavailable` unless `allowIgnored=true` is set explicitly.
20
+ - Per-step request estimation is memoized per message object (F-07): `prepareStep` no longer re-stringifies the entire message history on every provider call, removing the O(history) CPU cost per step on very long turns.
21
+ - A rescue slice with no qualifying built-in mutation/validation tools now forces a tool-free synthesis step instead of silently keeping the full tool set (F-08), preserving the "rescue never reopens discovery" invariant when builtins have been removed.
22
+ - The provider wizard warns when a ChatGPT sign-in provider's configured URL diverges from the canonical Codex endpoint (F-14) — requests always route to the registered endpoint — and typing the canonical Codex URL during a custom add now points at the OpenAI Subscription preset.
23
+ - README and docs now state the supervision model prominently (no sandbox or permission layer; not an unattended runtime), the fixed OAuth callback port 1455 that can block ChatGPT sign-in, and the crash-recovery granularity: sessions persist at turn boundaries, so after a mid-turn crash resume replays from the last completed turn and the working tree should be verified with git (F-02/F-06/F-11).
24
+ - The conservative context-window fallback for models without metadata is now 128K (the modern floor for capable hosted models) instead of 32K, and unknown models on localhost inference servers keep the smaller 32K default because their effective window is set by server configuration (often 4–32K) and silent truncation there is undetectable. Both fallbacks are user-configurable in settings (`contextWindowFallbackTokens`, `localContextWindowFallbackTokens`); unset means the built-in defaults. The guess is observable: every turn emits a `context_budget` stream event (`contextWindowTokens`, `source: settings|user-fallback|default-fallback`), and interactively a system message — shown only when the built-in default was used, since a user-set fallback is an intentional choice — names the model and how to correct it. The warning is gated per model: it appears at the start of a session and once after a model switch, never on every turn.
25
+ - The context-fallback warning is now genuinely once-per-session per model: it previously reappeared on every turn because the per-session warned flag lived on a throwaway object. A stable in-memory session object carries the last warned `provider:model` key, so the same model stays silent for the rest of the session and a switched-to fallback model warns exactly once at its first turn.
26
+ - Provider wizard model discovery now harvests non-standard context/output fields from the OpenAI-compatible `/models` listing (OpenRouter `context_length`, Groq `context_window`, LM Studio `max_context_length`, `max_output_tokens`/`max_completion_tokens`/`max_tokens`), sanity-clamped to plausible token ranges. Harvested values are written into the provider's `modelLimits` when the model is added and win over the static preset catalog (live provider data beats the catalog; user-configured keys still win over both). Ollama reports nothing in `/v1/models`, so the wizard additionally probes its native API at save time for loopback URLs: the actually-loaded runtime context from `/api/ps` first, an explicit Modelfile `num_ctx` from `/api/show` second, and the model's declared maximum capped at the user's local fallback setting (default 32K) last (Ollama auto-sizes the effective window to available VRAM, and over-trusting the declared maximum would risk silent truncation). Unknown models stay on the fallback and its warning.
27
+ - Performance and long-running-autonomous hardening: `listFiles` discovery now uses one bounded `git check-ignore` batch per directory level instead of one Git subprocess per walked entry, and cursor pagination no longer re-checks entries that preceded the cursor. LSP navigation (symbols/definition/references/workspace symbols) reuses a single initialized language server and its opened documents per turn instead of restarting and reindexing on every call. `/fleet` subagents now let read-only work fill idle slots behind one blocked mutation (bounded so a serialized mutation is never starved). Session conversation/work-state snapshots are coalesced so a long turn does not rewrite the full history on every update. The interactive transcript caches settled Markdown root chunks so it no longer re-lexes the whole history on each render.
28
+ - Main tool-call budgets are now enforced atomically at the execution boundary, so one oversized parallel batch cannot overshoot the turn or recovery-slice limit; blocked calls have no side effect and force a final synthesis.
29
+ - Context budgeting is now model-aware: the message allowance is the configured context window minus the system prompt, tool schemas, output reserve, and a safety margin (no longer a fixed 40K). Long multi-step turns compact accumulated tool history before each provider request, and context-overflow retries shrink the target progressively.
30
+ - `--output stream-json` now emits `message_update` deltas (not cumulative text) through an ordered, backpressure-aware NDJSON sink, so total update payload stays linear in the final response size; `message_end.text` remains complete and authoritative.
31
+ - A stalled model stream no longer discards unfinished work as a generic user abort. Abort causes are typed (user cancel, turn deadline, model-stream idle) so each path gets its own message and outcome. An idle stall with no emitted step output retries through the bounded model-retry pool, salvaging the conversation to the last completed step so mutating tool work is never re-run; when retries are exhausted or the stalled step emitted partial output, the turn pauses with the active goal preserved and chat offers a one-key `R` resume instead of a restate. Stall diagnostics (provider/model, last stream event, emission state, retry eligibility) surface in the timeout event, debug log, and debug panel as metadata only.
32
+
33
+ ### Fixed
34
+
35
+ - Streaming no longer flickers or erases scrollback: the live frame now renders incrementally (only changed lines are rewritten, capped at 15 fps to match the spinner cadence), and the dynamic tail (streaming roots, live tool groups, task bar) is clamped to a viewport-derived row budget with row estimates mirroring Ink's own `wrap-ansi` wrapping — so Ink never enters its scrollback-wiping overflow path even when the live region outgrows the terminal height. `wrap-ansi` (already in the tree via Ink) becomes a direct dependency.
36
+ - Provider normalization no longer strips user-configured `modelLimits` from settings: `normalizeProvider` whitelisted name/url/key/kind/capabilities/models only, so limits configured in `settings.json` were silently dropped before model resolution ever saw them.
37
+ - Build-provenance reads work again: an inverted cache sentinel made the default-path `readBuildInfo()` return before ever reading `dist/buildInfo.json`, so `haze --version --verbose` printed `commit: unknown` and session headers never recorded the executing build (`haze doctor`, which probes explicit candidate paths, was unaffected). The default path now loads and caches correctly and has regression coverage.
38
+ - The print-mode help text no longer claims "there is no automatic context-overflow recovery"; it now describes the actual behavior (compact the conversation and retry once, with an explicit error when compaction is unavailable), matching the README and the implementation.
39
+ - Dependency refresh (nanoid 3.3.17 → 3.3.18 for GHSA-2v37-7h3g-55p8, esbuild 0.28.1 → 0.28.2, @ai-sdk/mcp 2.0.31 → 2.0.32) keeps `npm audit --audit-level=high` and CI green, and CI caps vitest workers for a deterministic suite.
40
+
41
+ ## 0.10.1 - 2026-08-13
42
+
43
+ ### Added
44
+
45
+ - Added OpenAI Subscription provider preset with browser OAuth against the ChatGPT Codex Responses endpoint. Credentials live in `~/.haze/auth.json` with private permissions and are refreshed transparently near expiry; the chatgpt-codex provider kind routes all requests to the canonical Codex URL with the account-id header attached.
46
+ - Added `SECURITY.md` with the supported-version policy, private reporting route, response expectations, and attended-use threat model.
47
+ - Added regression coverage for external prompt-injection framing, fetch deadlines and transport behavior, oversized stdin, tampered sessions, unsafe log ids, C1 terminal controls, Windows process-tree signaling, and shared UTF-8 boundaries.
48
+
49
+ ### Changed
50
+
51
+ - The interactive transcript uses Ink static output for the header, completed messages, and parser-stable root-level Markdown blocks from an active response. Only the unfinished root block and live controls rerender, reducing terminal flicker and scroll jumps without rendering incomplete Markdown as if it were finished.
52
+ - New interactive sessions stay in memory until the first non-empty UI message or conversation snapshot. Empty sessions no longer create JSONL files, and zero-message files from earlier versions are omitted from `/resume`, `--continue`, and latest-session selection.
53
+ - Added bounded completion recovery for long turns: one output-length continuation and one final mutation/validation rescue slice, both counted against turn-wide budgets. Headless results and lifecycle events now include safe completion and validation evidence.
54
+ - File mutation tools now render compact colorized diffs, with first/last previews and retained handles for large changes.
55
+ - Updated runtime and development dependencies to current releases while keeping TypeScript pinned at 6.0.3; the full dependency audit reports zero vulnerabilities.
56
+ - Replaced the single-page docs site with a multi-page redesign (landing, quickstart, commands, tools, skills, workflows) backed by shared CSS/JS.
57
+ - Documented the public contracts for CLI flags, slash commands, tool result shapes, settings and session files, Markdown skill packages, and the Node.js 22 support floor.
58
+ - CI now runs typecheck, tests, lint, build, `npm audit --audit-level=high`, and `npm pack --dry-run` on Node 22 and 24. Explicit `any` is now a lint error.
59
+ - Consolidated UTF-8-safe byte truncation, package-version loading, and platform external-opening helpers. Known tool-context fields now receive light runtime type validation.
60
+ - Refined the terminal palette, startup guidance, system-message formatting, task display, and session startup grouping.
61
+ - Session-picker summaries are cached by file size and modification time. Windows graceful and forced termination both target the complete process tree.
62
+ - `writeFile` now enforces a 16 KiB per-call cap at both the Zod schema and the runtime body. Malformed tool input triggers up to two smaller retries before the turn is reported as blocked with an unresolved-tool-input marker.
63
+
64
+ ### Security
65
+
66
+ - Main and subagent prompts now treat ordinary tool output as untrusted data rather than instructions, including fetched pages, MCP/LSP output, and file content outside the workspace.
67
+ - Documented that bash classification is informational, command confirmation gates are intentionally absent, and haze is intended for supervised use by experienced developers.
68
+ - Documented that `--debug` logs can contain secrets and file contents and must be reviewed before sharing.
69
+ - Session JSONL readers reject structurally invalid entries, log readers reject traversal-shaped ids, and terminal titles strip C0 and C1 control characters.
70
+
71
+ ### Fixed
72
+
73
+ - Fast providers can no longer outrun edit-recovery state and leave the following step restricted to `readFile`. Recovery now advances in the AI SDK's ordered step callback, and equivalent lexical paths such as `a.ts` and `./a.ts` satisfy the reread requirement.
74
+ - Read-only recovery now activates only for structured mutation failures that explicitly request `readFile`; argument-only `writeFile` failures can be retried directly with corrected input.
75
+ - Repeated identical calls suppress a tool only for the immediately following step instead of removing that tool for the remainder of the turn.
76
+ - `readFile` failures provide bounded reason codes, suggested paths, and actionable recovery guidance. Streaming diagnostics consistently expose safe built-in failure details without leaking third-party output.
77
+ - Fetch now cancels redirect bodies, enforces one total redirect deadline, rejects non-streamable bodies instead of buffering them without a cap, normalizes array response headers, and rejects request bodies, unsupported methods, and URL credentials in the pinned transport.
78
+ - Piped stdin is capped at 256 KiB and oversized prompts fail with guidance to pass a file path instead. Non-TTY pipes are detected correctly.
79
+ - Bounded process collectors continue draining discarded bytes after their retention cap so chatty children can exit without filling their pipes.
80
+
81
+ ## 0.10.0 - 2026-08-03
82
+
83
+ ### Added
84
+
85
+ - Added image input for png/jpeg/gif/webp files mentioned with `@path` or a slash-containing bare path. Providers must be explicitly marked image-capable; each message is limited to four images and 5 MB per image, and resumed sessions store placeholders instead of bytes.
86
+ - Added turn-scoped read blessings for user-typed file and directory paths, including host paths outside the workspace. `@` autocomplete browses gitignore-aware workspace paths. Mutating tools never honor the read exception.
87
+ - Added context-isolated subagents with explicit modes, profiles, models, deadlines, concurrency, tool budgets, cancellation quarantine, and shared mutation coordination. `/fleet` exposes parallel-only decomposition with temporary `--review`, `--profile`, `--workers`, and `--concurrency` options.
88
+ - Added managed background processes for up to five dev servers or watchers. Rolling output stays byte-bounded and retrievable by handle; the `process` tool lists, reads, and kills registrations, and haze tears down all process trees on session reset or exit.
89
+ - Added a workspace session browser to `/resume`, including resume-in-place and fork-from-snapshot actions. Session headers record fork provenance.
90
+ - Added live model discovery from OpenAI-compatible `/models` endpoints to `/model` and provider setup, with curated models pinned when served and manual entry retained as fallback. Expanded the provider preset catalog.
91
+ - Added project-local Markdown skills under `.haze/skills`. Project skills are labeled as untrusted repository content, override same-named global skills, remain real-path-confined, and can be managed independently by scope.
92
+ - Added rotating busy-state tips, toggled with `/tips`, cursor-aware `@` completion, and a TTY-only `haze - <cwd>` terminal title.
93
+ - Added the spec-kit workspace and project constitution.
94
+
95
+ ### Changed
96
+
97
+ - Bash tool results carry byte statistics instead of duplicating retained stream text into model context; raw retrieval by handle is unchanged.
98
+ - `/compact` now builds a bounded recent-first excerpt and reports omitted entries rather than embedding unbounded collapsed text.
99
+ - `readToolOutput` eviction is true LRU: reading an entry refreshes its recency.
100
+ - Session IDs include a random suffix to avoid same-millisecond collisions. Session restore reads conversation and work state in one scan.
101
+ - Headless `--debug` progress uses stderr; the undocumented `HAZE_DEBUG` environment variable was removed.
102
+ - Branch display refreshes every 15 seconds and after each turn. Chat session and wizard orchestration were split into focused helpers without changing public flows.
103
+
104
+ ### Security
105
+
106
+ - Project skills and their references remain real-path-confined to the workspace and are framed as untrusted repository content before entering model context.
107
+ - User-typed host paths grant read access only for the current turn. Mutating tools never honor the blessing set.
108
+ - Grep now shares bash's bounded process-group teardown, including `SIGTERM` to `SIGKILL` escalation and a close fallback for retained output pipes.
109
+ - Managed background processes keep byte-bounded rolling output and are terminated as process trees on session reset or haze exit.
110
+
111
+ ### Fixed
112
+
113
+ - Subagent synthesis retains the task and gathered tool results, and long active worker waves no longer trip the idle timer. Flat required tool input avoids empty union-schema calls from local providers.
114
+ - Bash results no longer duplicate retained stream text into model context. Raw output remains available by handle.
115
+ - `/clear` prints once. Malformed `.haze/tasks.json` loads as an empty list. Retry classification matches status codes as whole words.
116
+ - `readFile` outline paging no longer skips entries after output truncation. Session files slim large mutation inputs to path and byte counts.
117
+ - Fetch derives its user agent from `package.json`, and session restore reads conversation and work state in one pass.
118
+
3
119
  ## 0.9.0 - 2026-07-10
4
120
 
5
121
  ### Security
@@ -16,11 +132,11 @@
16
132
 
17
133
  ### Changed
18
134
 
19
- - **Migrated the agent runtime to AI SDK v7.** The main `ToolLoopAgent` turn and subagent runner now use AI SDK v7 APIs while preserving haze's compact terminal rendering, turn-scoped tool state, loop guardrails, and scoped-context injection behavior.
20
- - **Improved live busy feedback.** The interactive busy line now shows the active model name, a one-second elapsed-time heartbeat, and current tool activity labels such as reading, editing, searching, running commands, loading skills, querying LSP, or running MCP tools. Long model/tool gaps now visibly progress instead of looking frozen.
21
- - **Bounded bash output processing.** Bash reducer paths now bound large output processing more aggressively before output enters the transcript/model context, keeping validation/search/log-heavy commands safer for long-running agent work.
22
- - **Hardened core agent maintenance paths.** Tool context wiring, maintenance prompts, and related agent guidance were tightened for AI SDK v7 and current haze runtime behavior.
23
- - **Standardized lowercase `haze` naming.** README, docs, prompts, skills, command help, tests, and agent guidance now consistently use lowercase `haze` for the product name.
135
+ - Migrated the main `ToolLoopAgent` turn and subagent runner to AI SDK v7 while preserving compact terminal output, turn-scoped tool state, loop guardrails, and scoped context injection.
136
+ - Added the active model, a one-second elapsed timer, and current tool activity to the busy line. Activity labels cover reading, editing, searching, commands, skills, LSP, and MCP tools. Long waits during model and tool calls now show visible progress.
137
+ - Applied stricter bounds to large bash output before it enters the transcript or model context, especially for validation, search, and log-heavy commands.
138
+ - Updated tool context wiring, maintenance prompts, and agent guidance for AI SDK v7 and the current runtime.
139
+ - Standardized the lowercase `haze` name across the README, docs, prompts, skills, command help, tests, and agent guidance.
24
140
 
25
141
  ### Fixed
26
142
 
@@ -32,24 +148,24 @@
32
148
 
33
149
  ### Added
34
150
 
35
- - **`--output stream-json` for print mode.** `haze -p "…" --output stream-json` streams the run as newline-delimited JSON: public progress events (`turn_start`, `message_start`/`message_update`/`message_end`, `tool_start`/`tool_end`, `retry`, `context_overflow`, `turn_end`, each with an ISO-8601 `at` timestamp) are written to stdout as they happen, and the final line is the same `{type,status,result,usage}` envelope as `--output json`. Tool events omit raw inputs/outputs so captured stdout stays suitable for harness and CI logs. Previously print mode stayed silent until the end and emitted only that single envelope, so harnesses driving haze headlessly had no live progress and could not run stdout-based stagnation/loop detection on a silent-but-alive run. Every line is standalone valid JSON (pipeable through `jq -c .`). `text` and `json` outputs are unchanged.
36
- - **Startup context visibility.** The interactive startup message now lists the context files sent with the system prompt, making it easier to verify whether global `CLAUDE.md`/`AGENTS.md` and workspace instructions were loaded.
151
+ - Added `--output stream-json` to print mode. `haze -p "…" --output stream-json` writes public progress events to stdout as newline-delimited JSON, followed by the same `{type,status,result,usage}` envelope as `--output json`. Each event has an ISO-8601 `at` timestamp. Tool events omit raw inputs and outputs so CI and harness logs do not capture them. Before this option, print mode stayed silent until it returned the final envelope; harnesses could not show live progress or detect stagnant and looping runs from stdout. Every line is valid JSON and can be piped through `jq -c .`. The `text` and `json` formats are unchanged.
152
+ - The startup message now lists the context files sent with the system prompt. This makes it possible to check whether haze loaded global `CLAUDE.md` or `AGENTS.md` files and workspace instructions.
37
153
 
38
154
  ### Changed
39
155
 
40
- - **CLI print mode.** `haze -p "prompt"` runs a single non-interactive turn and prints the result, with optional `--model provider:name` override (per-run, no settings write) and `--output json` structured output. Reads the prompt from stdin when piped. The exit code and JSON `status` are driven by the agent's authoritative terminal state (`complete`/`aborted`/`failed`) rather than by parsing the reply, so CI gating on the exit code is reliable. A bad or ambiguous `--model` selector reports a precise error and exits non-zero, `--debug` writes a JSONL log under `~/.haze/logs/`, and the `--output json` `usage` object is pinned to a documented set of fields.
41
- - **Scoped context refresh during turns.** Nested `CLAUDE.md`/`AGENTS.md` files discovered by file tools are injected into the next model step, tracked by signature, and reread when they change. Concurrent scoped-context discovery is serialized so unchanged instruction files are read once while still surfacing newly changed guidance.
42
- - **Smaller durable session files.** Session persistence now drops streaming `message_update` events and slims large tool outputs/errors in persisted `tool_end` events and `conversation_snapshot` tool results to previews plus byte counts. Sessions remain resumable while avoiding runaway JSONL growth from repeated streamed text or large file reads.
156
+ - `haze -p "prompt"` runs one non-interactive turn and prints the result. It supports a per-run `--model provider:name` override without changing settings, plus structured `--output json` output. It reads piped prompts from stdin. Exit codes and JSON status come from the agent's terminal state (`complete`, `aborted`, or `failed`) rather than parsed reply text. Invalid or ambiguous model selectors print a specific error and exit nonzero. `--debug` writes a JSONL log under `~/.haze/logs/`, and the JSON `usage` object has a documented, fixed set of fields.
157
+ - Nested `CLAUDE.md` and `AGENTS.md` files discovered during a turn are added to the next model step and reread when their signature changes. haze serializes concurrent discovery so it reads unchanged files once without missing updated instructions.
158
+ - Session persistence no longer stores streaming `message_update` events. Large outputs and errors in saved `tool_end` events and `conversation_snapshot` tool results are reduced to previews and byte counts. Sessions remain resumable without unchecked JSONL growth from repeated text streams or large file reads.
43
159
 
44
160
  ### Security
45
161
 
46
- - **Closed a DNS-rebinding TOCTOU in the `fetch` tool.** `urlGuard.validateUrl` resolved a hostname and confirmed every address was public, but the subsequent global `fetch` re-resolved the hostname at connect time, so an attacker-controlled DNS server could answer validation with a public IP and connect with an internal/cloud-metadata IP — fully bypassing the SSRF guard that exists precisely to stop that. `fetchUrlContent` now pins each connection (and each redirect hop) to the already-validated IP via a small stdlib transport that preserves the original `Host` header and TLS `servername`/cert verification, with no second DNS lookup between validation and connect. The post-fetch re-validation was removed as it re-resolved DNS against an already-pinned connection and only reopened the race. Literal-IP URLs keep using the global `fetch` (no rebinding surface).
162
+ - Closed a DNS-rebinding TOCTOU issue in `fetch`. `urlGuard.validateUrl` checked that a hostname resolved only to public addresses, but the global `fetch` resolved it again when connecting. An attacker-controlled DNS server could therefore return a public IP during validation and an internal or cloud-metadata IP during connection. `fetchUrlContent` now pins each connection and redirect hop to the validated IP with a small standard-library transport. It preserves the original `Host` header, TLS `servername`, and certificate verification without another DNS lookup. The redundant post-fetch validation was removed. Literal IP URLs still use the global `fetch` because they have no DNS-rebinding surface.
47
163
 
48
164
  ## 0.6.0 - 2026-06-21
49
165
 
50
166
  ### Added
51
167
 
52
- - **MCP server support.** haze can now connect to [Model Context Protocol](https://modelcontextprotocol.io) servers and expose their tools to the agent alongside the built-in toolset. `/mcp` opens an interactive picker (like `/provider`) to add a server from a preset (Context7 ships built-in for up-to-date library docs) or custom `http`/`sse`/`stdio` details, then enable/disable/remove it or set a masked API key. Servers persist in `~/.haze/settings.json` under `mcpServers`. MCP clients open per agent turn and close when it ends; a failing server is isolated and MCP tools never shadow built-ins.
168
+ - Added [Model Context Protocol](https://modelcontextprotocol.io) server support. `/mcp` opens an interactive picker for presets or custom `http`, `sse`, and `stdio` servers. Context7 is included as a preset for current library documentation. From the picker, users can enable, disable, or remove a server and set a masked API key. Configuration is stored under `mcpServers` in `~/.haze/settings.json`. MCP clients open for each agent turn and close afterward. A failing server is isolated, and MCP tools cannot shadow built-ins.
53
169
  - Added optional configurable stdio LSP support through `/lsp`, with TypeScript, Rust, Python, Go, and PHP presets.
54
170
  - Added read-only semantic navigation tools (`lspWorkspaceSymbols`, `lspSymbols`, `lspDefinition`, `lspReferences`) that are exposed to the model only when an enabled LSP command is installed on `PATH`.
55
171
  - Added `/context`, a token breakdown of the current request (system prompt, project context, tools including MCP, and chat messages).
@@ -58,7 +174,7 @@
58
174
 
59
175
  ### Changed
60
176
 
61
- - Switched the main agent turn to the AI SDK v6 `ToolLoopAgent` abstraction while preserving compact terminal tool/text rendering and key loop guardrails.
177
+ - Switched the main agent turn to the AI SDK v6 `ToolLoopAgent` abstraction while preserving compact terminal tool and text rendering and the existing loop guardrails.
62
178
  - Improved transcript segmentation so assistant text and tool blocks alternate cleanly during multi-step turns.
63
179
  - Added LSP-aware prompt guidance only when LSP tools are actually available; otherwise haze naturally falls back to `grep`, `listFiles`, and `readFile`.
64
180
  - Made `/lsp` and `/mcp` interactive pickers matching the `/provider` flow (autocomplete lists, preset pickers, masked API-key entry), replacing the previous `/lsp`/`/mcp` subcommand syntax.
@@ -70,7 +186,7 @@
70
186
  ### Changed
71
187
 
72
188
  - Removed all user-facing environment variables. `OPENAI_API_KEY`, `OPENAI_BASE_URL`, `HAZE_MODEL`, and `HAZE_CONTEXT_BUDGET_SHARE` are no longer read; configure providers, models, API keys, and base URLs through `~/.haze/settings.json` and the `/provider`, `/model`, `/settings` slash commands instead. This also removes the `OPENAI_*` env overrides from the startup provider info and the header.
73
- - File LLM logging is now **off by default**. Previously haze wrote a detailed JSONL log (full prompts, model messages, tool inputs/outputs, token usage) to `~/.haze/logs/<timestamp>.jsonl` on every session. Logging is now enabled solely with the `--debug` flag (`haze --debug`), which also turns on the on-screen debug panel. The `/logs` command still reviews historical log files.
189
+ - File-based LLM logging is now off by default. Previously, every session wrote a detailed JSONL log containing full prompts, model messages, tool inputs and outputs, and token usage to `~/.haze/logs/<timestamp>.jsonl`. Run `haze --debug` to enable logging and the on-screen debug panel. `/logs` still opens historical log files.
74
190
  - Bash results now pass through command-aware reducers before they enter the transcript/model context. Validation failures render focused diagnostics, successful validation stays short, git/diff/search/JSON/log-like output is compacted, noisy command families get line filters, and reduced raw output remains retrievable by `readToolOutput` when stored.
75
191
  - `grep` now returns compact structured search output for long match sets/lines, with reduction metadata, omitted-result counts, and a raw-output handle when the rendered result was truncated.
76
192
  - Tool activity rendering is quieter: live tool groups show elapsed timers, subagent child calls, capped group detail, and compact success/failure summaries instead of dumping large result objects.
@@ -95,13 +211,13 @@
95
211
 
96
212
  ### Skills
97
213
 
98
- - Replaced single-shot `/create-skill <description>` with a 3-step interactive wizard: name → optional role → description. The user-supplied name and role are used verbatim — the model no longer renames them.
214
+ - Replaced single-shot `/create-skill <description>` with a three-step interactive wizard: name → optional role → description. The wizard uses the supplied name and role verbatim; the model no longer renames them.
99
215
  - Added language-agnostic intent extraction. Skill descriptions are interpreted by the model in any language, replacing the previous English-only regex strip. `"crée une compétence qui vérifie le style du code"` now produces a skill that vérifies code style, not a skill about creating something.
100
216
  - Added `toSkillDirName` for kebab-casing user-typed skill names without stop-word stripping (so `"create a skill"` stays `create-a-skill`, not `skill`).
101
217
 
102
218
  ### Commands
103
219
 
104
- - Removed the `/tasks` slash command. Tasks are now managed exclusively by the model via the `writeTasks` tool — `/clear` still wipes them as a side effect of clearing the conversation.
220
+ - Removed the `/tasks` slash command. The model now manages tasks through `writeTasks`. `/clear` still removes them when it clears the conversation.
105
221
  - Removed the `/list-skills` alias; `/skills` now shows the overview and the installed list.
106
222
  - Removed the `/skill <subcommand>` and `/skills <subcommand>` legacy routing forms. Each skill operation now has exactly one user-facing form: `/skills`, `/create-skill`, `/skill-info`, `/validate-skill`, `/remove-skill`.
107
223
  - Removed the `/tasks rm` alias for `/tasks remove`.
@@ -110,7 +226,7 @@
110
226
  ### Docs site
111
227
 
112
228
  - Added §02 "Native skill creation" segment that frames the 3-step wizard as the haze superpower, with a live transcript of the wizard prompts, superpower bullets, and copy-pasteable recipe cards for `/code-review`, `/deploy-check`, `/release-prep`, `/security-review`.
113
- - Added §07 "Commands index" — a categorized reference of all 16 slash commands plus the `/<skill-name>` dynamic invocations.
229
+ - Added §07 "Commands index," a categorized reference for all 16 slash commands and dynamic `/<skill-name>` invocations.
114
230
  - Removed §04 "Serviceable procedures" (folded into §02).
115
231
  - Renumbered sections sequentially (§01 Operation → §02 Native skill creation → §03 Field behavior → §04 Components → §05 Compatibility → §06 Install → §07 Commands index).
116
232
  - Fixed §01 layout: switched from `.container-prose` (narrow, visually centered) to `.container` so it aligns with every other section.