@herbertgao/pi-extensions 2026.9.5 → 2026.9.7

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 (276) hide show
  1. package/README.md +5 -22
  2. package/THIRD_PARTY_NOTICES.md +0 -4
  3. package/node_modules/@herbertgao/sol-pi/docs/compatibility.md +1 -1
  4. package/node_modules/@herbertgao/sol-pi/package.json +1 -1
  5. package/node_modules/@herbertgao/sol-pi/src/sol-pi/extensions/action-fusion/index.ts +0 -5
  6. package/node_modules/@herbertgao/sol-pi/src/sol-pi/extensions/online-context-compact/state.ts +3 -1
  7. package/node_modules/@narumitw/pi-btw/README.md +2 -0
  8. package/node_modules/@narumitw/pi-btw/dist/index.ts +284 -365
  9. package/node_modules/@narumitw/pi-btw/dist/index.ts.map +3 -3
  10. package/node_modules/@narumitw/pi-btw/package.json +52 -53
  11. package/node_modules/@narumitw/pi-btw/src/bring-to-main.ts +494 -547
  12. package/node_modules/@narumitw/pi-btw/src/btw.ts +814 -856
  13. package/node_modules/@narumitw/pi-btw/src/fullscreen-ui.ts +673 -674
  14. package/node_modules/@narumitw/pi-btw/src/keybindings.ts +228 -270
  15. package/node_modules/@narumitw/pi-btw/src/main-tree-picker.ts +309 -318
  16. package/node_modules/@narumitw/pi-btw/src/menu.ts +416 -454
  17. package/node_modules/@narumitw/pi-btw/src/settings.ts +203 -219
  18. package/node_modules/@narumitw/pi-btw/src/side-thread.ts +173 -201
  19. package/node_modules/@narumitw/pi-btw/src/text.ts +21 -23
  20. package/node_modules/@narumitw/pi-btw/src/transcript-markdown.ts +65 -0
  21. package/node_modules/@narumitw/pi-btw/src/transcript-pager.ts +611 -662
  22. package/node_modules/pi-lens/CHANGELOG.md +239 -0
  23. package/node_modules/pi-lens/config/dependency-cruiser-eager-allowlist.json +3 -0
  24. package/node_modules/pi-lens/dist/clients/actionable-warnings.js +30 -4
  25. package/node_modules/pi-lens/dist/clients/agent-behavior-client.js +2 -0
  26. package/node_modules/pi-lens/dist/clients/bash-file-access.js +26 -0
  27. package/node_modules/pi-lens/dist/clients/biome-client.js +1 -1
  28. package/node_modules/pi-lens/dist/clients/blocker-freshness.js +403 -35
  29. package/node_modules/pi-lens/dist/clients/bootstrap.js +6 -1
  30. package/node_modules/pi-lens/dist/clients/cascade-format.js +200 -4
  31. package/node_modules/pi-lens/dist/clients/code-quality-warnings.js +10 -2
  32. package/node_modules/pi-lens/dist/clients/degradation-ledger.js +16 -1
  33. package/node_modules/pi-lens/dist/clients/diagnostic-dispositions.js +12 -1
  34. package/node_modules/pi-lens/dist/clients/dispatch/ast-grep-catalog.js +65 -0
  35. package/node_modules/pi-lens/dist/clients/dispatch/auxiliary-lsp.js +28 -0
  36. package/node_modules/pi-lens/dist/clients/dispatch/dispatcher.js +9 -2
  37. package/node_modules/pi-lens/dist/clients/dispatch/finding-policy.js +222 -0
  38. package/node_modules/pi-lens/dist/clients/dispatch/indent-detect.js +389 -13
  39. package/node_modules/pi-lens/dist/clients/dispatch/integration.js +175 -25
  40. package/node_modules/pi-lens/dist/clients/dispatch/rule-ignores.js +62 -0
  41. package/node_modules/pi-lens/dist/clients/dispatch/runners/ast-grep-napi.js +21 -41
  42. package/node_modules/pi-lens/dist/clients/dispatch/runners/biome-check.js +6 -1
  43. package/node_modules/pi-lens/dist/clients/dispatch/runners/rust-clippy.js +7 -7
  44. package/node_modules/pi-lens/dist/clients/dispatch/runners/shfmt.js +2 -12
  45. package/node_modules/pi-lens/dist/clients/dispatch/runners/tree-sitter.js +2 -21
  46. package/node_modules/pi-lens/dist/clients/dispatch/runners/utils/runner-helpers.js +1 -1
  47. package/node_modules/pi-lens/dist/clients/dispatch/types.js +4 -1
  48. package/node_modules/pi-lens/dist/clients/disposition-publish.js +1 -0
  49. package/node_modules/pi-lens/dist/clients/effective-config.js +1 -1
  50. package/node_modules/pi-lens/dist/clients/file-kinds.js +26 -1
  51. package/node_modules/pi-lens/dist/clients/file-role.js +21 -21
  52. package/node_modules/pi-lens/dist/clients/file-utils.js +156 -10
  53. package/node_modules/pi-lens/dist/clients/finding-delivery-gate.js +56 -9
  54. package/node_modules/pi-lens/dist/clients/format-service.js +39 -21
  55. package/node_modules/pi-lens/dist/clients/formatters.js +60 -13
  56. package/node_modules/pi-lens/dist/clients/generation-guard.js +2 -2
  57. package/node_modules/pi-lens/dist/clients/git-guard.js +11 -3
  58. package/node_modules/pi-lens/dist/clients/indent-retarget.js +78 -8
  59. package/node_modules/pi-lens/dist/clients/installer/index.js +333 -114
  60. package/node_modules/pi-lens/dist/clients/instance-reaper-state.js +7 -0
  61. package/node_modules/pi-lens/dist/clients/instance-reaper.js +20 -10
  62. package/node_modules/pi-lens/dist/clients/language-profile.js +23 -1
  63. package/node_modules/pi-lens/dist/clients/language-registry.js +5 -1
  64. package/node_modules/pi-lens/dist/clients/latency-logger.js +4 -1
  65. package/node_modules/pi-lens/dist/clients/lens-engine.js +12 -3
  66. package/node_modules/pi-lens/dist/clients/lens-events.js +2 -1
  67. package/node_modules/pi-lens/dist/clients/lens-flag-registry.js +79 -0
  68. package/node_modules/pi-lens/dist/clients/live-bus-emitter.js +2 -1
  69. package/node_modules/pi-lens/dist/clients/lsp/client.js +25 -21
  70. package/node_modules/pi-lens/dist/clients/lsp/config.js +2 -2
  71. package/node_modules/pi-lens/dist/clients/lsp/index.js +7 -0
  72. package/node_modules/pi-lens/dist/clients/lsp/launch.js +16 -4
  73. package/node_modules/pi-lens/dist/clients/lsp/server.js +19 -2
  74. package/node_modules/pi-lens/dist/clients/lsp/workspace-diagnostics-cache.js +2 -1
  75. package/node_modules/pi-lens/dist/clients/lsp-mutation.js +5 -3
  76. package/node_modules/pi-lens/dist/clients/map-with-concurrency.js +12 -8
  77. package/node_modules/pi-lens/dist/clients/mcp/session.js +36 -4
  78. package/node_modules/pi-lens/dist/clients/ndjson-logger.js +24 -7
  79. package/node_modules/pi-lens/dist/clients/observed-mutation.js +40 -2
  80. package/node_modules/pi-lens/dist/clients/opaque-mutation-scan.js +23 -3
  81. package/node_modules/pi-lens/dist/clients/opengrep-client.js +110 -15
  82. package/node_modules/pi-lens/dist/clients/path-utils.js +123 -3
  83. package/node_modules/pi-lens/dist/clients/performance-report.js +5 -1
  84. package/node_modules/pi-lens/dist/clients/php-cs-fixer-config.js +1 -1
  85. package/node_modules/pi-lens/dist/clients/pipeline.js +74 -5
  86. package/node_modules/pi-lens/dist/clients/project-diagnostics/cache.js +37 -5
  87. package/node_modules/pi-lens/dist/clients/project-diagnostics/fresh-fetch.js +145 -18
  88. package/node_modules/pi-lens/dist/clients/project-diagnostics/runner-adapters/dead-code.js +4 -1
  89. package/node_modules/pi-lens/dist/clients/project-diagnostics/scanner.js +59 -3
  90. package/node_modules/pi-lens/dist/clients/project-lens-config.js +45 -2
  91. package/node_modules/pi-lens/dist/clients/read-guard.js +70 -11
  92. package/node_modules/pi-lens/dist/clients/resource-sampler.js +147 -9
  93. package/node_modules/pi-lens/dist/clients/ruff-client.js +1 -1
  94. package/node_modules/pi-lens/dist/clients/runtime-agent-end.js +33 -5
  95. package/node_modules/pi-lens/dist/clients/runtime-context.js +6 -2
  96. package/node_modules/pi-lens/dist/clients/runtime-coordinator.js +77 -7
  97. package/node_modules/pi-lens/dist/clients/runtime-session.js +21 -2
  98. package/node_modules/pi-lens/dist/clients/runtime-tool-call.js +43 -12
  99. package/node_modules/pi-lens/dist/clients/runtime-tool-result.js +330 -85
  100. package/node_modules/pi-lens/dist/clients/runtime-turn.js +147 -17
  101. package/node_modules/pi-lens/dist/clients/safe-spawn.js +258 -5
  102. package/node_modules/pi-lens/dist/clients/scratch-tree-policy.js +6 -0
  103. package/node_modules/pi-lens/dist/clients/session-event-guard.js +50 -5
  104. package/node_modules/pi-lens/dist/clients/sg-runner.js +23 -11
  105. package/node_modules/pi-lens/dist/clients/sgconfig.js +79 -2
  106. package/node_modules/pi-lens/dist/clients/test-runner-client.js +6 -41
  107. package/node_modules/pi-lens/dist/clients/test-runner-delivery.js +43 -0
  108. package/node_modules/pi-lens/dist/clients/tool-agreement.js +423 -0
  109. package/node_modules/pi-lens/dist/clients/tool-config.js +50 -0
  110. package/node_modules/pi-lens/dist/clients/tool-cwd.js +47 -76
  111. package/node_modules/pi-lens/dist/clients/tool-policy.js +163 -7
  112. package/node_modules/pi-lens/dist/clients/tree-sitter-client.js +120 -0
  113. package/node_modules/pi-lens/dist/clients/tree-sitter-query-loader.js +127 -189
  114. package/node_modules/pi-lens/dist/clients/widget-state.js +98 -0
  115. package/node_modules/pi-lens/dist/clients/word-index.js +5 -2
  116. package/node_modules/pi-lens/dist/clients/write-ordering-guard.js +7 -0
  117. package/node_modules/pi-lens/dist/index.js +27416 -24153
  118. package/node_modules/pi-lens/dist/mcp/server.js +5 -2
  119. package/node_modules/pi-lens/dist/tools/lens-diagnostic-mark.js +7 -1
  120. package/node_modules/pi-lens/dist/tools/lens-diagnostics.js +168 -53
  121. package/node_modules/pi-lens/dist/tools/lsp-diagnostics.js +244 -72
  122. package/node_modules/pi-lens/docs/audit1.md +5 -5
  123. package/node_modules/pi-lens/docs/dependencies.md +11 -0
  124. package/node_modules/pi-lens/docs/dispositions.md +52 -0
  125. package/node_modules/pi-lens/docs/environment-variables.md +2 -2
  126. package/node_modules/pi-lens/docs/features.md +4 -4
  127. package/node_modules/pi-lens/docs/globalconfig.md +3 -1
  128. package/node_modules/pi-lens/docs/language-coverage.md +1 -0
  129. package/node_modules/pi-lens/docs/pi-lens-fixer.md +53 -94
  130. package/node_modules/pi-lens/docs/pi-lens-investigator.md +43 -38
  131. package/node_modules/pi-lens/docs/pi-lens-retro.md +97 -0
  132. package/node_modules/pi-lens/docs/pi-lens-reviewer.md +53 -66
  133. package/node_modules/pi-lens/docs/release-qa-baseline.md +22 -0
  134. package/node_modules/pi-lens/docs/settings.md +7 -4
  135. package/node_modules/pi-lens/docs/tree-sitter_rules_catalog.md +1 -1
  136. package/node_modules/pi-lens/docs/usage.md +2 -0
  137. package/node_modules/pi-lens/package.json +1 -1
  138. package/node_modules/pi-lens/rules/tree-sitter-queries/typescript/sql-injection.yml +24 -12
  139. package/node_modules/pi-lens/scripts/analyze-pi-lens-logs.mjs +40 -0
  140. package/node_modules/pi-lens/skills/pi-lens-ast-grep/SKILL.md +15 -0
  141. package/node_modules/pi-lens/skills/pi-lens-lsp-navigation/SKILL.md +7 -0
  142. package/package.json +6 -17
  143. package/examples/pi-footer.json +0 -275
  144. package/node_modules/@czottmann/pi-automode/CHANGELOG.md +0 -70
  145. package/node_modules/@czottmann/pi-automode/LICENSE.md +0 -21
  146. package/node_modules/@czottmann/pi-automode/README.md +0 -215
  147. package/node_modules/@czottmann/pi-automode/docs/GLOSSARY.md +0 -39
  148. package/node_modules/@czottmann/pi-automode/docs/adr/ADR-001-permission-precedence-and-trust-boundaries.md +0 -46
  149. package/node_modules/@czottmann/pi-automode/docs/adr/ADR-002-global-config-in-extension-data-directory.md +0 -60
  150. package/node_modules/@czottmann/pi-automode/docs/adr/INDEX.md +0 -6
  151. package/node_modules/@czottmann/pi-automode/docs/automode-classifier-flow.md +0 -428
  152. package/node_modules/@czottmann/pi-automode/docs/configuration.md +0 -171
  153. package/node_modules/@czottmann/pi-automode/docs/defaults.md +0 -178
  154. package/node_modules/@czottmann/pi-automode/docs/diagnostics.md +0 -90
  155. package/node_modules/@czottmann/pi-automode/docs/observability-logging.md +0 -160
  156. package/node_modules/@czottmann/pi-automode/examples/automode.local.json +0 -44
  157. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/bash.ts +0 -692
  158. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/classifier.ts +0 -852
  159. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/config.ts +0 -904
  160. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/constants.ts +0 -228
  161. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/extension.ts +0 -954
  162. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/hard-deny.ts +0 -429
  163. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/log.ts +0 -173
  164. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/model-selector.ts +0 -113
  165. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/model.ts +0 -13
  166. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/paths.ts +0 -297
  167. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/permissions.ts +0 -623
  168. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/state.ts +0 -102
  169. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/transcript.ts +0 -236
  170. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/types.ts +0 -205
  171. package/node_modules/@czottmann/pi-automode/extensions/auto-mode/utils.ts +0 -54
  172. package/node_modules/@czottmann/pi-automode/extensions/auto-mode.ts +0 -26
  173. package/node_modules/@czottmann/pi-automode/package.json +0 -61
  174. package/node_modules/@czottmann/pi-automode/skills/automode-diagnostics/SKILL.md +0 -63
  175. package/node_modules/@luxusai/pi-hindsight/CHANGELOG.md +0 -376
  176. package/node_modules/@luxusai/pi-hindsight/README.md +0 -92
  177. package/node_modules/@luxusai/pi-hindsight/docs/adr/001-memory-lifecycle-and-scope.md +0 -56
  178. package/node_modules/@luxusai/pi-hindsight/docs/adr/002-explicit-routing-strategy-seam.md +0 -169
  179. package/node_modules/@luxusai/pi-hindsight/docs/adr/003-tui-memory-mode-vocabulary.md +0 -107
  180. package/node_modules/@luxusai/pi-hindsight/docs/adr/004-lifeos-dual-bank-design.md +0 -89
  181. package/node_modules/@luxusai/pi-hindsight/docs/adr/005-domain-banks-and-agent-first-surface.md +0 -189
  182. package/node_modules/@luxusai/pi-hindsight/docs/assets/logos/pi-hindsight-logo-dark.webp +0 -0
  183. package/node_modules/@luxusai/pi-hindsight/docs/assets/logos/pi-hindsight-logo-dark@2x.webp +0 -0
  184. package/node_modules/@luxusai/pi-hindsight/docs/coding-memory-evaluation.md +0 -54
  185. package/node_modules/@luxusai/pi-hindsight/docs/compatibility.md +0 -75
  186. package/node_modules/@luxusai/pi-hindsight/docs/hindsight-core-functions.md +0 -300
  187. package/node_modules/@luxusai/pi-hindsight/docs/mission-and-mental-model-quality.md +0 -158
  188. package/node_modules/@luxusai/pi-hindsight/docs/next-opt-out-design.md +0 -164
  189. package/node_modules/@luxusai/pi-hindsight/docs/risky-memory-modes.md +0 -139
  190. package/node_modules/@luxusai/pi-hindsight/docs/starter-mental-model-suggestions.md +0 -74
  191. package/node_modules/@luxusai/pi-hindsight/docs/surface-reference.md +0 -261
  192. package/node_modules/@luxusai/pi-hindsight/extensions/banks/bank-operations.ts +0 -151
  193. package/node_modules/@luxusai/pi-hindsight/extensions/banks/bank-selection.ts +0 -18
  194. package/node_modules/@luxusai/pi-hindsight/extensions/banks/bank-settings-presenter.ts +0 -46
  195. package/node_modules/@luxusai/pi-hindsight/extensions/banks/bank-templates.ts +0 -383
  196. package/node_modules/@luxusai/pi-hindsight/extensions/banks/banking.ts +0 -240
  197. package/node_modules/@luxusai/pi-hindsight/extensions/banks/knowledge-page-seed.ts +0 -176
  198. package/node_modules/@luxusai/pi-hindsight/extensions/banks/retain-strategies.ts +0 -178
  199. package/node_modules/@luxusai/pi-hindsight/extensions/client/client-retry.ts +0 -41
  200. package/node_modules/@luxusai/pi-hindsight/extensions/client/client.ts +0 -386
  201. package/node_modules/@luxusai/pi-hindsight/extensions/client/fetch-compat.ts +0 -39
  202. package/node_modules/@luxusai/pi-hindsight/extensions/client/timeout.ts +0 -34
  203. package/node_modules/@luxusai/pi-hindsight/extensions/config/config-defaults.ts +0 -140
  204. package/node_modules/@luxusai/pi-hindsight/extensions/config/config-editing-model.ts +0 -61
  205. package/node_modules/@luxusai/pi-hindsight/extensions/config/config-editing-registry.ts +0 -925
  206. package/node_modules/@luxusai/pi-hindsight/extensions/config/config-field-paths.ts +0 -247
  207. package/node_modules/@luxusai/pi-hindsight/extensions/config/config-normalize.ts +0 -547
  208. package/node_modules/@luxusai/pi-hindsight/extensions/config/config-writer.ts +0 -480
  209. package/node_modules/@luxusai/pi-hindsight/extensions/config/config.ts +0 -182
  210. package/node_modules/@luxusai/pi-hindsight/extensions/config/setup-gate.ts +0 -86
  211. package/node_modules/@luxusai/pi-hindsight/extensions/imports/import-execute.ts +0 -1010
  212. package/node_modules/@luxusai/pi-hindsight/extensions/imports/import-parse.ts +0 -175
  213. package/node_modules/@luxusai/pi-hindsight/extensions/imports/import-plan.ts +0 -425
  214. package/node_modules/@luxusai/pi-hindsight/extensions/imports/import-presentation.ts +0 -210
  215. package/node_modules/@luxusai/pi-hindsight/extensions/imports/import-sessions.ts +0 -817
  216. package/node_modules/@luxusai/pi-hindsight/extensions/index.ts +0 -25
  217. package/node_modules/@luxusai/pi-hindsight/extensions/lifecycle/git-seed.ts +0 -319
  218. package/node_modules/@luxusai/pi-hindsight/extensions/lifecycle/memory-lifecycle-recall.ts +0 -196
  219. package/node_modules/@luxusai/pi-hindsight/extensions/lifecycle/memory-lifecycle-retain.ts +0 -189
  220. package/node_modules/@luxusai/pi-hindsight/extensions/lifecycle/memory-lifecycle-runtime.ts +0 -65
  221. package/node_modules/@luxusai/pi-hindsight/extensions/lifecycle/memory-lifecycle.ts +0 -260
  222. package/node_modules/@luxusai/pi-hindsight/extensions/lifecycle/mental-models.ts +0 -244
  223. package/node_modules/@luxusai/pi-hindsight/extensions/lifecycle/observation-scopes.ts +0 -59
  224. package/node_modules/@luxusai/pi-hindsight/extensions/lifecycle/recall-cleanup.ts +0 -82
  225. package/node_modules/@luxusai/pi-hindsight/extensions/lifecycle/recall-visibility.ts +0 -45
  226. package/node_modules/@luxusai/pi-hindsight/extensions/lifecycle/recall.ts +0 -331
  227. package/node_modules/@luxusai/pi-hindsight/extensions/lifecycle/retain-cursor.ts +0 -354
  228. package/node_modules/@luxusai/pi-hindsight/extensions/lifecycle/retain-job-builder.ts +0 -66
  229. package/node_modules/@luxusai/pi-hindsight/extensions/lifecycle/retain-receipts.ts +0 -132
  230. package/node_modules/@luxusai/pi-hindsight/extensions/lifecycle/retain.ts +0 -228
  231. package/node_modules/@luxusai/pi-hindsight/extensions/operations/memory-bank-template-operations.ts +0 -74
  232. package/node_modules/@luxusai/pi-hindsight/extensions/operations/memory-config-operations.ts +0 -16
  233. package/node_modules/@luxusai/pi-hindsight/extensions/operations/memory-control-operations.ts +0 -648
  234. package/node_modules/@luxusai/pi-hindsight/extensions/operations/memory-diagnostics-operations.ts +0 -105
  235. package/node_modules/@luxusai/pi-hindsight/extensions/operations/memory-identity.ts +0 -68
  236. package/node_modules/@luxusai/pi-hindsight/extensions/operations/memory-operation-service.ts +0 -71
  237. package/node_modules/@luxusai/pi-hindsight/extensions/operations/memory-operation-types.ts +0 -13
  238. package/node_modules/@luxusai/pi-hindsight/extensions/operations/memory-recall-operations.ts +0 -162
  239. package/node_modules/@luxusai/pi-hindsight/extensions/operations/memory-retain-operations.ts +0 -131
  240. package/node_modules/@luxusai/pi-hindsight/extensions/operations/memory-scope.ts +0 -104
  241. package/node_modules/@luxusai/pi-hindsight/extensions/operations/memory-session-operations.ts +0 -37
  242. package/node_modules/@luxusai/pi-hindsight/extensions/operations/operation-catalog.ts +0 -893
  243. package/node_modules/@luxusai/pi-hindsight/extensions/operations/reflect-presenter.ts +0 -35
  244. package/node_modules/@luxusai/pi-hindsight/extensions/operations/scope-migrate.ts +0 -177
  245. package/node_modules/@luxusai/pi-hindsight/extensions/operations/tools.ts +0 -7
  246. package/node_modules/@luxusai/pi-hindsight/extensions/queue/flush-presenter.ts +0 -21
  247. package/node_modules/@luxusai/pi-hindsight/extensions/queue/jsonl-queue-store.ts +0 -112
  248. package/node_modules/@luxusai/pi-hindsight/extensions/queue/queue-delivery.ts +0 -111
  249. package/node_modules/@luxusai/pi-hindsight/extensions/queue/queue-lock.ts +0 -214
  250. package/node_modules/@luxusai/pi-hindsight/extensions/queue/queue-operations.ts +0 -70
  251. package/node_modules/@luxusai/pi-hindsight/extensions/queue/queue.ts +0 -392
  252. package/node_modules/@luxusai/pi-hindsight/extensions/tui/bank-template-presentation.ts +0 -45
  253. package/node_modules/@luxusai/pi-hindsight/extensions/tui/commands.ts +0 -9
  254. package/node_modules/@luxusai/pi-hindsight/extensions/tui/guided-setup.ts +0 -860
  255. package/node_modules/@luxusai/pi-hindsight/extensions/tui/prefill-input.ts +0 -105
  256. package/node_modules/@luxusai/pi-hindsight/extensions/tui/setup-flow.ts +0 -189
  257. package/node_modules/@luxusai/pi-hindsight/extensions/tui/setup-server-probe.ts +0 -299
  258. package/node_modules/@luxusai/pi-hindsight/extensions/tui/setup-tui-actions.ts +0 -201
  259. package/node_modules/@luxusai/pi-hindsight/extensions/tui/setup-tui-facts.ts +0 -47
  260. package/node_modules/@luxusai/pi-hindsight/extensions/tui/setup-tui-render.ts +0 -239
  261. package/node_modules/@luxusai/pi-hindsight/extensions/tui/setup-tui-types.ts +0 -50
  262. package/node_modules/@luxusai/pi-hindsight/extensions/tui/setup-tui.ts +0 -259
  263. package/node_modules/@luxusai/pi-hindsight/extensions/tui/tool-presenters.ts +0 -77
  264. package/node_modules/@luxusai/pi-hindsight/extensions/types.ts +0 -534
  265. package/node_modules/@luxusai/pi-hindsight/extensions/utils/diagnostics.ts +0 -319
  266. package/node_modules/@luxusai/pi-hindsight/extensions/utils/messages.ts +0 -325
  267. package/node_modules/@luxusai/pi-hindsight/extensions/utils/sanitize.ts +0 -42
  268. package/node_modules/@luxusai/pi-hindsight/extensions/utils/session-memory-meta.ts +0 -244
  269. package/node_modules/@luxusai/pi-hindsight/extensions/utils/session-operations.ts +0 -56
  270. package/node_modules/@luxusai/pi-hindsight/extensions/utils/session.ts +0 -50
  271. package/node_modules/@luxusai/pi-hindsight/extensions/utils/status-fields.ts +0 -167
  272. package/node_modules/@luxusai/pi-hindsight/extensions/utils/status-health.ts +0 -207
  273. package/node_modules/@luxusai/pi-hindsight/extensions/utils/status.ts +0 -120
  274. package/node_modules/@luxusai/pi-hindsight/extensions/version.ts +0 -8
  275. package/node_modules/@luxusai/pi-hindsight/package.json +0 -118
  276. package/node_modules/@luxusai/pi-hindsight/skills/hindsight-memory-doctor/SKILL.md +0 -75
