pantheon-opencode 1.6.0-beta.8 β†’ 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 (141) hide show
  1. package/AGENTS.global.md +118 -0
  2. package/AGENTS.md +18 -168
  3. package/CHANGELOG.md +126 -346
  4. package/README.md +83 -608
  5. package/README.pt-BR.md +120 -345
  6. package/bin/pantheon-init.mjs +366 -132
  7. package/commands/pantheon-audit.md +7 -1
  8. package/commands/pantheon-consolidate.md +1 -1
  9. package/commands/pantheon-deepwork.md +14 -3
  10. package/commands/pantheon-focus.md +17 -0
  11. package/commands/pantheon-vision.md +61 -12
  12. package/package.json +19 -11
  13. package/plugin.json +1 -1
  14. package/pyproject.toml +6 -2
  15. package/scripts/_pantheon_paths.py +24 -0
  16. package/scripts/build-agents-md.mjs +368 -69
  17. package/scripts/changelog-merge.mjs +161 -0
  18. package/scripts/check-plugin-v2-coverage.mjs +11 -8
  19. package/scripts/docs-check-changelog.mjs +204 -0
  20. package/scripts/docs-link-check.mjs +314 -0
  21. package/scripts/docs-media.mjs +157 -0
  22. package/scripts/doctor.mjs +828 -40
  23. package/scripts/install/agents-md.mjs +2 -2
  24. package/scripts/install/backup.mjs +648 -0
  25. package/scripts/install/cli-ui.mjs +303 -72
  26. package/scripts/install/component-selection.mjs +61 -0
  27. package/scripts/install/config-migration.mjs +583 -27
  28. package/scripts/install/exit-codes.mjs +26 -0
  29. package/scripts/install/file-inventory.mjs +555 -0
  30. package/scripts/install/health-check.mjs +31 -25
  31. package/scripts/install/interactive.mjs +78 -383
  32. package/scripts/install/migrate.mjs +49 -25
  33. package/scripts/install/model-picker.mjs +218 -250
  34. package/scripts/install/opencode-version.mjs +83 -21
  35. package/scripts/install/opencode.mjs +1465 -180
  36. package/scripts/install/plan-artifact.mjs +517 -0
  37. package/scripts/install/plan.mjs +475 -0
  38. package/scripts/install/plugin.mjs +251 -30
  39. package/scripts/install/prompt-result.mjs +2 -0
  40. package/scripts/install/shared.mjs +256 -99
  41. package/scripts/install/state.mjs +63 -8
  42. package/scripts/install/strings.mjs +60 -4
  43. package/scripts/install/venv.mjs +90 -47
  44. package/scripts/install/verify.mjs +128 -0
  45. package/scripts/install/vision-prompt.mjs +173 -0
  46. package/scripts/install-mcp.mjs +2 -2
  47. package/scripts/manifest-inventory.mjs +49 -3
  48. package/scripts/mcp_persistence.py +1535 -1050
  49. package/scripts/memory_mcp.py +12 -843
  50. package/scripts/node-engine-policy.mjs +85 -0
  51. package/scripts/package-evidence.mjs +10 -2
  52. package/scripts/postinstall.mjs +26 -26
  53. package/scripts/probe-pantheon-cost.mjs +118 -19
  54. package/scripts/prune.mjs +9 -3
  55. package/scripts/reconcile.mjs +325 -0
  56. package/scripts/release-gates.mjs +682 -0
  57. package/scripts/restore.mjs +222 -0
  58. package/scripts/run-node-tests.mjs +24 -8
  59. package/scripts/sync-artifacts.mjs +20 -7
  60. package/scripts/sync-tui.mjs +29 -4
  61. package/scripts/test-opencode-v2-sandbox.sh +36 -123
  62. package/scripts/uninstall.mjs +369 -34
  63. package/scripts/update.mjs +164 -0
  64. package/scripts/validate-node-engine-policy.mjs +13 -0
  65. package/scripts/version-check.mjs +34 -1
  66. package/scripts/versioning.mjs +23 -3
  67. package/scripts/vision-status.mjs +682 -0
  68. package/skills-lock.json +8 -8
  69. package/src/agents/aphrodite.md +13 -10
  70. package/src/agents/apollo.md +4 -5
  71. package/src/agents/athena.md +74 -46
  72. package/src/agents/demeter.md +10 -7
  73. package/src/agents/gaia.md +0 -1
  74. package/src/agents/hephaestus.md +4 -3
  75. package/src/agents/hermes.md +10 -9
  76. package/src/agents/iris.md +6 -1
  77. package/src/agents/mnemosyne.md +14 -15
  78. package/src/agents/nyx.md +4 -4
  79. package/src/agents/prometheus.md +12 -11
  80. package/src/agents/talos.md +6 -0
  81. package/src/agents/zeus.md +84 -56
  82. package/src/instructions/agent-return-format.instructions.md +12 -41
  83. package/src/instructions/memory-protocol.instructions.md +5 -11
  84. package/src/instructions/test-economy.instructions.md +12 -0
  85. package/src/instructions/yagni.instructions.md +6 -15
  86. package/src/instructions/zeus-anti-stall.instructions.md +6 -6
  87. package/src/instructions/zeus-communication-rules.instructions.md +6 -6
  88. package/src/instructions/zeus-council-synthesis.instructions.md +11 -12
  89. package/src/instructions/zeus-memory-operations.instructions.md +13 -7
  90. package/src/instructions/zeus-timeout-retry.instructions.md +36 -10
  91. package/src/mcp/_pantheon_paths.py +24 -0
  92. package/src/mcp/mcp_codemap_module.py +86 -18
  93. package/src/mcp/mcp_persistence.py +1535 -1050
  94. package/src/mcp/memory_mcp.py +444 -94
  95. package/src/mcp/pantheon_vision.py +285 -41
  96. package/src/mcp/requirements-mcp.txt +5 -0
  97. package/src/pantheon/context-pruner.ts +541 -0
  98. package/src/pantheon/cost-command.ts +814 -60
  99. package/src/pantheon/goal-loop.ts +11 -8
  100. package/src/pantheon/memory-context.ts +1017 -0
  101. package/src/pantheon/model-agents.ts +19 -0
  102. package/src/pantheon/model-command.ts +218 -56
  103. package/src/pantheon/model-pricing.ts +536 -0
  104. package/src/pantheon/presets.mjs +2 -0
  105. package/src/pantheon/task-result-guard.ts +50 -14
  106. package/src/pantheon/v2-bounded-read.ts +640 -0
  107. package/src/pantheon/v2-delegation-enforce.ts +133 -6
  108. package/src/pantheon/v2-execute-after.ts +135 -24
  109. package/src/pantheon/v2-model-overrides.ts +275 -0
  110. package/src/pantheon/v2-tools.ts +89 -35
  111. package/src/pantheon/v2-unsupported.mjs +2 -3
  112. package/src/pantheon/v2-vision.ts +622 -0
  113. package/src/pantheon/vision-local.ts +531 -0
  114. package/src/pantheon/vision.ts +1160 -115
  115. package/src/plugin-v2.ts +654 -162
  116. package/src/plugin.ts +15 -11
  117. package/src/plugins/tui/dist/tui-v2.d.ts +1036 -0
  118. package/src/plugins/tui/dist/tui-v2.d.ts.map +1 -0
  119. package/src/plugins/tui/dist/tui-v2.js +3808 -0
  120. package/src/plugins/tui/dist/tui-v2.js.map +1 -0
  121. package/src/plugins/tui/dist/tui.js +4 -4
  122. package/src/plugins/tui/index-v2.ts +6 -0
  123. package/src/plugins/tui/package-lock.json +5416 -1297
  124. package/src/plugins/tui/package.json +14 -10
  125. package/src/plugins/tui/src/index-v2.tsx +4372 -0
  126. package/src/plugins/tui/src/index.tsx +3 -3
  127. package/src/plugins/tui/src/opencode-v2.d.ts +13 -0
  128. package/src/plugins/tui/tsconfig.typecheck.json +5 -0
  129. package/src/plugins/tui/tsdown.config.ts +2 -2
  130. package/src/plugins/tui/tui-v2.ts +2 -0
  131. package/src/plugins/tui/tui.ts +3 -0
  132. package/src/routing.yml +50 -5
  133. package/src/skills/agent-coordination/SKILL.md +7 -2
  134. package/src/skills/artifact-management/SKILL.md +5 -1
  135. package/src/skills/auto-continue/SKILL.md +14 -6
  136. package/src/skills/codemap/SKILL.md +1 -1
  137. package/src/skills/memory-bank/SKILL.md +21 -13
  138. package/src/skills/session-goal/SKILL.md +14 -15
  139. package/src/skills/spec-driven-development/SKILL.md +3 -1
  140. package/src/skills/worktrees/SKILL.md +30 -11
  141. package/scripts/probe-context-rehydrate.mjs +0 -263
