pantheon-opencode 1.6.0-beta.9 β†’ 1.6.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 (131) hide show
  1. package/AGENTS.global.md +118 -0
  2. package/AGENTS.md +18 -168
  3. package/CHANGELOG.md +126 -376
  4. package/README.md +83 -610
  5. package/README.pt-BR.md +120 -345
  6. package/bin/pantheon-init.mjs +366 -132
  7. package/commands/pantheon-deepwork.md +14 -3
  8. package/commands/pantheon-vision.md +61 -12
  9. package/package.json +19 -11
  10. package/plugin.json +1 -1
  11. package/pyproject.toml +6 -2
  12. package/scripts/_pantheon_paths.py +24 -0
  13. package/scripts/build-agents-md.mjs +368 -69
  14. package/scripts/changelog-merge.mjs +161 -0
  15. package/scripts/check-plugin-v2-coverage.mjs +11 -8
  16. package/scripts/docs-check-changelog.mjs +204 -0
  17. package/scripts/docs-link-check.mjs +314 -0
  18. package/scripts/docs-media.mjs +157 -0
  19. package/scripts/doctor.mjs +828 -40
  20. package/scripts/install/agents-md.mjs +2 -2
  21. package/scripts/install/backup.mjs +648 -0
  22. package/scripts/install/cli-ui.mjs +303 -72
  23. package/scripts/install/component-selection.mjs +61 -0
  24. package/scripts/install/config-migration.mjs +583 -27
  25. package/scripts/install/exit-codes.mjs +26 -0
  26. package/scripts/install/file-inventory.mjs +555 -0
  27. package/scripts/install/health-check.mjs +31 -25
  28. package/scripts/install/interactive.mjs +78 -383
  29. package/scripts/install/migrate.mjs +49 -25
  30. package/scripts/install/model-picker.mjs +218 -250
  31. package/scripts/install/opencode-version.mjs +83 -21
  32. package/scripts/install/opencode.mjs +1413 -154
  33. package/scripts/install/plan-artifact.mjs +517 -0
  34. package/scripts/install/plan.mjs +475 -0
  35. package/scripts/install/plugin.mjs +214 -27
  36. package/scripts/install/prompt-result.mjs +2 -0
  37. package/scripts/install/shared.mjs +256 -99
  38. package/scripts/install/state.mjs +63 -8
  39. package/scripts/install/strings.mjs +60 -4
  40. package/scripts/install/venv.mjs +90 -47
  41. package/scripts/install/verify.mjs +128 -0
  42. package/scripts/install/vision-prompt.mjs +173 -0
  43. package/scripts/install-mcp.mjs +2 -2
  44. package/scripts/manifest-inventory.mjs +49 -3
  45. package/scripts/mcp_persistence.py +1535 -1050
  46. package/scripts/memory_mcp.py +12 -843
  47. package/scripts/node-engine-policy.mjs +85 -0
  48. package/scripts/package-evidence.mjs +10 -2
  49. package/scripts/postinstall.mjs +26 -26
  50. package/scripts/probe-pantheon-cost.mjs +118 -19
  51. package/scripts/prune.mjs +9 -3
  52. package/scripts/reconcile.mjs +325 -0
  53. package/scripts/release-gates.mjs +682 -0
  54. package/scripts/restore.mjs +222 -0
  55. package/scripts/run-node-tests.mjs +24 -8
  56. package/scripts/sync-artifacts.mjs +19 -7
  57. package/scripts/sync-tui.mjs +5 -1
  58. package/scripts/test-opencode-v2-sandbox.sh +36 -123
  59. package/scripts/uninstall.mjs +369 -34
  60. package/scripts/update.mjs +164 -0
  61. package/scripts/validate-node-engine-policy.mjs +13 -0
  62. package/scripts/version-check.mjs +34 -1
  63. package/scripts/versioning.mjs +23 -3
  64. package/scripts/vision-status.mjs +682 -0
  65. package/skills-lock.json +8 -8
  66. package/src/agents/aphrodite.md +13 -10
  67. package/src/agents/apollo.md +4 -5
  68. package/src/agents/athena.md +74 -46
  69. package/src/agents/demeter.md +10 -7
  70. package/src/agents/gaia.md +0 -1
  71. package/src/agents/hephaestus.md +4 -3
  72. package/src/agents/hermes.md +10 -9
  73. package/src/agents/iris.md +6 -1
  74. package/src/agents/mnemosyne.md +10 -4
  75. package/src/agents/nyx.md +4 -4
  76. package/src/agents/prometheus.md +12 -11
  77. package/src/agents/talos.md +6 -0
  78. package/src/agents/zeus.md +84 -56
  79. package/src/instructions/agent-return-format.instructions.md +12 -41
  80. package/src/instructions/memory-protocol.instructions.md +5 -11
  81. package/src/instructions/test-economy.instructions.md +12 -0
  82. package/src/instructions/yagni.instructions.md +6 -15
  83. package/src/instructions/zeus-anti-stall.instructions.md +6 -6
  84. package/src/instructions/zeus-communication-rules.instructions.md +6 -6
  85. package/src/instructions/zeus-council-synthesis.instructions.md +11 -12
  86. package/src/instructions/zeus-memory-operations.instructions.md +13 -7
  87. package/src/instructions/zeus-timeout-retry.instructions.md +36 -10
  88. package/src/mcp/_pantheon_paths.py +24 -0
  89. package/src/mcp/mcp_codemap_module.py +86 -18
  90. package/src/mcp/mcp_persistence.py +1535 -1050
  91. package/src/mcp/memory_mcp.py +444 -94
  92. package/src/mcp/pantheon_vision.py +285 -41
  93. package/src/mcp/requirements-mcp.txt +5 -0
  94. package/src/pantheon/context-pruner.ts +541 -0
  95. package/src/pantheon/cost-command.ts +814 -60
  96. package/src/pantheon/goal-loop.ts +11 -8
  97. package/src/pantheon/memory-context.ts +1017 -0
  98. package/src/pantheon/model-agents.ts +19 -0
  99. package/src/pantheon/model-command.ts +218 -56
  100. package/src/pantheon/model-pricing.ts +536 -0
  101. package/src/pantheon/presets.mjs +2 -0
  102. package/src/pantheon/task-result-guard.ts +50 -14
  103. package/src/pantheon/v2-bounded-read.ts +640 -0
  104. package/src/pantheon/v2-delegation-enforce.ts +133 -6
  105. package/src/pantheon/v2-execute-after.ts +135 -24
  106. package/src/pantheon/v2-model-overrides.ts +275 -0
  107. package/src/pantheon/v2-tools.ts +89 -35
  108. package/src/pantheon/v2-unsupported.mjs +2 -3
  109. package/src/pantheon/v2-vision.ts +622 -0
  110. package/src/pantheon/vision-local.ts +531 -0
  111. package/src/pantheon/vision.ts +1160 -115
  112. package/src/plugin-v2.ts +654 -162
  113. package/src/plugin.ts +15 -11
  114. package/src/plugins/tui/dist/tui-v2.d.ts +1029 -2
  115. package/src/plugins/tui/dist/tui-v2.d.ts.map +1 -1
  116. package/src/plugins/tui/dist/tui-v2.js +3742 -85
  117. package/src/plugins/tui/dist/tui.js +1 -1
  118. package/src/plugins/tui/package-lock.json +6 -6
  119. package/src/plugins/tui/package.json +5 -4
  120. package/src/plugins/tui/src/index-v2.tsx +4314 -50
  121. package/src/plugins/tui/tsconfig.typecheck.json +5 -0
  122. package/src/routing.yml +50 -5
  123. package/src/skills/agent-coordination/SKILL.md +7 -2
  124. package/src/skills/artifact-management/SKILL.md +5 -1
  125. package/src/skills/auto-continue/SKILL.md +14 -6
  126. package/src/skills/codemap/SKILL.md +1 -1
  127. package/src/skills/memory-bank/SKILL.md +21 -13
  128. package/src/skills/session-goal/SKILL.md +12 -22
  129. package/src/skills/spec-driven-development/SKILL.md +3 -1
  130. package/src/skills/worktrees/SKILL.md +30 -11
  131. package/scripts/probe-context-rehydrate.mjs +0 -263
package/CHANGELOG.md CHANGED
@@ -10,317 +10,67 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
10
10
  <!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
11
11
  move this section to a versioned entry and reset the template below. -->
12
12
 
13
- ## πŸ†• What's New
13
+ ## [v1.6.0] - 2026-10-22
14
14
 