@@ -1,63 +0,0 @@
1
- ---
2
- name: automode-diagnostics
3
- description: Diagnose unexpected pi-automode decisions from active state, effective rules, and observability logs. Use when auto mode blocks a safe action, allows an unsafe action, or needs a narrowly scoped rule correction.
4
- ---
5
-
6
- # Automode diagnostics
7
-
8
- Use this skill to investigate a pi-automode decision. Read [Agent diagnostics](../../docs/diagnostics.md), [Classifier flow](../../docs/automode-classifier-flow.md), [Defaults](../../docs/defaults.md), and [Observability logging](../../docs/observability-logging.md) before you change configuration.
9
-
10
- ## Safety rules
11
-
12
- - Investigate before you edit configuration.
13
- - Do not evade a denial with another tool, path, or disabled safety control.
14
- - Do not weaken a rule only to make one action pass.
15
- - Do not print credentials, tokens, private keys, signed URLs, or sensitive tool input.
16
- - Preserve unrelated working-tree and configuration changes.
17
- - Do not run an unsafe rejected action because auto mode is off.
18
-
19
- `automode_inspect` is read-only. It cannot change auto mode or configuration. Its output is model-visible and omits denial reasons and action payloads. Treat truncated output as incomplete.
20
-
21
- ## Investigation
22
-
23
- 1. Call `automode_inspect` with `status`, `config`, and `denials`.
24
- 2. Read the reported log path only when observability logging is enabled.
25
- 3. Use the denial timestamp, enforcement kind, and tool name to locate the relevant decision entry.
26
- 4. Inspect a decision reason only after you verify that it cannot contain sensitive input.
27
- 5. Identify the enforcement layer before you propose a change:
28
- - `permissions.deny` and `permissions.ask` are local rules.
29
- - `deterministic-hard-deny` is extension code.
30
- - `read-only` is a local allow.
31
- - `classifier` is a model decision.
32
- 6. Do not tune classifier rules to solve a permission or deterministic denial.
33
-
34
- For a classifier decision, use the effective configuration and the logged classifier metadata when available. Do not dump full prompts or raw responses. They can contain session context and tool input.
35
-
36
- ## Configuration correction
37
-
38
- Only change configuration when the user explicitly requests a correction.
39
-
40
- 1. Explain the proposed narrow change.
41
- 2. Ask the user to run `/automode off`.
42
- 3. Wait for confirmation.
43
- 4. While auto mode is off, edit only the requested automode configuration and related evidence files.
44
- 5. Validate JSON syntax and the exact diff.
45
- 6. Ask the user to run `/automode reload` and then `/automode on`.
46
- 7. Call `automode_inspect` with `status` and `config` to confirm that auto mode is enabled and the new configuration is active.
47
- 8. Retry an action only when the user requested it and the action is safe.
48
-
49
- When a correction replaces a rule list, check whether it retains `$defaults`. Keep unrelated protections. Test the corrected non-secret case, the secret-bearing variant, an unapproved destination, and an unrelated hard-deny case.
50
-
51
- ## Report
52
-
53
- Report:
54
-
55
- - the active configuration and log paths;
56
- - the decision timestamp, ID, and enforcement layer;
57
- - the evidence for the decision;
58
- - the proposed or applied narrow change;
59
- - validation performed and expected regression cases;
60
- - remaining uncertainty; and
61
- - whether auto mode is enabled.
62
-
63
- If the session ends while auto mode is off, tell the user to run `/automode on`.
@@ -1,376 +0,0 @@
1
- # Changelog
2
-
3
- ## [0.12.0](https://github.com/luxus/pi-hindsight/compare/v0.11.1...v0.12.0) (2026-08-13)
4
-
5
-
6
- ### Features
7
-
8
- * add hindsight_knowledge control plane for knowledge pages ([8731cac](https://github.com/luxus/pi-hindsight/commit/8731cac2fe64c88d8ca8866bcd0bf3df030736bc)), closes [#556](https://github.com/luxus/pi-hindsight/issues/556)
9
- * compact tool-call write-back for retain noise ([ad9c2e6](https://github.com/luxus/pi-hindsight/commit/ad9c2e68842bf8434fb18b3b92737284f59bf048)), closes [#561](https://github.com/luxus/pi-hindsight/issues/561)
10
- * **config:** prefer HINDSIGHT_API_TOKEN over HINDSIGHT_API_KEY ([af46e63](https://github.com/luxus/pi-hindsight/commit/af46e639cc3114323c92ee5de298795700db0830))
11
- * **config:** prefer HINDSIGHT_API_TOKEN over HINDSIGHT_API_KEY ([c5f8e8d](https://github.com/luxus/pi-hindsight/commit/c5f8e8d29d0bd9c9a18c2234719043c89127aaed)), closes [#553](https://github.com/luxus/pi-hindsight/issues/553)
12
- * knowledge export, tagsMatch, harness tag, async operationId ([fe1aec6](https://github.com/luxus/pi-hindsight/commit/fe1aec639ab9bdd06469513cb6473173caac0089))
13
- * multi-strategy retain and knowledge entity_labels on coding banks ([781545d](https://github.com/luxus/pi-hindsight/commit/781545db493f7dd466312171249d64d1f24fd3d1)), closes [#558](https://github.com/luxus/pi-hindsight/issues/558)
14
- * opt-in gitlog seed and sync readiness status ([9f77690](https://github.com/luxus/pi-hindsight/commit/9f77690f8287b3f30c43949cbaea3a45e2ef23a5)), closes [#560](https://github.com/luxus/pi-hindsight/issues/560)
15
- * seed knowledge-page taxonomy with capability degrade ([12415ff](https://github.com/luxus/pi-hindsight/commit/12415ff12377a2e6be92fff1ba166b8a4308a37b)), closes [#559](https://github.com/luxus/pi-hindsight/issues/559)
16
-
17
-
18
- ### Bug Fixes
19
-
20
- * **banks:** type knowledge entity_labels for hindsight-client 0.9 ([66172ff](https://github.com/luxus/pi-hindsight/commit/66172ff2ec719ecf27ae43017c9ec5636bbfa0fe))
21
- * **client:** align knowledge pages stack with hindsight-client 0.9.0 ([e9ec27c](https://github.com/luxus/pi-hindsight/commit/e9ec27c63e8e5838f84b6dd7ee39807da8933f1f))
22
- * **smoke:** raise sync retain timeout for parallel CI ([40b02ea](https://github.com/luxus/pi-hindsight/commit/40b02ea7b5bfea8ddbc20bc6018f01a6c06aef19))
23
- * **smoke:** raise sync retain timeout for parallel CI ([df9c267](https://github.com/luxus/pi-hindsight/commit/df9c2670c314c0576dd7f65c15dce4a7be91bb63))
24
- * **smoke:** recall imported facts without waiting on consolidation ([1cb26eb](https://github.com/luxus/pi-hindsight/commit/1cb26ebe9deb0aecf72004a6ea033595c1e547b6))
25
- * **smoke:** use sync retain so import documents materialize ([350e762](https://github.com/luxus/pi-hindsight/commit/350e762219a19ef815d5fc32735e06aba2657029))
26
- * **smoke:** verify import via getDocument then raw-fact recall ([44a2505](https://github.com/luxus/pi-hindsight/commit/44a2505dad54512ee77ad50f3dacc15d15b16aa4))
27
- * **tools:** keep mental-model list responses metadata-only ([52af4ea](https://github.com/luxus/pi-hindsight/commit/52af4eaf571cf8d63d40370818773afb3ff090e5))
28
-
29
- ## [0.11.1](https://github.com/luxus/pi-hindsight/compare/v0.11.0...v0.11.1) (2026-08-03)
30
-
31
-
32
- ### Bug Fixes
33
-
34
- * **operations:** declare type on tagGroups.match enum for MFJS compatibility ([3862650](https://github.com/luxus/pi-hindsight/commit/3862650b853d2b60e70cc83e8417d2638d72b152))
35
- * **operations:** declare type on tagGroups.match enum for MFJS compatibility ([ea00ebf](https://github.com/luxus/pi-hindsight/commit/ea00ebf823d52ba64e3d96dc275b12884d6886e7))
36
-
37
- ## [0.11.0](https://github.com/luxus/pi-hindsight/compare/v0.10.0...v0.11.0) (2026-07-25)
38
-
39
-
40
- ### Features
41
-
42
- * **retain:** add coalesced automatic-retain delivery ([#541](https://github.com/luxus/pi-hindsight/issues/541)) ([0e76a4f](https://github.com/luxus/pi-hindsight/commit/0e76a4f38e0e927bb4671dc2464bf4bd936bae2f))
43
- * **retain:** add coalesced automatic-retain delivery to cut DB write amplification ([13da9bf](https://github.com/luxus/pi-hindsight/commit/13da9bfb29fb92aa8220e750c24139dd7ed7f384))
44
-
45
-
46
- ### Bug Fixes
47
-
48
- * **retain:** harden coalesced delivery from PR [#541](https://github.com/luxus/pi-hindsight/issues/541) ([9bc7a09](https://github.com/luxus/pi-hindsight/commit/9bc7a0993e858fdc0c7b8eac567fb5986618c4fe))
49
- * **test:** drop optional timestamp in coalesce coverage case ([1f39b82](https://github.com/luxus/pi-hindsight/commit/1f39b8281850e85023da7bfa6876716ddeba4135))
50
-
51
- ## [0.10.0](https://github.com/luxus/pi-hindsight/compare/v0.9.0...v0.10.0) (2026-07-24)
52
-
53
-
54
- ### Features
55
-
56
- * **memory:** ensure project MMs, delta refresh, lean budgets, eval docs ([#533](https://github.com/luxus/pi-hindsight/issues/533)) ([010dfd9](https://github.com/luxus/pi-hindsight/commit/010dfd930b2dc87539a95638a5dcdacf5df94516))
57
-
58
-
59
- ### Bug Fixes
60
-
61
- * **setup:** save shared coding bank globally and prefill with replace-on-type ([#538](https://github.com/luxus/pi-hindsight/issues/538)) ([14a227b](https://github.com/luxus/pi-hindsight/commit/14a227bed3e1ccd1f215378b3325a4ab95084e52))
62
-
63
- ## [0.9.0](https://github.com/luxus/pi-hindsight/compare/v0.8.0...v0.9.0) (2026-07-12)
64
-
65
-
66
- ### Features
67
-
68
- * agent allowlisted hindsight_config get/patch tool ([#508](https://github.com/luxus/pi-hindsight/issues/508)) ([cc9c4b5](https://github.com/luxus/pi-hindsight/commit/cc9c4b597bba6df37c1e56a18bb950dc040c4e26))
69
- * agent control-plane tools for status, bank, mental models ([#502](https://github.com/luxus/pi-hindsight/issues/502)) ([813d26c](https://github.com/luxus/pi-hindsight/commit/813d26c6a6406a4a8764241100a30dbf01018497))
70
- * domain-tagged scope mode and coding bank profiles ([#499](https://github.com/luxus/pi-hindsight/issues/499)) ([3bc8789](https://github.com/luxus/pi-hindsight/commit/3bc87895cf924f9b09eb9a4fbb9e8a7a828451a4))
71
- * filter mental-model inject by project tags ([#501](https://github.com/luxus/pi-hindsight/issues/501)) ([cc32c06](https://github.com/luxus/pi-hindsight/commit/cc32c062aa7f507b20bc913c5ca86db09acc1b46))
72
- * opt-in shared/untagged observation recall ([#492](https://github.com/luxus/pi-hindsight/issues/492)) ([#503](https://github.com/luxus/pi-hindsight/issues/503)) ([726fa18](https://github.com/luxus/pi-hindsight/commit/726fa182ebbe0619ebcc142bf6e2fe5292410957))
73
- * **recall:** add optional score-floor gate for auto-inject ([2d1d536](https://github.com/luxus/pi-hindsight/commit/2d1d536b9d8c68fc2bd9b9805805f5a49060327a))
74
- * **recall:** add optional score-floor gate for auto-inject ([ec13b45](https://github.com/luxus/pi-hindsight/commit/ec13b45c30883403f4c975ab57645ba7fbe5d5f0)), closes [#473](https://github.com/luxus/pi-hindsight/issues/473)
75
- * scope migrate dry-run for dual-tag / legacy repo tags ([#505](https://github.com/luxus/pi-hindsight/issues/505)) ([4030380](https://github.com/luxus/pi-hindsight/commit/40303809b587449335a1bc6303e41d6783aedc86))
76
- * setup gate pauses memory until bank is configured ([#497](https://github.com/luxus/pi-hindsight/issues/497)) ([b3dba34](https://github.com/luxus/pi-hindsight/commit/b3dba34be7d822e3380b6b10669336ad221bd7b5))
77
- * stable projectId tags with dual-tag migration window ([#498](https://github.com/luxus/pi-hindsight/issues/498)) ([ff6cf51](https://github.com/luxus/pi-hindsight/commit/ff6cf51c2fe2c87887cfd7f9a8b5a3cfd7a1fb9a))
78
- * status fields with non-default tone signaling ([#500](https://github.com/luxus/pi-hindsight/issues/500)) ([1176a2b](https://github.com/luxus/pi-hindsight/commit/1176a2bdca40bcf43bf8f1ba82a15ac39f7e246e))
79
- * **tui:** durable ignore-this-repo option when no config ([#516](https://github.com/luxus/pi-hindsight/issues/516)) ([b664246](https://github.com/luxus/pi-hindsight/commit/b664246f73ded54e335152a6960eaa780f851c16))
80
- * **tui:** hub-first surface with use-profile mental models ([0b12d4b](https://github.com/luxus/pi-hindsight/commit/0b12d4bd8b19140f79d573369f7ac40f4c412994))
81
- * **tui:** hub-first surface with use-profile mental models ([42968a9](https://github.com/luxus/pi-hindsight/commit/42968a9f88832c9a6f93e03379512e7eea37fb37)), closes [#477](https://github.com/luxus/pi-hindsight/issues/477)
82
- * **tui:** probe Hindsight server health in guided setup ([#518](https://github.com/luxus/pi-hindsight/issues/518)) ([23e34e7](https://github.com/luxus/pi-hindsight/commit/23e34e7504184718c105d025afd43e65b405938b))
83
-
84
-
85
- ### Bug Fixes
86
-
87
- * control-plane review follow-ups for dry-run, gate, migrate ([#510](https://github.com/luxus/pi-hindsight/issues/510)) ([d46640b](https://github.com/luxus/pi-hindsight/commit/d46640bd4c14e952beae05bcadbd2eefeccfe4a5))
88
- * **memory:** tighten mental-model inject detection and multi-bank budget ([8920835](https://github.com/luxus/pi-hindsight/commit/8920835cd63e7abe1c621f979a5778c834d5a034))
89
- * **test:** make scope-migrate receipt path assertion Windows-safe ([#522](https://github.com/luxus/pi-hindsight/issues/522)) ([da74616](https://github.com/luxus/pi-hindsight/commit/da74616b8f46798b5ab87e09477ba048436a9348))
90
- * **tui:** polish guided setup offline path and bank status ([#520](https://github.com/luxus/pi-hindsight/issues/520)) ([3d527f7](https://github.com/luxus/pi-hindsight/commit/3d527f71de409e82b194219b680ef96816b0218d))
91
- * **tui:** restore next-opt-out and land review follow-ups ([9374b77](https://github.com/luxus/pi-hindsight/commit/9374b77aff4e1d68dd987e1822177c5ff0ac688f))
92
- * **tui:** skip guided mental-model offer for existing banks ([#514](https://github.com/luxus/pi-hindsight/issues/514)) ([50981d5](https://github.com/luxus/pi-hindsight/commit/50981d5b15a55bcaeb327b0dca47938300b181dd))
93
-
94
- ## [0.8.0](https://github.com/luxus/pi-hindsight/compare/v0.7.0...v0.8.0) (2026-07-06)
95
-
96
-
97
- ### Features
98
-
99
- * **banks:** bundle starter bank templates with browse/apply commands ([#475](https://github.com/luxus/pi-hindsight/issues/475)) ([08a2055](https://github.com/luxus/pi-hindsight/commit/08a2055fe6ea12de4a29d25654977c9a82a7cd19))
100
-
101
- ## [0.7.0](https://github.com/luxus/pi-hindsight/compare/v0.6.0...v0.7.0) (2026-07-04)
102
-
103
-
104
- ### Features
105
-
106
- * add exact tagsMatch mode for recall and reflect from Hindsight 0.8.x ([#449](https://github.com/luxus/pi-hindsight/issues/449)) ([bd6dc9d](https://github.com/luxus/pi-hindsight/commit/bd6dc9d4043cb5d7af0629f1b71f49ff0a4988b7))
107
- * add shared observation scope from Hindsight 0.8.x ([#448](https://github.com/luxus/pi-hindsight/issues/448)) ([52fbad4](https://github.com/luxus/pi-hindsight/commit/52fbad4a56df87b63265b138a6a2637c05919dac))
108
- * adopt Hindsight client 0.8.4 recall options, drop 'opinion' fact type ([#446](https://github.com/luxus/pi-hindsight/issues/446)) ([f1a0095](https://github.com/luxus/pi-hindsight/commit/f1a0095d17a92fe70517bfc6c4844b3239114d59))
109
- * adopt retainStructuredChunkSize bank config from Hindsight 0.8.x ([#447](https://github.com/luxus/pi-hindsight/issues/447)) ([eef92cd](https://github.com/luxus/pi-hindsight/commit/eef92cd0cfcb0eab5e0727e7f68fd4521281d8a0))
110
- * **bench:** add memory-quality benchmark harness over live Hindsight ([ddf7acb](https://github.com/luxus/pi-hindsight/commit/ddf7acbdfc40baa8cefc38da39483ebf83661632))
111
- * **client:** upgrade hindsight-client to 0.8.1 and retire REST shims ([d34cffa](https://github.com/luxus/pi-hindsight/commit/d34cffad08dd1df6a0d386a922cadf8e94139960))
112
- * **diagnostics:** revive /hindsight:doctor command ([#457](https://github.com/luxus/pi-hindsight/issues/457)) ([a430ef6](https://github.com/luxus/pi-hindsight/commit/a430ef6703ecbad41e28aad2578bd1433f4f78c4))
113
- * **diagnostics:** surface connected server version and feature flags ([3ce502d](https://github.com/luxus/pi-hindsight/commit/3ce502d0779c32ebe60bffd67249d33073a19d46))
114
- * **diagnostics:** surface connected server version and feature flags ([4b25732](https://github.com/luxus/pi-hindsight/commit/4b25732673fdf84be78aa0c954f99a2c4ea39c96))
115
- * **diagnostics:** surface connected server version and feature flags ([#441](https://github.com/luxus/pi-hindsight/issues/441)) ([3ce502d](https://github.com/luxus/pi-hindsight/commit/3ce502d0779c32ebe60bffd67249d33073a19d46))
116
- * land slim-core 0.8 rewrite ([#430](https://github.com/luxus/pi-hindsight/issues/430)) ([51776ee](https://github.com/luxus/pi-hindsight/commit/51776ee04eb6812a96ca0b427e44ea9c49693718))
117
- * land slim-core 0.8 rewrite (slim surface + native hindsight-client 0.8) ([51776ee](https://github.com/luxus/pi-hindsight/commit/51776ee04eb6812a96ca0b427e44ea9c49693718))
118
- * **recall:** add recall.userMaxTokens per ADR-004 ([#462](https://github.com/luxus/pi-hindsight/issues/462)) ([75060ad](https://github.com/luxus/pi-hindsight/commit/75060ad77b4a338cdca5b0613dfef9eb07bdc19f))
119
- * **recall:** expose source-fact enrichment in lifecycle recall and formatter ([1693bfd](https://github.com/luxus/pi-hindsight/commit/1693bfde926e39549a9a43808306f54ae7e0ce72))
120
- * **recall:** use tag-group scope isolation for lifecycle recall and tools ([a59b718](https://github.com/luxus/pi-hindsight/commit/a59b71860b8390da3a6488c299839f23455d00f4))
121
- * **reflect:** adopt 0.8 reflect options natively and summarize output ([92400dc](https://github.com/luxus/pi-hindsight/commit/92400dc07463764a6e7e7c6fb20bbf5aa82b86a3))
122
- * **retain:** surface retain outcome metadata in flush, queue, and status ([7e1b9b2](https://github.com/luxus/pi-hindsight/commit/7e1b9b2e96b8479f6c7a0bed3c51b337ae959783))
123
- * support expandable memory tool output ([#444](https://github.com/luxus/pi-hindsight/issues/444)) ([5da82de](https://github.com/luxus/pi-hindsight/commit/5da82ded2b243b8d5499e4e468af91fa56b823d9))
124
-
125
-
126
- ### Bug Fixes
127
-
128
- * **ci:** repoint stale coverage include/thresholds after slim-core reorg ([81e3d50](https://github.com/luxus/pi-hindsight/commit/81e3d50e7a7c1664df4b053c8b9573df8969bbcc))
129
- * **ci:** repoint stale coverage include/thresholds after slim-core reorg ([f0dfc27](https://github.com/luxus/pi-hindsight/commit/f0dfc272bd830f75988fba51bc76398a5e63471c))
130
- * **ci:** repoint stale coverage include/thresholds after slim-core reorg ([#442](https://github.com/luxus/pi-hindsight/issues/442)) ([81e3d50](https://github.com/luxus/pi-hindsight/commit/81e3d50e7a7c1664df4b053c8b9573df8969bbcc))
131
- * **client:** remove append capability seam and consolidate retry ([69041be](https://github.com/luxus/pi-hindsight/commit/69041be8cb171a38942476596d63884b6cd3ac43))
132
- * **lifecycle:** record inspectable init health and make recall cache TTL configurable ([3d88772](https://github.com/luxus/pi-hindsight/commit/3d88772266391703a0727b5aacedc1fd6f19865c))
133
- * **observability:** surface best-effort failures in post-retain reflect and lifecycle recall ([#456](https://github.com/luxus/pi-hindsight/issues/456)) ([178aba4](https://github.com/luxus/pi-hindsight/commit/178aba4568dfe7fdb6c51ff71c3f26eae9271a5f))
134
- * **recall:** fold scope tags into exact tagsMatch instead of an unsatisfiable AND ([#451](https://github.com/luxus/pi-hindsight/issues/451)) ([0e0f9a2](https://github.com/luxus/pi-hindsight/commit/0e0f9a27d9233b2fdbd28d049306a24992b9f480))
135
- * **retain-cursor:** bound v3 cursor, fix edit dedupe regression ([5035748](https://github.com/luxus/pi-hindsight/commit/5035748ec014210114c2f558d9a6da0f64f927d8))
136
- * **retain-cursor:** clamp frontier when branch shrinks transcript ([99ec414](https://github.com/luxus/pi-hindsight/commit/99ec414ec6b6845ab1152a32b8e390437c37f4bd))
137
- * **retain:** harden retain-cursor dedupe for long sessions ([2704dc0](https://github.com/luxus/pi-hindsight/commit/2704dc0e36d2ee4d7f1b1993d33a5446955408c1))
138
-
139
- ## [0.6.0](https://github.com/luxus/pi-hindsight/compare/v0.5.0...v0.6.0) (2026-05-20)
140
-
141
-
142
- ### Features
143
-
144
- * **client:** add exponential-backoff retry to REST calls ([a9329cd](https://github.com/luxus/pi-hindsight/commit/a9329cd95073b7a0581e3d46bcea3a9e82f6ff35))
145
- * **lifecycle:** add 60s TTL recall cache per session ([#387](https://github.com/luxus/pi-hindsight/issues/387)) ([b8dbdcb](https://github.com/luxus/pi-hindsight/commit/b8dbdcb19cfbcb821ee37383caf4806e83c2c6ef))
146
- * **lifecycle:** add error reporting to periodic and shutdown queue flush ([#388](https://github.com/luxus/pi-hindsight/issues/388)) ([bd93c9e](https://github.com/luxus/pi-hindsight/commit/bd93c9e858076dc82ec3a68ebfddd37f6d9591ce))
147
- * **retain:** add optional post-retain reflect ([#390](https://github.com/luxus/pi-hindsight/issues/390)) ([d0f4aed](https://github.com/luxus/pi-hindsight/commit/d0f4aed9beb911dde7bc565dc3c72f93597f29ae))
148
-
149
-
150
- ### Bug Fixes
151
-
152
- * **client:** restrict retry to idempotent methods per review ([d501723](https://github.com/luxus/pi-hindsight/commit/d501723db33554b5e5948c90130e55dde88048c9))
153
- * **deps:** align @vitest/coverage-v8 with vitest 4.1.5 and fix test breakages ([101ecdf](https://github.com/luxus/pi-hindsight/commit/101ecdf69f7faf5848ea3feee4ecb83b4faf6359))
154
- * **flush-presenter:** warn on malformed queue entries ([#394](https://github.com/luxus/pi-hindsight/issues/394)) ([5797273](https://github.com/luxus/pi-hindsight/commit/5797273dae3ecbbe786cf6f83e74d58e0648d136))
155
- * **lifecycle:** address review comments on flush notification behavior ([#389](https://github.com/luxus/pi-hindsight/issues/389)) ([5cf9833](https://github.com/luxus/pi-hindsight/commit/5cf9833d1a68e3923f4d4820382cacdd740a5ebb))
156
- * **smoke:** always clean up temporary smoke-test banks, add opt-out env var ([fd49bd8](https://github.com/luxus/pi-hindsight/commit/fd49bd8e2b7f9203738871c8df414d08c178e20e)), closes [#382](https://github.com/luxus/pi-hindsight/issues/382)
157
- * support Request-incompatible fetch wrappers ([#400](https://github.com/luxus/pi-hindsight/issues/400)) ([55e7f40](https://github.com/luxus/pi-hindsight/commit/55e7f40512aaad75964bc3ccdfc8a7ce1770d5d8))
158
-
159
- ## [0.5.0](https://github.com/luxus/pi-hindsight/compare/v0.4.1...v0.5.0) (2026-05-09)
160
-
161
- ### Features
162
-
163
- - harden 1.0 readiness contract ([#360](https://github.com/luxus/pi-hindsight/issues/360)) ([e7a36c9](https://github.com/luxus/pi-hindsight/commit/e7a36c9c846e6d58676e2bf0626b3ac7c473a4a4))
164
-
165
- ### Bug Fixes
166
-
167
- - **operation-catalog:** flatten recursive HindsightTagGroup tool schema ([#366](https://github.com/luxus/pi-hindsight/issues/366)) ([2b6518d](https://github.com/luxus/pi-hindsight/commit/2b6518d9bd2a44fbca2d31a67237bbb96c7414e4)), closes [#365](https://github.com/luxus/pi-hindsight/issues/365)
168
- - **release:** publish through trusted workflow ([#350](https://github.com/luxus/pi-hindsight/issues/350)) ([fdd4eb0](https://github.com/luxus/pi-hindsight/commit/fdd4eb0844be9937c6847ac3cfb7ca7374431f1d))
169
-
170
- ## [0.4.1](https://github.com/luxus/pi-hindsight/compare/v0.4.0...v0.4.1) (2026-05-09)
171
-
172
- ### Bug Fixes
173
-
174
- - **release:** harden audit surfaces ([#347](https://github.com/luxus/pi-hindsight/issues/347)) ([3f2d71c](https://github.com/luxus/pi-hindsight/commit/3f2d71cfdb955cafa2d8155b77b8bd7fb82057f2))
175
-
176
- ## [0.4.0](https://github.com/luxus/pi-hindsight/compare/v0.3.0...v0.4.0) (2026-05-09)
177
-
178
- ### Features
179
-
180
- - **client:** adopt Hindsight client 0.6.1 ([caa4a48](https://github.com/luxus/pi-hindsight/commit/caa4a48b92129c394eb72fa8c0044d851464407e))
181
- - **import:** show progress for transcript imports ([098c469](https://github.com/luxus/pi-hindsight/commit/098c469cc2113e553f070d584d14d02e2a18fa78))
182
- - **tools:** add bank template import surface ([f30ca02](https://github.com/luxus/pi-hindsight/commit/f30ca0224ea080d4c294f65d8a0883332d0a0adf))
183
- - **tools:** expose remaining memory surfaces ([3c071ac](https://github.com/luxus/pi-hindsight/commit/3c071ac9ce8c93c21e358f72690a3cc4ba51e006))
184
-
185
- ## [0.3.0](https://github.com/luxus/pi-hindsight/compare/v0.2.0...v0.3.0) (2026-05-07)
186
-
187
- ### Features
188
-
189
- - **deps:** migrate Pi runtime package namespace ([ff89de7](https://github.com/luxus/pi-hindsight/commit/ff89de7e44f48ecf1a4e418e3fd13903fa3e3161))
190
- - expose advanced recall controls ([be8c3c6](https://github.com/luxus/pi-hindsight/commit/be8c3c64904744aa68038d574af257272fc0a95a))
191
- - **setup:** add guided memory profiles ([#321](https://github.com/luxus/pi-hindsight/issues/321)) ([f81d11d](https://github.com/luxus/pi-hindsight/commit/f81d11d0a2ffb42bc31d3b5dbe70838e3691be24))
192
- - **tools:** add bank exploration tools ([98d0cd1](https://github.com/luxus/pi-hindsight/commit/98d0cd18c6537afd58f42527bfd29747420fa36d))
193
- - **tools:** add Hindsight admin inspection tools ([1d27678](https://github.com/luxus/pi-hindsight/commit/1d276782fc2347b219946f4b435400ac09877bbe))
194
-
195
- ### Bug Fixes
196
-
197
- - harden queue lock race retries on Windows ([b87c24b](https://github.com/luxus/pi-hindsight/commit/b87c24b2a43c7a65302959a013311a4b2f2726f9)), closes [#311](https://github.com/luxus/pi-hindsight/issues/311)
198
- - **import:** dedupe queued gateway imports ([#301](https://github.com/luxus/pi-hindsight/issues/301)) ([8b11c88](https://github.com/luxus/pi-hindsight/commit/8b11c8897e62741afea607d32db38cbc1a351b74))
199
- - **import:** skip empty curated session imports ([bcbf0b7](https://github.com/luxus/pi-hindsight/commit/bcbf0b7705b603bbdb35bc4e91e4df7562f20dd9))
200
- - revalidate project import cwd during execution ([fde2e05](https://github.com/luxus/pi-hindsight/commit/fde2e05bf32db198daa8ca697ab7930fd2553bc0))
201
- - **security:** redact setup error surfaces ([cd0122d](https://github.com/luxus/pi-hindsight/commit/cd0122db5405b0128e6160d5b480ffbce6f3bdbe)), closes [#298](https://github.com/luxus/pi-hindsight/issues/298)
202
-
203
- ## [0.2.0](https://github.com/luxus/pi-hindsight/compare/v0.1.0...v0.2.0) (2026-05-06)
204
-
205
- ### Features
206
-
207
- - add import status activity labels ([3158aac](https://github.com/luxus/pi-hindsight/commit/3158aac4dd0a7790bdb360394afb9f3667df375a)), closes [#248](https://github.com/luxus/pi-hindsight/issues/248)
208
- - add internal recall reflect option parity ([af769be](https://github.com/luxus/pi-hindsight/commit/af769beaecbf88db1211e0f272cc7fef51519862)), closes [#248](https://github.com/luxus/pi-hindsight/issues/248)
209
- - add internal retain option parity ([d2b62bb](https://github.com/luxus/pi-hindsight/commit/d2b62bb25cb58bef8ea5d2da81f60b16160e6271)), closes [#248](https://github.com/luxus/pi-hindsight/issues/248)
210
- - **bank-settings:** add config reset tools ([1c1c662](https://github.com/luxus/pi-hindsight/commit/1c1c662a052562e2dd7150f4c883ba42b6a4dae1))
211
- - **bank-settings:** add directive tools ([12a188b](https://github.com/luxus/pi-hindsight/commit/12a188b5a9f0193fd93386394494c0162805baf0))
212
- - **bank-settings:** add location presenter ([b6d0b00](https://github.com/luxus/pi-hindsight/commit/b6d0b006fcd5129d7ce7d02f0b3f882f7fb2da50))
213
- - **bank-templates:** add schema fetch tool ([f89ffba](https://github.com/luxus/pi-hindsight/commit/f89ffbaa265a1d9af89b214e10d1a87ba74a9760))
214
- - **bank-templates:** save exported manifests ([505a2de](https://github.com/luxus/pi-hindsight/commit/505a2de34962f4a8154f6fd28182e2ac6ce134f1))
215
- - **config:** migrate global memory config to user ([e7b3a8d](https://github.com/luxus/pi-hindsight/commit/e7b3a8dd05a0f6dfd74d164ae99b5ae39b8218e8))
216
- - **config:** read bank missions from Hindsight config ([ed15207](https://github.com/luxus/pi-hindsight/commit/ed15207cfa56e0a310cf6345b258d1965501f801))
217
- - configure import tool result policy ([115b4dc](https://github.com/luxus/pi-hindsight/commit/115b4dc1ad0f145f38c78a874fbd27527d837079)), closes [#248](https://github.com/luxus/pi-hindsight/issues/248)
218
- - **core:** expose mental model api seam ([e6009d2](https://github.com/luxus/pi-hindsight/commit/e6009d2864dd01d8d3a957adacbf12f1b52c75c1))
219
- - **diagnostics:** show latest import quality ([6607a4d](https://github.com/luxus/pi-hindsight/commit/6607a4d02ce1abc157fbe4a35ceb7be0812f028d)), closes [#275](https://github.com/luxus/pi-hindsight/issues/275)
220
- - filter low-quality recall results ([5cebb3b](https://github.com/luxus/pi-hindsight/commit/5cebb3bf843898ca937458cd515cc483a7eca1d1)), closes [#248](https://github.com/luxus/pi-hindsight/issues/248)
221
- - **import:** add gateway transcript import ([4498efd](https://github.com/luxus/pi-hindsight/commit/4498efdc3274fac6ac970df058cb8762fbdfb8b2))
222
- - **import:** add historical import modes ([6d45d6d](https://github.com/luxus/pi-hindsight/commit/6d45d6d34ec4d94c6ff199fddc619d1d32c36774))
223
- - **import:** add strict curated quality profile ([81b70b5](https://github.com/luxus/pi-hindsight/commit/81b70b5624f80f44639c65db53c393f8da08e388)), closes [#248](https://github.com/luxus/pi-hindsight/issues/248)
224
- - **import:** chunk curated sessions by turns ([4cad43d](https://github.com/luxus/pi-hindsight/commit/4cad43df5a776441327799679acac87c683b96dd))
225
- - **import:** offer post-import mental model refresh ([1bea940](https://github.com/luxus/pi-hindsight/commit/1bea94004fb5a91eb9a7398b3e7a8a3d7cb96131))
226
- - **import:** record checkpoint quality context ([efc82b7](https://github.com/luxus/pi-hindsight/commit/efc82b747c4f90d5b081e37bf393accae30304b4))
227
- - **import:** summarize import signal and noise ([5acb3f9](https://github.com/luxus/pi-hindsight/commit/5acb3f9f83c9f2114bc775afb81cdd8bde180727)), closes [#273](https://github.com/luxus/pi-hindsight/issues/273)
228
- - **import:** summarize project import quality ([ced79b2](https://github.com/luxus/pi-hindsight/commit/ced79b221d1e18bdb186b9a24b517ca8a2ef4ac7)), closes [#269](https://github.com/luxus/pi-hindsight/issues/269)
229
- - **operations:** promote reflect query to mental model ([780c6e1](https://github.com/luxus/pi-hindsight/commit/780c6e1dd88700728f4c3a2d79d218a5ade73373))
230
- - **retain:** expose explicit retain options ([bfb768b](https://github.com/luxus/pi-hindsight/commit/bfb768b8bde6805e10e5027096880cd75e9e1320))
231
- - **routing:** explain route dry runs ([a744e8d](https://github.com/luxus/pi-hindsight/commit/a744e8d72cb0812fc4d1a2ed5cd3685b95200af3))
232
- - **setup:** add built-in bank templates and import metrics ([c25a6b2](https://github.com/luxus/pi-hindsight/commit/c25a6b25f3e6db35e7c49b1e0036db428920c161))
233
- - **setup:** offer profile-aware historical import ([7dcefed](https://github.com/luxus/pi-hindsight/commit/7dcefed35321f5579c0f69bec4deb826b89cb700))
234
- - **setup:** review bank templates before apply ([03388ae](https://github.com/luxus/pi-hindsight/commit/03388ae03588decab2567f18d9d0b213250dfb0c))
235
- - show import quality reason counts ([1f59cdd](https://github.com/luxus/pi-hindsight/commit/1f59cdd0e4e7396a45f0b77f1c46801e9b8b02df)), closes [#248](https://github.com/luxus/pi-hindsight/issues/248)
236
- - support Hindsight 0.6 ([2187444](https://github.com/luxus/pi-hindsight/commit/21874443be69836a66ca8ab7d262b8ccf2162e95)), closes [#234](https://github.com/luxus/pi-hindsight/issues/234)
237
- - **template:** add setup template editor model ([a401f7c](https://github.com/luxus/pi-hindsight/commit/a401f7c34bf17c113eb5a9255d99dfd65a123104))
238
- - **template:** export bank manifests ([3bf800a](https://github.com/luxus/pi-hindsight/commit/3bf800a25a155ce46b865c61dbab2638c0994b3f))
239
- - **tui:** add guided memory setup ([15df71f](https://github.com/luxus/pi-hindsight/commit/15df71f6cbbcb5e4d85eca02c29b0bbf8d1eb961))
240
- - **tui:** add mental model library ([00e8527](https://github.com/luxus/pi-hindsight/commit/00e85276da56a6071a8cb5ef3f1617d41943656e))
241
- - **tui:** add setup flow state machine ([245fea8](https://github.com/luxus/pi-hindsight/commit/245fea8a52d427718f6bb05ef314d79c713b0e48))
242
- - **tui:** flush retain queue from setup ([71aff41](https://github.com/luxus/pi-hindsight/commit/71aff416f3d236b049de31286859a5b356be3655))
243
- - **tui:** import bank templates during setup ([9eaaefb](https://github.com/luxus/pi-hindsight/commit/9eaaefb9cff9346645225a760d81ab686045b018))
244
- - **tui:** make mental models read-only ([06dd166](https://github.com/luxus/pi-hindsight/commit/06dd166314120327c9f22cd02684835f8cbbab5f))
245
-
246
- ### Bug Fixes
247
-
248
- - enable docs pages workflow ([5487783](https://github.com/luxus/pi-hindsight/commit/5487783cc057feecd3f861f74ca2c8951245736f))
249
- - **import:** harden provenance and resume idempotency ([3eab1ce](https://github.com/luxus/pi-hindsight/commit/3eab1ce0028f741b6ff812da80144a8e1d547244))
250
- - **release:** align release-please tags ([ebf45b3](https://github.com/luxus/pi-hindsight/commit/ebf45b3a7cd89e2e29b0006d010f89f760e7c76b))
251
- - resolve release blockers ([3412ae7](https://github.com/luxus/pi-hindsight/commit/3412ae75944cc5b46338dfc8d4ab85e06c585060))
252
- - **retain:** redact retained context ([06460be](https://github.com/luxus/pi-hindsight/commit/06460be6b3b792946d765cdcb259245ef7515f97)), closes [#279](https://github.com/luxus/pi-hindsight/issues/279)
253
-
254
- ## 0.1.0 (2026-04-29)
255
-
256
- ### Features
257
-
258
- - expose release readiness memory controls ([5b1ebcb](https://github.com/luxus/pi-hindsight/commit/5b1ebcb9c364d431c2140c0eea268f4d170f7d66))
259
- - add recall cleanup command ([ed993d0](https://github.com/luxus/pi-hindsight/commit/ed993d0f87ba44b4fab15f414e40f208e44c8469))
260
- - add api key secret refs ([8ef4ec5](https://github.com/luxus/pi-hindsight/commit/8ef4ec5dc58f8bb3c6047011b1abbc1ea99678a7))
261
- - add setup deployment guidance ([d3c1dcd](https://github.com/luxus/pi-hindsight/commit/d3c1dcdef8a01db5bfe6aa23e4f581efdf70ba4b))
262
- - add project session imports ([bd343b9](https://github.com/luxus/pi-hindsight/commit/bd343b99a653ea1f36991941a3ba1add226954b1))
263
- - add import checkpoint resume ([95da3dd](https://github.com/luxus/pi-hindsight/commit/95da3dd00ec92dc08995636a8d28a028b7bcb2a1))
264
- - add import dry-run previews ([008788d](https://github.com/luxus/pi-hindsight/commit/008788dc0cb505fd0be2fecaa9277267bf7db2c0))
265
- - add bank-aware recall queries ([f1c091c](https://github.com/luxus/pi-hindsight/commit/f1c091cbd49710da27310c0d07a43995cb4987f9))
266
- - add opt-in recall visibility ([5957070](https://github.com/luxus/pi-hindsight/commit/5957070bf0e3e37980e5d12bc9b0fb7104b66839))
267
- - improve recall query construction ([9109da6](https://github.com/luxus/pi-hindsight/commit/9109da6f21ad413025afda8f7eb3a8d5002b7196))
268
- - pass retain observation scopes ([30c20fa](https://github.com/luxus/pi-hindsight/commit/30c20fa34503c4aea33c92df9424d1869907ba88))
269
- - add global memory profiles ([4983fc8](https://github.com/luxus/pi-hindsight/commit/4983fc8e47a2f9982ed1099358d5fa27d05e5b90))
270
- - add session memory governance ([1d47ea8](https://github.com/luxus/pi-hindsight/commit/1d47ea83bd37e240218cec732ab4037eaecd80f6))
271
- - add rich retain projection policy ([5b39e1a](https://github.com/luxus/pi-hindsight/commit/5b39e1a84a1cc8966f6e3d0cd16cdf35c03fb56b))
272
- - add observation scope config ([0ffc7d2](https://github.com/luxus/pi-hindsight/commit/0ffc7d2bd34576898250b27b9fa7f77286df04d2))
273
- - support bank missions ([de41cba](https://github.com/luxus/pi-hindsight/commit/de41cba3e76408b12849526e73d928a04e958d4d))
274
- - add recall query controls ([b6155c6](https://github.com/luxus/pi-hindsight/commit/b6155c6d34ea759a91fc96efdb9e0969f596a127))
275
- - detect append retain capability ([2f1cdcb](https://github.com/luxus/pi-hindsight/commit/2f1cdcbfa58479b2985f3d81159bb502e32abc77))
276
- - improve Hindsight status visibility ([deeab18](https://github.com/luxus/pi-hindsight/commit/deeab189dd77ca553a6b6159c71e6d64b6b4b3ec))
277
- - implement Pi Hindsight MVP ([ec7e749](https://github.com/luxus/pi-hindsight/commit/ec7e749d34a9548b38c34226aa886faac7a9090a))
278
-
279
- ### Bug Fixes
280
-
281
- - block active recall cleanup prune ([676d548](https://github.com/luxus/pi-hindsight/commit/676d548d3b26e8c9716803acac9b2620115697cb))
282
- - improve doctor diagnostics ([6dd4e53](https://github.com/luxus/pi-hindsight/commit/6dd4e5334a6508119f24cba302c1e12b913898a3))
283
- - validate api key ref strings ([f564784](https://github.com/luxus/pi-hindsight/commit/f5647842a4760ddda521c9b4b50b9a9f585c432e))
284
- - isolate project import checkpoints ([e142bef](https://github.com/luxus/pi-hindsight/commit/e142befde4fc4c1dd4b57106d40dce5144bbd0f2))
285
- - include import mode in checkpoint runs ([4e7c5ff](https://github.com/luxus/pi-hindsight/commit/4e7c5ff1ca5c0c359ff9ac712b889454593e691b))
286
- - pass observation scopes for durable retain ([2ae0deb](https://github.com/luxus/pi-hindsight/commit/2ae0deb801a0a094536cb5b450d0d08d0d467f2a))
287
- - harden recall failure handling ([212facf](https://github.com/luxus/pi-hindsight/commit/212facf8c04a2888d101aca4271fa7808672c8cc))
288
- - harden append fallback replay ([ae9abcb](https://github.com/luxus/pi-hindsight/commit/ae9abcb5e330f21c8c8d80918aabdf793d529c28))
289
- - keep enqueue tolerant of malformed queues ([7737741](https://github.com/luxus/pi-hindsight/commit/773774104a762e95035563d85e4a4b5a7fcf6d12))
290
- - harden retain queue durability ([1d8ad9a](https://github.com/luxus/pi-hindsight/commit/1d8ad9a08e3295586189c01ba01e4e6039a0ff6c))
291
- - preserve recall query overrides ([dc6cb4e](https://github.com/luxus/pi-hindsight/commit/dc6cb4eb01231915f7298d052e857166da5d9e83))
292
- - skip empty recall query turns ([c38d23c](https://github.com/luxus/pi-hindsight/commit/c38d23c7a93bba89090a4e046790af572a02eeea))
293
- - preserve global-only profile settings ([d1d91b2](https://github.com/luxus/pi-hindsight/commit/d1d91b2d7e5f524d10c64d54eb5da1c1fbda3202))
294
- - preserve session retain opt-out ([0528690](https://github.com/luxus/pi-hindsight/commit/0528690559b1f756b5586d2da1a7acf2876e84b1))
295
- - harden session governance recovery ([b57e30b](https://github.com/luxus/pi-hindsight/commit/b57e30b4cc4562774d284cf23e8f9dc4b72868d8))
296
- - avoid recall after non-user turns ([e29e702](https://github.com/luxus/pi-hindsight/commit/e29e7026fdbfc0470f990f4a0b243988c7c3ce01))
297
- - default recall for prompt caching ([3be7a9e](https://github.com/luxus/pi-hindsight/commit/3be7a9e1ba314c3bb74fcca589dd629089ac5990))
298
- - default invalid tool filters ([df5cc03](https://github.com/luxus/pi-hindsight/commit/df5cc0345dd69f07113d4e7d63e5dde83faa9470))
299
- - enable observations by default ([d625004](https://github.com/luxus/pi-hindsight/commit/d6250047a328c0d0870505d13d93b97f539b8967))
300
- - isolate bank startup failures ([2502709](https://github.com/luxus/pi-hindsight/commit/25027090eb6a037c3b362f33e4cd148cd11d2c4f))
301
- - keep appended recall as system context ([c635639](https://github.com/luxus/pi-hindsight/commit/c6356391546cb5ff90ef11a3a3149bf6cfa7e2bd))
302
- - await append capability probe ([925e35d](https://github.com/luxus/pi-hindsight/commit/925e35d108f187e26812715c9b7388336998f6d2))
303
- - keep active queue locks fresh ([a14cbc7](https://github.com/luxus/pi-hindsight/commit/a14cbc7428838caf7b1eddc597fafcf2124f8cf2))
304
- - harden retain queue locking ([672da72](https://github.com/luxus/pi-hindsight/commit/672da72ad64146f2d1e72bb8c5e357e37d5d0953))
305
- - queue explicit retain writes ([505160a](https://github.com/luxus/pi-hindsight/commit/505160ab94e45cf2d9be758088368ad8751a9989))
306
- - ignore empty smoke test env values ([ae32865](https://github.com/luxus/pi-hindsight/commit/ae32865372a6d585d91c24b3eb6dddc34cfa3abe))
307
-
308
- ### Refactoring
309
-
310
- - remove unreleased legacy shims ([feea9d2](https://github.com/luxus/pi-hindsight/commit/feea9d2b6df265e4080cb35d39c86d84ee7f1036))
311
- - use retainBatch transport ([a0c7f67](https://github.com/luxus/pi-hindsight/commit/a0c7f67a62a9f302c86f9b570ecc2d122e21b97e))
312
- - close memory hardening gaps ([6069534](https://github.com/luxus/pi-hindsight/commit/6069534742cb7b249ffd72161e4b1dc13d406381))
313
- - harden memory durability seams ([e520d3a](https://github.com/luxus/pi-hindsight/commit/e520d3a7e42d68c0f47709d1f39b5218fe0a14e0))
314
- - deepen memory operations ([702ac6e](https://github.com/luxus/pi-hindsight/commit/702ac6eca22ff364cce7c1e3cc99432a39f91db2))
315
-
316
- ### Documentation
317
-
318
- - refresh changelog generation ([cd9593a](https://github.com/luxus/pi-hindsight/commit/cd9593afb698c4bf98511f4dd8718ac2d2b07dd7))
319
- - mark global review loop complete ([e4a9318](https://github.com/luxus/pi-hindsight/commit/e4a9318b4a3c7c5deac7787468c563d2e4313912))
320
- - record upstream retain issue ([c3de5aa](https://github.com/luxus/pi-hindsight/commit/c3de5aaa07c82ff7ef16f6f7c26ac221aadefa31))
321
- - clarify release verification ([4f2de2c](https://github.com/luxus/pi-hindsight/commit/4f2de2c3821a59e17fa3600ab79f02fc4f991e63))
322
- - refresh roadmap status ([14986ac](https://github.com/luxus/pi-hindsight/commit/14986ac14bda9ec2d42eb5b92db13a81dff30c44))
323
- - clarify memory profile routing ([0698d03](https://github.com/luxus/pi-hindsight/commit/0698d03d11b1c5d0323b0f8c7a8512028ca70730))
324
- - add follow-up maintainer feedback ([0a6bc96](https://github.com/luxus/pi-hindsight/commit/0a6bc965683784377c30d508cf3017a9632033e0))
325
- - add maintainer feedback to roadmap ([3deb058](https://github.com/luxus/pi-hindsight/commit/3deb058ecfa8d1f49e217de8102300ee25f2a526))
326
- - add next changes plan ([f2c1b70](https://github.com/luxus/pi-hindsight/commit/f2c1b70223d2a556cd966944d220f853d90b3040))
327
- - update changelog ([c728926](https://github.com/luxus/pi-hindsight/commit/c72892649ba9b6116ef3f716b8bd0f10d001ffbc))
328
- - update changelog ([1fb69fb](https://github.com/luxus/pi-hindsight/commit/1fb69fb08c4f50318389a9a20eaf7c641e093385))
329
- - update changelog ([156a603](https://github.com/luxus/pi-hindsight/commit/156a603c54c61fb89a0d533a7702f7a32cde27ff))
330
- - update changelog ([1acb50d](https://github.com/luxus/pi-hindsight/commit/1acb50df6a9739221d9fb86b444c3dad92bcacdb))
331
- - update changelog ([5c35c36](https://github.com/luxus/pi-hindsight/commit/5c35c36cbec4fea1b4139c371db52a5cbf80d384))
332
- - generate changelog ([433e90c](https://github.com/luxus/pi-hindsight/commit/433e90ce1dfa757c0cf24a7e988f43ee892ea468))
333
-
334
- ### Tests
335
-
336
- - cover changelog generator ([48769c4](https://github.com/luxus/pi-hindsight/commit/48769c4457c6ab74c4a75952f112cb6f0a4b84af))
337
-
338
- ### CI
339
-
340
- - update workflow actions to v6 ([0803e43](https://github.com/luxus/pi-hindsight/commit/0803e4334966aa477b928e5bdd5ad583d62d474a))
341
- - add configured Hindsight smoke workflow ([2d3d837](https://github.com/luxus/pi-hindsight/commit/2d3d837aa00443e2bc95b398f408c16e03678b18))
342
-
343
- ### Chores
344
-
345
- - remove unused changelog dependency ([ad3cd3a](https://github.com/luxus/pi-hindsight/commit/ad3cd3a6a5618b9588e159055582542a5bdffddf))
346
- - prepare package release metadata ([7b7deea](https://github.com/luxus/pi-hindsight/commit/7b7deea8075502940e2523426042bafce0de98cc))
347
- - ignore local agent skill files ([fd4d30e](https://github.com/luxus/pi-hindsight/commit/fd4d30eeaea7224cd8ce3c9e2213c7d7b9502833))
348
-
349
- ### Other Changes
350
-
351
- - Cover next opt-out mode precedence ([a3b74ea](https://github.com/luxus/pi-hindsight/commit/a3b74ea18c0078bcd3fb61231e9bf334ec13f508))
352
- - Keep next opt-out pending on cursor failure ([4e350a7](https://github.com/luxus/pi-hindsight/commit/4e350a7f04dc86e75606be3b06aa5a470b039d93))
353
- - Expand next opt-out regression coverage ([331c43f](https://github.com/luxus/pi-hindsight/commit/331c43f07a77dba7970b5c535b69d075d6ab3225))
354
- - Record next opt-out implementation ([ae2fd0a](https://github.com/luxus/pi-hindsight/commit/ae2fd0adf0cca1884cc6a83a1e5da966b9da112e))
355
- - Add one-turn retain opt-out ([4439ca9](https://github.com/luxus/pi-hindsight/commit/4439ca9ce5e9c5763402621ca8370671d0465937))
356
- - Health-check active diagnostics bank ([463d0fe](https://github.com/luxus/pi-hindsight/commit/463d0febc414190d3db8d0173610ad6ef4562a50))
357
- - Filter recall artifacts from imports ([d3cefa0](https://github.com/luxus/pi-hindsight/commit/d3cefa0275a97b008aa8ebbaa8a14e9803107f7a))
358
- - Tolerate malformed import lines ([906ffed](https://github.com/luxus/pi-hindsight/commit/906ffed1edd605baad2ec608010999f350df6b50))
359
- - Add parent session import provenance ([eee9817](https://github.com/luxus/pi-hindsight/commit/eee98178665deae70e5effd61dd735061b693b16))
360
- - Add Hindsight command argument completions ([529591e](https://github.com/luxus/pi-hindsight/commit/529591e3dd8c18d3350bd17837af9a9547f898f9))
361
- - Dedupe dead-letter queue entries ([161959e](https://github.com/luxus/pi-hindsight/commit/161959e1f953f2f0155f4d7a6ac23172d2262471))
362
- - Isolate append capability probe memory ([398b5f0](https://github.com/luxus/pi-hindsight/commit/398b5f03b54d75d68dc8ca7c3eb2287e1c8842f6))
363
- - Tolerate corrupt import sidecars ([83f0658](https://github.com/luxus/pi-hindsight/commit/83f06580e42b970406e06575ea7b9255648b8675))
364
- - Clarify no-bank diagnostics ([3f4a5cb](https://github.com/luxus/pi-hindsight/commit/3f4a5cbb1b39fa5eb7cb025232371c8cfde7aa52))
365
- - Reject cross-project session imports ([a7614bd](https://github.com/luxus/pi-hindsight/commit/a7614bd2bb38c2d1b034ee8735b44e0e3d52952a))
366
- - Isolate ephemeral session identity ([014e996](https://github.com/luxus/pi-hindsight/commit/014e9962091a6849917f104d6b03be4c8b5db163))
367
- - Preserve rich retain payloads ([af27195](https://github.com/luxus/pi-hindsight/commit/af2719524308d9071b2f0776624edf26e27b939b))
368
- - Redact secrets from memory errors ([fa48b56](https://github.com/luxus/pi-hindsight/commit/fa48b5675a0852e8e4c36ea769af7b94a1f7d20d))
369
- - Tolerate malformed retain queue lines ([7785b9f](https://github.com/luxus/pi-hindsight/commit/7785b9f7fe6334c694a7ebad3d89e66b5aa6eb1e))
370
- - Design one-turn memory opt-out ([6c41bd2](https://github.com/luxus/pi-hindsight/commit/6c41bd2809d28f6cdc2cb7acabf1bfc895574e07))
371
- - Improve last recall inspection ([9932c60](https://github.com/luxus/pi-hindsight/commit/9932c60b7e8bdb6941cabc0f61030e3002cb5f1e))
372
- - Document risky memory modes ([a2cca82](https://github.com/luxus/pi-hindsight/commit/a2cca8210ada48051e250154a03b15c5bdf82f22))
373
- - Remove obsolete compatibility wording ([26137b4](https://github.com/luxus/pi-hindsight/commit/26137b4fb0021dafbe42cf19f5917321487ea820))
374
- - Remove append fallback path ([fa7a02f](https://github.com/luxus/pi-hindsight/commit/fa7a02fe1711e37d9ea050e797306f9866b58cbf))
375
- - Add post-MVP roadmap ([67c429f](https://github.com/luxus/pi-hindsight/commit/67c429f8779596653fd0abd82d01edff9486786c))
376
- - Harden Hindsight MVP docs and memory invariants ([aaf6d55](https://github.com/luxus/pi-hindsight/commit/aaf6d55a010abfdb2bdcaf8067a8c008ec14645a))
@@ -1,92 +0,0 @@
1
- <p align="center">
2
- <img
3
- src="docs/assets/logos/pi-hindsight-logo-dark.webp"
4
- srcset="docs/assets/logos/pi-hindsight-logo-dark.webp 1x, docs/assets/logos/pi-hindsight-logo-dark@2x.webp 2x"
5
- width="320"
6
- alt="Pi Hindsight"
7
- />
8
- </p>
9
-
10
- # Pi Hindsight Extension
11
-
12
- Persistent memory for [Pi](https://github.com/earendil-works/pi) backed by [Hindsight](https://hindsight.vectorize.io/).
13
-
14
- **Documentation:** <https://luxus.github.io/pi-hindsight/>
15
-
16
- Pi Hindsight recalls relevant project memory before model calls, retains structured session deltas after completed agent runs, and exposes explicit memory tools for direct retain/recall/reflect operations.
17
-
18
- ## Install
19
-
20
- Install the published npm package:
21
-
22
- ```bash
23
- pi install npm:@luxusai/pi-hindsight
24
- ```
25
-
26
- You can still install from GitHub when you want the current repository source instead of the latest npm release:
27
-
28
- ```bash
29
- pi install https://github.com/luxus/pi-hindsight
30
- ```
31
-
32
- Package name: `@luxusai/pi-hindsight`.
33
-
34
- For local checkout installs, see [Development](#development).
35
-
36
- ## Quick start
37
-
38
- 1. Start or choose a Hindsight server:
39
- - [Hindsight Cloud signup](https://ui.hindsight.vectorize.io/signup)
40
- - [Self-hosted Hindsight installation](https://hindsight.vectorize.io/developer/installation); use Hindsight's built-in llama.cpp/local-LLM option when you want a no-LLM-API-key private setup
41
- - **Embedded (no Docker):** Install [`@vectorize-io/hindsight-all`](https://github.com/vectorize-io/hindsight/tree/main/hindsight-all-npm) and use `HindsightServer` to start a local daemon programmatically. Requires `uv`/`uvx` and Python on the host.
42
- 2. Open Pi in your repo and run `/hindsight`.
43
- 3. Configure the Hindsight API URL. The default self-hosted URL is `http://localhost:8888`.
44
- 4. Choose the narrowest memory profile that fits the repo: **Project + User**, **Project Only**, **User Only**, or **Recall Only**.
45
- 5. Start coding. Recall happens before provider calls; retain happens after completed agent runs when the selected profile allows automatic retain.
46
-
47
- See the [getting started guide](https://luxus.github.io/pi-hindsight/start/getting-started/) for setup details. Upgrading from older path-bank installs: [Upgrading to domain banks](https://luxus.github.io/pi-hindsight/guides/upgrading-to-domain-banks/).
48
-
49
- ## Safety defaults
50
-
51
- - Project memory stays in a project bank by default.
52
- - User memory is opt-in and explicitly configured.
53
- - Recall injection is ephemeral; recalled memory is not written back into transcripts.
54
- - Automatic retain redacts common secrets before writing memory.
55
- - Exact document deletion requires exact bank ID, exact document ID, and `confirm: true`.
56
-
57
- See [memory behavior](https://luxus.github.io/pi-hindsight/concepts/memory-behavior/) and [session memory modes](https://luxus.github.io/pi-hindsight/concepts/session-memory-modes/) for details.
58
-
59
- ## Documentation
60
-
61
- - [Start](https://luxus.github.io/pi-hindsight/start/) — install and first setup
62
- - [Concepts](https://luxus.github.io/pi-hindsight/concepts/) — memory model, banks, queue, imports, safety
63
- - [Guides](https://luxus.github.io/pi-hindsight/guides/) — task workflows for setup, diagnostics, imports, recovery, and [domain-bank upgrades](https://luxus.github.io/pi-hindsight/guides/upgrading-to-domain-banks/)
64
- - [Reference](https://luxus.github.io/pi-hindsight/reference/) — tools, commands, config, hooks, generated surface
65
- - [Development](https://luxus.github.io/pi-hindsight/development/) — contributor setup, checks, release, docs workflow
66
-
67
- ## Development
68
-
69
- ```bash
70
- npm install
71
- npm run check
72
- ```
73
-
74
- `npm run check` includes `npm run docs:check`, which verifies generated surface-reference freshness, generated code-map freshness, internal docs links/sidebar routes, packaged Markdown links, GitHub Pages base-prefixed docs links, and docs-site build.
75
-
76
- Run Pi with the local extension:
77
-
78
- ```bash
79
- pi -e ./extensions/index.ts
80
- ```
81
-
82
- Install a local checkout into Pi when you need to test package loading from your working tree:
83
-
84
- ```bash
85
- pi install /path/to/pi-hindsight
86
- ```
87
-
88
- For maintainer details, see [Development setup](https://luxus.github.io/pi-hindsight/development/development/) and [Release process](https://luxus.github.io/pi-hindsight/development/release/).
89
-
90
- ## Prior art
91
-
92
- Pi Hindsight is inspired by [`noctuid/pi-hindsight`](https://github.com/noctuid/pi-hindsight). This package keeps the same useful idea, then tightens project isolation, queue durability, diagnostics, and release hardening.
@@ -1,56 +0,0 @@
1
- # ADR-001: Memory lifecycle and scope policy
2
-
3
- ## Status
4
-
5
- Accepted. Reviewed 2026-05-09; still relevant.
6
-
7
- ## Context
8
-
9
- Pi Hindsight needs one coherent lifecycle for recall, retain, queueing, import, and diagnostics.
10
-
11
- The MVP had the right hook placement and Hindsight defaults, but turn-level policy was distributed across the Pi hook adapter and several helper modules. That made the core invariant harder to test: recall must happen before provider context, recalled memory must never be retained, retain must store safe session content, writes must be queued before network flush, bank and tag scope must be correct, status must reflect actual outcomes, and failures must degrade predictably.
12
-
13
- ## Decision
14
-
15
- The Pi hook adapter delegates to MemoryLifecycle modules.
16
-
17
- MemoryLifecycle owns turn-level policy:
18
-
19
- - config reload
20
- - selected bank scopes
21
- - recall execution
22
- - injected-memory handling
23
- - retain gating
24
- - queue orchestration
25
- - status transitions
26
-
27
- Memory identity stays centralized in focused identity and banking helpers:
28
-
29
- - repo key
30
- - project bank ID
31
- - User Bank scope, using `global` only as a legacy config/tool alias
32
- - session ID
33
- - live document ID
34
- - import document ID
35
- - base tags
36
- - recall tags per bank
37
-
38
- Tools and commands call shared intent operations where the same user intent is exposed through multiple Pi surfaces.
39
-
40
- ## Invariants
41
-
42
- - Recalled memory is never retained.
43
- - Project recall is repo-scoped.
44
- - User Bank recall has explicit non-repo scope.
45
- - Explicit retain always includes base scope tags.
46
- - Retain jobs are durably queued before network flush.
47
- - Disabled memory does not emit active retain or recall status.
48
- - Import document IDs are deterministic.
49
- - Historical Pi session import defaults to replace mode.
50
-
51
- ## Consequences
52
-
53
- - `extensions/index.ts` remains a thin Pi adapter.
54
- - Turn policy remains testable outside Pi hook plumbing.
55
- - Tests target lifecycle outcomes, not hook implementation details.
56
- - Hindsight HTTP request shapes, Pi JSONL parsing, secret regex internals, and UI rendering strings remain outside MemoryLifecycle.