package/CHANGELOG.md CHANGED
@@ -10,287 +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.8] - 2026-10-11
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
- ## 🐞 Fixed
27
-
28
- - **opencode-v2** β€” repair session lookup and beta sandbox reuse
29
- - **scripts** β€” isolate beta background service port
30
- ## [v1.6.0-beta.7] - 2026-10-10
31
-
32
- &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
33
- move this section to a versioned entry and reset the template below. --&gt;
34
-
35
- ## πŸ†• What's New
36
-
37
- - **PermissΓ΅es MCP nativas por agente no OpenCode V1 e V2.** O instalador
38
- converte a allowlist `mcp_tools` de cada agente em regras nativas: nega por
39
- padrΓ£o os servidores Pantheon omitidos, libera apenas as ferramentas
40
- declaradas e preserva MCPs de terceiros. O V2 mantΓ©m os servidores
41
- conectados; as regras limitam quais ferramentas cada agente vΓͺ.
42
- - **Guarda V2 de delegaΓ§Γ£o alinhada ao contrato de permissΓ΅es.** Os hooks de
43
- permissΓ£o e de sessΓ£o aplicam as restriΓ§Γ΅es de sessΓ£o somente-leitura e a
44
- matriz caller→target sem conceder acesso além do configurado pelo host.
45
- - **Menos chamadas automΓ‘ticas de memΓ³ria e compressΓ£o.** A busca de contexto
46
- do Zeus reutiliza o resultado de inΓ­cio de tarefa, e o protocolo de
47
- compressΓ£o deixa de recomendar pipelines automΓ‘ticos extensos.
48
- - **Prova de identidade da instalaΓ§Γ£o do sandbox.** O teste global compara a
49
- versΓ£o e arquivos do pacote instalado com este checkout e rejeita referΓͺncias
50
- npm antigas nas configuraΓ§Γ΅es ativas antes de validar o runtime.
51
- - O `--prepare` agora gera `start-pantheon.sh` para abrir o TUI interativo com o
52
- beta instalado e HOME, configuraΓ§Γ£o XDG, projeto e banco de dados isolados do
53
- sandbox. O launcher fixa a porta do serviΓ§o gerenciado em `49376` e falha sem
54
- parar serviΓ§os existentes se a porta dedicada jΓ‘ estiver ocupada.
55
-
56
- ## 🐞 Fixed
57
-
58
- - ReferΓͺncias versionadas/alias do pacote Pantheon que sobravam na lista
59
- `plugins` agora sΓ£o reconhecidas pelo instalador e substituΓ­das pelo caminho
60
- do plugin local correto, sem afetar plugins de terceiros com nomes parecidos.
61
- - A suΓ­te CI foi separada do caminho crΓ­tico de instalaΓ§Γ£o/empacotamento para
62
- reduzir o tempo atΓ© o resultado das verificaΓ§Γ΅es do pacote.
63
- - O `run-test.sh` gerado agora define seu timeout do `mcp list` antes do uso
64
- sob `set -u`; antes, a variΓ‘vel ausente interrompia o teste antes de chamar
65
- o CLI. A saΓ­da do comando tambΓ©m fica disponΓ­vel quando o gate falha.
66
-
67
- ## ⚠️ Known Issues
68
-
69
- - **A delegaΓ§Γ£o real ainda precisa de confirmaΓ§Γ£o nesta beta.** O teste manual
70
- anterior de `HERMES-PONG` foi negado com
71
- `Pantheon delegation denied: authoritative caller session is unavailable`;
72
- a correΓ§Γ£o de permissΓ΅es e a instalaΓ§Γ£o isolada precisam ser verificadas no
73
- TUI OpenCode V2 antes de considerar a delegaΓ§Γ£o validada.
74
- ## [v1.6.0-beta.6] - 2026-10-05
75
-
76
- &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
77
- move this section to a versioned entry and reset the template below. --&gt;
78
-
79
- ## πŸ†• What's New
80
-
81
- - **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.
82
-
83
- ## 🐞 Fixed
84
-
85
- - **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.
86
- - **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.
87
- - **`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.
88
- ## [v1.6.0-beta.5] - 2026-10-05
89
-
90
- &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
91
- move this section to a versioned entry and reset the template below. --&gt;
92
-
93
- ## πŸ†• What's New
94
-
95
- - **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**.
96
- - **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`.
97
- - **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.
98
- - **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`.
99
- - **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.
100
-
101
- ## 🐞 Fixed
102
-
103
- - **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**.
104
- - **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.
15
+ ### Added
105
16
 
106
- ## ⚠️ Known 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.
107
27
 
108
- - **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`.
109
- - **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.
110
- - **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.
28
+ ### Changed
111
29
 
112
- ## βœ… Closed Issues
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.
113
34
 
114
- - **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.
115
- ## [v1.6.0-beta.4] - 2026-10-03
35
+ ### Deprecated
116
36
 
117
- &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
118
- move this section to a versioned entry and reset the template below. --&gt;
37
+ - V1 `pantheon_goal_create`, `pantheon_goal_update` and `pantheon_goal_get` are soft-deprecated; stored goals no longer continue a session automatically.
119
38
 
120
- ## πŸ†• What's New
39
+ **Upgrade required:** `npm install -g pantheon-opencode@beta && pantheon-opencode update` β€” see [UPGRADING.md](docs/UPGRADING.md).
121
40
 
122
- - **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.
123
- - **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.
41
+ ### Removed
124
42
 
125
- ## 🐞 Fixed
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.
126
48
 
127
- - `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.
128
- - `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.
129
- - `scripts/cost.mjs` duplicava o mesmo bug literal, com o mesmo assert β€” o fallback continuava morto. `probe-pantheon-cost.mjs` acompanha.
130
- - O report agora **declara a cobertura temporal** que ele mediu (janela varrida, linha mais antiga), em vez de apresentar totais como se cobrissem meses.
49
+ **Upgrade required:** `npm install -g pantheon-opencode@beta && pantheon-opencode update` β€” see [UPGRADING.md](docs/UPGRADING.md).
131
50
 
132
- ## ⚠️ Known Issues
51
+ ### Fixed
133
52
 
134
- - 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**.
135
- - 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`.
136
- - `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.
137
- ## [v1.6.0-beta.3] - 2026-10-03
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.
138
59
 
139
- &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
140
- move this section to a versioned entry and reset the template below. --&gt;
60
+ ### Security
141
61
 