15
- ## 🐞 Fixed
16
-
17
- ## ⚠️ Known Issues
18
-
19
- ## βœ… Closed Issues
20
-
21
- ## [v1.6.0-beta.9] - 2026-10-12
22
-
23
- &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
24
- move this section to a versioned entry and reset the template below. --&gt;
25
-
26
- ## πŸ†• What's New
27
-
28
- - **Entry point TUI dedicado ao OpenCode V2.** O pacote agora compila e instala
29
- separadamente os loaders V1/V2, e adiciona `/pantheon-focus` para foco de
30
- sessΓ£o sem depender das goal-tools ausentes no host V2.
31
-
32
- ## 🐞 Fixed
33
-
34
- - **InstalaΓ§Γ£o V2:** agentes e slash commands de projeto sΓ£o instalados nos
35
- diretΓ³rios descobertos pelo host; o TUI seleciona o bundle da geraΓ§Γ£o correta
36
- e o estado dos componentes sΓ³ Γ© marcado como instalado apΓ³s sucesso.
37
- - **`/pantheon-audit`:** inclui o scanner heurΓ­stico no pacote e localiza a cΓ³pia
38
- instalada antes de executar a primeira camada.
39
- - **`/pantheon-consolidate`:** delega a consolidaΓ§Γ£o ao agente Mnemosyne, dono
40
- da qualidade do banco de memΓ³ria.
41
-
42
- ## ⚠️ Known Issues
43
-
44
- - **Sidebar V2 na sessΓ£o inicial:** a captura do TUI recΓ©m-aberto ainda nΓ£o
45
- mostra o conteΓΊdo Pantheon antes do primeiro prompt; validar o render inicial
46
- interativo continua sendo um gate aberto para a beta.
47
- - **Goal persistente no OpenCode V2:** as goal-tools nΓ£o fazem parte da
48
- superfΓ­cie V2 suportada; `/pantheon-focus` nΓ£o substitui uma goal-tool
49
- persistente/removΓ­vel do host.
50
-
51
- ## [v1.6.0-beta.8] - 2026-10-11
52
-
53
- &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
54
- move this section to a versioned entry and reset the template below. --&gt;
55
-
56
- ## 🐞 Fixed
57
-
58
- - **opencode-v2** β€” repair session lookup and beta sandbox reuse
59
- - **scripts** β€” isolate beta background service port
60
- ## [v1.6.0-beta.7] - 2026-10-10
61
-
62
- &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
63
- move this section to a versioned entry and reset the template below. --&gt;
64
-
65
- ## πŸ†• What's New
66
-
67
- - **PermissΓ΅es MCP nativas por agente no OpenCode V1 e V2.** O instalador
68
- converte a allowlist `mcp_tools` de cada agente em regras nativas: nega por
69
- padrΓ£o os servidores Pantheon omitidos, libera apenas as ferramentas
70
- declaradas e preserva MCPs de terceiros. O V2 mantΓ©m os servidores
71
- conectados; as regras limitam quais ferramentas cada agente vΓͺ.
72
- - **Guarda V2 de delegaΓ§Γ£o alinhada ao contrato de permissΓ΅es.** Os hooks de
73
- permissΓ£o e de sessΓ£o aplicam as restriΓ§Γ΅es de sessΓ£o somente-leitura e a
74
- matriz caller→target sem conceder acesso além do configurado pelo host.
75
- - **Menos chamadas automΓ‘ticas de memΓ³ria e compressΓ£o.** A busca de contexto
76
- do Zeus reutiliza o resultado de inΓ­cio de tarefa, e o protocolo de
77
- compressΓ£o deixa de recomendar pipelines automΓ‘ticos extensos.
78
- - **Prova de identidade da instalaΓ§Γ£o do sandbox.** O teste global compara a
79
- versΓ£o e arquivos do pacote instalado com este checkout e rejeita referΓͺncias
80
- npm antigas nas configuraΓ§Γ΅es ativas antes de validar o runtime.
81
- - O `--prepare` agora gera `start-pantheon.sh` para abrir o TUI interativo com o
82
- beta instalado e HOME, configuraΓ§Γ£o XDG, projeto e banco de dados isolados do
83
- sandbox. O launcher fixa a porta do serviΓ§o gerenciado em `49376` e falha sem
84
- parar serviΓ§os existentes se a porta dedicada jΓ‘ estiver ocupada.
85
-
86
- ## 🐞 Fixed
87
-
88
- - ReferΓͺncias versionadas/alias do pacote Pantheon que sobravam na lista
89
- `plugins` agora sΓ£o reconhecidas pelo instalador e substituΓ­das pelo caminho
90
- do plugin local correto, sem afetar plugins de terceiros com nomes parecidos.
91
- - A suΓ­te CI foi separada do caminho crΓ­tico de instalaΓ§Γ£o/empacotamento para
92
- reduzir o tempo atΓ© o resultado das verificaΓ§Γ΅es do pacote.
93
- - O `run-test.sh` gerado agora define seu timeout do `mcp list` antes do uso
94
- sob `set -u`; antes, a variΓ‘vel ausente interrompia o teste antes de chamar
95
- o CLI. A saΓ­da do comando tambΓ©m fica disponΓ­vel quando o gate falha.
96
-
97
- ## ⚠️ Known Issues
98
-
99
- - **A delegaΓ§Γ£o real ainda precisa de confirmaΓ§Γ£o nesta beta.** O teste manual
100
- anterior de `HERMES-PONG` foi negado com
101
- `Pantheon delegation denied: authoritative caller session is unavailable`;
102
- a correΓ§Γ£o de permissΓ΅es e a instalaΓ§Γ£o isolada precisam ser verificadas no
103
- TUI OpenCode V2 antes de considerar a delegaΓ§Γ£o validada.
104
- ## [v1.6.0-beta.6] - 2026-10-05
105
-
106
- &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
107
- move this section to a versioned entry and reset the template below. --&gt;
108
-
109
- ## πŸ†• What's New
110
-
111
- - **PolΓ­tica de suporte documentada: a linha 1.6.x Γ© a ÚLTIMA compatΓ­vel com OpenCode 1.X.** A partir de **1.7, toda release Γ© breaking change com alvo em OpenCode 2.** O limite estΓ‘ escrito no `README.md` (seΓ§Γ£o "Compatibility and support policy", com matriz de suporte) e em `docs/INSTALLATION.md` (seΓ§Γ£o "OpenCode V1/V2 β€” contrato de plugin"), nΓ£o duplicado em um documento novo: os dois arquivos jΓ‘ eram o ponto de entrada do contrato de plugin, e um terceiro documento seria um terceiro lugar para divergir. O texto distingue as duas cΓ©lulas da linha 1.6.x β€” a cΓ©lula 1.X Γ© o contrato V1 (6 tools, lifecycle do board, hooks V1, compaction V1) e a cΓ©lula OpenCode 2 Γ© o contrato V2, que Γ© real porΓ©m **menor**: 3 tools, sem as `pantheon_goal_*` e sem a matriz de delegaΓ§Γ£o callerβ†’target. **O suporte a OpenCode 2 na linha 1.6 Γ© documentado como parcial, e nΓ£o como completo**, por duas razΓ΅es verificadas: (a) o canΓ‘rio de ferramentas V2 foi escrito contra `opencode 2.0.22`, host que nΓ£o Γ© publicado em nenhum canal npm β€” contra o `@opencode-ai/cli` instalΓ‘vel o mesmo canΓ‘rio falha 12/12, porque `/api/experimental/session/{id}/wait` foi promovido para `/api/session/{id}/wait` (404 no caminho antigo) e `ctx.tool.list` nΓ£o existe mais; corrigindo apenas a rota, 10/12 passam no mesmo host, o que caracteriza descasamento canΓ‘rio/host e nΓ£o regressΓ£o medida do plugin (issue #216, PR #213); (b) nΓ£o existe perna V1 de validaΓ§Γ£o end-to-end β€” `scripts/test-opencode-v2-sandbox.sh` Γ© V2-only e rejeita `--run v1` β€” portanto a versΓ£o exata de host 1.X exercitada end-to-end pela linha 1.6 fica registrada como **nΓ£o verificada**, e o caminho 1.X Γ© sustentado pelo pin de dependΓͺncia (`@opencode-ai/plugin` / `@opencode-ai/sdk` `1.18.33`), pelos testes unitΓ‘rios do gate de geraΓ§Γ£o e pelos testes end-to-end do installer sobre a config emitida.
112
-
113
- ## 🐞 Fixed
114
-
115
- - **Os exemplos de chamada MCP nos arquivos de prompt ensinavam um contrato que nΓ£o existe no schema real.** Um `pantheon-persistence.kv_get` ao vivo foi rejeitado com `namespace: Missing key`; a linha que o produziu foi `src/agents/zeus.md:189` (`depth = kv_get("deleg:depth") ?? 0`), cuja cΓ³pia instalada em `~/.config/opencode/agents/zeus.md` Γ© a que executou. A causa nΓ£o era o servidor MCP: os arquivos de agente e de instruΓ§Γ£o ensinavam chamadas posicionais sem `namespace`, enquanto o schema real Γ© `kv_get({ namespace /* obrigatΓ³rio, sem default */, key, scope? })` β€” `kv_store.namespace` Γ© igualmente obrigatΓ³rio e `kv_store.value` Γ© `str`. **A correΓ§Γ£o estΓ‘ nos docs, e nΓ£o em adicionar um `namespace` default:** um default escreveria estado de coordenaΓ§Γ£o no namespace errado silenciosamente, entΓ£o *obrigatΓ³rio* Γ© o desenho correto. A mesma classe de defeito foi corrigida em `context_save` (posicional, com um helper `json()` inexistente e sem o `session_id` obrigatΓ³rio β†’ forma por palavra-chave com `content=JSON.stringify(...)`), em `memory_store` (`value` precisa ser uma string JSON codificada β†’ agora iguala o padrΓ£o jΓ‘ correto de `metadata`, o que resolveu uma aut contradiΓ§Γ£o no mesmo arquivo), na aritmΓ©tica de profundidade (envolvida em `String(...)`, porque `kv_store.value` Γ© `str` e nΓ£o `int`) e em `memory_search(query, ...)` β†’ `query=` em todas as instΓ’ncias. `AGENTS.md` Γ© artefato gerado e foi reconstruΓ­do, nunca editado Γ  mΓ£o.
116
- - **Um bypass de permissΓ£o vivo: `edit: deny` nΓ£o cobria `hashline_edit`.** A regra `edit: deny` Γ© avaliada por nome de ferramenta, e `hashline_edit` nΓ£o Γ© `edit` β€” entΓ£o os agentes restritos a `edit: deny` (`zeus`, `athena`, `iris`, `nyx`, `themis`) podiam editar arquivos assim mesmo, escrevendo no disco por um caminho que a negaΓ§Γ£o nΓ£o cobria. `hashline_edit: deny` foi adicionado a esses cinco agentes. **NΓ£o era uma condiΓ§Γ£o de corrida nem um erro de configuraΓ§Γ£o: era uma tabela de permissΓ΅es incompleta**, o que significa que a negaΓ§Γ£o nunca esteve de fato aplicada a quem sΓ³ deveria ler.
117
- - **`test:node` reportava sucesso tendo coletado zero testes.** `node --test <glob>` sai com 0 quando o glob nΓ£o expande (Node >= 22), e foi exatamente o que aconteceu: um glob que nunca expandiu produziu um gate verde que nΓ£o executou nada. Pior, `tests/` estava ausente da allow-list `files` do pacote, entΓ£o um consumidor que rodasse `npm test` recebia esse verde. Agora os scripts de teste falham em voz alta quando a coleta Γ© zero, e a guarda tem teste prΓ³prio (`tests/run-node-tests.test.mjs`) que a dirige como subprocesso β€” o contrato Γ© o cΓ³digo de saΓ­da, entΓ£o testΓ‘-la em processo nΓ£o provaria nada.
118
- ## [v1.6.0-beta.5] - 2026-10-05
119
-
120
- &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
121
- move this section to a versioned entry and reset the template below. --&gt;
122
-
123
- ## πŸ†• What's New
124
-
125
- - **O gate de geraΓ§Γ£o do plugin passa a ler a versΓ£o do host β€” e a superfΓ­cie de ferramentas deixa de desaparecer num host OpenCode 2.x.** O seletor de geraΓ§Γ£o tinha trΓͺs defaults `'v1'` (`bin/pantheon-init.mjs`, `scripts/install/opencode.mjs` e a assinatura do resolver em `scripts/install/opencode-version.mjs`). Nesse ramo, o installer grava caminhos de arquivo `.ts` na chave singular `plugin`; um host 2.x rejeita caminhos de arquivo ali (`configured plugin path must be a directory`), **descarta** as entradas e, ao fazer isso, **remove** a entrada de diretΓ³rio V2 que jΓ‘ estava registrada e funcionando. O sintoma era um host aparentemente saudΓ‘vel β€” a frota MCP subia normalmente β€” com um ΓΊnico WARN no log e **nenhuma** ferramenta do plugin no catΓ‘logo: sem `pantheon_cost`, sem `hashline_edit`, sem `pantheon_model`, sem BackgroundJobBoard e sem hooks. Os trΓͺs defaults passam a `'auto'`, e `auto` consulta a versΓ£o do host. PrecedΓͺncia: flag explΓ­cita > `OPENCODE_VERSION` > basename `opencode2` > probe de `--version` > aviso e fallback `v1`. Isto restaura as **3** ferramentas que o contrato V2 registra (`hashline_edit`, `pantheon_cost`, `pantheon_model`); nΓ£o Γ© paridade com o V1 β€” ver **Issues Conhecidas**.
126
- - **Uma instalaΓ§Γ£o na geraΓ§Γ£o V2 e o `doctor` agora declaram a superfΓ­cie reduzida em vez de deixΓ‘-la ser descoberta.** A lista de recursos nΓ£o suportados no V2 (`getUnsupportedFeatures()`) nΓ£o tinha nenhum consumidor em produΓ§Γ£o β€” sΓ³ testes a liam. O installer passa a imprimi-la ao lado do aviso de destino V2, e o `doctor` a reporta como um achado prΓ³prio, sem alterar o cΓ³digo de saΓ­da (uma instalaΓ§Γ£o V2 Γ© uma configuraΓ§Γ£o suportada, nΓ£o quebrada). A V2 registra 3 ferramentas, nΓ£o 6, e nΓ£o tem BackgroundJobBoard; as 3 ferramentas de goal nΓ£o sΓ£o registradas na V2 por desenho. O texto agora Γ© ΓΊnico, vindo de `src/pantheon/v2-unsupported.mjs`.
127
- - **RenomeaΓ§Γ£o dos entrypoints MCP (issue #198).** Os cinco entrypoints Python deixaram de compartilhar o token `server.py`, entΓ£o um `pkill -f server.py` amplo nΓ£o derruba mais a frota inteira como efeito colateral. Inclui uma migraΓ§Γ£o em tempo de instalaΓ§Γ£o para que as instalaΓ§Γ΅es existentes nΓ£o fiquem Γ³rfΓ£s.
128
- - **O pacote npm deixou de versionar e distribuir a configuraΓ§Γ£o pessoal de desenvolvimento do OpenCode.** `opencode.json` e `.opencode/` (comandos, plugins e skills) saΓ­ram do controle de versΓ£o: a config carregava um endpoint MCP privado e overrides de permissΓ£o por desenvolvedor, e o harness V1 de comandos/plugins foi substituΓ­do por `src/plugin-v2.ts`. O `init` continua gerando a config do projeto do usuΓ‘rio, entΓ£o instalaΓ§Γ΅es nΓ£o sΓ£o afetadas; para contribuidores, um `opencode.json` pessoal deve ir em `.git/info/exclude`.
129
- - **DocumentaΓ§Γ£o: `ROADMAP.md` reescrito e um novo documento de fronteira.** O roadmap foi reescrito com as causas-raiz verificadas, e um novo documento β€” `docs/PERMISSIONS-QUALITY-DELEGATION.md` β€” mapeia os gates de qualidade, as quatro camadas de permissΓ£o e a delegaΓ§Γ£o num sΓ³ lugar, marcando explicitamente o que ainda nΓ£o foi verificado.
130
-
131
- ## 🐞 Fixed
132
-
133
- - **A leitura do banner de versΓ£o do host era quadrΓ‘tica.** Um banner longo custava **11,1 s** para ser interpretado, contra o timeout de **5 s** do spawn de `--version`; o timeout guarda o processo, nΓ£o a leitura, entΓ£o um host verboso conseguia estourΓ‘-lo. A interpretaΓ§Γ£o passou a ser **linear**.
134
- - **O `readOnlyRegistry` do V2 nΓ£o era podado no `session.deleted`.** O registro Γ© global ao processo e nunca era limpo quando uma sessΓ£o do V2 terminava, entΓ£o entradas de sessΓ΅es encerradas acumulavam. O `session.deleted` do V2 passa a podar o registro, como a V1 jΓ‘ fazia.
135
-
136
- ## ⚠️ Known Issues
137
-
138
- - **AΓ§Γ£o necessΓ‘ria: re-executar o `init` numa instalaΓ§Γ£o afetada.** O `postinstall` **nΓ£o** roda o `init`. Quem teve a configuraΓ§Γ£o corrompida por uma instalaΓ§Γ£o `v1` anterior **nΓ£o** Γ© auto-corrigido apenas por atualizar o pacote β€” Γ© preciso rodar o installer de novo (`npx pantheon-opencode init`). Uma escolha correta de geraΓ§Γ£o **auto-corrige** a configuraΓ§Γ£o (o ramo V2 jΓ‘ remove as referΓͺncias `.ts` do V1), mas sΓ³ quando o installer roda. O mesmo vale para a renomeaΓ§Γ£o dos entrypoints: instalaΓ§Γ΅es existentes continuam funcionando porque os arquivos antigos sΓ£o mantidos, mas os caminhos sΓ³ sΓ£o corrigidos numa nova execuΓ§Γ£o do installer; atΓ© lΓ‘, esses usuΓ‘rios permanecem nos entrypoints antigos e sujeitos ao efeito colateral do `server.py`.
139
- - **A superfície V2 é menor que a V1 por desenho.** A V2 registra 3 ferramentas (`hashline_edit`, `pantheon_cost`, `pantheon_model`), não 6, e não tem BackgroundJobBoard; as 3 `pantheon_goal_*` são V1-only e a matriz de delegação caller→target não é replicada. O installer e o `doctor` agora **dizem** isso (ver What's New), mas a funcionalidade ausente não é restaurada.
140
- - **O fallback continua a ser `v1`.** Quando o probe do host falha, nΓ£o consegue ser interpretado, ou traz versΓ΅es contraditΓ³rias, o resolver avisa **uma vez** e cai para `v1`, em vez de arriscar um host 1.x com uma entrada `plugins` que ele ignoraria. Γ‰ um erro alto e visΓ­vel, mas ainda Γ© uma queda para a configuraΓ§Γ£o V1.
15
+ ### Added
141
16
 
142
- ## βœ… Closed Issues
17
+ - OpenCode 1.19.x and 2.x support with `auto` generation detection; OpenCode 2.0.22 is known broken.
18
+ - Per-agent MCP permissions on both generations; omitted servers and undeclared tools are denied by default.
19
+ - `pantheon_cost` now reports USD by agent, model and session, accepts `session` scope, and has a hard offline gate that refuses `refreshPricing`.
20
+ - Opt-in V2 memory injection can add the most relevant entries to the request context; it is off by default.
21
+ - V2 compaction prunes repeated tool output before summarization, keeping the newest result and recent turns.
22
+ - The V2 sidebar aggregates child work in a `Dispatch` block, and `/dispatch` opens a full-width panel over the same data.
23
+ - The installer previews each file before apply, detects drift, keeps an exact backup, and provides `restore`, `reconcile` and `uninstall`.
24
+ - A pristine project database now starts with both checkpoint and goal schemas; startup never adds goal DDL to an existing database.
25
+ - Migrating an existing database for the manual goal tools is an explicit step: dry-run first, server stopped, target confirmed, verified `0600` backup.
26
+ - When the goal schema is absent, the goal tools return the exact migration command.
143
27
 
144
- - **A justificativa da matriz de delegaΓ§Γ£o V1β†’V2 foi corrigida.** O texto dizia que o V2 "nΓ£o expΓ΅e esse caminho de semeadura"; os tipos do SDK refutam isso. A causa real da matriz nΓ£o replicada nΓ£o Γ© a ausΓͺncia de um caminho de semeadura (`session.created` do V2 traz `properties.info: Session` com `parentID?`, o mesmo campo que a V1 semeia), mas a *segunda* fonte da V1 β€” o seed de `client.session.list()` para sessΓ΅es anteriores ao carregamento do plugin β€” porque o `PluginContext` do V2 nΓ£o expΓ΅e `client`. Se um host 2.0.22 ao vivo popula `info.parentID` nesse evento continua **nΓ£o verificado** (nenhum canΓ‘rio lΓͺ payload de evento). A linha publicada em `v1.6.0-beta.4` fica como registro.
145
- ## [v1.6.0-beta.4] - 2026-10-03
28
+ ### Changed
146
29
 
147
- &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
148
- move this section to a versioned entry and reset the template below. --&gt;
30
+ - V2 installs no longer duplicate global and project instruction context, reducing the first-request payload.
31
+ - Memory entries are capped at 64 KiB, can expire via `ttl_seconds`, and `memory_search` returns typed errors when the store is unreadable.
32
+ - Node.js 26.4.0 is the package floor; the `node:sqlite` cost backend keeps its separate >=22.5 threshold.
33
+ - Plan approval always shows the full plan in the main conversation, never a pointer into a child session.
149
34
 
150
- ## πŸ†• What's New
35
+ ### Deprecated
151
36
 
152
- - **CanΓ‘rio host-backed que dirige `hashline_edit` end-to-end** (`tests/canary/plugin-v2-tool-canary.test.mjs`, 12 casos): carrega `src/plugin-v2.ts` pelo loader real do host `opencode 2.0.22` e registra `Object.keys(ctx)` de dentro do host β€” medidos, `tool`/`event`/`permission`/`session` existem e `catalog` nΓ£o. Γ‰ o primeiro gate que dirige uma ferramenta do Pantheon por um host real. O canΓ‘rio existente sΓ³ dirige o `read` embutido, e foi por isso que `draft.add()` sem `output` sobreviveu 26 dias com todos os testes verdes.
153
- - **Os quatro domΓ­nios que o SDK `@opencode-ai/plugin` nΓ£o tipa** (`tool`, `event`, `permission`, `session`) passaram a uma declaraΓ§Γ£o estrutural local (`HostPluginContext`) e **um** cast documentado (`hostDomains()`), no lugar de seis `as unknown as Record<string, unknown>` que nΓ£o verificavam tipo nenhum. Todo membro continua opcional e todo chamador reconferir antes de usar. A linha estΓ‘vel do SDK Γ© `1.18.x` e nΓ£o carrega o contrato do host β€” `1.18.34` (`latest`) Γ© idΓͺntica a `1.18.33`, entΓ£o seguir o `dev` diΓ‘rio resolveria pior, nΓ£o melhor.
37
+ - V1 `pantheon_goal_create`, `pantheon_goal_update` and `pantheon_goal_get` are soft-deprecated; stored goals no longer continue a session automatically.
154
38
 
155
- ## 🐞 Fixed
39
+ **Upgrade required:** `npm install -g pantheon-opencode@beta && pantheon-opencode update` β€” see [UPGRADING.md](docs/UPGRADING.md).
156
40
 
157
- - `pantheon_cost` respondia `CORRUPT_DATA` em **toda** chamada contra o host 2.0.22: exigia a tabela `message`, que nΓ£o existe nesse banco. Os tokens de assistant **estΓ£o** legΓ­veis em `session_message`. **NΓ£o Γ© renomeaΓ§Γ£o:** `session_message` tem coluna `data`, mas nΓ£o tem a chave `role` dentro dela β€” `json_type(data,'$.role')` Γ© nulo em **0 de 40 307** linhas vΓ‘lidas. O V1 marca turnos de assistant com `data.role`; o V2 marca pela **coluna** `type`. Trocar apenas o nome da tabela casaria com nada e devolveria `status: OK` em silΓͺncio. A detecΓ§Γ£o passa a ser por **presenΓ§a de tabela**, porque as duas famΓ­lias coexistem em bancos migrados.
158
- - `PANTHEON_OPENCODE_VERSION` nunca selecionou o schema: sΓ³ mudava o **nome do arquivo**, e `opencode-v2.db` Γ© o isolamento do sandbox via `OPENCODE_DB`, nΓ£o um banco de host 2.x. A distinΓ§Γ£o v1/v2 Γ© o **schema detectado**; a variΓ‘vel agora apenas restringe um conjunto jΓ‘ detectado e falha rΓ‘pido quando pede uma famΓ­lia ausente.
159
- - `scripts/cost.mjs` duplicava o mesmo bug literal, com o mesmo assert β€” o fallback continuava morto. `probe-pantheon-cost.mjs` acompanha.
160
- - O report agora **declara a cobertura temporal** que ele mediu (janela varrida, linha mais antiga), em vez de apresentar totais como se cobrissem meses.
41
+ ### Removed
161
42
 
162
- ## ⚠️ Known Issues
43
+ - Twelve Persistence KV and context-management tools are unregistered; checkpoints and manual goals remain.
44
+ - The legacy vector/embedding memory path is removed; SQLite FTS5/BM25 search and the `code_*` tools remain.
45
+ - The V2 goal tools are removed and replaced by the manual Persistence `goal_*` tools.
46
+ - `steps` is no longer written into managed agents; the host applies no native step ceiling by default.
47
+ - The maintainer's `opencode.json` and `.opencode/` are no longer shipped in the package.
163
48
 
164
- - O canΓ‘rio **host-backed pula no CI**: o runner nΓ£o tem binΓ‘rio `opencode`. O skip Γ© **visΓ­vel** no log (`::notice`), e os dois casos sem host rodam incondicionalmente, com `PANTHEON_TOOL_CANARY_BIN` apontado para um caminho inexistente. Rodar de verdade exige um modo no script de sandbox β€” **nΓ£o feito**.
165
- - A cobertura de custo do banco v2 Γ© de **~8,3 dias** nesta mΓ‘quina (primeiro registro em 2026-09-25). O histΓ³rico v1 (~96 dias) fica num diretΓ³rio irmΓ£o com nome de epoch, que **nΓ£o** Γ© contrato e por isso nΓ£o Γ© descoberto automaticamente. Quem quiser aponta `PANTHEON_COST_DB`.
166
- - `metadata.phase` nunca existiu em v1 nem em v2 β€” medido: 0 linhas de `session_message` tΓͺm `$.metadata.phase` nem `$.phase`. A coluna Phase sempre foi `unknown`. NΓ£o Γ© regressΓ£o, Γ© feature que nunca funcionou.
167
- ## [v1.6.0-beta.3] - 2026-10-03
49
+ **Upgrade required:** `npm install -g pantheon-opencode@beta && pantheon-opencode update` β€” see [UPGRADING.md](docs/UPGRADING.md).
168
50
 
169
- &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
170
- move this section to a versioned entry and reset the template below. --&gt;
51
+ ### Fixed
171
52
 
172
- ## πŸ†• What's New
173
- - **TrΓͺs ferramentas V2 agora executam de verdade**: `hashline_edit`,
174
- `pantheon_cost` e `pantheon_model` rodam no host `opencode v2.0.x`. Antes
175
- eram placeholders que declaravam sucesso sem fazer nada.
176
- - **Enforcement de sessΓ£o read-only no caminho V2**: `apollo` e `gaia` voltam
177
- a ter escrita bloqueada, com o guard registrado no prΓ³prio plugin V2 β€” sem
178
- depender de uma ponte que a instalaΓ§Γ£o V2 nΓ£o monta.
179
- - **Varredura de segredos de alta confianΓ§a no caminho V2**: o ΓΊnico hard block
180
- de seguranΓ§a que a V1 tinha, e que estava inerte por viver num plugin que a
181
- instalaΓ§Γ£o V2 nΓ£o carrega, passa a rodar.
182
-
183
- ## 🐞 Fixed
184
- - **As 6 ferramentas de plugin do V2 falhavam em 100% das chamadas**:
185
- `hashline_edit`, `pantheon_cost` e `pantheon_model` lanΓ§avam
186
- `Tool result declared output without an output schema` em toda invocaΓ§Γ£o. A
187
- causa era assimetria local β€” `draft.add()` nΓ£o declarava `output` enquanto o
188
- `execute` resolvia `{ output: string }`. O host exige simetria nos dois
189
- sentidos: resultado com `output` e nenhuma declaraΓ§Γ£o lanΓ§a, assim como
190
- declaraΓ§Γ£o sem `output` no resultado. `output` passou a ser **obrigatΓ³rio** na
191
- interface `V2ToolDef`, entΓ£o o compilador exige a declaraΓ§Γ£o daqui em diante.
192
- - **A suΓ­te exigia o defeito**: `tests/pantheon/plugin-v2-contract.test.ts`
193
- afirmava que o resultado carregava `.output` string β€” literalmente a condiΓ§Γ£o
194
- de falha, contra um mock que nΓ£o reproduzia a exigΓͺncia do host. O teste foi
195
- reescrito para o invariante de simetria, contra um mock que constrΓ³i o
196
- `outputSchema` a partir de `def.output` como o host faz
197
- (`output: I.outputSchema ?? {}`), cobrindo as duas direΓ§Γ΅es do bicondicional.
198
- - **A imposiΓ§Γ£o read-only nΓ£o existia na superfΓ­cie V2**: `createEnforcementGuard`
199
- sΓ³ era instanciado em `src/plugin.ts`, que o `opencode.json` da release nΓ£o
200
- declara β€” V2 nunca carrega V1. Com `hashline_edit` funcional, uma sessΓ£o
201
- somente-leitura podia escrever arquivos. O guard passou a ser registrado no
202
- hook `execute.before` do V2, e `pantheon_model` β€” que escreve
203
- `active-preset.json` em escopo project e global β€” foi acrescentado a
204
- `DEFAULT_BLOCKED_TOOLS`, o que corrige tambΓ©m a V1. `pantheon_cost` ficou de
205
- fora de propΓ³sito: sΓ³ lΓͺ `opencode.db`.
206
- - **O ΓΊnico hard block de seguranΓ§a da V1 estava inerte**: o scan de segredos de
207
- alta confianΓ§a vivia em `src/plugins/pantheon-hooks.ts`, um plugin que a
208
- instalaΓ§Γ£o V2 nΓ£o carrega β€” inerte por construΓ§Γ£o, nΓ£o por mΓ‘ configuraΓ§Γ£o.
209
- Passou a rodar dentro do `execute.before` do V2
210
- (`scripts/hooks/scan-secrets.sh`; exit 2 bloqueia, exit 1 Γ© advisory e sΓ³
211
- registra). O caminho do script foi verificado a partir do tarball instalado,
212
- nΓ£o sΓ³ do repo.
213
- - **Cinco comentΓ‘rios afirmavam cobertura que nΓ£o existe** ("wired through the
214
- V1…"). Corrigidos β€” Γ© o defeito "anunciado como vivo, morto no caminho", a
215
- mesma classe do bug original, transferida do tool para o controle de seguranΓ§a.
216
-
217
- ## ⚠️ Known Issues
218
- - **A release entrega 3 ferramentas V2 funcionais, nΓ£o 6**:
219
- `pantheon_goal_create`, `pantheon_goal_get` e `pantheon_goal_update` foram
220
- **removidos** da superfΓ­cie V2. `GoalLoopDeps` exige `store`, `client` e
221
- `board`, que nΓ£o existem no `PluginContext` V2, e a bridge V1 resolve para
222
- `null` fora da V1. RegistrΓ‘-las como placeholders nΓ£o funcionais seria pior
223
- que a ausΓͺncia: anunciΓ‘-las seria mentira silenciosa. Marcador `goal-tools`
224
- em `V2_UNSUPPORTED_FEATURES`. **Breaking** para quem usava esses tools no
225
- host V2 β€” o contrato V1 permanece disponΓ­vel para o goal loop.
226
- - **A matriz de delegaΓ§Γ£o nativa da V1 nΓ£o Γ© replicada na V2**: o guard V2 cobre
227
- a lista de ferramentas bloqueadas, mas não a matriz caller→target nem a negação
228
- de `task` em sessΓ£o filha. A matriz precisa de uma hierarquia de sessΓ΅es
229
- semeada a partir dos metadados de sessΓ£o, e o V2 nΓ£o expΓ΅e esse caminho de
230
- semeadura β€” `SessionHierarchyRegistry.isRoot` reporta `true` para sessΓ΅es
231
- desconhecidas enquanto nΓ£o semeada, entΓ£o semeΓ‘-la pela metade negaria todo
232
- `task()`. O branch Γ© pulado em vez de negado indiscriminadamente. Marcador
233
- `delegation-matrix`. `task` continua negada em sessΓ£o somente-leitura pela
234
- lista de ferramentas bloqueadas, entΓ£o a profundidade 2 se sustenta; o que
235
- nΓ£o existe Γ© a matriz. Coberto por `experimental.subagent_depth` nesta
236
- configuraΓ§Γ£o, mas a garantia do plugin nΓ£o existe.
237
- - **O log do scan de segredos escreve sΓ³ em `.pantheon/logs/hooks.log`**: o
238
- `PluginContext` V2 nΓ£o expΓ΅e `client` nem `directory`, entΓ£o os canais de log
239
- estruturado e de toast da V1 nΓ£o existem nessa superfΓ­cie. Γ‰ menos
240
- observabilidade, nΓ£o menos bloqueio.
241
- - **Falha de infraestrutura do scanner Γ© fail-open por decisΓ£o**: script ausente
242
- ou timeout nΓ£o bloqueiam. `runHook` nunca rejeita e um erro de infraestrutura
243
- nΓ£o deve negar chamadas nΓ£o relacionadas. AusΓͺncia do script nΓ£o bloqueia.
244
-
245
- ## βœ… Closed Issues
246
- - **Drift de documentaΓ§Γ£o no `README.pt-BR.md`**: a tabela de contrato de
247
- runtime e o parΓ‘grafo de superfΓ­cie listavam 6 ferramentas V2 e as 3 de goal,
248
- que nΓ£o estΓ£o registradas. Corrigido para 3 ferramentas, com a razΓ£o da
249
- ausΓͺncia e o ponto de imposiΓ§Γ£o read-only.
250
- - **Cinco comentΓ‘rios de falsa cobertura** sobre a imposiΓ§Γ£o read-only e o scan
251
- de segredos.
252
- - **Shim do loader JSON do ajv elevado a bootstrap de mΓ³dulo**: o patch de
253
- `Module._extensions['.json']` era aplicado de dentro de `loadAjv()` e ficava
254
- vivo durante todo o run, podendo vazar entre arquivos de teste e se manifestar
255
- longe da causa. Agora instala, carrega e restaura em nΓ­vel de mΓ³dulo, antes de
256
- qualquer corpo de teste, com `finally`.
257
- ## [v1.6.0-beta.2] - 2026-10-02
258
-
259
- ## πŸ†• What's New
260
- - **`steps` nΓ£o Γ© mais definido pelo Pantheon**: removido dos 14 agentes em
261
- `src/agents/`. No OpenCode 2 o campo Γ© opcional e **sem default** β€” ausente
262
- significa **sem teto nativo**. O host nΓ£o impΓ΅e teto; o Pantheon estava
263
- escrevendo um.
264
- - **Instalador v2 remove `steps` residual**: configs jΓ‘ instalados passam a ter
265
- o `steps` apagado dos agentes gerenciados. Escopo restrito aos agentes que o
266
- Pantheon gerencia β€” um agente definido pelo usuΓ‘rio nunca Γ© tocado. O bloco V1
267
- singular `agent` Γ© deliberadamente intocado (V1 em retirada).
268
- - **Substitutos ao teto**: `task(background=true)` para trabalho fora da
269
- foreground, `experimental.subagent_depth` para aninhamento de subagentes e
270
- paralelismo entre delegaΓ§Γ΅es independentes.
271
- - **Limpeza**: `max_steps` e `max_compaction_items` removidos de
272
- `src/routing.yml`. `loadRoutingMaxSteps` nunca teve um ΓΊnico import β€” 2
273
- matches no repo (definiΓ§Γ£o e typedef), ambos removidos.
274
-
275
- ## 🐞 Fixed
276
- - **`migrateV1toV2` descartava campos gerenciados**: com os blocos `agent` (V1)
277
- e `agents` (V2) coexistindo β€” o caso de qualquer config jΓ‘ instalado β€” o
278
- spread raso fazia um substituir o outro por inteiro. Na ordem de chaves do
279
- `opencode.json` real, o lado perdedor era o do usuΓ‘rio. Agora **mescla**: a
280
- base Γ© o bloco V2, os campos gerenciados do V1 sobrescrevem, e os campos do
281
- usuΓ‘rio sΓ£o preservados. Mesma semΓ’ntica jΓ‘ usada em `install/opencode.mjs`.
282
- - **`docs/platforms/README.md` tinha tabela de step limits errada**: 14 linhas
283
- listando limites por agente, **nenhum valor batendo** com `src/agents/`.
284
- Tabela removida e a seΓ§Γ£o reescrita.
285
-
286
- ## ⚠️ Known Issues
287
- - **PermissΓ΅es de agente**: V1 usa `permission` e V2 usa `permissions`; ao mesclar esses blocos, a chave legada `permission` pode permanecer inerte ao lado de `permissions`.
288
- - **MigraΓ§Γ£o β€” rode o init uma vez**: `npx pantheon-opencode init
289
- --opencode-version=v2` **uma ΓΊnica vez** limpa o `steps` residual. Sem isso o
290
- config instalado continua carregando o teto antigo.
291
- - **O `.md` de agente instalado Γ© sobrescrito no prΓ³ximo sync**: editar
292
- `~/.config/opencode/agents/*.md` esperando persistΓͺncia **nΓ£o funciona**.
293
- Comportamento **prΓ©-existente**, nΓ£o Γ© regressΓ£o desta mudanΓ§a β€” mas agora
294
- estΓ‘ documentado para nΓ£o ser reportado como uma.
295
- - **`steps` definido Γ  mΓ£o num agente gerenciado Γ© removido a cada install v2**:
296
- o instalador nΓ£o distingue um valor que ele escreveu de um valor que vocΓͺ
297
- escreveu (mesma chave, mesmo valor). Workaround: definir no frontmatter do
298
- agente β€” e lembrar que ele **tambΓ©m** Γ© sobrescrito no prΓ³ximo sync.
299
- ## [v1.6.0-beta.1] - 2026-09-30
53
+ - V2 plugin tools now execute instead of reporting a false success, and every tool declares the `output` schema the host requires.
54
+ - An empty child dispatch result is surfaced as an error instead of a silent completed call.
55
+ - Scoped `pantheon_cost` reports with no matching rows render an empty report instead of `UNSUPPORTED`.
56
+ - Sub-cent costs render as `< $0.0001`; a real zero stays `$0.00`.
57
+ - Cache-only assistant turns count as readable cost usage.
58
+ - A session-scoped cost request on the CLI fallback returns `UNSUPPORTED` instead of an unscoped total.
300
59
 
301
- <!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
302
- move this section to a versioned entry and reset the template below. -->
60
+ ### Security
303
61
 
304
- ## πŸ†• What's New
305
- - **OpenCode 2** β€” first Pantheon beta compatible with the OpenCode 2 plugin
306
- contract.
307
- - **memory** β€” preserve SQLite FTS5/BM25 keyword search and the `code_*` codemap
308
- tools.
62
+ - Three permission holes are closed: `hashline_edit` no longer bypasses `edit: deny`, and the V2 read-only guard and secret scan are active.
309
63
 
310
- ## 🐞 Fixed
311
- - **memory** β€” remove the legacy vector-memory scripts and embedding/KNN/RRF
312
- path.
313
- - **CI/release** β€” keep validation fail-closed; expand `doctor` checks and add
314
- the OpenCode 2 V2-only sandbox validator.
64
+ Pre-release history (1.6.0-beta.*) is archived in [docs/internal/changelog-prereleases.md](docs/internal/changelog-prereleases.md).
315
65
 
316
66
  ## [v1.5.2] - 2026-09-22
317
67
 
318
- ## 🐞 Fixed
68
+ ## Fixed
319
69
  - **install** β€” guard undefined collection in init (#174)
320
70
  - **release** β€” compare Zenodo file checksum in the format the API returns (#173)
321
71
  ## [v1.5.1] - 2026-09-22
322
72
 
323
- ## 🐞 Fixed
73
+ ## Fixed
324
74
  - **agents** β€” declare explicit read: allow for zeus
325
75
  - **ci** β€” drop fastembed from CI, keep pytest collection green (#163)
326
76
  - **plugin** β€” detect registered-plugin version drift after pantheon_delegate removal (#169)
@@ -330,7 +80,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
330
80
  - **tui** β€” remove dead pantheon_delegate refs after v1.5.0 V1 removal (#166)
331
81
  - **mnemosyne** β€” grant scoped write to memory-bank and deepwork paths (#164)
332
82
 
333
- ## βœ… Closed Issues
83
+ ## Closed Issues
334
84
  - #94 - drop fastembed from CI, keep pytest collection green (#163)
335
85
  - #158 - detect registered-plugin version drift after pantheon_delegate removal (#169)
336
86
  - #114 - correct node floor and warn on unsupported runtime (#168)
@@ -342,7 +92,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
342
92
 
343
93
  ## [v1.5.0] - 2026-09-16
344
94
 
345
- ### πŸ†• What's New
95
+ ### Added
346
96
 
347
97
  - **DelegaΓ§Γ£o nativa**: `task()` Γ© agora o ΓΊnico canal de delegaΓ§Γ£o β€” motor legado
348
98
  de dispatch removido por completo, simplificando o fluxo de subagents.
@@ -354,7 +104,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
354
104
  - **CI/CD**: Dependabot alerts, CodeQL analysis, SHA pins em actions, gitleaks
355
105
  v3 para detecΓ§Γ£o de secrets, e workflow de release dispatch-only.
356
106
 
357
- ### 🐞 Fixed
107
+ ### Fixed
358
108
 
359
109
  - **Painel Delegations vazio (crΓ­tico)**: canal `session.children` da TUI
360
110
  chamava API com shape v1 num cliente v2 β€” placeholder `{sessionID}` nΓ£o era
@@ -367,7 +117,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
367
117
  - **Signal leak**: timer independente do spinner separado do poll de dados,
368
118
  evitando bloqueio visual durante operaΓ§Γ΅es longas.
369
119
 
370
- ### βœ… Closed Issues
120
+ ### Closed Issues
371
121
 
372
122
  - 38% dos testes consolidados (de ~1200 para ~744) com cobertura mantida.
373
123
  - 17 mΓ³dulos mortos removidos, reduzindo superfΓ­cie de manutenΓ§Γ£o.
@@ -378,7 +128,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
378
128
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
379
129
  move this section to a versioned entry and reset the template below. --&gt;
380
130
 
381
- ## 🐞 Fixed
131
+ ## Fixed
382
132
 
383
133
  - **Fixed β€” painel Delegations**: children com status `busy` stale (>30min sem
384
134
  atualizaΓ§Γ£o) agora sΓ£o classificadas como `completed` (nΓ£o `running`). O
@@ -389,7 +139,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
389
139
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
390
140
  move this section to a versioned entry and reset the template below. --&gt;
391
141
 
392
- ## πŸ†• What's New
142
+ ## Added
393
143
 
394
144
  - **Improved β€” painel Delegations**: status ausente de children antigas agora Γ©
395
145
  `done` (nΓ£o `running`); grace 60s para sessΓ΅es recΓ©m-criadas; janela de
@@ -403,7 +153,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
403
153
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
404
154
  move this section to a versioned entry and reset the template below. --&gt;
405
155
 
406
- ## 🐞 Fixed
156
+ ## Fixed
407
157
 
408
158
  - **Painel Delegations voltou a funcionar (crΓ­tico):** o canal
409
159
  `session.children` da TUI chamava a API com a shape v1 (`{ path: { id } }`)
@@ -423,7 +173,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
423
173
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
424
174
  move this section to a versioned entry and reset the template below. --&gt;
425
175
 
426
- ## πŸ†• What's New
176
+ ## Added
427
177
 
428
178
  - **DelegaΓ§Γ£o nativa no host:** o motor `pantheon_delegate` foi removido
429
179
  (~3,9k linhas) junto com as tools `pantheon_delegate`,
@@ -437,7 +187,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
437
187
  - **Camada fina preservada:** `task-result-guard` (verified completion de child
438
188
  vazio), `native-task-status` e guards de enforcement.
439
189
 
440
- ## 🐞 Fixed
190
+ ## Fixed
441
191
 
442
192
  - **Read-only enforcement re-apontado para sessΓ΅es nativas:** aplicado no
443
193
  pΓΊblico via hook `chat.params` e `hashline_edit` bloqueado para `apollo`/`gaia`,
@@ -451,7 +201,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
451
201
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
452
202
  move this section to a versioned entry and reset the template below. --&gt;
453
203
 
454
- ## πŸ†• What's New
204
+ ## Added
455
205
 
456
206
  - **ModernizaΓ§Γ£o CI/supply-chain:** 22 actions SHA-pinadas; `gitleaks-action` v3
457
207
  (fix crΓ­tico β€” a v2 morria com Node 20 em 2026-09-16) com CLI 8.30.1; cache
@@ -465,7 +215,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
465
215
  - **Instructions:** deduplicaΓ§Γ£o das instruΓ§Γ΅es compartilhadas β€” contexto menor
466
216
  sem perder nenhuma regra.
467
217
 
468
- ## 🐞 Fixed
218
+ ## Fixed
469
219
 
470
220
  - **2 flakes determinΓ­sticos eliminados:** TTL do MCP persistence
471
221
  (`test_ttl_expiry_real_time`) e `logger.test.mjs` deixaram de depender de
@@ -478,7 +228,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
478
228
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
479
229
  move this section to a versioned entry and reset the template below. --&gt;
480
230
 
481
- ## πŸ†• What's New
231
+ ## Added
482
232
 
483
233
  - **Delegation `read` devolve o relatΓ³rio completo:** o retorno de `read` passa a
484
234
  ler o relatΓ³rio integral do disco (com cap configurΓ‘vel e marker explΓ­cito de
@@ -491,7 +241,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
491
241
  ser pintada pelo estado β€” vermelho = falha, verde = concluΓ­do, amarelo = em
492
242
  andamento β€” com o glyph mantido como canal redundante para acessibilidade.
493
243
 
494
- ## 🐞 Fixed
244
+ ## Fixed
495
245
 
496
246
  - **TUI β€” painel Delegations sΓ³ da sessΓ£o ativa:** o painel deixa de renderizar
497
247
  rows cross-session/Γ³rfΓ£s que causavam "Session not found" ao clicar; a lista
@@ -516,19 +266,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
516
266
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
517
267
  move this section to a versioned entry and reset the template below. --&gt;
518
268
 
519
- ## πŸ†• What's New
269
+ ## Added
520
270
 
521
271
  - **OrdenaΓ§Γ£o active-first:** delegaΓ§Γ΅es ativas aparecem antes das concluΓ­das,
522
272
  falhas e canceladas no painel TUI.
523
273
  - **Overflow active:** quando hΓ‘ mais delegaΓ§Γ΅es ativas que o teto visΓ­vel, o
524
274
  excedente ativo permanece representado na linha de overflow.
525
275
 
526
- ## 🐞 Fixed
276
+ ## Fixed
527
277
 
528
278
  - **RetenΓ§Γ£o visual:** concluΓ­das permanecem visΓ­veis por 2 min e falhas por
529
279
  10 min antes de saΓ­rem do painel; canceladas seguem a retenΓ§Γ£o configurada.
530
280
 
531
- ## ⚠️ Known Issues
281
+ ## Known Issues
532
282
 
533
283
  - **Stale running warning:** jobs em estado `running` alΓ©m do limite esperado
534
284
  recebem um aviso visual de stale no painel.
@@ -537,7 +287,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
537
287
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
538
288
  move this section to a versioned entry and reset the template below. --&gt;
539
289
 
540
- ## πŸ†• What's New
290
+ ## Added
541
291
 
542
292
  - **TUI status-only β€” rows simplificadas:** cada linha do painel Delegations passa
543
293
  a ser `{glyph} {alias} {elapsed}` + `desc` muted β€” um glyph de status, uma ΓΊnica
@@ -555,7 +305,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
555
305
  118/118 passando, cobrindo rows status-only, header active/done/failed, ceiling
556
306
  e board read cross-session.
557
307
 
558
- ## 🐞 Fixed
308
+ ## Fixed
559
309
 
560
310
  - **SanitizaΓ§Γ£o de dead code:** removidos helpers, tipos e estado Γ³rfΓ£os do
561
311
  painel Delegations (toggle de escopo `[SessΓ£o]`/`[Tudo]`, prefixos curtos
@@ -568,7 +318,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
568
318
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
569
319
  move this section to a versioned entry and reset the template below. --&gt;
570
320
 
571
- ## πŸ†• What's New
321
+ ## Added
572
322
 
573
323
  - **TUI lΓͺ o board (4ΒΊ canal):** o painel Delegations passa a ler o
574
324
  BackgroundJobBoard via `readBoardState()` β€” jobs `pantheon_delegate` de todas
@@ -584,7 +334,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
584
334
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
585
335
  move this section to a versioned entry and reset the template below. --&gt;
586
336
 
587
- ## πŸ†• What's New
337
+ ## Added
588
338
 
589
339
  - **Glyphs da FSM real no painel Delegations:** cada estado do BackgroundJobBoard
590
340
  tem agora um glifo Unicode geomΓ©trico prΓ³prio β€” `β ‹` running (spinner 1s),
@@ -599,7 +349,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
599
349
  - **104 testes TUI delegations:** `tests/pantheon/tui-delegations.test.ts` com
600
350
  104/104 passando, cobrindo glifos/marker/tone dos estados reais da FSM.
601
351
 
602
- ## 🐞 Fixed
352
+ ## Fixed
603
353
 
604
354
  - **Doctor F.2 (`hasUsableScripts`):** a resoluΓ§Γ£o do diretΓ³rio code-mode agora
605
355
  exige um `.py`/`.sh` regular (paridade com `_has_usable_scripts` do MCP), entΓ£o
@@ -612,7 +362,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
612
362
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
613
363
  move this section to a versioned entry and reset the template below. --&gt;
614
364
 
615
- ## πŸ†• What's New
365
+ ## Added
616
366
 
617
367
  - **TUI delegations com prefixos curtos `nat:` / `pan:`:** cada linha do painel passa
618
368
  a usar `nat:<agent>` para child nativo do `task()` (sem report no board) ou
@@ -628,7 +378,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
628
378
  - **100 testes TUI delegations:** `tests/pantheon/tui-delegations.test.ts` com 100/100
629
379
  passando (tsc + biome OK), acima dos 93 da beta.9.
630
380
 
631
- ## 🐞 Fixed
381
+ ## Fixed
632
382
 
633
383
  - **`appendFile` sem import (log do painel volta a escrever):** o log em arquivo do
634
384
  painel parou de escrever silenciosamente porque `appendFile` era chamado sem import
@@ -649,13 +399,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
649
399
  <!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
650
400
  move this section to a versioned entry and reset the template below. -->
651
401
 
652
- ## πŸ†• What's New
402
+ ## Added
653
403
 
654
404
  - **TUI delegations nativas (gated):** painel Delegations renderiza N delegaΓ§Γ΅es native + M pantheon com tag [native], live task em tempo real, click navega para sessΓ£o. Implementado em `src/plugins/tui/src/index.tsx` com dist rebuildado.
655
405
  - **93 testes TUI delegations:** suite `tests/pantheon/tui-delegations.test.ts` com 93/93 passando (tsc + biome OK).
656
406
  - **E2E beta.8 PASS (referΓͺncia):** baseline E2E da beta.8 mantido como referΓͺncia de estabilidade para beta.9.
657
407
 
658
- ## 🐞 Fixed
408
+ ## Fixed
659
409
 
660
410
  - Removido diretΓ³rio `testyes/` (artefato de teste).
661
411
  - Truncado `hooks.log` para baseline limpo de beta.9.
@@ -665,7 +415,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
665
415
  <!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
666
416
  move this section to a versioned entry and reset the template below. -->
667
417
 
668
- ## 🐞 Fixed
418
+ ## Fixed
669
419
 
670
420
  - **Board persistence is corruption- and concurrency-safe:** state writes now go
671
421
  through a UNIQUE temp file (per-process, per-write counter + random suffix), are
@@ -697,7 +447,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
697
447
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
698
448
  move this section to a versioned entry and reset the template below. --&gt;
699
449
 
700
- ## πŸ†• What's New
450
+ ## Added
701
451
 
702
452
  - **Cost CLI fallback + `PANTHEON_NODE`:** `pantheon_cost` falls back to a
703
453
  read-only `node scripts/cost.mjs` subprocess when `node:sqlite` is
@@ -711,7 +461,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
711
461
  experimental via `PANTHEON_DELEGATE_MODE=native` until v1.6. See
712
462
  [ADR-0011](https://github.com/ils15/pantheon-opencode/pull/126) (Proposed).
713
463
 
714
- ## 🐞 Fixed
464
+ ## Fixed
715
465
 
716
466
  - **Legacy read-only bypass on retry (P0):** a retried delegation now
717
467
  re-applies read-only enforcement (the same rule as the initial child) and
@@ -742,7 +492,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
742
492
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
743
493
  move this section to a versioned entry and reset the template below. --&gt;
744
494
 
745
- ## πŸ†• What's New
495
+ ## Added
746
496
 
747
497
  - **Delegation panel v2:** live tool activity per running delegation
748
498
  (`↳ bash npm test` β€” what the child is doing right now), a paginated
@@ -750,7 +500,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
750
500
  distinct `retry` state (⟳ marker, RETRYING label) instead of lumping
751
501
  retries into running.
752
502
 
753
- ## 🐞 Fixed
503
+ ## Fixed
754
504
 
755
505
  - **Stale plugin refs from old installs:** the installer now prunes
756
506
  `pantheon-opencode` plugin references pointing at other installed copies of
@@ -767,7 +517,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
767
517
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
768
518
  move this section to a versioned entry and reset the template below. --&gt;
769
519
 
770
- ## πŸ†• What's New
520
+ ## Added
771
521
 
772
522
  - **Native background tasks in the delegation panel:** tasks dispatched via
773
523
  the native `task(background=true)` tool are now mirrored onto the shared
@@ -791,7 +541,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
791
541
  nunca implementados dos planos v1.0/v1.0+ foram removidos; o contrato atual
792
542
  passou a documentar o code-mode (manifest SHA-256, resoluΓ§Γ£o project-first).
793
543
 
794
- ## 🐞 Fixed
544
+ ## Fixed
795
545
 
796
546
  - **Code-mode project resolution (#112):** the MCP now resolves project code-mode
797
547
  scripts before global scripts, honors `PANTHEON_PROJECT`, and fails closed on
@@ -803,7 +553,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
803
553
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
804
554
  move this section to a versioned entry and reset the template below. --&gt;
805
555
 
806
- ## πŸ†• What's New
556
+ ## Added
807
557
 
808
558
  - **Native delegation contract (B3-05):** adds the nine-code `NativeTaskStatus` contract, a session-lazy cached capability probe, atomic board registration for native children, strict `PANTHEON_DELEGATE_MODE=native` without fallback/failover/retry, and status in delegation receipts.
809
559
 
@@ -813,7 +563,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
813
563
 
814
564
  - **Code-mode explicit installation (B3-08):** `pantheon-code-mode` no longer executes scripts implicitly. A script runs only when listed in `.pantheon/code-mode/manifest.json` with a matching SHA-256; the installer seeds the manifest for bundled scripts and a new `approve_code_script` tool opts in or refreshes a script. Missing manifest reports `INVALID_STATE`, unlisted scripts `CONFLICT`, and hash mismatches `CORRUPT_DATA`.
815
565
 
816
- ## 🐞 Fixed
566
+ ## Fixed
817
567
 
818
568
  - **ECIGLOBAL fix (sync-tui):** `npm install -g` no longer fails with ECIGLOBAL β€” `scripts/sync-tui.mjs` now sanitizes `npm_config_*` global-context vars (case-insensitive) from the nested `npm ci` environment.
819
569
  - **npm tarball inclusion:** CHANGELOG.md is now included in the npm tarball
@@ -1003,7 +753,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1003
753
 
1004
754
  ## [1.3.6-beta] - 2026-08-21
1005
755
 
1006
- ## πŸ†• What's New
756
+ ## Added
1007
757
 
1008
758
  - **Recency decay in `memory_search` (src/mcp/memory_mcp_server.py)** β€” new `decay_days` param (default `None`, backward compatible) applies a freshness half-life `2^(-days_since_created/decay_days)` to RRF-fused scores, so older memories rank lower when enabled. `_rrf_fuse` accepts an optional `created_at_map`; tool description and docs updated (docs/MEMORY.md, docs/MCP.md, docs/mcp-tools.md).
1009
759
  - **Themis Comment Checker (src/agents/themis.md)** β€” Layer 1 review now flags generated code that is indistinguishable from human-written: excessive/obvious comments (`// increment i`, `# set x to 5`), commented-out dead code, and boilerplate headers.
@@ -1022,7 +772,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1022
772
  - **O5 permission.task globs (src/pantheon/permission-globs.ts)** β€” allow/deny glob rules controlling which subagents may be delegated; deny rules remove the target from Zeus's task tool entirely (`delegation-enforce`), with matching filtering in finalize and the agent-list description.
1023
773
  - **plugin-eval certification suite (.pantheon/code-mode/)** β€” `eval-static.py` (structural checks: frontmatter/secrets/file refs), `eval-llm-judge.py` (LLM quality layer), `eval-monte-carlo.py` (simulated-run reliability, exits 1 below 75%), `eval-run.py` (orchestrator emitting one report JSON; below-threshold layers still score), plus `eval_store` persistence and `pantheon://eval` resources exposing latest certification scores.
1024
774
 
1025
- ## 🐞 Fixed
775
+ ## Fixed
1026
776
 
1027
777
  - memory_search doc drift: freshness decay was documented but not implemented β€” now real via `decay_days`.
1028
778
  - scripts/ copies stale vs src/mcp/ canonical sources (missing routing project fallback, stale comments).
@@ -1030,12 +780,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1030
780
 
1031
781
  ## [1.3.5] - 2026-08-21
1032
782
 
1033
- ## πŸ†• What's New
783
+ ## Added
1034
784
 
1035
785
  - **PT patterns para delegaΓ§Γ£o (routing.yml)** β€” adiciona 5 padrΓ΅es PT (`procure`/`busque`/`encontre`/`localize`/`pesquise`) ao `intent_gate` research β†’ apollo, corrigindo detecΓ§Γ£o de intenΓ§Γ£o para prompts em portuguΓͺs (PR #61).
1036
786
  - **Zeus read guard (delegation-enforce.ts + plugin.ts)** β€” `ZEUS_READ_DENY_PATTERNS` bloqueia `src`/`tests`/`scripts`/`glob`/`grep` por Zeus via `tool.execute.before` (primeiro guard da cadeia); `ALLOWED_PATHS` libera `.md` e `.pantheon/memories`; 10 casos de teste em `tests/pantheon/delegation-enforce.test.ts`; `apollo.md`/`gaia.md` com `visible:false` e `tools.task:false` para depth-1 (PR #61).
1037
787
 
1038
- ## 🐞 Fixed
788
+ ## Fixed
1039
789
 
1040
790
  - **session-guard + retry helper (session-guard.ts + zeus-delegate-with-retry.ts)** β€” guard de `session_id` e helper `zeusDelegateWithRetry` com retry/backoff para delegaΓ§Γ΅es; `goal-loop.ts`/`todo-enforcer.ts`/`todo-preserve.ts`/`delegation.ts` ajustados (PR #61).
1041
791
  - **validate doctor filter (scripts/doctor.mjs)** β€” `isValidAgentFile` verifica frontmatter YAML (`name`/`description`/`mode`) para filtrar `README.md` e docs nΓ£o-agente de `getCanonicalAgentNames`/`deriveInstalledAgentFiles`; evita contagem espΓΊria no `doctor` (PR #61).
@@ -1046,7 +796,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1046
796
 
1047
797
  ## [v1.3.4] - 2026-08-11
1048
798
 
1049
- ## πŸ†• What's New
799
+ ## Added
1050
800
 
1051
801
  - **Compaction summary V2** (preservation directive + mission/todo/delegation sections): `buildCompactionContext` is now async and accepts goal/todo sources β€” `PANTHEON_COMPACTION_DIRECTIVE` prefix section (emitted before any other section, skipped on totally-empty state), `<mission_context>` with active goals (id/objective/status), `<todo_context>` with pending (not completed/cancelled) todos; delegation blocks byte-for-byte unchanged; failing/disabled sources are skipped fail-open (logged to hooks.log)
1052
802
  - **Post-compaction todo preservation**: TodoPreserver captures the session's todo list on `experimental.session.compacting`, activates the snapshot on `session.compacted`, and rewrites the first post-compaction `todowrite` with the exact pre-compaction list β€” additive + fail-open (every step degrades to a logged warn, never throws in a hook)
@@ -1058,7 +808,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1058
808
  - **README docs**: 1.3.4 compaction + delegation features documented
1059
809
  - **Zero chat-notification policy**: removed the `chat.message` injection channel for delegation signals β€” completion visibility lives in the board `[unread]` marker, `pantheon_delegation_read`, TUI toasts and compaction carry-forward, never in the chat transcript
1060
810
 
1061
- ## 🐞 Fixed
811
+ ## Fixed
1062
812
 
1063
813
  - **Delegate dispatch with missing provider API key** (P1): `resolveChildModel` never checked whether the resolved model's provider had a configured API key β€” a child dispatched to a keyless provider (e.g. gpt-5.6-luna/opencode-go) died instantly with `AI_LoadAPIKeyError`. Auto-resolved models (agentModels/preset) whose provider key is missing now fall back to `opencode/deepseek-v4-flash-free`; explicit caller models are respected (warned); when nothing is usable the tool returns a clear error TEXT and registers NO job on the board
1064
814
  - **delegations.log typing**: `task_id` was always `""` (now omitted when empty) and `duration_ms` was logged as a STRING (now parsed to a number, null when unset), breaking downstream aggregation
@@ -1072,17 +822,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1072
822
 
1073
823
  ## [v1.3.3] - 2026-08-11
1074
824
 
1075
- ## πŸ†• What's New
825
+ ## Added
1076
826
 
1077
827
  - **Todo continuation enforcer**: auto-continues sessions with incomplete todos on `session.idle` (4 guards: board-running, in-flight, exponential cooldown, max-failures cap) + kill-switch `PANTHEON_TODO_ENFORCER=off`
1078
828
  - **Hashline hash-anchored edits**: `hashline_edit` tool with sha256-truncated line tags, additive read enhancer, validate-before-write with `>>>` mismatch hints + Did-you-mean suggestions; blocked in read-only sessions
1079
- - **Full-auto goal loop** (opt-in `full_auto.enabled: false`): `pantheon_goal_create/update/get` tools, atomic GoalStore, priority idle dispatcher (goal suppresses enforcer), max 25 continuations
829
+ - **Full-auto goal loop:** `pantheon_goal_create/update/get` tools, atomic GoalStore, priority idle dispatcher (active goal suppresses enforcer), max 25 continuations. The loop is disabled by the hard-coded plugin defaults; `routing.yml` documents defaults and guards but does not enable it.
1080
830
  - **Dispatch retry-on-empty**: classifies empty results (mode 1: 0 tokens; mode 2: reasoning without text) with cap-1 automatic retry
1081
831
  - **Cost tracking**: JSONL ledger + `pantheon_cost` command reading opencode.db (zero-dep, node:sqlite β†’ scripts/cost.mjs fallback)
1082
832
  - **Themis phase reviews** route to deepseek-v4-flash (pro reserved for final release gate); Athena stays premium (council red-line)
1083
833
  - **Routing config**: `background_delegation`, `todo_enforcer`, `hashline`, `full_auto` sections
1084
834
 
1085
- ## 🐞 Fixed
835
+ ## Fixed
1086
836
 
1087
837
  - **Delegation killer**: chat.message hook injected reminders with empty messageID on the subagent promptAsync path β€” opencode schema rejected it, killing every background delegation in ~20ms (found by live E2E smoke)
1088
838
  - **Delegation child model routing**: child sessions now inherit the routed model (explicit arg β†’ routing.yml agent entry β†’ active preset) instead of falling back to the key-gated default (E2E: AI_LoadAPIKeyError without an active preset)
@@ -1092,13 +842,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1092
842
 
1093
843
  ## [v1.3.2] - 2026-08-09
1094
844
 
1095
- ## πŸ†• What's New
845
+ ## Added
1096
846
 
1097
847
  - **Sandbox validation**: added the `sandbox` doctor profile and regression coverage for npm tarball contents, installed hook resolution, doctor status handling, MCP runtime smoke checks, and related CLI/install contracts.
1098
848
  - **Package portability**: distributed configuration no longer retains checkout-specific machine paths; managed hooks are resolved from the installed package during install/sync.
1099
849
  - **Doctor contract**: exit statuses now distinguish success (`0`), advisory warnings (`1`), and blocking errors (`>=2`).
1100
850
 
1101
- ## 🐞 Fixed
851
+ ## Fixed
1102
852
 
1103
853
  - **Global installation diagnostics**: clarified the distinction between advisory doctor warnings and blocking failures.
1104
854
 
@@ -1106,14 +856,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1106
856
 
1107
857
  ## [v1.3.1] - 2026-08-08
1108
858
 
1109
- ## πŸ†• What's New
859
+ ## Added
1110
860
 
1111
861
  - **Release validation coverage**: hook-runner spawn/timeout/SIGKILL handling with process-group cleanup; scanner fixtures that avoid accidental false positives; doctor `global`, `lite`, and `sandbox` profiles with explicit PASS/WARN/ERROR/SKIP statuses; `run-test.sh` exit semantics; and sandbox validation coverage.
1112
862
  - Local validation logs are ignored via `logs/` because they are generated diagnostics, not release artifacts or source files.
1113
863
 
1114
864
  ## [v1.3.0] - 2026-08-06
1115
865
 
1116
- ## πŸ†• What's New
866
+ ## Added
1117
867
 
1118
868
  - **Non-invasive TUI notifications**: hook failures no longer write to `console.error` (TUI pollution) β€” non-zero exits route to three non-TUI channels: deduped TUI toast (`client.tui.showToast`), structured `client.app.log` entry (service `pantheon-hooks`), and `.pantheon/logs/hooks.log` file append; `PANTHEON_HOOKS_LOG=1` opt-in preserved, routed to log channels only
1119
869
  - **Delegation lifecycle toasts**: πŸš€ `<agent> em execuΓ§Γ£o` / βœ… `<agent> concluiu` with anti-spam (2000ms rate limiter + 3-agents-in-6s aggregation into a single summary toast)
@@ -1128,20 +878,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1128
878
  - Secret-scan hygiene: wildcard notation for credential references (no literal keys in versioned docs/comments)
1129
879
  - README: hooks testing docs + `PANTHEON_TOASTS` table with council; AGENTS.md adds "PRs always update the README" convention
1130
880
 
1131
- ## 🐞 Fixed
881
+ ## Fixed
1132
882
 
1133
883
  - Council toast idle-flush race condition
1134
884
 
1135
885
  ## [v1.2.2] - 2026-08-05
1136
886
 
1137
- ## πŸ†• What's New
887
+ ## Added
1138
888
 
1139
889
  - **`pantheon prune`** (#22): legacy cleanup command β€” XDG-aware config resolution, `--dry-run` default (list only), `--apply` removes stale `opencode.json.bak*` backups (age threshold), `--apply --remove-dirs` for legacy dirs with dead configs; old global `pantheon` installs are suggested for manual `npm uninstall -g pantheon`, never removed (npm-managed)
1140
890
  - **Release pipeline standardization** (PR #28): single source of truth for version in `scripts/versioning.mjs` (sem-tag aware); CHANGELOG repair (normalized broken `[5.0.0]` heading β†’ `[1.0.0]`, stripped `[v` prefixes across 3.x history, added `[Unreleased]`); `release.yml` redesigned with idempotent gates (skips publish when version already exists); new `scripts/changelog-extract.mjs` and `scripts/version-check.mjs` (+ test suites) so release bodies use real changelog sections; commitlint extended to cover pushes; pre-commit gate added; `cliff.toml` (git-cliff) removed; `docs/RELEASING.md` added; ADR-0007
1141
891
  - **Test wiring + install docs** (PR #31): `test:security` extended with `test_doctor_layers`; Node test suite wired via `npm run test:node` (`node --test tests/*.mjs` β€” prune, hook-runner, plugin-log-policy, install/vision contracts, changelog/version checks) into CI; global-install sandbox documented in AGENTS.md / INSTALLATION.md
1142
892
  - Dead `src/mcp/requirements-mcp-core.txt` catalog duplicate (YAGNI β€” the installer uses `requirements-mcp.txt`)
1143
893
 
1144
- ## 🐞 Fixed
894
+ ## Fixed
1145
895
 
1146
896
  - **Reliable global install** (PR #26): hooks plugin recreated (`pantheon-hooks.ts` + `hook-runner.ts` with stdin JSON protocol, version-proof); MCP install made hermetic (absolute paths); packaging fix (`files[]` += `src/plugins/**`, `scripts/hooks/**`, self-reference removed, pinned `@opencode-ai/plugin` 1.18.11); `import uuid` hotfix in `scripts/mcp_persistence_server.py`
1147
897
  - **Installer/plugin packaging paths** (PR #31): hooks plugin registered via `resolveInstalledPlugin` so the config points at the INSTALLED package path, never the developer's absolute path (#30); TUI registered with absolute dist path in `tui.json` (#32 β€” relative path caused NpmInstallFailedError); TUI reads its installed package version via `import.meta.url` (works from any cwd)
@@ -1152,7 +902,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1152
902
 
1153
903
  ## [v1.2.1] - 2026-08-03
1154
904
 
1155
- ## πŸ†• What's New
905
+ ## Added
1156
906
 
1157
907
  - **Model routing presets + interactive picker**: 4 presets (go-deepseek, go-premium, go-fast, go-free), zero-mutation default (injects only when `active-preset.json` exists), `set-tier` CLI in `bin/pantheon-init.mjs` with API-key fail-fast, interactive picker in `scripts/install/model-picker.mjs` (atomic write + .bak), `validate-routing.mjs` preset validation, packaging fix so `src/pantheon/**` ships in the tarball
1158
908
  - 4 new provider families β€” go-claude (Anthropic), go-openai, go-olympus, go-muses presets + `CAPABILITY_TABLE` (+11 entries: glm-5.1/5.2, kimi-k2.6, qwen3.7-max/plus, minimax-m2.7/m2.5, bare deepseek-v4-pro/flash, big-pickle, nemotron-3-ultra-free, north-mini-code-free)
@@ -1172,7 +922,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1172
922
  - TUI todo-progress bar (redundant with native TODO + sidebar), v1.1.1
1173
923
  - Duplicate `scripts/scrub_secrets.py` (canonical is `scrub-secrets.py`)
1174
924
 
1175
- ## 🐞 Fixed
925
+ ## Fixed
1176
926
 
1177
927
  - Plugin export as function for opencode 1.18.11 API (object export failed to load; hooks.config mutates config in place)
1178
928
  - Vision pipeline: plugin boot failure (legacy loader), MCP tool ID (`pantheon_vision_vision_describe`), gateway 401 (provider prefix stripped from model ID), temp-file race (age-guarded cleanup, dir never removed), image stripping at source (deepseek-v4-flash declared image-capable), gateway-aware qwen interception, MCP availability verified, refcounted shared temp images, file URLs decoded via `fileURLToPath`, temp image permissions restricted
@@ -1187,7 +937,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1187
937
 
1188
938
  ## [v1.2.0] - 2026-07-30
1189
939
 
1190
- ## πŸ†• What's New
940
+ ## Added
1191
941
 
1192
942
  - **Fallback chains + auto CI retry**: per-agent fallback chains (hermesβ†’talosβ†’athena, apolloβ†’athenaβ†’hermes, etc.), CI retry 1 β†’ 2 with exponential backoff + fallback agent, token tracking in `subtask_summary`, `fallback_chains` section in routing.yml
1193
943
  - Zeus Fusion-style delegation enforced β€” `edit:deny`, `bash:deny`, never touches files
@@ -1200,7 +950,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1200
950
  - Persistence docs updated for new tools and auto-purge behavior
1201
951
  - commitlint scopes completed; auto-release skipped when version already exists
1202
952
 
1203
- ## 🐞 Fixed
953
+ ## Fixed
1204
954
 
1205
955
  - Council fixes: UUID session isolation in context checkpoints, pre-compaction state save trigger, flash summary quality floor (<10 chars β†’ fallback to Zeus), agents recall `context_get(slug, 'latest')` on startup
1206
956
  - CI: push triggers removed β€” validation workflows (CI, commitlint, CodeQL, hotfix, docs) now run on `pull_request` only, eliminating perma-pending duplicate checks
@@ -1209,7 +959,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1209
959
 
1210
960
  ## [v1.0.0] - 2026-07-24
1211
961
 
1212
- ## πŸ†• What's New
962
+ ## Added
1213
963
 
1214
964
  - **OpenCode-only**: Removed all multi-platform support (Claude Code, Cursor, Windsurf, Cline, Continue.dev, VS Code Copilot). Pantheon v1.0 is exclusively for OpenCode.
1215
965
  - **Global installation**: `npx pantheon-opencode init` installs agents globally to `~/.config/opencode/agents/`. Optional `--project` flag for project-local install.
@@ -1235,14 +985,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1235
985
 
1236
986
  ## [v1.1.1] - 2026-07-30
1237
987
 
1238
- ## πŸ†• What's New
988
+ ## Added
1239
989
 
1240
990
  - New release system β€” beta releases from PR labels, stable from main push (auto-release and beta-release workflows unified)
1241
991
  - Interactive TUI mode for installer (Fases 1+2) β€” redesigned sidebar with context progress bar, live session data via events + API
1242
992
  - Session-scoped context checkpoints in persistence (index, stats, auto-purge, `delete_namespace`); fallback chains, auto CI retry (2x), token tracking
1243
993
  - Slash commands consolidated from 16 to 5; redundant model configs removed (agents inherit the default model)
1244
994
 
1245
- ## 🐞 Fixed
995
+ ## Fixed
1246
996
 
1247
997
  - Council: UUID session isolation in context checkpoints, pre-compaction state save, flash summary quality floor, agents recall `context_get(slug, 'latest')` on startup
1248
998
  - TUI plugin/CI: OpenCode crash from missing plugin deps, version detection with git fallback, commitlint scopes, workflow YAML/MCP path repairs; `datetime.UTC` β†’ `timezone.utc` for Python < 3.11
@@ -1251,7 +1001,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1251
1001
 
1252
1002
  ## [v1.1.0] - 2026-07-26
1253
1003
 
1254
- ## πŸ†• What's New
1004
+ ## Added
1255
1005
 
1256
1006
  - Council synthesis Fase 1+2 β€” Modo Desempate com EvidΓͺncia + BackgroundJobBoard (#2)
1257
1007
  - Beta release workflow added (from develop)
@@ -1260,7 +1010,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1260
1010
 
1261
1011
  ## [v1.0.7] - 2026-07-26
1262
1012
 
1263
- ## 🐞 Fixed
1013
+ ## Fixed
1264
1014
 
1265
1015
  - Installer: fixed `writeFileSync` not defined error
1266
1016
 
@@ -1268,13 +1018,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1268
1018
 
1269
1019
  ## [v1.0.6] - 2026-07-26
1270
1020
 
1271
- ## πŸ†• What's New
1021
+ ## Added
1272
1022
 
1273
1023
  - 7 new skills (codemap, simplify, reflect, worktrees, verification-planning, loop-engineering, clonedeps) + 7 matching commands; `background_subagents` enabled by default in canonical config
1274
1024
  - Release pipeline: quality gates, tag creation, pre-release, hotfix support
1275
1025
  - CI simplified from 10 to 6 workflows; agent/skill restructuring β€” 12 redundant instructions removed, unused commands dropped, gaia archived then restored
1276
1026
 
1277
- ## 🐞 Fixed
1027
+ ## Fixed
1278
1028
 
1279
1029
  - CI/commitlint config (YAML syntax, header-max-length, ignores function, scopes); 45 stale references cleaned across 18 files; invalid `opencode.json` fields removed; installer copies `routing.yml`; YAML frontmatter regenerated for 9 agents
1280
1030
 
@@ -1282,7 +1032,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1282
1032
 
1283
1033
  ## [v1.0.5] - 2026-07-26
1284
1034
 
1285
- ## 🐞 Fixed
1035
+ ## Fixed
1286
1036
 
1287
1037
  - CI auto-release with OIDC trusted publisher + npm v12 (Node 22 upgrade, clean publish)
1288
1038
  - `doctor.mjs` paths + simplified `prepublishOnly`
@@ -1291,12 +1041,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1291
1041
 
1292
1042
  ## [v1.0.2] - 2026-07-25
1293
1043
 
1294
- ## πŸ†• What's New
1044
+ ## Added
1295
1045
 
1296
1046
  - TUI plugin: copy logic, stale skill cleanup, `tui.json` dedup; advanced plugin with version detection and 14 commands
1297
1047
  - Agents migrated from deprecated `tools:` to OpenCode `permission:` model; legacy multi-platform tests removed (OpenCode-only conformance); docs modernized (OpenCode-only, unified commands)
1298
1048
 
1299
- ## 🐞 Fixed
1049
+ ## Fixed
1300
1050
 
1301
1051
  - Hardcoded version fallback replaced with package.json version; routing aligned with actual skills (vscode platform removed)
1302
1052
 
@@ -1304,7 +1054,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1304
1054
 
1305
1055
  ## [v1.0.1] - 2026-07-24
1306
1056
 
1307
- ## πŸ†• What's New
1057
+ ## Added
1308
1058
 
1309
1059
  - Installer: unified setup flow, removed lifecycle install, fixed entry points
1310
1060
 
@@ -1312,7 +1062,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1312
1062
 
1313
1063
  ## [v3.19.2] - 2026-07-21
1314
1064
 
1315
- ## πŸ†• What's New
1065
+ ## Added
1316
1066
 
1317
1067
  - `_pantheon_paths.py` β€” shared path resolution (`PANTHEON_HOME`, `PANTHEON_PROJECT`)
1318
1068
  - `pantheon-persistence` MCP β€” KV store with SQLite FTS5, TTL, namespaces, 6 tools
@@ -1337,7 +1087,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1337
1087
  - 9 duplicate instructions (now skills on-demand)
1338
1088
  - `multi-model-routing` from prometheus (deleted skill)
1339
1089
 
1340
- ## 🐞 Fixed
1090
+ ## Fixed
1341
1091
 
1342
1092
  - 157 dangling instruction references across 6 platforms
1343
1093
  - YAML frontmatter in all 14 agents (broken by previous sed edits)
@@ -1345,7 +1095,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1345
1095
 
1346
1096
  ## [v3.19.0] - 2026-07-21
1347
1097
 
1348
- ## πŸ†• What's New
1098
+ ## Added
1349
1099
 
1350
1100
  - Memory Persistence Protocol (ADR-006) β€” agents now have mandatory `memory_recall()` pre-work (top_k=3, skip if score<0.3) and `memory_store()` post-work (2 lines max, importance 0.4-0.9)
1351
1101
  - Session-end auto-save script (`.pantheon/code-mode/session-end-save.py`) β€” exports Vector DB entries with importance β‰₯0.4 at session close (ChromaDB direct read + client-side filtering)
@@ -1381,7 +1131,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1381
1131
  - Memory Persistence Protocol documented as ADR-006
1382
1132
  - `.config/opencode/` fully synced from canonical Pantheon (14 agents + 10 instructions)
1383
1133
 
1384
- ## 🐞 Fixed
1134
+ ## Fixed
1385
1135
 
1386
1136
  - 33 dangling `docs/memory-bank/` references fixed across platform configs (`.claude/`, `.cursor/`, `.windsurf/`, `.continue/`, `.clinerules/`, `.github/`, `memories/`, `platform/`, `template/`, `.opencode/skills/`, `.tests/`)
1387
1137
  - `.pantheon/memory-bank/.tmp/` added to `.gitignore`
@@ -1403,7 +1153,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1403
1153
 
1404
1154
  ## [v3.17.1] - 2026-07-14
1405
1155
 
1406
- ## πŸ†• What's New
1156
+ ## Added
1407
1157
 
1408
1158
  - Inline compression triggers (C8/C9/C11): implementation agents (Hermes, Aphrodite, Demeter, Hephaestus, Prometheus) now declare `context-compression` skill and have a concise `## Inline Compression` section covering CRITICAL/HIGH subtask summaries, pre-delegation large blocks, and phase boundaries/handoffs
1409
1159
  - `tests/test_code_mode_args.py`: TDD coverage for the new `args` parameter forwarding
@@ -1411,7 +1161,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1411
1161
  - Agent `.md` files: `context-compression` added to `skills:` frontmatter for all 5 implementation agents
1412
1162
  - `instructions/artifact-protocol.instructions.md`: scrub documented as automatic via MCP layer
1413
1163
 
1414
- ## 🐞 Fixed
1164
+ ## Fixed
1415
1165
 
1416
1166
  - `execute_code_script` now forwards CLI arguments to subprocess β€” `compress-inline.py` is reachable via MCP (fixes argparse code 2 error)
1417
1167
  - Unified scrubber: 3 divergent implementations consolidated into single canonical `scripts/scrub-secrets.py`, imported by both `memory_mcp_server.py` and `compress-inline.py` via `importlib` (hyphenated filename cannot be statically imported)
@@ -1419,7 +1169,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1419
1169
 
1420
1170
  ## [v3.17.0] - 2026-07-11
1421
1171
 
1422
- ## πŸ†• What's New
1172
+ ## Added
1423
1173
 
1424
1174
  - Pantheon TUI Plugin overhaul: sidebar modernization, clickable commands, dynamic Python version
1425
1175
  - MCP Config section in TUI: list active plugins, MCP status, auto-compaction toggle
@@ -1437,7 +1187,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1437
1187
  - Updated 65+ source files with new .pantheon/ paths
1438
1188
  - `docs/memory-bank/` from git history (fully purged via filter-repo)
1439
1189
 
1440
- ## 🐞 Fixed
1190
+ ## Fixed
1441
1191
 
1442
1192
  - TUI plugin path in tui.json (was pointing to non-existent file)
1443
1193
  - OpenCode MCP config format (command must be array + cwd)
@@ -1446,7 +1196,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1446
1196
 
1447
1197
  ## [v3.16.0] - 2026-07-10
1448
1198
 
1449
- ## πŸ†• What's New
1199
+ ## Added
1450
1200
 
1451
1201
  - MCP Resources Support: pantheon://agents, skills, routing, deepwork, memory-bank
1452
1202
  - Code Mode MCP Adapter: confined script execution from .pantheon/code-mode/
@@ -1465,7 +1215,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1465
1215
  - memory_export: restricted to ~/.pantheon/exports/ with path traversal check
1466
1216
  - Content size limit: 100KB max, 500 char category
1467
1217
 
1468
- ## 🐞 Fixed
1218
+ ## Fixed
1469
1219
 
1470
1220
  - memory_sessions dead code (always returned empty results)
1471
1221
  - install-mcp.mjs filename: dash β†’ underscore
@@ -1474,7 +1224,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1474
1224
 
1475
1225
  ## [v3.15.0] - 2026-06-26
1476
1226
 
1477
- ## πŸ†• What's New
1227
+ ## Added
1478
1228
 
1479
1229
  - **Level 3 Vector Memory:** 5 scripts (`schema.py`, `index.py`, `query.py`, `rebuild.py`, `cli.py`) with dual indexing (FTS5 + optional sqlite-vec embeddings), 8/8 tests passing, 120 entries indexed from memory bank
1480
1230
  - **Two-Tier Persistence Model:** Tier 1 auto-index (`quick_index()`) saves background agent results instantly into Vector Memory; Tier 2 full compression (ZZ artifact + memory bank update) only on Themis APPROVED
@@ -1491,27 +1241,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1491
1241
  - **TASK-016:** Level 3 Implementation Plan β€” 24 tasks across 5 phases
1492
1242
  - **01-active-context.md:** Updated with deepwork v3.15 changes and Two-Tier model
1493
1243
 
1494
- ## 🐞 Fixed
1244
+ ## Fixed
1495
1245
 
1496
1246
  - **Import Path in Vector Memory Scripts:** `sys.path` now correctly points to parent of `vector_memory/` package, enabling both direct execution and `python -m` usage
1497
1247
 
1498
1248
  ## [v3.14.1] - 2026-06-21
1499
1249
 
1500
- ## πŸ†• What's New
1250
+ ## Added
1501
1251
 
1502
1252
  - **Pantheon-Context MCP Experiment:** Removed entire `scripts/pantheon-context-mcp/` directory (server.py, scoring.py, summarizer.py, tests β€” 12 files, ~1,200 lines)
1503
1253
  - **Stale Agent References:** Stripped `pantheon-context` tool references from all 14 agent files, `.mcp.json`, `opencode.json`, `ROADMAP.md`
1504
1254
  - **Auto-Release CI:** Removed `.github/workflows/auto-release.yml` (triggered broken v3.14.0 release on every push to main)
1505
1255
  - **TUI Sidebar Plugin:** Rewrote from flat file to npm-style directory (`plugins/pantheon-tui/` with `index.tsx`, `package.json`, `dist/tui.tsx`). New features: real context usage bar (color thresholds 70%/90%), collapsible command guide (16 `/pantheon` commands), manual compress button, Python version display, collapsible agent registry
1506
1256
 
1507
- ## 🐞 Fixed
1257
+ ## Fixed
1508
1258
 
1509
1259
  - **Install Script:** `scripts/install/opencode.mjs` now correctly copies npm-style plugin directory and registers in `tui.json` (not `opencode.json` β€” TUI plugins use separate registration)
1510
1260
  - **CI Release Pipeline:** Added `dry_run` input to manual release workflow, removed auto-merge from release PRs, fixed duplicate steps
1511
1261
 
1512
1262
  ## [v3.14.0] - 2026-06-20
1513
1263
 
1514
- ## πŸ†• What's New
1264
+ ## Added
1515
1265
 
1516
1266
  - **Codebase Audit:** Comprehensive 5-agent scan β€” 48 issues found, all resolved
1517
1267
  - **Mermaid Diagrams:** 5 new diagrams β€” TDD Cycle (stateDiagram-v2), Artifact Lifecycle (flowchart), Council Synthesis (sequenceDiagram), Architecture (flowchart), Delegation Flow (flowchart)
@@ -1523,7 +1273,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1523
1273
  - **Database Standards:** Async SQLAlchemy 2.0 patterns, connection pooling, migration testing, disaster recovery + 2 Mermaid diagrams
1524
1274
  - **Documentation Quality:** "When NOT to Use" sections on all 7 main agents, English-only throughout, ROADMAP.md updated
1525
1275
 
1526
- ## 🐞 Fixed
1276
+ ## Fixed
1527
1277
 
1528
1278
  - **Dead Agent Purge:** Removed ~150+ references to Echo, Chiron, Argus, Agora across 67+ files (agents, platforms, instructions, skills)
1529
1279
  - **Portugueseβ†’English:** `docs/platforms/README.md` fully translated, `agents/prometheus.agent.md` mixed-language fixed
@@ -1537,7 +1287,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1537
1287
 
1538
1288
  ## [v3.13.0] - 2026-06-20
1539
1289
 
1540
- ## πŸ†• What's New
1290
+ ## Added
1541
1291
 
1542
1292
  - **Level 2 Context Compression** β€” priority scoring engine (5 deterministic dimensions: Impact, Risk, Novelty, Blockers, Downstream relevance), semantic summarization templates per agent-pair, budget allocation (100-line cap, priority-greedy), cross-reference mechanism (D/E/M/C IDs with auto-generated `_xref/index.md`), ZZ artifact format for phase-to-phase context injection, `context-compression` skill (Level 2)
1543
1293
  - **New prompts**: `prompts/semantic-summarize.md` for agent-pair aware semantic summarization
@@ -1562,7 +1312,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1562
1312
  - **Sync Check** β€” passing
1563
1313
  - **Auto Release** β€” published at v3.13.0
1564
1314
 
1565
- ## 🐞 Fixed
1315
+ ## Fixed
1566
1316
 
1567
1317
  - **CHANGELOG.md** β€” removed 4 duplicate v3.12.1 entries and empty v3.12.2 section
1568
1318
  - **Frontmatter consistency** β€” all 14 agents now parse cleanly with OpenCode YAML frontmatter
@@ -1584,14 +1334,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1584
1334
 
1585
1335
  [compare changes](https://github.com/ils15/pantheon/compare/v3.11.0...v3.12.0)
1586
1336
 
1587
- ## πŸ†• What's New
1337
+ ## Added
1588
1338
 
1589
1339
  - **agents:** Add anti-stall resilience and orchestration improvements ([7a61b69](https://github.com/ils15/pantheon/commit/7a61b69))
1590
1340
  - **agents:** Add /pantheon-status command with version badge + agent registry ([984ec65](https://github.com/ils15/pantheon/commit/984ec65))
1591
1341
  - **platform:** Add Pantheon TUI sidebar plugin for OpenCode ([09253c1](https://github.com/ils15/pantheon/commit/09253c1))
1592
1342
  - **release:** Sync version to v3.11.0 ([1a9fb64](https://github.com/ils15/pantheon/commit/1a9fb64))
1593
1343
 
1594
- ## 🐞 Fixed
1344
+ ## Fixed
1595
1345
 
1596
1346
  - **ci:** Sync platform files and add mcp-security skill to pass CI ([a27a245](https://github.com/ils15/pantheon/commit/a27a245))
1597
1347
 
@@ -1599,12 +1349,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1599
1349
 
1600
1350
  [compare changes](https://github.com/ils15/pantheon/compare/v3.8.4...v3.9.0)
1601
1351
 
1602
- ## πŸ†• What's New
1352
+ ## Added
1603
1353
 
1604
1354
  - Setup changelogen + git-cliff for auto-releases ([ce4ee22](https://github.com/ils15/pantheon/commit/ce4ee22))
1605
1355
  - Cleanup commands, fix subtask agent, add Context7 tools, improve sync script ([da6ed7c](https://github.com/ils15/pantheon/commit/da6ed7c))
1606
1356
 
1607
- ## 🐞 Fixed
1357
+ ## Fixed
1608
1358
 
1609
1359
  - Add missing closing brace for github configuration in opencode.json ([a63c522](https://github.com/ils15/pantheon/commit/a63c522))
1610
1360
  - Address PR review sync and mapping feedback ([c550049](https://github.com/ils15/pantheon/commit/c550049))