142
- ## πŸ†• What's New
143
- - **TrΓͺs ferramentas V2 agora executam de verdade**: `hashline_edit`,
144
- `pantheon_cost` e `pantheon_model` rodam no host `opencode v2.0.x`. Antes
145
- eram placeholders que declaravam sucesso sem fazer nada.
146
- - **Enforcement de sessΓ£o read-only no caminho V2**: `apollo` e `gaia` voltam
147
- a ter escrita bloqueada, com o guard registrado no prΓ³prio plugin V2 β€” sem
148
- depender de uma ponte que a instalaΓ§Γ£o V2 nΓ£o monta.
149
- - **Varredura de segredos de alta confianΓ§a no caminho V2**: o ΓΊnico hard block
150
- de seguranΓ§a que a V1 tinha, e que estava inerte por viver num plugin que a
151
- instalaΓ§Γ£o V2 nΓ£o carrega, passa a rodar.
152
-
153
- ## 🐞 Fixed
154
- - **As 6 ferramentas de plugin do V2 falhavam em 100% das chamadas**:
155
- `hashline_edit`, `pantheon_cost` e `pantheon_model` lanΓ§avam
156
- `Tool result declared output without an output schema` em toda invocaΓ§Γ£o. A
157
- causa era assimetria local β€” `draft.add()` nΓ£o declarava `output` enquanto o
158
- `execute` resolvia `{ output: string }`. O host exige simetria nos dois
159
- sentidos: resultado com `output` e nenhuma declaraΓ§Γ£o lanΓ§a, assim como
160
- declaraΓ§Γ£o sem `output` no resultado. `output` passou a ser **obrigatΓ³rio** na
161
- interface `V2ToolDef`, entΓ£o o compilador exige a declaraΓ§Γ£o daqui em diante.
162
- - **A suΓ­te exigia o defeito**: `tests/pantheon/plugin-v2-contract.test.ts`
163
- afirmava que o resultado carregava `.output` string β€” literalmente a condiΓ§Γ£o
164
- de falha, contra um mock que nΓ£o reproduzia a exigΓͺncia do host. O teste foi
165
- reescrito para o invariante de simetria, contra um mock que constrΓ³i o
166
- `outputSchema` a partir de `def.output` como o host faz
167
- (`output: I.outputSchema ?? {}`), cobrindo as duas direΓ§Γ΅es do bicondicional.
168
- - **A imposiΓ§Γ£o read-only nΓ£o existia na superfΓ­cie V2**: `createEnforcementGuard`
169
- sΓ³ era instanciado em `src/plugin.ts`, que o `opencode.json` da release nΓ£o
170
- declara β€” V2 nunca carrega V1. Com `hashline_edit` funcional, uma sessΓ£o
171
- somente-leitura podia escrever arquivos. O guard passou a ser registrado no
172
- hook `execute.before` do V2, e `pantheon_model` β€” que escreve
173
- `active-preset.json` em escopo project e global β€” foi acrescentado a
174
- `DEFAULT_BLOCKED_TOOLS`, o que corrige tambΓ©m a V1. `pantheon_cost` ficou de
175
- fora de propΓ³sito: sΓ³ lΓͺ `opencode.db`.
176
- - **O ΓΊnico hard block de seguranΓ§a da V1 estava inerte**: o scan de segredos de
177
- alta confianΓ§a vivia em `src/plugins/pantheon-hooks.ts`, um plugin que a
178
- instalaΓ§Γ£o V2 nΓ£o carrega β€” inerte por construΓ§Γ£o, nΓ£o por mΓ‘ configuraΓ§Γ£o.
179
- Passou a rodar dentro do `execute.before` do V2
180
- (`scripts/hooks/scan-secrets.sh`; exit 2 bloqueia, exit 1 Γ© advisory e sΓ³
181
- registra). O caminho do script foi verificado a partir do tarball instalado,
182
- nΓ£o sΓ³ do repo.
183
- - **Cinco comentΓ‘rios afirmavam cobertura que nΓ£o existe** ("wired through the
184
- V1…"). Corrigidos β€” Γ© o defeito "anunciado como vivo, morto no caminho", a
185
- mesma classe do bug original, transferida do tool para o controle de seguranΓ§a.
186
-
187
- ## ⚠️ Known Issues
188
- - **A release entrega 3 ferramentas V2 funcionais, nΓ£o 6**:
189
- `pantheon_goal_create`, `pantheon_goal_get` e `pantheon_goal_update` foram
190
- **removidos** da superfΓ­cie V2. `GoalLoopDeps` exige `store`, `client` e
191
- `board`, que nΓ£o existem no `PluginContext` V2, e a bridge V1 resolve para
192
- `null` fora da V1. RegistrΓ‘-las como placeholders nΓ£o funcionais seria pior
193
- que a ausΓͺncia: anunciΓ‘-las seria mentira silenciosa. Marcador `goal-tools`
194
- em `V2_UNSUPPORTED_FEATURES`. **Breaking** para quem usava esses tools no
195
- host V2 β€” o contrato V1 permanece disponΓ­vel para o goal loop.
196
- - **A matriz de delegaΓ§Γ£o nativa da V1 nΓ£o Γ© replicada na V2**: o guard V2 cobre
197
- a lista de ferramentas bloqueadas, mas não a matriz caller→target nem a negação
198
- de `task` em sessΓ£o filha. A matriz precisa de uma hierarquia de sessΓ΅es
199
- semeada a partir dos metadados de sessΓ£o, e o V2 nΓ£o expΓ΅e esse caminho de
200
- semeadura β€” `SessionHierarchyRegistry.isRoot` reporta `true` para sessΓ΅es
201
- desconhecidas enquanto nΓ£o semeada, entΓ£o semeΓ‘-la pela metade negaria todo
202
- `task()`. O branch Γ© pulado em vez de negado indiscriminadamente. Marcador
203
- `delegation-matrix`. `task` continua negada em sessΓ£o somente-leitura pela
204
- lista de ferramentas bloqueadas, entΓ£o a profundidade 2 se sustenta; o que
205
- nΓ£o existe Γ© a matriz. Coberto por `experimental.subagent_depth` nesta
206
- configuraΓ§Γ£o, mas a garantia do plugin nΓ£o existe.
207
- - **O log do scan de segredos escreve sΓ³ em `.pantheon/logs/hooks.log`**: o
208
- `PluginContext` V2 nΓ£o expΓ΅e `client` nem `directory`, entΓ£o os canais de log
209
- estruturado e de toast da V1 nΓ£o existem nessa superfΓ­cie. Γ‰ menos
210
- observabilidade, nΓ£o menos bloqueio.
211
- - **Falha de infraestrutura do scanner Γ© fail-open por decisΓ£o**: script ausente
212
- ou timeout nΓ£o bloqueiam. `runHook` nunca rejeita e um erro de infraestrutura
213
- nΓ£o deve negar chamadas nΓ£o relacionadas. AusΓͺncia do script nΓ£o bloqueia.
214
-
215
- ## βœ… Closed Issues
216
- - **Drift de documentaΓ§Γ£o no `README.pt-BR.md`**: a tabela de contrato de
217
- runtime e o parΓ‘grafo de superfΓ­cie listavam 6 ferramentas V2 e as 3 de goal,
218
- que nΓ£o estΓ£o registradas. Corrigido para 3 ferramentas, com a razΓ£o da
219
- ausΓͺncia e o ponto de imposiΓ§Γ£o read-only.
220
- - **Cinco comentΓ‘rios de falsa cobertura** sobre a imposiΓ§Γ£o read-only e o scan
221
- de segredos.
222
- - **Shim do loader JSON do ajv elevado a bootstrap de mΓ³dulo**: o patch de
223
- `Module._extensions['.json']` era aplicado de dentro de `loadAjv()` e ficava
224
- vivo durante todo o run, podendo vazar entre arquivos de teste e se manifestar
225
- longe da causa. Agora instala, carrega e restaura em nΓ­vel de mΓ³dulo, antes de
226
- qualquer corpo de teste, com `finally`.
227
- ## [v1.6.0-beta.2] - 2026-10-02
228
-
229
- ## πŸ†• What's New
230
- - **`steps` nΓ£o Γ© mais definido pelo Pantheon**: removido dos 14 agentes em
231
- `src/agents/`. No OpenCode 2 o campo Γ© opcional e **sem default** β€” ausente
232
- significa **sem teto nativo**. O host nΓ£o impΓ΅e teto; o Pantheon estava
233
- escrevendo um.
234
- - **Instalador v2 remove `steps` residual**: configs jΓ‘ instalados passam a ter
235
- o `steps` apagado dos agentes gerenciados. Escopo restrito aos agentes que o
236
- Pantheon gerencia β€” um agente definido pelo usuΓ‘rio nunca Γ© tocado. O bloco V1
237
- singular `agent` Γ© deliberadamente intocado (V1 em retirada).
238
- - **Substitutos ao teto**: `task(background=true)` para trabalho fora da
239
- foreground, `experimental.subagent_depth` para aninhamento de subagentes e
240
- paralelismo entre delegaΓ§Γ΅es independentes.
241
- - **Limpeza**: `max_steps` e `max_compaction_items` removidos de
242
- `src/routing.yml`. `loadRoutingMaxSteps` nunca teve um ΓΊnico import β€” 2
243
- matches no repo (definiΓ§Γ£o e typedef), ambos removidos.
244
-
245
- ## 🐞 Fixed
246
- - **`migrateV1toV2` descartava campos gerenciados**: com os blocos `agent` (V1)
247
- e `agents` (V2) coexistindo β€” o caso de qualquer config jΓ‘ instalado β€” o
248
- spread raso fazia um substituir o outro por inteiro. Na ordem de chaves do
249
- `opencode.json` real, o lado perdedor era o do usuΓ‘rio. Agora **mescla**: a
250
- base Γ© o bloco V2, os campos gerenciados do V1 sobrescrevem, e os campos do
251
- usuΓ‘rio sΓ£o preservados. Mesma semΓ’ntica jΓ‘ usada em `install/opencode.mjs`.
252
- - **`docs/platforms/README.md` tinha tabela de step limits errada**: 14 linhas
253
- listando limites por agente, **nenhum valor batendo** com `src/agents/`.
254
- Tabela removida e a seΓ§Γ£o reescrita.
255
-
256
- ## ⚠️ Known Issues
257
- - **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`.
258
- - **MigraΓ§Γ£o β€” rode o init uma vez**: `npx pantheon-opencode init
259
- --opencode-version=v2` **uma ΓΊnica vez** limpa o `steps` residual. Sem isso o
260
- config instalado continua carregando o teto antigo.
261
- - **O `.md` de agente instalado Γ© sobrescrito no prΓ³ximo sync**: editar
262
- `~/.config/opencode/agents/*.md` esperando persistΓͺncia **nΓ£o funciona**.
263
- Comportamento **prΓ©-existente**, nΓ£o Γ© regressΓ£o desta mudanΓ§a β€” mas agora
264
- estΓ‘ documentado para nΓ£o ser reportado como uma.
265
- - **`steps` definido Γ  mΓ£o num agente gerenciado Γ© removido a cada install v2**:
266
- o instalador nΓ£o distingue um valor que ele escreveu de um valor que vocΓͺ
267
- escreveu (mesma chave, mesmo valor). Workaround: definir no frontmatter do
268
- agente β€” e lembrar que ele **tambΓ©m** Γ© sobrescrito no prΓ³ximo sync.
269
- ## [v1.6.0-beta.1] - 2026-09-30
62
+ - Three permission holes are closed: `hashline_edit` no longer bypasses `edit: deny`, and the V2 read-only guard and secret scan are active.
270
63
 
271
- <!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
272
- move this section to a versioned entry and reset the template below. -->
273
-
274
- ## πŸ†• What's New
275
- - **OpenCode 2** β€” first Pantheon beta compatible with the OpenCode 2 plugin
276
- contract.
277
- - **memory** β€” preserve SQLite FTS5/BM25 keyword search and the `code_*` codemap
278
- tools.
279
-
280
- ## 🐞 Fixed
281
- - **memory** β€” remove the legacy vector-memory scripts and embedding/KNN/RRF
282
- path.
283
- - **CI/release** β€” keep validation fail-closed; expand `doctor` checks and add
284
- 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).
285
65
 
286
66
  ## [v1.5.2] - 2026-09-22
287
67
 
288
- ## 🐞 Fixed
68
+ ## Fixed
289
69
  - **install** β€” guard undefined collection in init (#174)
290
70
  - **release** β€” compare Zenodo file checksum in the format the API returns (#173)
291
71
  ## [v1.5.1] - 2026-09-22
292
72
 
293
- ## 🐞 Fixed
73
+ ## Fixed
294
74
  - **agents** β€” declare explicit read: allow for zeus
295
75
  - **ci** β€” drop fastembed from CI, keep pytest collection green (#163)
296
76
  - **plugin** β€” detect registered-plugin version drift after pantheon_delegate removal (#169)
@@ -300,7 +80,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
300
80
  - **tui** β€” remove dead pantheon_delegate refs after v1.5.0 V1 removal (#166)
301
81
  - **mnemosyne** β€” grant scoped write to memory-bank and deepwork paths (#164)
302
82
 
303
- ## βœ… Closed Issues
83
+ ## Closed Issues
304
84
  - #94 - drop fastembed from CI, keep pytest collection green (#163)
305
85
  - #158 - detect registered-plugin version drift after pantheon_delegate removal (#169)
306
86
  - #114 - correct node floor and warn on unsupported runtime (#168)
@@ -312,7 +92,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
312
92
 
313
93
  ## [v1.5.0] - 2026-09-16
314
94
 
315
- ### πŸ†• What's New
95
+ ### Added
316
96
 
317
97
  - **DelegaΓ§Γ£o nativa**: `task()` Γ© agora o ΓΊnico canal de delegaΓ§Γ£o β€” motor legado
318
98
  de dispatch removido por completo, simplificando o fluxo de subagents.
@@ -324,7 +104,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
324
104
  - **CI/CD**: Dependabot alerts, CodeQL analysis, SHA pins em actions, gitleaks
325
105
  v3 para detecΓ§Γ£o de secrets, e workflow de release dispatch-only.
326
106
 
327
- ### 🐞 Fixed
107
+ ### Fixed
328
108
 
329
109
  - **Painel Delegations vazio (crΓ­tico)**: canal `session.children` da TUI
330
110
  chamava API com shape v1 num cliente v2 β€” placeholder `{sessionID}` nΓ£o era
@@ -337,7 +117,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
337
117
  - **Signal leak**: timer independente do spinner separado do poll de dados,
338
118
  evitando bloqueio visual durante operaΓ§Γ΅es longas.
339
119
 
340
- ### βœ… Closed Issues
120
+ ### Closed Issues
341
121
 
342
122
  - 38% dos testes consolidados (de ~1200 para ~744) com cobertura mantida.
343
123
  - 17 mΓ³dulos mortos removidos, reduzindo superfΓ­cie de manutenΓ§Γ£o.
@@ -348,7 +128,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
348
128
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
349
129
  move this section to a versioned entry and reset the template below. --&gt;
350
130
 
351
- ## 🐞 Fixed
131
+ ## Fixed
352
132
 
353
133
  - **Fixed β€” painel Delegations**: children com status `busy` stale (>30min sem
354
134
  atualizaΓ§Γ£o) agora sΓ£o classificadas como `completed` (nΓ£o `running`). O
@@ -359,7 +139,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
359
139
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
360
140
  move this section to a versioned entry and reset the template below. --&gt;
361
141
 
362
- ## πŸ†• What's New
142
+ ## Added
363
143
 
364
144
  - **Improved β€” painel Delegations**: status ausente de children antigas agora Γ©
365
145
  `done` (nΓ£o `running`); grace 60s para sessΓ΅es recΓ©m-criadas; janela de
@@ -373,7 +153,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
373
153
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
374
154
  move this section to a versioned entry and reset the template below. --&gt;
375
155
 
376
- ## 🐞 Fixed
156
+ ## Fixed
377
157
 
378
158
  - **Painel Delegations voltou a funcionar (crΓ­tico):** o canal
379
159
  `session.children` da TUI chamava a API com a shape v1 (`{ path: { id } }`)
@@ -393,7 +173,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
393
173
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
394
174
  move this section to a versioned entry and reset the template below. --&gt;
395
175
 
396
- ## πŸ†• What's New
176
+ ## Added
397
177
 
398
178
  - **DelegaΓ§Γ£o nativa no host:** o motor `pantheon_delegate` foi removido
399
179
  (~3,9k linhas) junto com as tools `pantheon_delegate`,
@@ -407,7 +187,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
407
187
  - **Camada fina preservada:** `task-result-guard` (verified completion de child
408
188
  vazio), `native-task-status` e guards de enforcement.
409
189
 
410
- ## 🐞 Fixed
190
+ ## Fixed
411
191
 
412
192
  - **Read-only enforcement re-apontado para sessΓ΅es nativas:** aplicado no
413
193
  pΓΊblico via hook `chat.params` e `hashline_edit` bloqueado para `apollo`/`gaia`,
@@ -421,7 +201,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
421
201
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
422
202
  move this section to a versioned entry and reset the template below. --&gt;
423
203
 
424
- ## πŸ†• What's New
204
+ ## Added
425
205
 
426
206
  - **ModernizaΓ§Γ£o CI/supply-chain:** 22 actions SHA-pinadas; `gitleaks-action` v3
427
207
  (fix crΓ­tico β€” a v2 morria com Node 20 em 2026-09-16) com CLI 8.30.1; cache
@@ -435,7 +215,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
435
215
  - **Instructions:** deduplicaΓ§Γ£o das instruΓ§Γ΅es compartilhadas β€” contexto menor
436
216
  sem perder nenhuma regra.
437
217
 
438
- ## 🐞 Fixed
218
+ ## Fixed
439
219
 
440
220
  - **2 flakes determinΓ­sticos eliminados:** TTL do MCP persistence
441
221
  (`test_ttl_expiry_real_time`) e `logger.test.mjs` deixaram de depender de
@@ -448,7 +228,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
448
228
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
449
229
  move this section to a versioned entry and reset the template below. --&gt;
450
230
 
451
- ## πŸ†• What's New
231
+ ## Added
452
232
 
453
233
  - **Delegation `read` devolve o relatΓ³rio completo:** o retorno de `read` passa a
454
234
  ler o relatΓ³rio integral do disco (com cap configurΓ‘vel e marker explΓ­cito de
@@ -461,7 +241,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
461
241
  ser pintada pelo estado β€” vermelho = falha, verde = concluΓ­do, amarelo = em
462
242
  andamento β€” com o glyph mantido como canal redundante para acessibilidade.
463
243
 
464
- ## 🐞 Fixed
244
+ ## Fixed
465
245
 
466
246
  - **TUI β€” painel Delegations sΓ³ da sessΓ£o ativa:** o painel deixa de renderizar
467
247
  rows cross-session/Γ³rfΓ£s que causavam "Session not found" ao clicar; a lista
@@ -486,19 +266,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
486
266
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
487
267
  move this section to a versioned entry and reset the template below. --&gt;
488
268
 
489
- ## πŸ†• What's New
269
+ ## Added
490
270
 
491
271
  - **OrdenaΓ§Γ£o active-first:** delegaΓ§Γ΅es ativas aparecem antes das concluΓ­das,
492
272
  falhas e canceladas no painel TUI.
493
273
  - **Overflow active:** quando hΓ‘ mais delegaΓ§Γ΅es ativas que o teto visΓ­vel, o
494
274
  excedente ativo permanece representado na linha de overflow.
495
275
 
496
- ## 🐞 Fixed
276
+ ## Fixed
497
277
 
498
278
  - **RetenΓ§Γ£o visual:** concluΓ­das permanecem visΓ­veis por 2 min e falhas por
499
279
  10 min antes de saΓ­rem do painel; canceladas seguem a retenΓ§Γ£o configurada.
500
280
 
501
- ## ⚠️ Known Issues
281
+ ## Known Issues
502
282
 
503
283
  - **Stale running warning:** jobs em estado `running` alΓ©m do limite esperado
504
284
  recebem um aviso visual de stale no painel.
@@ -507,7 +287,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
507
287
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
508
288
  move this section to a versioned entry and reset the template below. --&gt;
509
289
 
510
- ## πŸ†• What's New
290
+ ## Added
511
291
 
512
292
  - **TUI status-only β€” rows simplificadas:** cada linha do painel Delegations passa
513
293
  a ser `{glyph} {alias} {elapsed}` + `desc` muted β€” um glyph de status, uma ΓΊnica
@@ -525,7 +305,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
525
305
  118/118 passando, cobrindo rows status-only, header active/done/failed, ceiling
526
306
  e board read cross-session.
527
307
 
528
- ## 🐞 Fixed
308
+ ## Fixed
529
309
 
530
310
  - **SanitizaΓ§Γ£o de dead code:** removidos helpers, tipos e estado Γ³rfΓ£os do
531
311
  painel Delegations (toggle de escopo `[SessΓ£o]`/`[Tudo]`, prefixos curtos
@@ -538,7 +318,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
538
318
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
539
319
  move this section to a versioned entry and reset the template below. --&gt;
540
320
 
541
- ## πŸ†• What's New
321
+ ## Added
542
322
 
543
323
  - **TUI lΓͺ o board (4ΒΊ canal):** o painel Delegations passa a ler o
544
324
  BackgroundJobBoard via `readBoardState()` β€” jobs `pantheon_delegate` de todas
@@ -554,7 +334,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
554
334
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
555
335
  move this section to a versioned entry and reset the template below. --&gt;
556
336
 
557
- ## πŸ†• What's New
337
+ ## Added
558
338
 
559
339
  - **Glyphs da FSM real no painel Delegations:** cada estado do BackgroundJobBoard
560
340
  tem agora um glifo Unicode geomΓ©trico prΓ³prio β€” `β ‹` running (spinner 1s),
@@ -569,7 +349,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
569
349
  - **104 testes TUI delegations:** `tests/pantheon/tui-delegations.test.ts` com
570
350
  104/104 passando, cobrindo glifos/marker/tone dos estados reais da FSM.
571
351
 
572
- ## 🐞 Fixed
352
+ ## Fixed
573
353
 
574
354
  - **Doctor F.2 (`hasUsableScripts`):** a resoluΓ§Γ£o do diretΓ³rio code-mode agora
575
355
  exige um `.py`/`.sh` regular (paridade com `_has_usable_scripts` do MCP), entΓ£o
@@ -582,7 +362,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
582
362
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
583
363
  move this section to a versioned entry and reset the template below. --&gt;
584
364
 
585
- ## πŸ†• What's New
365
+ ## Added
586
366
 
587
367
  - **TUI delegations com prefixos curtos `nat:` / `pan:`:** cada linha do painel passa
588
368
  a usar `nat:<agent>` para child nativo do `task()` (sem report no board) ou
@@ -598,7 +378,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
598
378
  - **100 testes TUI delegations:** `tests/pantheon/tui-delegations.test.ts` com 100/100
599
379
  passando (tsc + biome OK), acima dos 93 da beta.9.
600
380
 
601
- ## 🐞 Fixed
381
+ ## Fixed
602
382
 
603
383
  - **`appendFile` sem import (log do painel volta a escrever):** o log em arquivo do
604
384
  painel parou de escrever silenciosamente porque `appendFile` era chamado sem import
@@ -619,13 +399,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
619
399
  <!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
620
400
  move this section to a versioned entry and reset the template below. -->
621
401
 
622
- ## πŸ†• What's New
402
+ ## Added
623
403
 
624
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.
625
405
  - **93 testes TUI delegations:** suite `tests/pantheon/tui-delegations.test.ts` com 93/93 passando (tsc + biome OK).
626
406
  - **E2E beta.8 PASS (referΓͺncia):** baseline E2E da beta.8 mantido como referΓͺncia de estabilidade para beta.9.
627
407
 
628
- ## 🐞 Fixed
408
+ ## Fixed
629
409
 
630
410
  - Removido diretΓ³rio `testyes/` (artefato de teste).
631
411
  - Truncado `hooks.log` para baseline limpo de beta.9.
@@ -635,7 +415,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
635
415
  <!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
636
416
  move this section to a versioned entry and reset the template below. -->
637
417
 
638
- ## 🐞 Fixed
418
+ ## Fixed
639
419
 
640
420
  - **Board persistence is corruption- and concurrency-safe:** state writes now go
641
421
  through a UNIQUE temp file (per-process, per-write counter + random suffix), are
@@ -667,7 +447,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
667
447
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
668
448
  move this section to a versioned entry and reset the template below. --&gt;
669
449
 
670
- ## πŸ†• What's New
450
+ ## Added
671
451
 
672
452
  - **Cost CLI fallback + `PANTHEON_NODE`:** `pantheon_cost` falls back to a
673
453
  read-only `node scripts/cost.mjs` subprocess when `node:sqlite` is
@@ -681,7 +461,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
681
461
  experimental via `PANTHEON_DELEGATE_MODE=native` until v1.6. See
682
462
  [ADR-0011](https://github.com/ils15/pantheon-opencode/pull/126) (Proposed).
683
463
 
684
- ## 🐞 Fixed
464
+ ## Fixed
685
465
 
686
466
  - **Legacy read-only bypass on retry (P0):** a retried delegation now
687
467
  re-applies read-only enforcement (the same rule as the initial child) and
@@ -712,7 +492,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
712
492
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
713
493
  move this section to a versioned entry and reset the template below. --&gt;
714
494
 
715
- ## πŸ†• What's New
495
+ ## Added
716
496
 
717
497
  - **Delegation panel v2:** live tool activity per running delegation
718
498
  (`↳ bash npm test` β€” what the child is doing right now), a paginated
@@ -720,7 +500,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
720
500
  distinct `retry` state (⟳ marker, RETRYING label) instead of lumping
721
501
  retries into running.
722
502
 
723
- ## 🐞 Fixed
503
+ ## Fixed
724
504
 
725
505
  - **Stale plugin refs from old installs:** the installer now prunes
726
506
  `pantheon-opencode` plugin references pointing at other installed copies of
@@ -737,7 +517,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
737
517
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
738
518
  move this section to a versioned entry and reset the template below. --&gt;
739
519
 
740
- ## πŸ†• What's New
520
+ ## Added
741
521
 
742
522
  - **Native background tasks in the delegation panel:** tasks dispatched via
743
523
  the native `task(background=true)` tool are now mirrored onto the shared
@@ -761,7 +541,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
761
541
  nunca implementados dos planos v1.0/v1.0+ foram removidos; o contrato atual
762
542
  passou a documentar o code-mode (manifest SHA-256, resoluΓ§Γ£o project-first).
763
543
 
764
- ## 🐞 Fixed
544
+ ## Fixed
765
545
 
766
546
  - **Code-mode project resolution (#112):** the MCP now resolves project code-mode
767
547
  scripts before global scripts, honors `PANTHEON_PROJECT`, and fails closed on
@@ -773,7 +553,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
773
553
  &lt;!-- Add new changes here. Running `node scripts/versioning.mjs apply` will
774
554
  move this section to a versioned entry and reset the template below. --&gt;
775
555
 
776
- ## πŸ†• What's New
556
+ ## Added
777
557
 
778
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.
779
559
 
@@ -783,7 +563,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
783
563
 
784
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`.
785
565
 
786
- ## 🐞 Fixed
566
+ ## Fixed
787
567
 
788
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.
789
569
  - **npm tarball inclusion:** CHANGELOG.md is now included in the npm tarball
@@ -973,7 +753,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
973
753
 
974
754
  ## [1.3.6-beta] - 2026-08-21
975
755
 
976
- ## πŸ†• What's New
756
+ ## Added
977
757
 
978
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).
979
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.
@@ -992,7 +772,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
992
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.
993
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.
994
774
 
995
- ## 🐞 Fixed
775
+ ## Fixed
996
776
 
997
777
  - memory_search doc drift: freshness decay was documented but not implemented β€” now real via `decay_days`.
998
778
  - scripts/ copies stale vs src/mcp/ canonical sources (missing routing project fallback, stale comments).
@@ -1000,12 +780,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1000
780
 
1001
781
  ## [1.3.5] - 2026-08-21
1002
782
 
1003
- ## πŸ†• What's New
783
+ ## Added
1004
784
 
1005
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).
1006
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).
1007
787
 
1008
- ## 🐞 Fixed
788
+ ## Fixed
1009
789
 
1010
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).
1011
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).
@@ -1016,7 +796,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1016
796
 
1017
797
  ## [v1.3.4] - 2026-08-11
1018
798
 
1019
- ## πŸ†• What's New
799
+ ## Added
1020
800
 
1021
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)
1022
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)
@@ -1028,7 +808,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1028
808
  - **README docs**: 1.3.4 compaction + delegation features documented
1029
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
1030
810
 
1031
- ## 🐞 Fixed
811
+ ## Fixed
1032
812
 
1033
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
1034
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
@@ -1042,17 +822,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1042
822
 
1043
823
  ## [v1.3.3] - 2026-08-11
1044
824
 
1045
- ## πŸ†• What's New
825
+ ## Added
1046
826
 
1047
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`
1048
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
1049
- - **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.
1050
830
  - **Dispatch retry-on-empty**: classifies empty results (mode 1: 0 tokens; mode 2: reasoning without text) with cap-1 automatic retry
1051
831
  - **Cost tracking**: JSONL ledger + `pantheon_cost` command reading opencode.db (zero-dep, node:sqlite β†’ scripts/cost.mjs fallback)
1052
832
  - **Themis phase reviews** route to deepseek-v4-flash (pro reserved for final release gate); Athena stays premium (council red-line)
1053
833
  - **Routing config**: `background_delegation`, `todo_enforcer`, `hashline`, `full_auto` sections
1054
834
 
1055
- ## 🐞 Fixed
835
+ ## Fixed
1056
836
 
1057
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)
1058
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)
@@ -1062,13 +842,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1062
842
 
1063
843
  ## [v1.3.2] - 2026-08-09
1064
844
 
1065
- ## πŸ†• What's New
845
+ ## Added
1066
846
 
1067
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.
1068
848
  - **Package portability**: distributed configuration no longer retains checkout-specific machine paths; managed hooks are resolved from the installed package during install/sync.
1069
849
  - **Doctor contract**: exit statuses now distinguish success (`0`), advisory warnings (`1`), and blocking errors (`>=2`).
1070
850
 
1071
- ## 🐞 Fixed
851
+ ## Fixed
1072
852
 
1073
853
  - **Global installation diagnostics**: clarified the distinction between advisory doctor warnings and blocking failures.
1074
854
 
@@ -1076,14 +856,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1076
856
 
1077
857
  ## [v1.3.1] - 2026-08-08
1078
858
 
1079
- ## πŸ†• What's New
859
+ ## Added
1080
860
 
1081
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.
1082
862
  - Local validation logs are ignored via `logs/` because they are generated diagnostics, not release artifacts or source files.
1083
863
 
1084
864
  ## [v1.3.0] - 2026-08-06
1085
865
 
1086
- ## πŸ†• What's New
866
+ ## Added
1087
867
 
1088
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
1089
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)
@@ -1098,20 +878,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1098
878
  - Secret-scan hygiene: wildcard notation for credential references (no literal keys in versioned docs/comments)
1099
879
  - README: hooks testing docs + `PANTHEON_TOASTS` table with council; AGENTS.md adds "PRs always update the README" convention
1100
880
 
1101
- ## 🐞 Fixed
881
+ ## Fixed
1102
882
 
1103
883
  - Council toast idle-flush race condition
1104
884
 
1105
885
  ## [v1.2.2] - 2026-08-05
1106
886
 
1107
- ## πŸ†• What's New
887
+ ## Added
1108
888
 
1109
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)
1110
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
1111
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
1112
892
  - Dead `src/mcp/requirements-mcp-core.txt` catalog duplicate (YAGNI β€” the installer uses `requirements-mcp.txt`)
1113
893
 
1114
- ## 🐞 Fixed
894
+ ## Fixed
1115
895
 
1116
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`
1117
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)
@@ -1122,7 +902,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1122
902
 
1123
903
  ## [v1.2.1] - 2026-08-03
1124
904
 
1125
- ## πŸ†• What's New
905
+ ## Added
1126
906
 
1127
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
1128
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)
@@ -1142,7 +922,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1142
922
  - TUI todo-progress bar (redundant with native TODO + sidebar), v1.1.1
1143
923
  - Duplicate `scripts/scrub_secrets.py` (canonical is `scrub-secrets.py`)
1144
924
 
1145
- ## 🐞 Fixed
925
+ ## Fixed
1146
926
 
1147
927
  - Plugin export as function for opencode 1.18.11 API (object export failed to load; hooks.config mutates config in place)
1148
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
@@ -1157,7 +937,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1157
937
 
1158
938
  ## [v1.2.0] - 2026-07-30
1159
939
 
1160
- ## πŸ†• What's New
940
+ ## Added
1161
941
 
1162
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
1163
943
  - Zeus Fusion-style delegation enforced β€” `edit:deny`, `bash:deny`, never touches files
@@ -1170,7 +950,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1170
950
  - Persistence docs updated for new tools and auto-purge behavior
1171
951
  - commitlint scopes completed; auto-release skipped when version already exists
1172
952
 
1173
- ## 🐞 Fixed
953
+ ## Fixed
1174
954
 
1175
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
1176
956
  - CI: push triggers removed β€” validation workflows (CI, commitlint, CodeQL, hotfix, docs) now run on `pull_request` only, eliminating perma-pending duplicate checks
@@ -1179,7 +959,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1179
959
 
1180
960
  ## [v1.0.0] - 2026-07-24
1181
961
 
1182
- ## πŸ†• What's New
962
+ ## Added
1183
963
 
1184
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.
1185
965
  - **Global installation**: `npx pantheon-opencode init` installs agents globally to `~/.config/opencode/agents/`. Optional `--project` flag for project-local install.
@@ -1205,14 +985,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1205
985
 
1206
986
  ## [v1.1.1] - 2026-07-30
1207
987
 
1208
- ## πŸ†• What's New
988
+ ## Added
1209
989
 
1210
990
  - New release system β€” beta releases from PR labels, stable from main push (auto-release and beta-release workflows unified)
1211
991
  - Interactive TUI mode for installer (Fases 1+2) β€” redesigned sidebar with context progress bar, live session data via events + API
1212
992
  - Session-scoped context checkpoints in persistence (index, stats, auto-purge, `delete_namespace`); fallback chains, auto CI retry (2x), token tracking
1213
993
  - Slash commands consolidated from 16 to 5; redundant model configs removed (agents inherit the default model)
1214
994
 
1215
- ## 🐞 Fixed
995
+ ## Fixed
1216
996
 
1217
997
  - Council: UUID session isolation in context checkpoints, pre-compaction state save, flash summary quality floor, agents recall `context_get(slug, 'latest')` on startup
1218
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
@@ -1221,7 +1001,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1221
1001
 
1222
1002
  ## [v1.1.0] - 2026-07-26
1223
1003
 
1224
- ## πŸ†• What's New
1004
+ ## Added
1225
1005
 
1226
1006
  - Council synthesis Fase 1+2 β€” Modo Desempate com EvidΓͺncia + BackgroundJobBoard (#2)
1227
1007
  - Beta release workflow added (from develop)
@@ -1230,7 +1010,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1230
1010
 
1231
1011
  ## [v1.0.7] - 2026-07-26
1232
1012
 
1233
- ## 🐞 Fixed
1013
+ ## Fixed
1234
1014
 
1235
1015
  - Installer: fixed `writeFileSync` not defined error
1236
1016
 
@@ -1238,13 +1018,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1238
1018
 
1239
1019
  ## [v1.0.6] - 2026-07-26
1240
1020
 
1241
- ## πŸ†• What's New
1021
+ ## Added
1242
1022
 
1243
1023
  - 7 new skills (codemap, simplify, reflect, worktrees, verification-planning, loop-engineering, clonedeps) + 7 matching commands; `background_subagents` enabled by default in canonical config
1244
1024
  - Release pipeline: quality gates, tag creation, pre-release, hotfix support
1245
1025
  - CI simplified from 10 to 6 workflows; agent/skill restructuring β€” 12 redundant instructions removed, unused commands dropped, gaia archived then restored
1246
1026
 
1247
- ## 🐞 Fixed
1027
+ ## Fixed
1248
1028
 
1249
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
1250
1030
 
@@ -1252,7 +1032,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1252
1032
 
1253
1033
  ## [v1.0.5] - 2026-07-26
1254
1034
 
1255
- ## 🐞 Fixed
1035
+ ## Fixed
1256
1036
 
1257
1037
  - CI auto-release with OIDC trusted publisher + npm v12 (Node 22 upgrade, clean publish)
1258
1038
  - `doctor.mjs` paths + simplified `prepublishOnly`
@@ -1261,12 +1041,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1261
1041
 
1262
1042
  ## [v1.0.2] - 2026-07-25
1263
1043
 
1264
- ## πŸ†• What's New
1044
+ ## Added
1265
1045
 
1266
1046
  - TUI plugin: copy logic, stale skill cleanup, `tui.json` dedup; advanced plugin with version detection and 14 commands
1267
1047
  - Agents migrated from deprecated `tools:` to OpenCode `permission:` model; legacy multi-platform tests removed (OpenCode-only conformance); docs modernized (OpenCode-only, unified commands)
1268
1048
 
1269
- ## 🐞 Fixed
1049
+ ## Fixed
1270
1050
 
1271
1051
  - Hardcoded version fallback replaced with package.json version; routing aligned with actual skills (vscode platform removed)
1272
1052
 
@@ -1274,7 +1054,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1274
1054
 
1275
1055
  ## [v1.0.1] - 2026-07-24
1276
1056
 
1277
- ## πŸ†• What's New
1057
+ ## Added
1278
1058
 
1279
1059
  - Installer: unified setup flow, removed lifecycle install, fixed entry points
1280
1060
 
@@ -1282,7 +1062,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1282
1062
 
1283
1063
  ## [v3.19.2] - 2026-07-21
1284
1064
 
1285
- ## πŸ†• What's New
1065
+ ## Added
1286
1066
 
1287
1067
  - `_pantheon_paths.py` β€” shared path resolution (`PANTHEON_HOME`, `PANTHEON_PROJECT`)
1288
1068
  - `pantheon-persistence` MCP β€” KV store with SQLite FTS5, TTL, namespaces, 6 tools
@@ -1307,7 +1087,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1307
1087
  - 9 duplicate instructions (now skills on-demand)
1308
1088
  - `multi-model-routing` from prometheus (deleted skill)
1309
1089
 
1310
- ## 🐞 Fixed
1090
+ ## Fixed
1311
1091
 
1312
1092
  - 157 dangling instruction references across 6 platforms
1313
1093
  - YAML frontmatter in all 14 agents (broken by previous sed edits)
@@ -1315,7 +1095,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1315
1095
 
1316
1096
  ## [v3.19.0] - 2026-07-21
1317
1097
 
1318
- ## πŸ†• What's New
1098
+ ## Added
1319
1099
 
1320
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)
1321
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)
@@ -1351,7 +1131,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1351
1131
  - Memory Persistence Protocol documented as ADR-006
1352
1132
  - `.config/opencode/` fully synced from canonical Pantheon (14 agents + 10 instructions)
1353
1133
 
1354
- ## 🐞 Fixed
1134
+ ## Fixed
1355
1135
 
1356
1136
  - 33 dangling `docs/memory-bank/` references fixed across platform configs (`.claude/`, `.cursor/`, `.windsurf/`, `.continue/`, `.clinerules/`, `.github/`, `memories/`, `platform/`, `template/`, `.opencode/skills/`, `.tests/`)
1357
1137
  - `.pantheon/memory-bank/.tmp/` added to `.gitignore`
@@ -1373,7 +1153,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1373
1153
 
1374
1154
  ## [v3.17.1] - 2026-07-14
1375
1155
 
1376
- ## πŸ†• What's New
1156
+ ## Added
1377
1157
 
1378
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
1379
1159
  - `tests/test_code_mode_args.py`: TDD coverage for the new `args` parameter forwarding
@@ -1381,7 +1161,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1381
1161
  - Agent `.md` files: `context-compression` added to `skills:` frontmatter for all 5 implementation agents
1382
1162
  - `instructions/artifact-protocol.instructions.md`: scrub documented as automatic via MCP layer
1383
1163
 
1384
- ## 🐞 Fixed
1164
+ ## Fixed
1385
1165
 
1386
1166
  - `execute_code_script` now forwards CLI arguments to subprocess β€” `compress-inline.py` is reachable via MCP (fixes argparse code 2 error)
1387
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)
@@ -1389,7 +1169,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1389
1169
 
1390
1170
  ## [v3.17.0] - 2026-07-11
1391
1171
 
1392
- ## πŸ†• What's New
1172
+ ## Added
1393
1173
 
1394
1174
  - Pantheon TUI Plugin overhaul: sidebar modernization, clickable commands, dynamic Python version
1395
1175
  - MCP Config section in TUI: list active plugins, MCP status, auto-compaction toggle
@@ -1407,7 +1187,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1407
1187
  - Updated 65+ source files with new .pantheon/ paths
1408
1188
  - `docs/memory-bank/` from git history (fully purged via filter-repo)
1409
1189
 
1410
- ## 🐞 Fixed
1190
+ ## Fixed
1411
1191
 
1412
1192
  - TUI plugin path in tui.json (was pointing to non-existent file)
1413
1193
  - OpenCode MCP config format (command must be array + cwd)
@@ -1416,7 +1196,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1416
1196
 
1417
1197
  ## [v3.16.0] - 2026-07-10
1418
1198
 
1419
- ## πŸ†• What's New
1199
+ ## Added
1420
1200
 
1421
1201
  - MCP Resources Support: pantheon://agents, skills, routing, deepwork, memory-bank
1422
1202
  - Code Mode MCP Adapter: confined script execution from .pantheon/code-mode/
@@ -1435,7 +1215,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1435
1215
  - memory_export: restricted to ~/.pantheon/exports/ with path traversal check
1436
1216
  - Content size limit: 100KB max, 500 char category
1437
1217
 
1438
- ## 🐞 Fixed
1218
+ ## Fixed
1439
1219
 
1440
1220
  - memory_sessions dead code (always returned empty results)
1441
1221
  - install-mcp.mjs filename: dash β†’ underscore
@@ -1444,7 +1224,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1444
1224
 
1445
1225
  ## [v3.15.0] - 2026-06-26
1446
1226
 
1447
- ## πŸ†• What's New
1227
+ ## Added
1448
1228
 
1449
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
1450
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
@@ -1461,27 +1241,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1461
1241
  - **TASK-016:** Level 3 Implementation Plan β€” 24 tasks across 5 phases
1462
1242
  - **01-active-context.md:** Updated with deepwork v3.15 changes and Two-Tier model
1463
1243
 
1464
- ## 🐞 Fixed
1244
+ ## Fixed
1465
1245
 
1466
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
1467
1247
 
1468
1248
  ## [v3.14.1] - 2026-06-21
1469
1249
 
1470
- ## πŸ†• What's New
1250
+ ## Added
1471
1251
 
1472
1252
  - **Pantheon-Context MCP Experiment:** Removed entire `scripts/pantheon-context-mcp/` directory (server.py, scoring.py, summarizer.py, tests β€” 12 files, ~1,200 lines)
1473
1253
  - **Stale Agent References:** Stripped `pantheon-context` tool references from all 14 agent files, `.mcp.json`, `opencode.json`, `ROADMAP.md`
1474
1254
  - **Auto-Release CI:** Removed `.github/workflows/auto-release.yml` (triggered broken v3.14.0 release on every push to main)
1475
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
1476
1256
 
1477
- ## 🐞 Fixed
1257
+ ## Fixed
1478
1258
 
1479
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)
1480
1260
  - **CI Release Pipeline:** Added `dry_run` input to manual release workflow, removed auto-merge from release PRs, fixed duplicate steps
1481
1261
 
1482
1262
  ## [v3.14.0] - 2026-06-20
1483
1263
 
1484
- ## πŸ†• What's New
1264
+ ## Added
1485
1265
 
1486
1266
  - **Codebase Audit:** Comprehensive 5-agent scan β€” 48 issues found, all resolved
1487
1267
  - **Mermaid Diagrams:** 5 new diagrams β€” TDD Cycle (stateDiagram-v2), Artifact Lifecycle (flowchart), Council Synthesis (sequenceDiagram), Architecture (flowchart), Delegation Flow (flowchart)
@@ -1493,7 +1273,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1493
1273
  - **Database Standards:** Async SQLAlchemy 2.0 patterns, connection pooling, migration testing, disaster recovery + 2 Mermaid diagrams
1494
1274
  - **Documentation Quality:** "When NOT to Use" sections on all 7 main agents, English-only throughout, ROADMAP.md updated
1495
1275
 
1496
- ## 🐞 Fixed
1276
+ ## Fixed
1497
1277
 
1498
1278
  - **Dead Agent Purge:** Removed ~150+ references to Echo, Chiron, Argus, Agora across 67+ files (agents, platforms, instructions, skills)
1499
1279
  - **Portugueseβ†’English:** `docs/platforms/README.md` fully translated, `agents/prometheus.agent.md` mixed-language fixed
@@ -1507,7 +1287,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1507
1287
 
1508
1288
  ## [v3.13.0] - 2026-06-20
1509
1289
 
1510
- ## πŸ†• What's New
1290
+ ## Added
1511
1291
 
1512
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)
1513
1293
  - **New prompts**: `prompts/semantic-summarize.md` for agent-pair aware semantic summarization
@@ -1532,7 +1312,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1532
1312
  - **Sync Check** β€” passing
1533
1313
  - **Auto Release** β€” published at v3.13.0
1534
1314
 
1535
- ## 🐞 Fixed
1315
+ ## Fixed
1536
1316
 
1537
1317
  - **CHANGELOG.md** β€” removed 4 duplicate v3.12.1 entries and empty v3.12.2 section
1538
1318
  - **Frontmatter consistency** β€” all 14 agents now parse cleanly with OpenCode YAML frontmatter
@@ -1554,14 +1334,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1554
1334
 
1555
1335
  [compare changes](https://github.com/ils15/pantheon/compare/v3.11.0...v3.12.0)
1556
1336
 
1557
- ## πŸ†• What's New
1337
+ ## Added
1558
1338
 
1559
1339
  - **agents:** Add anti-stall resilience and orchestration improvements ([7a61b69](https://github.com/ils15/pantheon/commit/7a61b69))
1560
1340
  - **agents:** Add /pantheon-status command with version badge + agent registry ([984ec65](https://github.com/ils15/pantheon/commit/984ec65))
1561
1341
  - **platform:** Add Pantheon TUI sidebar plugin for OpenCode ([09253c1](https://github.com/ils15/pantheon/commit/09253c1))
1562
1342
  - **release:** Sync version to v3.11.0 ([1a9fb64](https://github.com/ils15/pantheon/commit/1a9fb64))
1563
1343
 
1564
- ## 🐞 Fixed
1344
+ ## Fixed
1565
1345
 
1566
1346
  - **ci:** Sync platform files and add mcp-security skill to pass CI ([a27a245](https://github.com/ils15/pantheon/commit/a27a245))
1567
1347
 
@@ -1569,12 +1349,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1569
1349
 
1570
1350
  [compare changes](https://github.com/ils15/pantheon/compare/v3.8.4...v3.9.0)
1571
1351
 
1572
- ## πŸ†• What's New
1352
+ ## Added
1573
1353
 
1574
1354
  - Setup changelogen + git-cliff for auto-releases ([ce4ee22](https://github.com/ils15/pantheon/commit/ce4ee22))
1575
1355
  - Cleanup commands, fix subtask agent, add Context7 tools, improve sync script ([da6ed7c](https://github.com/ils15/pantheon/commit/da6ed7c))
1576
1356
 
1577
- ## 🐞 Fixed
1357
+ ## Fixed
1578
1358
 
1579
1359
  - Add missing closing brace for github configuration in opencode.json ([a63c522](https://github.com/ils15/pantheon/commit/a63c522))
1580
1360
  - Address PR review sync and mapping feedback ([c550049](https://github.com/ils15/pantheon/commit/c550049))