sextant-ai 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (507) hide show
  1. sextant_ai-0.1.0/CHANGELOG.md +1732 -0
  2. sextant_ai-0.1.0/LICENSE +202 -0
  3. sextant_ai-0.1.0/MANIFEST.in +13 -0
  4. sextant_ai-0.1.0/NOTICE +18 -0
  5. sextant_ai-0.1.0/PKG-INFO +605 -0
  6. sextant_ai-0.1.0/README.md +557 -0
  7. sextant_ai-0.1.0/constraints.txt +69 -0
  8. sextant_ai-0.1.0/deploy/claude_code_config.snippet.json +18 -0
  9. sextant_ai-0.1.0/deploy/claude_desktop_config.snippet.json +17 -0
  10. sextant_ai-0.1.0/deploy/session_start_hook.json +16 -0
  11. sextant_ai-0.1.0/deploy/session_start_hook.macos.json +16 -0
  12. sextant_ai-0.1.0/deploy/stop_hook.json +16 -0
  13. sextant_ai-0.1.0/deploy/stop_hook.macos.json +16 -0
  14. sextant_ai-0.1.0/docs/AGENT-INSTALL.md +355 -0
  15. sextant_ai-0.1.0/docs/ARCHITECTURE-PUBLIC.md +232 -0
  16. sextant_ai-0.1.0/docs/ARCHITECTURE.md +607 -0
  17. sextant_ai-0.1.0/docs/CONFIGURATION.md +247 -0
  18. sextant_ai-0.1.0/docs/DECAY-AS-BEHAVIOR.md +106 -0
  19. sextant_ai-0.1.0/docs/GETTING-STARTED.md +637 -0
  20. sextant_ai-0.1.0/docs/HOWTO-docker.md +265 -0
  21. sextant_ai-0.1.0/docs/HOWTO-litellm.md +52 -0
  22. sextant_ai-0.1.0/docs/HOWTO-ntfy-control.md +78 -0
  23. sextant_ai-0.1.0/docs/HOWTO-self-hosting.md +244 -0
  24. sextant_ai-0.1.0/docs/HOWTO-sync.md +172 -0
  25. sextant_ai-0.1.0/docs/NEW-TO-GITHUB.md +317 -0
  26. sextant_ai-0.1.0/docs/RELEASING.md +64 -0
  27. sextant_ai-0.1.0/docs/SECURITY-TEST-MATRIX.md +40 -0
  28. sextant_ai-0.1.0/docs/USAGE.md +179 -0
  29. sextant_ai-0.1.0/docs/adr/006-transcript-manager.md +25 -0
  30. sextant_ai-0.1.0/docs/adr/007-persona-namespacing.md +20 -0
  31. sextant_ai-0.1.0/docs/adr/008-bidirectional-markdown-sync.md +28 -0
  32. sextant_ai-0.1.0/docs/adr/012-persona-schema.md +79 -0
  33. sextant_ai-0.1.0/docs/adr/016-data-classification.md +95 -0
  34. sextant_ai-0.1.0/pyproject.toml +141 -0
  35. sextant_ai-0.1.0/scripts/mcp_roundtrip.py +34 -0
  36. sextant_ai-0.1.0/setup.cfg +4 -0
  37. sextant_ai-0.1.0/src/atlas_plus/__init__.py +33 -0
  38. sextant_ai-0.1.0/src/atlas_plus/__main__.py +4 -0
  39. sextant_ai-0.1.0/src/atlas_plus/_console.py +116 -0
  40. sextant_ai-0.1.0/src/atlas_plus/_fsutil.py +67 -0
  41. sextant_ai-0.1.0/src/atlas_plus/_typer.py +42 -0
  42. sextant_ai-0.1.0/src/atlas_plus/_yaml.py +20 -0
  43. sextant_ai-0.1.0/src/atlas_plus/activity.py +132 -0
  44. sextant_ai-0.1.0/src/atlas_plus/auth.py +317 -0
  45. sextant_ai-0.1.0/src/atlas_plus/autonomous.py +117 -0
  46. sextant_ai-0.1.0/src/atlas_plus/backup.py +478 -0
  47. sextant_ai-0.1.0/src/atlas_plus/bootstrap/__init__.py +1 -0
  48. sextant_ai-0.1.0/src/atlas_plus/brain/__init__.py +11 -0
  49. sextant_ai-0.1.0/src/atlas_plus/brain/agent.py +246 -0
  50. sextant_ai-0.1.0/src/atlas_plus/brain/agents.py +466 -0
  51. sextant_ai-0.1.0/src/atlas_plus/brain/cli.py +2943 -0
  52. sextant_ai-0.1.0/src/atlas_plus/brain/context.py +141 -0
  53. sextant_ai-0.1.0/src/atlas_plus/brain/dispatcher.py +360 -0
  54. sextant_ai-0.1.0/src/atlas_plus/brain/escalation.py +147 -0
  55. sextant_ai-0.1.0/src/atlas_plus/brain/executors.py +2175 -0
  56. sextant_ai-0.1.0/src/atlas_plus/brain/history.py +208 -0
  57. sextant_ai-0.1.0/src/atlas_plus/brain/improvement.py +317 -0
  58. sextant_ai-0.1.0/src/atlas_plus/brain/inspiration.py +426 -0
  59. sextant_ai-0.1.0/src/atlas_plus/brain/learning.py +744 -0
  60. sextant_ai-0.1.0/src/atlas_plus/brain/maintenance.py +163 -0
  61. sextant_ai-0.1.0/src/atlas_plus/brain/promotion.py +237 -0
  62. sextant_ai-0.1.0/src/atlas_plus/brain/research.py +1054 -0
  63. sextant_ai-0.1.0/src/atlas_plus/brain/scheduler.py +1133 -0
  64. sextant_ai-0.1.0/src/atlas_plus/brain/server.py +1466 -0
  65. sextant_ai-0.1.0/src/atlas_plus/brain/spend.py +166 -0
  66. sextant_ai-0.1.0/src/atlas_plus/brain/system_prompt.py +82 -0
  67. sextant_ai-0.1.0/src/atlas_plus/brain/task_facts.py +293 -0
  68. sextant_ai-0.1.0/src/atlas_plus/brain/tasks.py +1118 -0
  69. sextant_ai-0.1.0/src/atlas_plus/brain/tools.py +325 -0
  70. sextant_ai-0.1.0/src/atlas_plus/brain/worker.py +404 -0
  71. sextant_ai-0.1.0/src/atlas_plus/branding.py +33 -0
  72. sextant_ai-0.1.0/src/atlas_plus/budget/__init__.py +27 -0
  73. sextant_ai-0.1.0/src/atlas_plus/budget/__main__.py +79 -0
  74. sextant_ai-0.1.0/src/atlas_plus/budget/meter.py +165 -0
  75. sextant_ai-0.1.0/src/atlas_plus/budget/preflight.py +164 -0
  76. sextant_ai-0.1.0/src/atlas_plus/cli.py +820 -0
  77. sextant_ai-0.1.0/src/atlas_plus/curation/__init__.py +1 -0
  78. sextant_ai-0.1.0/src/atlas_plus/curation/_report_worker.py +15 -0
  79. sextant_ai-0.1.0/src/atlas_plus/curation/cli.py +2011 -0
  80. sextant_ai-0.1.0/src/atlas_plus/curation/contradictions.py +189 -0
  81. sextant_ai-0.1.0/src/atlas_plus/curation/decay.py +171 -0
  82. sextant_ai-0.1.0/src/atlas_plus/curation/dream_mode.py +409 -0
  83. sextant_ai-0.1.0/src/atlas_plus/curation/duplicates.py +517 -0
  84. sextant_ai-0.1.0/src/atlas_plus/curation/health.py +148 -0
  85. sextant_ai-0.1.0/src/atlas_plus/curation/link_check.py +191 -0
  86. sextant_ai-0.1.0/src/atlas_plus/curation/nightly_contradiction_check.py +329 -0
  87. sextant_ai-0.1.0/src/atlas_plus/curation/orphan.py +242 -0
  88. sextant_ai-0.1.0/src/atlas_plus/curation/rederive.py +247 -0
  89. sextant_ai-0.1.0/src/atlas_plus/curation/ref_graph.py +104 -0
  90. sextant_ai-0.1.0/src/atlas_plus/curation/reflexion_loop.py +405 -0
  91. sextant_ai-0.1.0/src/atlas_plus/curation/reverify.py +298 -0
  92. sextant_ai-0.1.0/src/atlas_plus/curation/scan.py +36 -0
  93. sextant_ai-0.1.0/src/atlas_plus/curation/stale.py +160 -0
  94. sextant_ai-0.1.0/src/atlas_plus/curation/suggest_facts.py +954 -0
  95. sextant_ai-0.1.0/src/atlas_plus/curation/tag_suggest.py +207 -0
  96. sextant_ai-0.1.0/src/atlas_plus/curation/weekly_report.py +488 -0
  97. sextant_ai-0.1.0/src/atlas_plus/curation/weekly_synthesis.py +353 -0
  98. sextant_ai-0.1.0/src/atlas_plus/db_backup/__init__.py +0 -0
  99. sextant_ai-0.1.0/src/atlas_plus/db_backup/cli.py +160 -0
  100. sextant_ai-0.1.0/src/atlas_plus/db_backup/core.py +226 -0
  101. sextant_ai-0.1.0/src/atlas_plus/dispatch/__init__.py +1 -0
  102. sextant_ai-0.1.0/src/atlas_plus/doctor/__init__.py +0 -0
  103. sextant_ai-0.1.0/src/atlas_plus/doctor/cli.py +2455 -0
  104. sextant_ai-0.1.0/src/atlas_plus/gitsafe.py +120 -0
  105. sextant_ai-0.1.0/src/atlas_plus/hooks/__init__.py +1 -0
  106. sextant_ai-0.1.0/src/atlas_plus/hooks/_quote.py +79 -0
  107. sextant_ai-0.1.0/src/atlas_plus/hooks/pre_compact.py +96 -0
  108. sextant_ai-0.1.0/src/atlas_plus/hooks/prime.py +382 -0
  109. sextant_ai-0.1.0/src/atlas_plus/hooks/prompt_clock.py +39 -0
  110. sextant_ai-0.1.0/src/atlas_plus/hooks/run.py +73 -0
  111. sextant_ai-0.1.0/src/atlas_plus/hooks/scope.py +139 -0
  112. sextant_ai-0.1.0/src/atlas_plus/hooks/session_start.py +606 -0
  113. sextant_ai-0.1.0/src/atlas_plus/identity.py +102 -0
  114. sextant_ai-0.1.0/src/atlas_plus/import_cmd.py +1246 -0
  115. sextant_ai-0.1.0/src/atlas_plus/inbox/__init__.py +26 -0
  116. sextant_ai-0.1.0/src/atlas_plus/inbox/capture.py +49 -0
  117. sextant_ai-0.1.0/src/atlas_plus/inbox/store.py +330 -0
  118. sextant_ai-0.1.0/src/atlas_plus/inbox/summarize.py +148 -0
  119. sextant_ai-0.1.0/src/atlas_plus/init_cmd.py +212 -0
  120. sextant_ai-0.1.0/src/atlas_plus/intake/__init__.py +31 -0
  121. sextant_ai-0.1.0/src/atlas_plus/intake/cli.py +219 -0
  122. sextant_ai-0.1.0/src/atlas_plus/intake/engine.py +514 -0
  123. sextant_ai-0.1.0/src/atlas_plus/intake/frontmatter.py +88 -0
  124. sextant_ai-0.1.0/src/atlas_plus/intake/rules.py +409 -0
  125. sextant_ai-0.1.0/src/atlas_plus/intake/scan.py +155 -0
  126. sextant_ai-0.1.0/src/atlas_plus/intake/store.py +224 -0
  127. sextant_ai-0.1.0/src/atlas_plus/llm/__init__.py +94 -0
  128. sextant_ai-0.1.0/src/atlas_plus/llm/anthropic.py +92 -0
  129. sextant_ai-0.1.0/src/atlas_plus/llm/base.py +177 -0
  130. sextant_ai-0.1.0/src/atlas_plus/llm/ollama.py +100 -0
  131. sextant_ai-0.1.0/src/atlas_plus/llm/ollama_url.py +68 -0
  132. sextant_ai-0.1.0/src/atlas_plus/llm/openai.py +97 -0
  133. sextant_ai-0.1.0/src/atlas_plus/mcp/__init__.py +5 -0
  134. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/__init__.py +15 -0
  135. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/config.py +59 -0
  136. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/embeddings.py +407 -0
  137. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/fts.py +1900 -0
  138. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/resources.py +44 -0
  139. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/routing.py +1212 -0
  140. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/server.py +1520 -0
  141. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/__init__.py +1 -0
  142. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/anti.py +390 -0
  143. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/decision.py +205 -0
  144. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/frontmatter.py +37 -0
  145. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/list.py +160 -0
  146. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/now_state.py +168 -0
  147. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/personas.py +108 -0
  148. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/project_state.py +101 -0
  149. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/read.py +58 -0
  150. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/remember.py +491 -0
  151. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/research.py +52 -0
  152. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/search.py +76 -0
  153. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/search_log.py +145 -0
  154. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/skills.py +109 -0
  155. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/tools/tickets.py +90 -0
  156. sextant_ai-0.1.0/src/atlas_plus/mcp/memory_server/versioning.py +195 -0
  157. sextant_ai-0.1.0/src/atlas_plus/md_sync/__init__.py +4 -0
  158. sextant_ai-0.1.0/src/atlas_plus/memory_agent.py +315 -0
  159. sextant_ai-0.1.0/src/atlas_plus/ntfy/__init__.py +6 -0
  160. sextant_ai-0.1.0/src/atlas_plus/ntfy/inbound.py +275 -0
  161. sextant_ai-0.1.0/src/atlas_plus/paths.py +144 -0
  162. sextant_ai-0.1.0/src/atlas_plus/personas/__init__.py +4 -0
  163. sextant_ai-0.1.0/src/atlas_plus/project_state/__init__.py +7 -0
  164. sextant_ai-0.1.0/src/atlas_plus/project_state/compose.py +116 -0
  165. sextant_ai-0.1.0/src/atlas_plus/project_state/git.py +96 -0
  166. sextant_ai-0.1.0/src/atlas_plus/project_state/manifest.py +104 -0
  167. sextant_ai-0.1.0/src/atlas_plus/redaction.py +961 -0
  168. sextant_ai-0.1.0/src/atlas_plus/reset_cmd.py +130 -0
  169. sextant_ai-0.1.0/src/atlas_plus/roundtrip.py +551 -0
  170. sextant_ai-0.1.0/src/atlas_plus/session_narrative.py +261 -0
  171. sextant_ai-0.1.0/src/atlas_plus/session_patterns.py +170 -0
  172. sextant_ai-0.1.0/src/atlas_plus/setup_cmd.py +826 -0
  173. sextant_ai-0.1.0/src/atlas_plus/sprint_summary.py +407 -0
  174. sextant_ai-0.1.0/src/atlas_plus/summarizer/__init__.py +1 -0
  175. sextant_ai-0.1.0/src/atlas_plus/summarizer/chunker.py +95 -0
  176. sextant_ai-0.1.0/src/atlas_plus/summarizer/cli.py +554 -0
  177. sextant_ai-0.1.0/src/atlas_plus/summarizer/hook_entry.py +470 -0
  178. sextant_ai-0.1.0/src/atlas_plus/summarizer/loader.py +261 -0
  179. sextant_ai-0.1.0/src/atlas_plus/summarizer/prompts.py +95 -0
  180. sextant_ai-0.1.0/src/atlas_plus/summarizer/providers.py +127 -0
  181. sextant_ai-0.1.0/src/atlas_plus/summarizer/renderer.py +531 -0
  182. sextant_ai-0.1.0/src/atlas_plus/summarizer/review.py +62 -0
  183. sextant_ai-0.1.0/src/atlas_plus/summarizer/templates/session_log.md.j2 +7 -0
  184. sextant_ai-0.1.0/src/atlas_plus/summarizer/templates/updates_entry.txt.j2 +10 -0
  185. sextant_ai-0.1.0/src/atlas_plus/sync/__init__.py +10 -0
  186. sextant_ai-0.1.0/src/atlas_plus/sync/api.py +414 -0
  187. sextant_ai-0.1.0/src/atlas_plus/sync/apply.py +194 -0
  188. sextant_ai-0.1.0/src/atlas_plus/sync/cli.py +479 -0
  189. sextant_ai-0.1.0/src/atlas_plus/sync/client.py +906 -0
  190. sextant_ai-0.1.0/src/atlas_plus/sync/devices.py +181 -0
  191. sextant_ai-0.1.0/src/atlas_plus/sync/manifest.py +299 -0
  192. sextant_ai-0.1.0/src/atlas_plus/sync/policy.py +262 -0
  193. sextant_ai-0.1.0/src/atlas_plus/sync/store.py +336 -0
  194. sextant_ai-0.1.0/src/atlas_plus/telegram/__init__.py +1 -0
  195. sextant_ai-0.1.0/src/atlas_plus/telegram/bot.py +345 -0
  196. sextant_ai-0.1.0/src/atlas_plus/telegram/commands.py +2788 -0
  197. sextant_ai-0.1.0/src/atlas_plus/telegram/formatting.py +64 -0
  198. sextant_ai-0.1.0/src/atlas_plus/telegram/job_poller.py +311 -0
  199. sextant_ai-0.1.0/src/atlas_plus/telegram/notify.py +81 -0
  200. sextant_ai-0.1.0/src/atlas_plus/temporal_graph/__init__.py +31 -0
  201. sextant_ai-0.1.0/src/atlas_plus/temporal_graph/build.py +94 -0
  202. sextant_ai-0.1.0/src/atlas_plus/temporal_graph/cli.py +298 -0
  203. sextant_ai-0.1.0/src/atlas_plus/temporal_graph/decay_model.py +203 -0
  204. sextant_ai-0.1.0/src/atlas_plus/temporal_graph/file_provider.py +587 -0
  205. sextant_ai-0.1.0/src/atlas_plus/temporal_graph/models.py +94 -0
  206. sextant_ai-0.1.0/src/atlas_plus/temporal_graph/provider.py +61 -0
  207. sextant_ai-0.1.0/src/atlas_plus/temporal_graph/scoring.py +130 -0
  208. sextant_ai-0.1.0/src/atlas_plus/temporal_graph/sources.py +1534 -0
  209. sextant_ai-0.1.0/src/atlas_plus/testing/__init__.py +1 -0
  210. sextant_ai-0.1.0/src/atlas_plus/testing/persistence_metrics.py +140 -0
  211. sextant_ai-0.1.0/src/atlas_plus/testing/session_simulator.py +219 -0
  212. sextant_ai-0.1.0/src/atlas_plus/tickets/__init__.py +1 -0
  213. sextant_ai-0.1.0/src/atlas_plus/tickets/cli.py +181 -0
  214. sextant_ai-0.1.0/src/atlas_plus/tickets/store.py +786 -0
  215. sextant_ai-0.1.0/src/atlas_plus/transcripts/__init__.py +17 -0
  216. sextant_ai-0.1.0/src/atlas_plus/transcripts/cli.py +127 -0
  217. sextant_ai-0.1.0/src/atlas_plus/transcripts/index.py +279 -0
  218. sextant_ai-0.1.0/src/atlas_plus/transcripts/recovery.py +210 -0
  219. sextant_ai-0.1.0/src/atlas_plus/transcripts/sources/__init__.py +10 -0
  220. sextant_ai-0.1.0/src/atlas_plus/transcripts/sources/claude_code.py +245 -0
  221. sextant_ai-0.1.0/src/atlas_plus/transcripts/sources/drop.py +239 -0
  222. sextant_ai-0.1.0/src/atlas_plus/transcripts/sources/ollama_native.py +205 -0
  223. sextant_ai-0.1.0/src/atlas_plus/transcripts/sources/openai_proxy.py +247 -0
  224. sextant_ai-0.1.0/src/atlas_plus/transcripts/store.py +335 -0
  225. sextant_ai-0.1.0/src/atlas_plus/ui/__init__.py +5 -0
  226. sextant_ai-0.1.0/src/atlas_plus/uninstall_cmd.py +830 -0
  227. sextant_ai-0.1.0/src/atlas_plus/versions_cmd.py +187 -0
  228. sextant_ai-0.1.0/src/atlas_plus/web/__init__.py +13 -0
  229. sextant_ai-0.1.0/src/atlas_plus/web/app.py +7621 -0
  230. sextant_ai-0.1.0/src/atlas_plus/web/auth_failures.py +23 -0
  231. sextant_ai-0.1.0/src/atlas_plus/web/loop_status.py +212 -0
  232. sextant_ai-0.1.0/src/atlas_plus/web/security_status.py +188 -0
  233. sextant_ai-0.1.0/src/atlas_plus/web/static/tailwind-3.4.17.js +83 -0
  234. sextant_ai-0.1.0/src/atlas_plus/writer/__init__.py +1 -0
  235. sextant_ai-0.1.0/src/sextant_ai.egg-info/PKG-INFO +605 -0
  236. sextant_ai-0.1.0/src/sextant_ai.egg-info/SOURCES.txt +505 -0
  237. sextant_ai-0.1.0/src/sextant_ai.egg-info/dependency_links.txt +1 -0
  238. sextant_ai-0.1.0/src/sextant_ai.egg-info/entry_points.txt +55 -0
  239. sextant_ai-0.1.0/src/sextant_ai.egg-info/requires.txt +24 -0
  240. sextant_ai-0.1.0/src/sextant_ai.egg-info/top_level.txt +1 -0
  241. sextant_ai-0.1.0/tests/__init__.py +0 -0
  242. sextant_ai-0.1.0/tests/conftest.py +196 -0
  243. sextant_ai-0.1.0/tests/integration/__init__.py +0 -0
  244. sextant_ai-0.1.0/tests/integration/conftest.py +60 -0
  245. sextant_ai-0.1.0/tests/integration/fixtures/__init__.py +0 -0
  246. sextant_ai-0.1.0/tests/integration/fixtures/planted_conversations.py +197 -0
  247. sextant_ai-0.1.0/tests/integration/test_cross_llm_report.py +132 -0
  248. sextant_ai-0.1.0/tests/integration/test_integration_ollama.py +146 -0
  249. sextant_ai-0.1.0/tests/integration/test_unit_persistence.py +281 -0
  250. sextant_ai-0.1.0/tests/test_activity.py +141 -0
  251. sextant_ai-0.1.0/tests/test_activity_instrumentation.py +136 -0
  252. sextant_ai-0.1.0/tests/test_ag101.py +159 -0
  253. sextant_ai-0.1.0/tests/test_ag55_redaction.py +101 -0
  254. sextant_ai-0.1.0/tests/test_ag59.py +42 -0
  255. sextant_ai-0.1.0/tests/test_ag62_redaction.py +84 -0
  256. sextant_ai-0.1.0/tests/test_ag67.py +227 -0
  257. sextant_ai-0.1.0/tests/test_ag68_redaction.py +147 -0
  258. sextant_ai-0.1.0/tests/test_ag73.py +163 -0
  259. sextant_ai-0.1.0/tests/test_ag76.py +101 -0
  260. sextant_ai-0.1.0/tests/test_ag78.py +98 -0
  261. sextant_ai-0.1.0/tests/test_ag79.py +171 -0
  262. sextant_ai-0.1.0/tests/test_ag80.py +352 -0
  263. sextant_ai-0.1.0/tests/test_ag81.py +266 -0
  264. sextant_ai-0.1.0/tests/test_ag82.py +323 -0
  265. sextant_ai-0.1.0/tests/test_ag83.py +134 -0
  266. sextant_ai-0.1.0/tests/test_ag84.py +273 -0
  267. sextant_ai-0.1.0/tests/test_ag85.py +131 -0
  268. sextant_ai-0.1.0/tests/test_ag86.py +252 -0
  269. sextant_ai-0.1.0/tests/test_ag87.py +261 -0
  270. sextant_ai-0.1.0/tests/test_ag88.py +248 -0
  271. sextant_ai-0.1.0/tests/test_ag89.py +170 -0
  272. sextant_ai-0.1.0/tests/test_ag90.py +208 -0
  273. sextant_ai-0.1.0/tests/test_ag91.py +193 -0
  274. sextant_ai-0.1.0/tests/test_ag92.py +318 -0
  275. sextant_ai-0.1.0/tests/test_ag93.py +77 -0
  276. sextant_ai-0.1.0/tests/test_ag93_follow.py +30 -0
  277. sextant_ai-0.1.0/tests/test_ag94.py +166 -0
  278. sextant_ai-0.1.0/tests/test_ag95.py +227 -0
  279. sextant_ai-0.1.0/tests/test_ag96.py +147 -0
  280. sextant_ai-0.1.0/tests/test_ag97.py +238 -0
  281. sextant_ai-0.1.0/tests/test_ag98.py +365 -0
  282. sextant_ai-0.1.0/tests/test_ag99.py +274 -0
  283. sextant_ai-0.1.0/tests/test_anti.py +371 -0
  284. sextant_ai-0.1.0/tests/test_anti_memory.py +258 -0
  285. sextant_ai-0.1.0/tests/test_any_word_fallback.py +134 -0
  286. sextant_ai-0.1.0/tests/test_atl068_session_scope.py +205 -0
  287. sextant_ai-0.1.0/tests/test_auth.py +98 -0
  288. sextant_ai-0.1.0/tests/test_auth_failures.py +164 -0
  289. sextant_ai-0.1.0/tests/test_autonomous.py +169 -0
  290. sextant_ai-0.1.0/tests/test_autonomous_gate_drift.py +100 -0
  291. sextant_ai-0.1.0/tests/test_backup.py +177 -0
  292. sextant_ai-0.1.0/tests/test_bot_authz.py +38 -0
  293. sextant_ai-0.1.0/tests/test_brain_agent.py +326 -0
  294. sextant_ai-0.1.0/tests/test_brain_agents.py +242 -0
  295. sextant_ai-0.1.0/tests/test_brain_cli.py +2774 -0
  296. sextant_ai-0.1.0/tests/test_brain_context.py +196 -0
  297. sextant_ai-0.1.0/tests/test_brain_dispatcher.py +192 -0
  298. sextant_ai-0.1.0/tests/test_brain_escalation.py +193 -0
  299. sextant_ai-0.1.0/tests/test_brain_executor_auto_promote.py +250 -0
  300. sextant_ai-0.1.0/tests/test_brain_executors_new.py +637 -0
  301. sextant_ai-0.1.0/tests/test_brain_history.py +144 -0
  302. sextant_ai-0.1.0/tests/test_brain_improvement.py +190 -0
  303. sextant_ai-0.1.0/tests/test_brain_learning_loop.py +216 -0
  304. sextant_ai-0.1.0/tests/test_brain_learning_loop_atl073.py +538 -0
  305. sextant_ai-0.1.0/tests/test_brain_reporting_timeout.py +73 -0
  306. sextant_ai-0.1.0/tests/test_brain_research.py +857 -0
  307. sextant_ai-0.1.0/tests/test_brain_scheduler.py +924 -0
  308. sextant_ai-0.1.0/tests/test_brain_server.py +1165 -0
  309. sextant_ai-0.1.0/tests/test_brain_system_prompt.py +62 -0
  310. sextant_ai-0.1.0/tests/test_brain_task_execution.py +294 -0
  311. sextant_ai-0.1.0/tests/test_brain_task_facts.py +317 -0
  312. sextant_ai-0.1.0/tests/test_brain_tasks.py +671 -0
  313. sextant_ai-0.1.0/tests/test_brain_tasks_cleanup.py +193 -0
  314. sextant_ai-0.1.0/tests/test_brain_tools.py +219 -0
  315. sextant_ai-0.1.0/tests/test_brain_triage_executor.py +112 -0
  316. sextant_ai-0.1.0/tests/test_brain_worker.py +694 -0
  317. sextant_ai-0.1.0/tests/test_branding.py +68 -0
  318. sextant_ai-0.1.0/tests/test_budget.py +134 -0
  319. sextant_ai-0.1.0/tests/test_build_public_repo.py +230 -0
  320. sextant_ai-0.1.0/tests/test_claude_escalation.py +276 -0
  321. sextant_ai-0.1.0/tests/test_clip_inbox.py +145 -0
  322. sextant_ai-0.1.0/tests/test_constraints.py +66 -0
  323. sextant_ai-0.1.0/tests/test_contradictions.py +260 -0
  324. sextant_ai-0.1.0/tests/test_curation.py +304 -0
  325. sextant_ai-0.1.0/tests/test_curation_cli.py +1694 -0
  326. sextant_ai-0.1.0/tests/test_curation_contradictions.py +144 -0
  327. sextant_ai-0.1.0/tests/test_curation_decay.py +144 -0
  328. sextant_ai-0.1.0/tests/test_curation_dream_reflexion.py +252 -0
  329. sextant_ai-0.1.0/tests/test_curation_duplicates.py +168 -0
  330. sextant_ai-0.1.0/tests/test_curation_gating.py +47 -0
  331. sextant_ai-0.1.0/tests/test_curation_health.py +145 -0
  332. sextant_ai-0.1.0/tests/test_curation_link_check.py +212 -0
  333. sextant_ai-0.1.0/tests/test_curation_nightly_check.py +190 -0
  334. sextant_ai-0.1.0/tests/test_curation_orphan.py +143 -0
  335. sextant_ai-0.1.0/tests/test_curation_rederive.py +296 -0
  336. sextant_ai-0.1.0/tests/test_curation_ref_graph.py +163 -0
  337. sextant_ai-0.1.0/tests/test_curation_scan.py +86 -0
  338. sextant_ai-0.1.0/tests/test_curation_stale.py +132 -0
  339. sextant_ai-0.1.0/tests/test_curation_suggest_facts.py +409 -0
  340. sextant_ai-0.1.0/tests/test_curation_tag_suggest.py +194 -0
  341. sextant_ai-0.1.0/tests/test_curation_weekly_report.py +131 -0
  342. sextant_ai-0.1.0/tests/test_data_safety_w2.py +501 -0
  343. sextant_ai-0.1.0/tests/test_db_backup.py +195 -0
  344. sextant_ai-0.1.0/tests/test_db_backup_cli.py +133 -0
  345. sextant_ai-0.1.0/tests/test_decay_model.py +141 -0
  346. sextant_ai-0.1.0/tests/test_decision_memory.py +133 -0
  347. sextant_ai-0.1.0/tests/test_destructive_guard.py +178 -0
  348. sextant_ai-0.1.0/tests/test_dispatch_fixes.py +267 -0
  349. sextant_ai-0.1.0/tests/test_dispatcher.py +468 -0
  350. sextant_ai-0.1.0/tests/test_docs_claims.py +344 -0
  351. sextant_ai-0.1.0/tests/test_doctor_cli.py +2425 -0
  352. sextant_ai-0.1.0/tests/test_dream_mode.py +317 -0
  353. sextant_ai-0.1.0/tests/test_embeddings.py +241 -0
  354. sextant_ai-0.1.0/tests/test_entry_points.py +56 -0
  355. sextant_ai-0.1.0/tests/test_epistemic_provenance.py +388 -0
  356. sextant_ai-0.1.0/tests/test_executor_env_isolation.py +114 -0
  357. sextant_ai-0.1.0/tests/test_fts.py +800 -0
  358. sextant_ai-0.1.0/tests/test_fts_dotted_query.py +41 -0
  359. sextant_ai-0.1.0/tests/test_guardrails.py +389 -0
  360. sextant_ai-0.1.0/tests/test_help_side_effect_free.py +40 -0
  361. sextant_ai-0.1.0/tests/test_hook_entry.py +289 -0
  362. sextant_ai-0.1.0/tests/test_identity.py +145 -0
  363. sextant_ai-0.1.0/tests/test_import_cmd.py +279 -0
  364. sextant_ai-0.1.0/tests/test_inbox.py +151 -0
  365. sextant_ai-0.1.0/tests/test_inbox_capture.py +58 -0
  366. sextant_ai-0.1.0/tests/test_inbox_summarize.py +119 -0
  367. sextant_ai-0.1.0/tests/test_inbox_web.py +62 -0
  368. sextant_ai-0.1.0/tests/test_init_cmd.py +57 -0
  369. sextant_ai-0.1.0/tests/test_inspiration.py +299 -0
  370. sextant_ai-0.1.0/tests/test_intake_destination_confined.py +182 -0
  371. sextant_ai-0.1.0/tests/test_intake_engine.py +271 -0
  372. sextant_ai-0.1.0/tests/test_intake_rules.py +176 -0
  373. sextant_ai-0.1.0/tests/test_intake_sorting.py +218 -0
  374. sextant_ai-0.1.0/tests/test_interactive_writes.py +244 -0
  375. sextant_ai-0.1.0/tests/test_job_poller.py +201 -0
  376. sextant_ai-0.1.0/tests/test_link_check.py +177 -0
  377. sextant_ai-0.1.0/tests/test_llm.py +229 -0
  378. sextant_ai-0.1.0/tests/test_llm_tools.py +230 -0
  379. sextant_ai-0.1.0/tests/test_longmemeval_harness.py +176 -0
  380. sextant_ai-0.1.0/tests/test_loop_status.py +210 -0
  381. sextant_ai-0.1.0/tests/test_mcp_lockout.py +69 -0
  382. sextant_ai-0.1.0/tests/test_mcp_package_import.py +34 -0
  383. sextant_ai-0.1.0/tests/test_mcp_path_safety.py +88 -0
  384. sextant_ai-0.1.0/tests/test_mcp_personas_skills.py +183 -0
  385. sextant_ai-0.1.0/tests/test_mcp_routing.py +410 -0
  386. sextant_ai-0.1.0/tests/test_mcp_tools.py +286 -0
  387. sextant_ai-0.1.0/tests/test_mcp_tools_extended.py +559 -0
  388. sextant_ai-0.1.0/tests/test_memory_agent.py +229 -0
  389. sextant_ai-0.1.0/tests/test_memory_decay.py +126 -0
  390. sextant_ai-0.1.0/tests/test_memory_health.py +192 -0
  391. sextant_ai-0.1.0/tests/test_memory_health_tool.py +29 -0
  392. sextant_ai-0.1.0/tests/test_memory_mirror_exclusion.py +59 -0
  393. sextant_ai-0.1.0/tests/test_memory_server.py +424 -0
  394. sextant_ai-0.1.0/tests/test_mn61.py +125 -0
  395. sextant_ai-0.1.0/tests/test_mn67.py +70 -0
  396. sextant_ai-0.1.0/tests/test_mn73.py +122 -0
  397. sextant_ai-0.1.0/tests/test_mn74.py +145 -0
  398. sextant_ai-0.1.0/tests/test_mn74_keynames.py +27 -0
  399. sextant_ai-0.1.0/tests/test_mn75.py +129 -0
  400. sextant_ai-0.1.0/tests/test_mn76.py +156 -0
  401. sextant_ai-0.1.0/tests/test_mn77.py +81 -0
  402. sextant_ai-0.1.0/tests/test_mn78.py +63 -0
  403. sextant_ai-0.1.0/tests/test_mn78_follow.py +51 -0
  404. sextant_ai-0.1.0/tests/test_mn79.py +181 -0
  405. sextant_ai-0.1.0/tests/test_mn80.py +89 -0
  406. sextant_ai-0.1.0/tests/test_mn81.py +120 -0
  407. sextant_ai-0.1.0/tests/test_mn82.py +152 -0
  408. sextant_ai-0.1.0/tests/test_mn83.py +123 -0
  409. sextant_ai-0.1.0/tests/test_mn85.py +123 -0
  410. sextant_ai-0.1.0/tests/test_mn86.py +174 -0
  411. sextant_ai-0.1.0/tests/test_mn87.py +224 -0
  412. sextant_ai-0.1.0/tests/test_nightly_contradiction_check.py +298 -0
  413. sextant_ai-0.1.0/tests/test_now_state.py +82 -0
  414. sextant_ai-0.1.0/tests/test_ntfy_inbound.py +162 -0
  415. sextant_ai-0.1.0/tests/test_orphan.py +209 -0
  416. sextant_ai-0.1.0/tests/test_paths.py +91 -0
  417. sextant_ai-0.1.0/tests/test_personas.py +1510 -0
  418. sextant_ai-0.1.0/tests/test_personas_skills.py +227 -0
  419. sextant_ai-0.1.0/tests/test_pre_compact.py +89 -0
  420. sextant_ai-0.1.0/tests/test_prime.py +212 -0
  421. sextant_ai-0.1.0/tests/test_project_state.py +239 -0
  422. sextant_ai-0.1.0/tests/test_promotion.py +127 -0
  423. sextant_ai-0.1.0/tests/test_redaction.py +94 -0
  424. sextant_ai-0.1.0/tests/test_rederive.py +138 -0
  425. sextant_ai-0.1.0/tests/test_ref_graph.py +202 -0
  426. sextant_ai-0.1.0/tests/test_reflexion_loop.py +344 -0
  427. sextant_ai-0.1.0/tests/test_remember.py +369 -0
  428. sextant_ai-0.1.0/tests/test_renderer.py +243 -0
  429. sextant_ai-0.1.0/tests/test_research_api_guard.py +66 -0
  430. sextant_ai-0.1.0/tests/test_research_citations.py +433 -0
  431. sextant_ai-0.1.0/tests/test_research_dedup.py +228 -0
  432. sextant_ai-0.1.0/tests/test_research_index.py +326 -0
  433. sextant_ai-0.1.0/tests/test_reset_cmd.py +108 -0
  434. sextant_ai-0.1.0/tests/test_reverify.py +204 -0
  435. sextant_ai-0.1.0/tests/test_reverify_executor.py +75 -0
  436. sextant_ai-0.1.0/tests/test_roundb_part1.py +255 -0
  437. sextant_ai-0.1.0/tests/test_roundb_part2.py +333 -0
  438. sextant_ai-0.1.0/tests/test_roundc.py +437 -0
  439. sextant_ai-0.1.0/tests/test_scheduler_heartbeat.py +331 -0
  440. sextant_ai-0.1.0/tests/test_search_confidence_bands.py +190 -0
  441. sextant_ai-0.1.0/tests/test_search_full_bodies.py +78 -0
  442. sextant_ai-0.1.0/tests/test_search_log.py +318 -0
  443. sextant_ai-0.1.0/tests/test_search_scope_grammar.py +62 -0
  444. sextant_ai-0.1.0/tests/test_security_status.py +191 -0
  445. sextant_ai-0.1.0/tests/test_services_web.py +74 -0
  446. sextant_ai-0.1.0/tests/test_session_narrative.py +198 -0
  447. sextant_ai-0.1.0/tests/test_session_patterns.py +190 -0
  448. sextant_ai-0.1.0/tests/test_session_start_hook.py +367 -0
  449. sextant_ai-0.1.0/tests/test_sla_check_malformed.py +36 -0
  450. sextant_ai-0.1.0/tests/test_spend.py +102 -0
  451. sextant_ai-0.1.0/tests/test_sprint_summary.py +326 -0
  452. sextant_ai-0.1.0/tests/test_stranger_journey.py +143 -0
  453. sextant_ai-0.1.0/tests/test_suggest_facts.py +225 -0
  454. sextant_ai-0.1.0/tests/test_suggest_facts_cli.py +184 -0
  455. sextant_ai-0.1.0/tests/test_suite_console.py +29 -0
  456. sextant_ai-0.1.0/tests/test_summarizer_e2e.py +311 -0
  457. sextant_ai-0.1.0/tests/test_summarizer_providers.py +137 -0
  458. sextant_ai-0.1.0/tests/test_sweep10.py +709 -0
  459. sextant_ai-0.1.0/tests/test_sweep11.py +867 -0
  460. sextant_ai-0.1.0/tests/test_sweep12.py +694 -0
  461. sextant_ai-0.1.0/tests/test_sweep13.py +437 -0
  462. sextant_ai-0.1.0/tests/test_sweep14.py +605 -0
  463. sextant_ai-0.1.0/tests/test_sweep15.py +696 -0
  464. sextant_ai-0.1.0/tests/test_sweep16.py +441 -0
  465. sextant_ai-0.1.0/tests/test_sweep17.py +1102 -0
  466. sextant_ai-0.1.0/tests/test_sweep20.py +294 -0
  467. sextant_ai-0.1.0/tests/test_sweep21.py +262 -0
  468. sextant_ai-0.1.0/tests/test_sync_api.py +336 -0
  469. sextant_ai-0.1.0/tests/test_sync_apply_store.py +113 -0
  470. sextant_ai-0.1.0/tests/test_sync_client.py +111 -0
  471. sextant_ai-0.1.0/tests/test_sync_client_toctou.py +79 -0
  472. sextant_ai-0.1.0/tests/test_sync_devices.py +106 -0
  473. sextant_ai-0.1.0/tests/test_sync_manifest.py +261 -0
  474. sextant_ai-0.1.0/tests/test_sync_policy.py +126 -0
  475. sextant_ai-0.1.0/tests/test_sync_policy_normalized.py +108 -0
  476. sextant_ai-0.1.0/tests/test_tag_suggest.py +235 -0
  477. sextant_ai-0.1.0/tests/test_task_facts.py +154 -0
  478. sextant_ai-0.1.0/tests/test_telegram_batch.py +3418 -0
  479. sextant_ai-0.1.0/tests/test_telegram_formatting.py +225 -0
  480. sextant_ai-0.1.0/tests/test_temporal_graph.py +657 -0
  481. sextant_ai-0.1.0/tests/test_temporal_graph_adapters.py +925 -0
  482. sextant_ai-0.1.0/tests/test_temporal_graph_build.py +225 -0
  483. sextant_ai-0.1.0/tests/test_temporal_graph_cli.py +461 -0
  484. sextant_ai-0.1.0/tests/test_temporal_graph_scoring.py +282 -0
  485. sextant_ai-0.1.0/tests/test_ticket_health_executor.py +198 -0
  486. sextant_ai-0.1.0/tests/test_ticket_sync_executor.py +192 -0
  487. sextant_ai-0.1.0/tests/test_tickets.py +375 -0
  488. sextant_ai-0.1.0/tests/test_tickets_cli.py +155 -0
  489. sextant_ai-0.1.0/tests/test_tickets_safety.py +186 -0
  490. sextant_ai-0.1.0/tests/test_transcript_drop.py +136 -0
  491. sextant_ai-0.1.0/tests/test_transcript_index.py +155 -0
  492. sextant_ai-0.1.0/tests/test_transcript_recovery.py +217 -0
  493. sextant_ai-0.1.0/tests/test_transcript_source.py +234 -0
  494. sextant_ai-0.1.0/tests/test_transcript_store.py +193 -0
  495. sextant_ai-0.1.0/tests/test_umbrella_clis.py +432 -0
  496. sextant_ai-0.1.0/tests/test_uninstall_cmd.py +245 -0
  497. sextant_ai-0.1.0/tests/test_version_drift.py +95 -0
  498. sextant_ai-0.1.0/tests/test_versioning.py +190 -0
  499. sextant_ai-0.1.0/tests/test_w3a_datasafety.py +162 -0
  500. sextant_ai-0.1.0/tests/test_w3b_data_safety.py +257 -0
  501. sextant_ai-0.1.0/tests/test_wave2.py +690 -0
  502. sextant_ai-0.1.0/tests/test_web_app.py +3005 -0
  503. sextant_ai-0.1.0/tests/test_web_map.py +140 -0
  504. sextant_ai-0.1.0/tests/test_web_tools_tab.py +110 -0
  505. sextant_ai-0.1.0/tests/test_weekly_synthesis.py +279 -0
  506. sextant_ai-0.1.0/tests/test_worker_detail_leak.py +42 -0
  507. sextant_ai-0.1.0/tests/test_worker_redaction.py +38 -0
@@ -0,0 +1,1732 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
+ Version numbers follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ---
9
+
10
+ **Note on version numbering:** The package version is `0.1.0`; its first PyPI release
11
+ follows the `v0.1.0` tag.
12
+ The milestone labels `0.2` through `0.17` below are *internal development milestones*
13
+ (sprint arcs, labelled v0.2-D, v0.3-A ... v0.17-CZ, etc.) used to track incremental
14
+ progress during continuous development. They are not published package releases. This
15
+ history is condensed from the maintainers' per-sprint log, which is not part of the
16
+ public tree.
17
+
18
+ ---
19
+
20
+ ## [Unreleased]
21
+
22
+ ## [0.1.0] - 2026-11-23
23
+
24
+ ### Search: questions as people type them, and find-and-read in one call (2026-11-20)
25
+
26
+ Both changes came out of measuring Sextant on LongMemEval (500 questions over long chat histories).
27
+
28
+ - **Fixed: a question typed as a sentence returned nothing.** Keyword search required every word of
29
+ the query to appear in a note, so "What was the first issue I had with my new car after its first
30
+ service?" matched no note at all (406 of 470 benchmark questions came back empty). When no note
31
+ holds every word, search now ranks notes by the words they share; a sentence-like query with only a
32
+ few full matches lists partial matches after them. Partial matches carry `loose_match: true` and
33
+ stay in the low confidence band. Queries in search syntax (quotes, `AND`/`OR`/`NOT`, `*`) keep their
34
+ exact meaning. On the benchmark the evidence note is in the top 5 for 96.4% of questions, up from
35
+ 12.6%, with no model or embedding involved.
36
+ - **Tightened after a code review (2026-11-23).** The partial-match fallback is requested only by the
37
+ search tool and `sextant search`; duplicate checks, session priming and the bots keep strict
38
+ matching. A partial match counts as low confidence only when it holds at least two of the question's
39
+ content words and 40% of them; fewer, and the search reports `starved` as it should for a question
40
+ memory cannot answer. Notes sharing only stopwords are not returned. A search answered only by
41
+ partial matches is logged as a miss, so the gap reports still see it. Results carry `coverage`.
42
+ - **Added: `memory_search_tool(..., full=N)`.** Returns the whole note for the top N results (0 to 5,
43
+ 24,000 characters each, `body_truncated` when cut) in a `body` field, with its `frontmatter`. An agent shown only snippets
44
+ tends to answer from them; in the benchmark most of one model's misses were answers given with the
45
+ evidence note found and never opened. `full=3` removed most of those. The default (`full=0`) is
46
+ unchanged.
47
+
48
+ ### Ticket lifecycle (2026-11-21)
49
+
50
+ - GitHub intake: bot-authored PRs and comments (Dependabot) no longer open a human ticket (ledger only); when an
51
+ item we ticketed closes upstream its ticket and its comment tickets go `done` (ledger event `upstream-closed`);
52
+ a CI-failure ticket goes `done` once a later run on main succeeded (`ci-green-after`). Nine of the 37 open
53
+ tickets were intake tickets whose PR or thread had closed days earlier.
54
+ - Scheduler: `ticket-sync` nightly 11:10 UTC (the `ticket_sync` executor existed but nothing ran it) and
55
+ `ticket-health` Monday 05:00 UTC; catch-up, maintenance panel and `/scheduler/run/<job>` know both.
56
+ - `ticket_sync` also archives tickets `done` for more than `ATLAS_TICKET_ARCHIVE_DAYS` (14) into
57
+ `_archive/<YYYY-MM>-auto/<project>/` with status archived (170 archived files still said todo because the move
58
+ and the status were two hand steps).
59
+ - Session digest and the weekly supervisor context carry a tickets snapshot: open by assignee, agent tickets
60
+ untouched for a week, done-but-not-archived count.
61
+ - `scripts/bulk_archive_tickets.py` run: 170 statuses normalized.
62
+
63
+ ### Helm pass (2026-11-21)
64
+
65
+ - Proposals desk: Approve on a `ticket` proposal failed under `ATLAS_AUTONOMOUS=off` ("autonomous ticket create
66
+ blocked") and, once past the gate, on the default assignee `agent`. The click is the consent: `approve_proposal`
67
+ creates the ticket with `interactive=True` and maps `agent`/`operator`/`brain` onto the store's assignee
68
+ vocabulary (`claude-code`/`human`/`local`). Test with the gate off.
69
+ - Brain `/diagnostic`: the Ollama probe ran as a sync `httpx.get` inside the async route and blocked the event
70
+ loop up to 3 s per Helm panel refresh; it runs in a worker thread now.
71
+ - Helm: a connect or read timeout against a listening Brain is reported as "busy", not "not running" (chat
72
+ preflight, 503 details, the 30 s task poller whose connect timeout rises from 0.75 s to 2 s). Failed toasts stay
73
+ 9 s, are selectable, and are mirrored to the browser console.
74
+ - The maintainer's Web UI launcher script (not shipped): when another process holds `atlas-web.log` the append redirect failed and the service
75
+ exited 1 before logging anything; the launcher now probes the log and falls back to a dated sidecar.
76
+ The maintainer's service control script's `stop` also ends orphaned `multiprocessing.spawn` workers (the curation-report process
77
+ outlived its killed parent and held the log handle).
78
+
79
+ ### Brain learning loop (ATL-073, 2026-11-20)
80
+
81
+ Brain watches and measures, Claude synthesizes weekly, every session reads the result, a desk approves
82
+ writes. The autonomous write gate stays off.
83
+
84
+ - New `brain.learning`: a nightly `session_digest` lane (11:00 UTC, worker kind `session_digest`) writes a
85
+ deterministic digest of the previous local day (session-log and updates entries, session-close notes,
86
+ commits per repository, Brain jobs by kind and outcome, scheduler heartbeats) to
87
+ `<state>/brain/digests/<date>.json` and `.md`. No LLM. `python -m atlas_plus.brain.learning digest|note|proposals`.
88
+ - Proposals desk: `brain_proposals` rows (lesson / ticket / fact) with Brain endpoints `/proposals`,
89
+ `/proposals/{id}/approve` (optional edited body), `/proposals/{id}/reject`, `/proposals/count`, and a
90
+ Helm Memory-tab panel with Approve / Edit / Reject. Approval is the loop's only write path: a lesson
91
+ appends a `proposed` row to `docs/lessons/LESSONS.md`, a ticket goes through the ticket store, a fact
92
+ through memory_remember.
93
+ - The weekly Claude supervisor runs headless (`claude --print`, prompt on stdin, one turn, no tools) on
94
+ `ATLAS_SUPERVISOR_MODEL` (default `claude-sonnet-5-5`), reads the last seven digests, the lessons ledger
95
+ and past proposals, writes the report with fixed headings (1 Patterns, 2 Root causes, 3 Recommendations,
96
+ 4 Lessons for the ledger, 5 Health) and files the proposals from its fenced JSON block.
97
+ - The dream prompt carries a RECENT WORK section built from the digests ahead of the memory corpus.
98
+ - The reflexion loop files proposals (kind `ticket`) instead of writing human tickets; report key
99
+ `proposals_created` replaces `tickets_created`.
100
+ - SessionStart `## Brain` adds the pending proposals (top 3 titles) and the newest digest's counts.
101
+ - Scheduler: `research-batch` unscheduled (the runner has been a no-op since 2026-05; manual trigger
102
+ `research-batch-manual`); `ticket-dispatch` registers only with `ATLAS_TICKET_DISPATCH=on`, `sla-check`
103
+ only with `ATLAS_NTFY_URL` set and `ATLAS_SLA_MINUTES` > 0. Maintenance surface tracks `session-digest`.
104
+ - GitHub intake: bot-authored items (`dependabot[bot]`, `github-actions[bot]`) classify as `normal`
105
+ whatever their body says (release notes quote CVE wording by nature), so they run on Sonnet and do not
106
+ page; a bot pull request is investigated once, not on every rebase. The Dependabot alert source keeps
107
+ GitHub's severity and still pages.
108
+ - Retired the orphaned nightly-curation Task Scheduler script (archived with a MANIFEST); the service
109
+ registration script no longer defines it.
110
+ - Tests: `tests/test_brain_learning_loop_atl073.py` (30 functional tests: digest from fixtures incl. a
111
+ real git commit and Brain ledger rows, proposals lifecycle and each approval path, scheduler registry
112
+ with and without switches, executors through run_executor, dream prompt, intake bot rule, SessionStart).
113
+
114
+ ### Brain lanes reach the session (Brain review, 2026-11-20)
115
+
116
+ - SessionStart primes a `## Brain` section: failed or blocked Brain jobs in the last 7 days by kind, the
117
+ pending-fact count, the newest weekly supervisor report's top three recommendations and the newest dream
118
+ file. Until now those artifacts had no reader: the supervisor diagnosed the nightly curation crash on
119
+ 2026-11-15 and the crash repeated for a week. Read-only, bounded, silent when the state dir is absent.
120
+ - Fixed: Brain's python child processes (curation report, suggest-facts, dream, reflexion, research runners)
121
+ inherited the console code page; on Windows a right arrow in Rich output killed the curation report after it
122
+ had produced the whole report. Every such `subprocess.run` now passes `PYTHONIOENCODING=utf-8`,
123
+ `PYTHONUTF8=1` (`_utf8_env`).
124
+ - Fixed: session co-occurrence patterns read zero sessions for months. The history parser accepted only
125
+ `## YYYY-MM-DD - title`; `_history.md` entries carry a time and two dashes. Both shapes parse now.
126
+ - Fixed: the reflexion loop stops after three consecutive LLM errors and records `aborted` in its report
127
+ instead of retrying every batch against an unreachable provider until the worker's time limit.
128
+ - Tests: `tests/test_brain_learning_loop.py` (functional: a child printing U+2192 succeeds through the fixed
129
+ helper; the abort path; the primed section from a synthetic state dir).
130
+
131
+ ### Sweep 26 (AG99): index truth
132
+
133
+ - Provenance is metadata, not text: `human`, `direct`, `source` and `high` matched every remembered or imported note
134
+ through the `<!-- source:... -->` tag and the frontmatter stamps (the raw frontmatter column was tokenised, keys
135
+ included). The tag and the stamps (`source` when it is a bare label, `confidence`, `updated`, `first_observed`,
136
+ `last_confirmed`, `source_session`, `source_task`, `imported_*`, `original_path`, `import_vault`) stay in the file and
137
+ are no longer indexed; the embedding text and `sextant context` matching drop the tag too. A body word `source`, a
138
+ writer's own `source:` sentence and the title are still found. INDEX_FORMAT 11: every index is rebuilt once.
139
+ - An interrupted index build keeps its progress: notes are committed in batches (500 notes or 2 s) with their
140
+ bookkeeping rows, the index reads `building:11` until complete, and the next search or `sextant-fts-rebuild` resumes
141
+ where the kill left off instead of starting over (first build, format-change rebuild, and a pull that lands many notes).
142
+
143
+ ### Lessons become tree-wide checks (sweep lessons, 2026-11-20)
144
+
145
+ - `tests/test_guardrails.py`: six rules learned in the sweeps now run over the whole source tree with `ast`, each
146
+ with an allowlist that states its reason: every outbound HTTP call and every blocking subprocess call carries a
147
+ timeout; a state directory is created 0700 through the one helper; no operator paths in source or tests; vendored
148
+ static files keep `-text` in `.gitattributes` (SRI survives a Windows checkout); only `atlas_plus.autonomous` reads
149
+ `ATLAS_SESSION_AUTONOMOUS`. A new hit is fixed or allowlisted with a reason in the same commit.
150
+ - The first run of those rules fixed what the sweeps had not reached: eight lazy state-directory creations left after
151
+ AG98 (the curation jobs, doctor, the pre-compact hook, reset, intake state); the research job's reference stub no
152
+ longer treats the session variable as a write permit (the sibling of the 2026-11-15 gate fix); `sextant-backup`
153
+ bounds rclone (6 h) and the Task Scheduler registration (5 min) instead of waiting forever.
154
+ - CI actions bumped to the current SHA-pinned releases (checkout v7.0.1, setup-python v7.1.0, upload-artifact v7.0.2,
155
+ download-artifact v8.0.2; each SHA checked against its tag). `constraints.txt`: anthropic 2.9.0, fastapi 0.163.1,
156
+ httpx2 and httpcore2 2.16.2, pydantic-settings 2.16.3, pytest-asyncio 1.5.0, python-multipart 0.0.34. `mcp` stays
157
+ at 1.30.0: the 2.x major waits for a client-contract pass.
158
+
159
+ ### Sweep 25 fix wave (AG98: hardening follow-ups from the paranoid lane, MN86)
160
+
161
+ - `sextant init` creates the corpus and state roots mode 0700 on Linux and macOS (they were 0755 under umask 022:
162
+ every note, the index and the sync device registry were readable by any local account); the sync state dir is
163
+ created 0700 too, also on a hub paired before init. An existing root is not changed: `sextant-doctor` shows a
164
+ Permissions warning with the `chmod 700` line. Windows is unchanged.
165
+ - The sync hub's unauthenticated `/health` and `/sync/v1/health` answer 421 to a Host that is not loopback or listed
166
+ in the new `ATLAS_SYNC_ALLOWED_HOSTS` (the MCP server's rule; a bind beyond loopback with no list keeps the check
167
+ off). Behind a proxy or tunnel that you probe through, set it to the public name. Device routes are unchanged.
168
+ - The dashboard serves Tailwind 3.4.17 from the package with subresource integrity; the CSP no longer allows
169
+ cdn.tailwindcss.com (htmx still comes from unpkg.com, SRI-pinned). See NOTICE.
170
+ - A symlink or junction that leads out of the corpus is left out of the dashboard's file tree, the MCP list tool, the
171
+ `atlas://memory/` catalog, tag suggestions and the topic index (the list tool used to read its title).
172
+ - The research link checker checks every redirect hop against the public-address rule and never probes loopback,
173
+ LAN or metadata addresses (such a link is reported as skipped, never removed).
174
+ - `.github/dependabot.yml`: weekly grouped updates for the SHA-pinned actions and the pip dependencies.
175
+
176
+ ### Sweep 25 second wave (AG97: the stranger's first fifteen minutes)
177
+
178
+ - README quickstart names the interpreter (`py -3.12`, any 3.11+) and stops when `pip --version` does not name `.venv`; GETTING-STARTED says the same.
179
+ - The status bar shows a grey `mcp: stdio` (not a red `down`) when no MCP HTTP server is configured, and no `maint`/`sec`/`loops` pill for a feature that never ran; the Map's MCP node matches.
180
+ - `sextant remember` (CLI, MCP tools, dashboard capture, Brain `/save`, Telegram) of a fact already in the note says "Already remembered" and writes nothing.
181
+ - Search snippets (fts, so the CLI, the MCP tool and the dashboard; the dashboard's grep fallback and session search too) drop HTML comments, including a provenance tag the snippet window cut open.
182
+ - The dashboard has a "Keyboard shortcuts" list: `?` or the palette entry.
183
+ - The Services tab labels its Atlas-* rows as Windows Scheduled Tasks found by fixed name and offers start/stop only for a task whose command runs this install; the endpoint refuses the others (409).
184
+ - Brain chat with no Brain answers with the not-running sentence at once instead of "Brain is thinking...".
185
+ - `sextant setup` section 4 uses `ATLAS_MCP_PORT`; `sextant context` matching notes (and the temporal facts' scoring) tokenize every script with search's folds; `sync --dry-run` prints "would pull N, would push N".
186
+
187
+ ### Fixed: a hub corpus restored without its state dir is caught per file (SEX-017, sweep 25 AG94)
188
+
189
+ - A corpus restored on its own over a live state dir left the generation and its marks untouched, and the corpus-hash
190
+ bump (MN77) made the older corpus look like a new hub edit: every device pulled the older copies over its newer ones
191
+ with rc 0 and a note born after the backup read as "deleted on the hub". The hub now keeps a short history of each
192
+ file's content (`<state>/sync/file-history.json`, eight per file) and reports `hub_older` in its manifest; a device
193
+ holding a newer copy refuses to pull it in `plan`, `checkin`, `sync --dry-run` and `sync` (exit 1, one sentence),
194
+ and keeps its base so the next sync says it again. `sync --push-newer` puts the device's copies (and notes the hub
195
+ lost) back; `sync --pull-older` takes the hub's; `accept-restore` on the hub accepts a deliberate rollback. A revert
196
+ pushed by a device is recorded as new content, not a restore.
197
+
198
+ ### Fixed: the session override no longer opens the general write gate (ATL-068)
199
+
200
+ - `ATLAS_SESSION_AUTONOMOUS=on` reached `require_autonomous_writes()` through an early return added
201
+ with the AG40 fix (sweep 15), so any process that inherited the variable, the Brain and its worker
202
+ included, passed every unattended write with `ATLAS_AUTONOMOUS=off`: on one install the weekly
203
+ unconfirmed-decay job lowered the confidence of 47 memory notes and the nightly tag job tagged 290
204
+ files. The general gate reads `ATLAS_AUTONOMOUS` only again; the Stop hook's writers (summarizer,
205
+ `atlas-suggest-facts --auto`) use the new `require_session_write()`, which is the only place the
206
+ session variable is honoured. Tests pin both directions. If you set the session variable in a
207
+ shared service environment, set it in the hook command's `--env` flag instead.
208
+
209
+ ### Sweep 25 (AG96: digraph spellings find the Nordic and German letters, SEX-021)
210
+
211
+ - Search: a query typed in digraph spelling now finds the note written with the letter: `aarhus` finds `Århus`, `oere`
212
+ finds `øre`, `goeteborg` and `vaesteraas` find `Göteborg` and `Västerås`, `muenchen` finds `München` (CLI, MCP and
213
+ dashboard; before, all found nothing). The index keeps each `å`/`ø`/`ö`/`ä`/`ü` word of a note once more in its
214
+ digraph spelling, in a tail after the note's text, so quoted phrases are unchanged and snippets show the note's own
215
+ word. A typed `aa`/`oe` is still never folded onto the letter, so ASCII words stay apart. Measured on wordfreq's
216
+ top-300 Danish, Norwegian, Swedish, Finnish and Dutch words (1,500 notes, 1,182 real-word queries): no hit lost;
217
+ 13 new real-word pairs, 11 of them the same word or a cognate (`gjør`/`gjøre`, `hjælp`/`hjälp`, `længe`/`länge`)
218
+ and 2 unrelated (Dutch `naar` finds `når`, Finnish `saa` finds `så`); each of the 191 digraph spellings that is not
219
+ itself a word finds its letter word. `ü` joins the query side as well (`München` finds `Muenchen`). INDEX_FORMAT is "10": the first
220
+ search, `sextant verify`, the MCP server and the dashboard rebuild an older index once, with the usual notice.
221
+
222
+ ### Sweep 24, agentic wave (AG91: the Nordic languages)
223
+
224
+ - Redaction: Danish, Norwegian (bokmal and nynorsk), Swedish, Finnish, Icelandic and Faroese key names (`kodeord`,
225
+ `nøgle`/`nøglen`/`nøglerne`, `API-nøgle`, `hemmelighed`, `lykilorð`, `loyniorð`, `nyckel`, `avain`, PIN and passphrase
226
+ words) in their definite and plural forms, the same words on the keyword-line pass with `er`/`on` as copulas, the
227
+ `til`/`till`/`för` qualifiers after a definite ending (`Adgangskoden til den nye database på serveren er V`), NFD text
228
+ (`Lösenordet är V`) and the Nordic status words (`påkrævet`, `saknas`, `puuttuu`) as labels: 153 of 202 probe lines
229
+ leaked, now 0; 89 ordinary sentences unchanged before and after.
230
+ - Search: a query word with `å`/`ø`/`ö`/`ä` also finds its `aa`/`oe`/`ae` spelling (`Ålborg` finds `Aalborg`) on the
231
+ CLI, MCP and dashboard; the reverse is not folded (measured: it merges 5% of running Finnish text). The syntax
232
+ fallback no longer AND-s an empty phrase (`Ålborg (` found nothing). No index rebuild (INDEX_FORMAT stays 9).
233
+ - Duplicates: the file and fact scans fold Latin diacritics as search does (`Göteborg`/`Goteborg`, `päivää`/`paivaa`).
234
+
235
+ ### Sweeps 16 to 24 (2026-11-13 evening to 2026-11-15; bullets are not in date order)
236
+
237
+ - Redaction: camelCase and long-prefixed key names (`dbPassword`, `MY_APP_PROD_EU_WEST_DB_PASSWORD`), `SECRET_KEY_BASE`, `*_HASH`, `*_v2`, `bearer`, `csrftoken`, `credentials`, Korean and Chinese key names, quoted values with spaces, CLI flags (`--token`), `Authorization: Basic`, passwords holding `@` in URLs; full-width folding touches only the masked value; a placeholder like `********` is left alone.
238
+ - The dashboard and the sync hub count an auth failure against the forwarded client only (the proxy's other clients no longer inherit it), ignore a forwarded value that is not an IP address, and lock a listed proxy after ten times the per-client limit when its clients rotate names; the sync hub reads `ATLAS_SYNC_TRUSTED_PEERS` and logs a lockout; compose passes the list to it. The MCP 401 body no longer carries the token fingerprint (the startup log does).
239
+ - Sync: devices pull `_atlas/routing.yaml` again (only the hub refuses a push of it); the client prints why a file was denied.
240
+ - Stop hook: the summary is refreshed in `updates.txt` too and across local midnight (one entry per session); a plain-text model reply is a failed run, not an entry; the facts stage has its own per-session lock and treats a non-JSON reply as a failed run (no `.done`); a mistyped gate value is reported; the review queue is deduplicated and capped; the exact-dedupe rule keeps letters of every script and sign characters (`-5`, `C++`, `€`).
241
+ - Console: text to a Windows console goes through the console stream again (the code-page bytes of the previous build showed replacement characters); pipes get the code page, hooks UTF-8. `review report` and `import` survive a C locale (the import refuses, with the reason, instead of writing duplicates); doctor names the locale instead of the files; `atlas-tickets` output is pipe-safe and a bad project name is one sentence with its characters; `alpha:beta` is two search words.
242
+ - Stop hook (MN39): a single-chunk session (the map schema carries no title) is a summary again (every short session had been refused as "not a summary"); a junk or echoed map reply is never cached; `--dry-run` writes no cache; `ATLAS_SESSION_AUTONOMOUS=off` is a silent opt-out and values are stripped; a failed facts stage records `suggest_facts_failed`; doctor's last event is its own line with the full hint; the facts script is found on PATH and in `~/.local/bin`; fsdiff snapshots are capped at 200.
243
+ - Versions: `scripts/bump_version.py` (`--part`, `--set`, `--release`, `--check`) is the one way to change the version; `tests/test_version_drift.py` fails when pyproject, the `__init__` fallback and the CHANGELOG headings disagree; public builds between tags carry `X.Y.Z.devN` and `sextant --version` names the source revision once the maintainer turns the stamp on (every build of 2026-11-13 had said 0.1.0 and `pip install -U` was a no-op); `docs/RELEASING.md` describes the scheme and who releases.
244
+ - Sweep 23 agentic wave (AG85, expert review of sweep 22): the banded duplicate scan yields candidates band by band and checks its own deadline (on 3,000 template notes it overran a 5 s budget by 47 s and reported 0 pairs where the exact scan finds 500); thresholds below about 0.11, where the bands cannot reach the promised 99% recall, use the exact scan; status words after a key name stay readable (`API key: revoked`, `token: pending`, `La clave API: pendiente`); the setup hook parser folds case only for Windows paths (on Linux and macOS `/home/u/WS` and `/home/u/ws` were merged into one install), treats `//srv/share` and `\\srv\share` as one workspace (on Windows only since MN79), and keeps `/`.
245
+ - Sweep 23 agentic wave (AG88, sync): `plan`, `checkin` and `sync --dry-run` warn about a hub restored from an older backup (only a real `sync` did, after parking conflicts; `plan --json` carries `hub_restored`); a file over the hub's 20 MB limit is left out of the push and named with its size and the limit (it was re-sent every sync with "file too large"; the manifest advertises the limits, an older hub's refusal is remembered per content), and HOWTO-sync states the limit; the push half prints progress per 500-file request and its count leaves out refused files; a hub address without `http://` gets one sentence in every command; `devices --all` shows the id beside a re-paired name; a progress line covers the final check-in.
246
+ - Sweep 23 agentic wave (AG87, the Stop hook's cost and the hooks' scope): the facts stage decides "nothing new" before it loads and redacts the transcript (it read the whole session on every reply: 72 s and 290 MB on a 97 MB, 30,000-turn session; it now reads only the bytes written since the last Stop, or stops right after counting when no transcript is named), and runs exactly as before when something is new; the mining stage skips a transcript whose size and mtime are unchanged without reading it and reads a grown one from where it stopped, with the same facts as a whole read; SessionStart takes the session's directory from the payload's `cwd` like the Stop hook (an install primed a session its own Stop hook then left alone, and the other way round), and both hooks say so when an `ATLAS_HOOK_SCOPE` value carries its own quote characters.
247
+ - Sweep 24 agentic wave (AG92, optimization pass before launch, no behaviour change; 20,000 notes): a cached dashboard panel answers in 70 ms instead of 0.8 s (its cache key no longer stats every note on a hit); doctor's index count 1.6 s -> 59 ms and its orphan check reads each note once (whole doctor 24.4 s -> 21.5 s); the search freshness sweep 137 -> 89 ms (one SQLite connection, one scan); every `sextant` command loads ~60 ms faster (the package version is looked up only by `--version` and the overview); importing redaction no longer builds its mark-tolerant pattern up front. Open: the Stop hook spends 1.5 s on a refused connect when autonomy is on and no local model runs; the dashboard topic cloud parses every note's frontmatter cold.
248
+ - Sweep 23 manual wave (MN83, the dashboard in a real browser): the ticket detail's "Dispatch to Brain" button sends the folder the ticket lives in, like Start, Done and Block (after a folder rename it answered 404, or dispatched another ticket with the same id); the Brain's automatic dispatcher qualifies an id that two folders share, so both tickets are dispatched and each finished task closes its own ticket (both had stayed todo). axe: colour contrast only, both themes.
249
+ - Sweep 23 manual wave (MN80, locales): a Hebrew or Arabic query word whose stem starts with a prefix letter finds its prefixed forms and the other way round (`לילה` meets `בלילה`, `הבעיה` meets `בעיה`, `برنامج` meets `البرنامج`): an unquoted word that loses a prefix searches its stem, the whole word and the stem's two-token index form, in the main query, the first syntax fallback and the CJK bigram path; quoted words stay exact; no index rebuild. Over 200 common and 200 prefix-initial words per language, false hits are unchanged and the prefix misses went to 0.
250
+ - Sweep 23 manual wave (MN79, expert): a ticket moved into any underscore folder (`alpha/_archive/`, `_done/`) keeps its number (ALP-005 had been issued three times); ids whose prefix holds a digit, which the store mints itself (K8S-001, S3B-001, ABC2-001), are accepted by `--requires`, Telegram `/verify`, the Brain and the dashboard, and a finished task closes them; a dashboard dispatch sends the folder-qualified ticket to the Brain, so the finished task closes THAT ticket; the duplicate scan's signature pass checks the time budget; a quoted status word after a key name stays readable; the setup hook parser normalises `ws\.` and `tmp\..\ws` and treats `//x` as a share only on Windows; doctor and `suggest-tags` leave `_archive/` out. Open: the duplicate scans read every note before the budget clock starts.
251
+ - Sweep 23 manual wave (MN81, the Stop hook): when a reply brings something new, the facts stage redacts only the tail of the session it actually sends (plus 64 warm-up turns for the cross-turn carry) instead of every turn (a 60 MB, 34,000-turn session: 107.6 s before, 4.9 s after, the same prompt to the model); the mining cache re-reads a transcript rewritten in place at the same size (it kept the old counts); with no `cwd` in the payload both hooks fall back the same way (payload `cwd`, then the transcript folder, then the process directory).
252
+ - Sweep 23 manual wave (MN82, two devices for a week): after a hub restore, archiving the parked folder and syncing now pushes the device's newer file, as HOWTO-sync says (every sync re-parked the same conflict and the edits never reached the hub); it pushes only when the file still holds every line of the hub's copy, and only while the hub still holds the copy it was parked against. A hub address with spaces or quotes around it, or a misspelt scheme (`http//`, `https:/`), gets advice that fits it. CONFIGURATION no longer calls the state dir "safe to wipe", and HOWTO-sync says to restore a hub's corpus and state dir together. Open: a corpus restored without its state dir is not detected.
253
+ - Sweep 23 agentic wave (AG86, tickets): ticket numbering covers every live and archived folder that uses the prefix, at any depth, so a new folder under a renamed project's old name gets a prefix of its own (`ALPH-` beside the renamed folder's `ALP-`) instead of reissuing ids that exist under the new name, and a ticket moved into a dated archive folder (`_archive/2026-11-15/`) or an archived renamed folder keeps its number; a renamed folder keeps its original prefix (it minted a second one); dashboard dispatch of a renamed folder's ticket sets THAT ticket in progress (it changed its namesake); `show` matches ids case-insensitively and names the folder; Telegram `/done`, `/priority`, `/status` and `/ticketstatus` give the ambiguity hint and keep a `folder/` qualifier's case. 8,000 creates in one process stay as fast.
254
+ - Sweep 23 agentic wave (AG90, doctor and small CLI truths): the repeated-facts scan uses an exact rarest-first prefix filter (2,500 facts: 50 s before, 0.27 s after, the same pairs; 10,000 facts: 1.9 s, where the 60 s budget used to stop after 448 facts); doctor's top untagged scopes count what its untagged total counts (scaffold `_README.md`, archive and versions left out, a singular `tag:` honoured); the dashboard's start banner prints only after every refusal has passed; `--help` no longer shows `<bool>` on flags that take no value; the README says a non-editable install from a clone leaves `build/` behind and to delete it before reinstalling; a delegated command (`sextant doctor`, `sextant web`) restores `sys.argv` afterwards.
255
+ - Sweep 23 agentic wave (AG89, search parity and Hebrew): the dashboard search says "No hits" where `sextant search` and the MCP tool do (its substring grep answered `لله`, `רגיש` and `💻` when the index found nothing); the grep now runs only when the keyword index cannot answer, says it is a substring search, folds like search and prints `/` paths. A Hebrew acronym is one word across its gershayim or an ASCII or curly quote (`בצה״ל`, `בצה"ל`), so `צה״ל`, `צה"ל` and `צהל` find it behind a prefix and the ASCII-quote query no longer brackets every ל-prefixed word (index format 9: every index rebuilds once). The duplicate scans (files, facts, and the `remember` hint) drop the Arabic/Hebrew prefixes and see emoji the way search does. Open: a query word whose first letter is a prefix letter that belongs to the stem (`לילה`, `בדיקה`) loses it and misses `בלילה`, `הבדיקה`.
256
+ - Sweep 22 manual wave (MN78, newcomer + upgrade): ħ, ŧ, æ and œ fold for search too (`hamrun`, `aeroskobing`, `coeur`; index format 8: every index rebuilds once); `sextant verify`, the first command of the documented post-update path, passes the server's one-time index-rebuild lines on to stderr (they went to a log it deleted); `sextant setup` run before `sextant init` says on stderr that the memory root does not exist yet; GETTING-STARTED no longer says most updates leave the tokenizer alone.
257
+ - Sweep 22 manual wave (MN76, the dashboard by keyboard in a real browser): Ctrl+K while the dispatch dialog is open no longer sets the two focus traps against each other (a stack overflow, and keys typed into the palette went into the hidden agent instruction); a ticket card, inbox row or task row keeps keyboard focus when its list refreshes (every 8 or 30 s it fell to the page body); the capture scope has the focus ring the MN64 entry promised; Enter on a palette query with no match and a palette command that only switches tab return focus; the palette no longer lists a Watchtower tab that is not installed; the board's cap sentence no longer asks for a project when one is picked, and the cap keeps the newest tickets of a single day (the id breaks the date tie). axe: colour contrast only, both themes.
258
+ - Sweep 22 manual wave (MN73, expert): `sextant setup --client hooks --out` no longer drops another install's hooks when a workspace path holds a single quote, no longer adds a second Stop hook when the same Windows workspace is spelled with forward slashes, and an explicitly empty variable (`ATLAS_HOOK_SCOPE= sextant setup ...`) removes a value an earlier run baked in; the weekly report puts each time-budget note under its own scan (the repeated-facts scan's stop was shown under file duplicates, and its partial count as complete); `review duplicates --json`, `--facts` and the dashboard panel say when the MinHash bands ran or a scan stopped early; a ticket dropped flat into `tickets/_archive/` keeps its number reserved; an ambiguous ticket id names each folder. Open: after a project folder is renamed, a new folder with the old name reissues ids.
259
+ - Sweep 22 manual wave (MN77, a restored hub): a note the hub wrote itself (its own assistant, `remember`, an editor) never changed the hub's generation, so after a restore every device silently pulled the older copy over it; each fresh manifest now records the corpus hash and a different hash at the same count bumps the generation. HOWTO-sync has a section on what to do after a restore (the parked copy is the OLDER one); GETTING-STARTED's restore line names the state dir.
260
+ - Sweep 22 manual wave (MN74, locales): the dashboard search's grep fallback no longer follows a symlink (it showed the text of a file outside the corpus); đ, ł, ø, ð and þ fold for search (`da nang` finds "Đà Nẵng", `lodz` finds "Łódź"; index format 7: every index rebuilds once); a skin-toned ZWJ emoji (`👩🏽‍💻`) is one token and its untoned form finds it; a note over 60,000 characters brackets the whole word in its snippet; two-word key names are redacted (`API key: V`, `secret key: V`, `access key`, `private key`, `client secret`, `clave API`, `API-ключ`, `API anahtarı`, `API 키`, `API कुंजी`, `الرمز السري`).
261
+ - Sweep 22 manual wave (MN75, the Stop hook): the mining stage no longer drops the tool calls of a turn holding a raw U+2028 or U+2029 (the sibling of AG84's loader fix); with `ATLAS_CLAUDE_CODE_ROOT` set, a Stop payload whose transcript lies outside it, under another `.../projects` folder, is summarised from that folder with one stderr line saying so, instead of silently summarising another (stale) copy of the session or recording "no turns found".
262
+ - Sweep 22 agentic wave (AG83, search across languages): Arabic article and preposition prefixes (`الخادم` meets `خادم`, guarded by stem length so `الله`, `بيت` stay whole) and Hebrew ו/ה/ב/ל prefixes (`השרת` meets `שרת`; a bare מ is left alone, it is usually a participle) are split for search; Persian plurals written without the zero-width joiner meet the joined spelling; emoji, flags, keycaps, ZWJ sequences and skin tones are searchable; snippets show the note's own letters and punctuation (`Straße`, `İSTANBUL`), not the folded index text; the syntax-error fallback folds like the main query. Index format 6: every index rebuilds once.
263
+ - `sextant setup --client hooks --out` on Linux and macOS: re-running it replaced, rather than duplicated, the workspace's own Stop entry only on Windows (the unquoted POSIX path was read to the end of the command line); the path parser now honours quotes before or after the variable name and stops a bare value at whitespace.
264
+ - Sweep 22 agentic wave (AG80, dashboard accessibility): the tab bar is a real tablist (arrow keys, Home and End move between tabs; one tab stop); every select has an accessible name; the capture and palette inputs show a focus ring; a detail pane takes focus when a row opens it and gives it back on Escape; the command palette focuses its input at once, matches words in any order, keeps Tab inside and returns focus when closed (the dispatch dialog too); the Tickets tab has the project picker its cap sentence asks for (`/api/tickets/projects`); the page has a main landmark and focusable scroll regions. axe now reports only colour contrast.
265
+ - Sweep 22 agentic wave (AG81, the Stop hook and setup): re-running `sextant setup --client hooks --out` keeps a hand-added `--env` (setup's own hint told you to add `ATLAS_SESSION_AUTONOMOUS=on`, and the next run removed it); `ATLAS_HOOK_SCOPE` scopes an install's hooks to its own directories, setup warns when it merges a second unscoped install, and its text says one settings file runs every install's hooks; the moved-workspace guard also refuses a missing state dir, and the gate-typo path no longer writes an activity log into it; the facts stage counts turns, not text lines, so one long reply no longer re-runs the model.
266
+ - Sweep 22 agentic wave (AG82, sync user experience): the sync client gives verify's URL hints (a redirect to https, a path after the hub address, https to a plain-HTTP hub, plain HTTP to a TLS port) instead of bare 308/404 codes or "no hub answering" while the hub runs; a file edited here and deleted on the hub is the same in `plan` and `sync` (kept, not pushed, never pulled over); a dry run no longer says it parked anything; pairing never issues a token that starts with `-` and `--token -X` still works for old ones; a first sync of 200 files or more prints progress on stderr; `devices` hides revoked rows (`--all` shows them) and `pair` on an active name says to revoke first.
267
+ - Sweep 22 agentic wave (AG79, the expert on the sweep 21 fold): a qualifier of up to 60 characters between the password word and its cue no longer hides the value (`the password for the staging database is V`); a value behind a list or quote mark, or after a commented cue line, is masked; the facts prompt carries a cue across turns; a hub restored from a backup is caught even after it has been pushed back to the count a device saw (each count carries a random mark); a push batch that fails half-way reports only its own files, keeping the batches that landed.
268
+ - Sweep 21 manual wave, open items: doctor's Backup row reads the log `sextant-backup` writes and knows its success line (it said "never" after a successful backup); GETTING-STARTED says the backup leaves out `logs/` on purpose; the ticket board's cap keeps the most recently updated tickets (it had cut exactly the newest, so a ticket just created was invisible); the header counts read up to 5,000 tasks; memory search results and other fetched content are reachable by keyboard; the fact-level duplicate scan honours `ATLAS_DUPLICATES_BUDGET_SECONDS` too.
269
+ - Sweep 21 manual wave (MN70, MN71, MN72, MN69, MN67): task ids, agents, instructions and ticket frontmatter are escaped in the task list, task detail, ticket board and ticket detail (markup sent through the Brain API or a synced ticket file ran in the dashboard); a hub counts its applied pushes and a device that sees a lower count than it last synced (a hub restored from a backup with its pairings) parks every difference as a conflict instead of pulling older notes over newer ones; a device pushes more than 500 changes in batches; a device that syncs with two hubs keeps one base per pairing; the text doctor shows the crash-leftover and conflict-copy hints and knows `.tmp`; a `??` run in a piped fact is refused; the import report survives file names outside the console code page; `.MD` notes are indexed; `reset --state` right after init says there is nothing to clear; the facts stage redacts a bounded slice of each turn, so a long session no longer costs minutes per Stop.
270
+ - Sweep 21 manual wave (MN68, locales week eleven): the keyword-line redaction knows the value cue in every language it covers (Italian `è`, Czech `je`, Polish `to`, Finnish `on`, Vietnamese `là`, Indonesian `adalah`, Greek `είναι`, Hebrew `היא`, Arabic `هي`, Thai `คือ`, Japanese `は`, Chinese `是`, Korean `는`, and Hindi `है`, Persian `است`, Japanese `です`, Korean `입니다`, Azeri `-dir` after the value): a letters-and-digits value in that slot is masked in any case (`Natsu2024`, `blue7horse42` had leaked in 18 languages, into the search log and the facts prompt); outside a value slot only a long mixed-class run is masked, so `Python3.11`, `OAuth2.0`, `Argon2id` and `GPT-4o-mini` on a line that mentions a password word stay; a value on the next turn (`USER: V`) or with a trailing comment is masked; a value on the line after `password is` keeps no name exemption; key names are no longer matched inside Arabic and Hebrew words; the search log redacts far more of a long query before its cut; the remember-time duplicate hint reads Greek, Arabic, Hebrew, Thai, Hindi and Vietnamese facts.
271
+ - Sweep 20 manual wave (MN61, the expert's eleventh sitting): the autocommit lock gets the summarizer lock's fixes (breaking a dead owner's lock is re-checked under a guard, a failed release is retried, a pending-delete error waits instead of writing unlocked, waiters back off with jitter): four concurrent writers no longer produce "another writer held the lock for 30 s" notes or two committers at once; a write a peer's commit already carried is not reported as "not auto-committed"; a state dir that refuses writes is named instead of blamed on another summarizer run; `project_state_tool` kills the whole process tree of a hung `docker compose ps` instead of leaving it running.
272
+ - Sweep 21 agentic wave (AG74, crash durability): a hundred kills each during remember (CLI and MCP), import, sync, the index rebuild and `reset --state` never tore or lost a note; what crashes left behind is now handled: temporary files (`.w-tmp`, `.imp-tmp`, `.v-tmp`, `.tmp`) never cross sync (a killed write's copy had been pushed to every device) and doctor names them; an empty or torn lock token is treated as a dead writer after two seconds instead of a 30-second wait blamed on another writer; `sextant init` writes its scaffold atomically, repairs a zero-byte file on the next run and says a full disk in one sentence instead of a traceback; import accepts `reference:<topic>` like remember.
273
+ - Sweep 21 agentic wave (AG73, the expert's twelfth sitting): three dashboard routes (ticket detail, task detail, session) escape the id they echo in a "not found" fragment (script in the id ran in the dashboard's origin); `reset --all` and `uninstall --all` check the corpus target, junctions included, before touching the state dir (with a junction corpus the state was removed and then the corpus refused); a token revoked mid-sync stops the push and conflicts passes too and skips the check-in; the cheap snippet maps folded positions back to the stored text (CJK terms and length-changing case folds); dispatch normalises ids like its sibling routes; a Word+digits value after a value cue (`is`, `lautet`, `:`) is masked (`Summer2024`, `Admin1234`) while product names elsewhere stay; the next-line value rule skips blank and fence lines and does not chain from an already-redacted line; typing a space in the command palette no longer closes it.
274
+ - Sweep 22 agentic wave (AG84, performance): on a corpus whose notes share one vocabulary the file-level duplicate scan takes its candidates from MinHash bands once the exact prefix walk would touch more than 8 million posting entries (2,500 / 5,000 / 10,000 / 20,000 notes: 2.0 / 7.1 / 25.9 / 99.8 s before, 2.1 / 4.4 / 9.7 / 21.3 s after, the same pairs at every size); similarities stay exact, a pair at the threshold is found with probability 99% or more, the CLI and the weekly report say when the bands were used, `ATLAS_DUPLICATES_EXACT=on` forces the exact scan; ticket creation remembers the highest number while the project and archive folders are unchanged (8,000 creates in one process: 139 s before, 22 s after); the Stop hook's summarizer decides "nothing new" from the bytes written since the last Stop (a 95 MB session: 1.5 s and 363 MB per reply before, 0.4 s and 38 MB after, for the summarizer; the facts and mining stages still read the whole file) and no longer walks the transcripts tree when the payload names the file; a turn holding a raw U+2028 or U+2029 is no longer dropped; the first search that builds or largely re-indexes the index says so on stderr and in the MCP result (`index_rebuilt`).
275
+ - Sweep 21 agentic wave (AG75, scale, part two): the duplicate scan stops at a time budget (`ATLAS_DUPLICATES_BUDGET_SECONDS`, default 60) with the strongest pairs found so far, and the CLI and the weekly report say so (20,000 notes with a shared vocabulary took 250 s and 3 GB; the dashboard's curation panel never finished at 5,000).
276
+ - Sweep 21 agentic wave (AG75, scale): tickets parse their frontmatter with the C YAML loader (listing 5,000 tickets spent 9.9 of 10.9 s in the pure-Python one); the ticket board renders at most 500 tickets and says how many more a project or status filter would show (5,000 tickets made a 3 MB response and a page that took 55 s to settle).
277
+ - Sweep 21 agentic wave (AG76, every client config): one refused piece no longer fails every piece (`--client hooks` stays JSON on stdout with a quote in the workspace path; WSL lines that print are not failures); `--client codex --out` appends the TOML table to an existing `config.toml` after a backup instead of replacing it with a shell line; `--json` no longer turns off the `--out` merge (it had wiped `permissions` and the user's own hooks); `--name` refuses a dot (Codex read it as a nested table and dropped the whole config); a UTF-16 target gets a sentence; a second install's hooks merge keeps the first install's hooks.
278
+ - Sweep 21 agentic wave (AG78, backup, restore and moving machines): a device whose base was made with another pairing no longer pulls a restored hub's older notes over its own newer ones (every difference is a conflict, your copy kept); the Stop hook with a moved workspace writes nothing and says so instead of growing a new corpus at the old path; doctor names a sync tool's conflict copies (`name (1).md`); GETTING-STARTED says which parts of the state dir are not derived (the hub's pairings, transcripts), to restore into an empty folder, and that a moved workspace needs `sextant setup` again.
279
+ - Sweep 21 agentic wave (AG77, the docs truth audit): the `ATLAS_DISABLE_*` stop-hook opt-outs take `on` like every other switch (with `on`, transcripts were still mined and sent to the model); the summarizer reads `ATLAS_MODEL_SUMMARIZER_PROVIDER` as documented, `anthropic` means Claude, and an unsupported value runs Ollama only with a sentence instead of a silent cloud fallback; default-on switches turn off for `no` and `0` too; twelve number variables are refused with a sentence instead of a traceback; the Map tab probes the ports `ATLAS_MCP_PORT` and `ATLAS_SYNC_PORT` name; the clock line's day markers compare with the lead zone; `sextant components` no longer calls Telegram ready on a token the bot does not read; CONFIGURATION, README, HOWTO-litellm and HOWTO-ntfy-control corrected where they disagreed with the code.
280
+ - Sweep 20 manual wave (MN64, the dashboard on day eleven): Dispatch to Brain on a ticket id two projects share is refused with the choices, the button sends the qualified id, and a status that did not change is said instead of "ticket set to in-progress"; every tab, task row and ticket card is reachable by keyboard (Enter or Space), and the command palette opens Map, Operator, Inbox, Services and Watchtower; "done today" counts the local day (west of UTC it read 0 every evening); the quick-capture list no longer offers the owner's own project; a ticket-detail error shows the server's sentence; the sign-in page is readable on a phone, declares its language and says when the key given was wrong; the capture scope keeps a focus ring.
281
+ - Sweep 20 manual wave (MN66, the newcomer and the upgrader): a search for a common word in a very large note no longer takes minutes (FTS5 built a snippet over every hit; notes over 60,000 characters get a cheap snippet instead); `reset --all --yes` checks the state step before it wipes the corpus (it wiped the corpus and then refused the state); `reset --state --yes` run twice says there is nothing to clear; the dry-run import counts a CRLF note after normalising its line endings, like the write; the ChatGPT and claude.ai imports' cap counts the note, not the frontmatter; a byte-order mark before a piped confirmation path is ignored; `sextant -h` is help; `sextant-mcp --port` names ATLAS_MCP_PORT; `search -n` above 50 says it is capped.
282
+ - Sweep 20 manual wave (MN65, the self-hoster's eighth round): identical bytes are never a sync conflict (two overlapping syncs from one device parked 150 byte-identical copies on both sides); a token revoked mid-sync stops the run with one sentence instead of one 401 line per file; device names refuse invisible format characters, `.` and `..`, trailing dots, Windows device names and NFD duplicates; two peers whose names slug alike get distinct inbox folders; a zero or negative `ATLAS_SYNC_TIMEOUT` falls back to 120; verify's HTTP-to-HTTPS hint quotes the server's Location instead of keeping the http port; on Windows the taken-port check also sees a program listening on 0.0.0.0.
283
+ - Sweep 20 manual wave (MN63, the Stop hook on day eight): a day log saved with a byte-order mark (PowerShell 5.1 `Set-Content -Encoding UTF8`, Notepad's UTF-8 with BOM) is refreshed in place instead of gaining a duplicate entry at every Stop; a control character in `session_id` is dropped (a NUL crashed the hook); the hook's messages are UTF-8 when piped and print paths plainly; a payload in the wrong encoding is named as such, with the PowerShell fix; two workspaces sharing one state dir no longer block each other's summary or facts; GETTING-STARTED describes PowerShell 5.1's real pipe failure.
284
+ - Sweep 20 manual wave (MN62, locales week ten): the keyword-line redaction pass normalises before it compares (NFKC, then casefold, then marks and tatweel out), so uppercase Turkish, half-width and full-width words, NFD Korean and Japanese and Arabic with tatweel are caught; Azeri, Danish and Swedish words are covered on all-ASCII text; a value on the line after `password is below` is masked; product names such as `Windows11` or `iPhone15-on` on a password line are left alone (35 of 69 ordinary sentences had been mangled); Turkish `ı` no longer matches the ASCII value class; Turkish status words are not values. Search folds Greek tonos and dialytika, capital `ẞ` and Azeri `ə` (index format 5: every index rebuilds once); the Thai bigram fallback recomposes sara am like the index; `review duplicates --facts` normalises like search; the remember-time duplicate hint reads words of every script.
285
+ - Sweep 20 agentic wave (AG67, the expert's tenth sitting): the summarizer's write lock really keeps writers apart on Windows (a failed release was swallowed, breaking a dead owner's lock was check-then-unlink, and any other OSError meant writing with no lock at all); a refresh no longer cuts an entry at a session heading quoted inside a code fence; the blank-line fold leaves fenced blocks alone; `project_state_tool` no longer hangs the stdio server when `docker compose ps` hangs; the per-session lock is released only by its owner; every ambiguous-ticket refusal names the choices, per thread.
286
+ - Sweep 20 agentic wave (AG69, the Stop hook on day seven): the hook reads its payload as bytes (UTF-8 or UTF-16 with a BOM), so a transcript path with an accent is no longer refused under a default Windows Python; a payload that cannot be read is refused instead of summarising the whole day; a transcript path at a drive root is refused instead of scanning; the facts stage really gives up after three failures; an absurd pid in a lock file no longer crashes the writer.
287
+ - Sweep 20 agentic wave (AG71, the self-hoster's seventh round): `sextant verify` names a missing, empty, directory or non-PEM `SSL_CERT_FILE`, suggests https when a TLS port resets a plain-HTTP connection or redirects to https, and names `/mcp` for a 405 at the root; `sextant web` prints its banner only when it will start; the hub refuses a taken port with a sentence naming `ATLAS_SYNC_PORT`; the Dashboard's Recent Tasks panel is reachable on a phone; device names are validated (no empty, control characters, separators or case-only duplicates); `ATLAS_SYNC_TIMEOUT` (default 120 s) replaces the fixed 30 s client timeout.
288
+ - Sweep 20 agentic wave (AG72, the newcomer, locales and upgrade): a last structural redaction pass masks secret-shaped tokens on any line that holds a password word in about forty languages, marks and joiners ignored (qualified prose had leaked in nine languages, English included); a `?` at the start of a word or a lone `?` in a piped fact is refused; `doctor --strict` fails before init; `reset --state` recognises a stock state dir and clears the search index; the import cap counts the note, not the frontmatter it adds; Turkish dotted and dotless i fold for search (index format 4: every index rebuilds once).
289
+ - Sweep 20 agentic wave (AG70, an agent over stdio and HTTP on a git corpus): autocommit commits only the note it wrote (a bare `git commit` took the whole index, so a file the user had staged by hand was committed under Sextant's message); autocommits are serialised by `.git/sextant-autocommit.lock` and git gets 30 s instead of 5 (a killed commit had left `index.lock` and `HEAD.lock` behind and later writes reported success without committing); every skipped or failed autocommit is returned as `autocommit_note`; the unmerged-path check re-reads git when the index changes; an ambiguous bare ticket id names the qualified ids over MCP and in `atlas-tickets show`/`status` too; tickets are written with LF; a decision's project refuses path shapes; the budget meter honours `CLAUDE_CONFIG_DIR`. `sextant verify` no longer raises a raw connection-reset error when a server closes after an error status.
290
+ - Sweep 20 agentic wave (AG68, the redaction red team's third wave): the facts prompt redacts before it cuts the transcript (a key before the cut sent its value to the model bare) and sends nothing when redaction fails; TOML triple-quoted values, YAML anchors and core tags before a value, YAML double-quoted values folded over two lines, JSON values with escaped quotes, XML CDATA, Terraform variable defaults, `--password-stdin` pipes, glued `curl -uuser:pw`, `az login -p`, prose forms in Vietnamese, Indonesian, Turkish, Polish, Ukrainian, Greek, Hungarian, Swahili and Tagalog, curly and corner quotes, soft hyphens and zero-width spaces inside a value, full-width text, `I set the password to V` and `the client secret is V` are masked; a URL after `-U` keeps its host.
291
+ - Sweep 19 agentic wave (AG66, stdio on a git corpus, upgrade, newcomer): a dry-run import lists the notes `--yes` would cut under `truncated`; the sign-in page's title says "sign in"; the modify/delete refusal says `git add` keeps the file and `git rm` deletes it. (AG66's two MAJORs, the gitsafe probe inheriting stdin and the config hardening failing open on its timeout, were the MN59 fix already shipped in 3a4a879.)
292
+ - Sweep 19 manual wave (MN56, the dashboard on day ten): a bare ticket id that names tickets in several project folders is refused with the qualified ids to choose from (a status change had rewritten whichever file the walk met first); the auth-failures table shows the source first and the time to seconds (the microsecond time column had filled the card on a desktop); the port check runs before the start line is logged; the chat error names `sextant-brain` like the panels; the Map tab's refreshed stamp hides below 412 px.
293
+ - Sweep 19 manual wave (MN57, the Stop hook on day six; MN60, the newcomer's re-run): the write lock's owner refreshes it every fifteen seconds while writing and a lock whose owner process is gone is broken at once (a 130 s hold had been broken as stale and lost an entry; a dead owner had blocked every Stop for two minutes); the per-session lock carries its pid, is broken when that process is gone, and a skipped run is recorded (a killed summarizer had blocked its session for fifteen minutes with no trace); a payload with a byte-order mark parses; a refused transcript path is named on stderr and in an event instead of falling back to a full scan; a dry run writes no failure counter; the day log no longer accumulates blank lines; `sextant web --port` says to set `ATLAS_WEB_PORT`; the sign-in page is headed "Sign in"; a `?` between letters in a piped fact is refused like a run of them.
294
+ - Sweep 19 manual wave (MN59, the self-hoster's round six): gitsafe's own `git config --list` probe, which runs before every hardened git call, no longer inherits the MCP server's stdin (the real cause of the five-second stall on every stdio write into a git-tracked corpus, fifteen with autocommit; MN53's fix had reached the callers only); `sextant verify` names a missing or unreadable `SSL_CERT_FILE` instead of calling the certificate untrusted.
295
+ - Sweep 19 manual wave (MN55, the expert's ninth sitting): the day-log rollback takes its snapshot under the write lock and never writes after a lock timeout (it had read the log before the lock and written that stale copy back after a timeout, erasing the live writer's entry), and updates.txt rolls back with it; the end-marker search stops at the next session heading (unbounded, it reached a later duplicate entry and deleted the entry between); a cut-off PGP key whose armor starts with `Comment:` or `Hash:` is masked again; a capitalised word followed by more words (`password: Dragonfly for both boxes`) is a secret, only a lowercase word is prose; `/usr/bin/mysql -pV`, `./mysql`, a quoted `"mysql ..."` and a Windows path mask; the facts stage gives up after three failures at the same transcript length like the summarizer; prepositions of place and direction and the personal pronouns count as content in the rewording rule (`to Postgres from MySQL` and `they` for `we` had been dropped); joiners between Indic letters are dropped from index text and query (`राम` meets its ZWJ spelling again, Persian ZWNJ stays a separator) and the duplicate scan agrees; an all-capital CLI value is a secret unless it is a short or underscored metavariable; a folded `Authorization: Bearer` header is masked; only a value that is all x's is a placeholder; a non-ASCII value with a digit is a secret; an unquoted subscript key skips identifier values only; `sextant verify` tells a closed connection from a TLS alert and gives the IP advice only for an IP; `#1 priority` keeps its hash; the dry run says "Would write".
296
+ - Sweep 19 manual wave (MN58, the non-English user's week nine): `the password for the server is V`, `Passwort für den Server: V`, `mot de passe du serveur : V`, `contraseña del servidor: V`, `senha do banco: V`, `пароль от почты: V`, `رمز عبور سرور: V`, `הסיסמה לשרת: V`, `รหัสผ่านเซิร์ฟเวอร์: V` and the adjective-after-noun forms (`كلمة المرور الجديدة: V`, `รหัสผ่านใหม่: V`) are masked (a qualifier between the key word and the value had defeated every rule, English included); the prose rule covers `كلمة المرور هي V`, the Persian suffix pronouns (`رمز عبورم V است`), Thai `ของคุณ`, bare German `Passwort lautet V`, `das Token ist V`, French `c'est` and `le jeton est`, Spanish `mi token es`, Hebrew `הטוקן שלי הוא`, Chinese `我的令牌是` and curly quotes; the bare Russian and Portuguese prose lines are really gone (an earlier edit had missed them); `Passwort: abgelaufen`, `mot de passe : expiré`, `senha: expirada`, `contraseña: caducada` and their siblings are status words, not secrets; search folds `ё` to `е` and `ß` to `ss`.
297
+ - Sweep 19 (AG65, the remote operator behind Caddy): `sextant verify` names a TLS alert as a refused handshake (an IP address the certificate does not name) instead of calling the server plain HTTP, ends no hint with a colon, and suggests `https://` first for a scheme-less URL; the sync hub names each locked client once per window with the dashboard's five-per-peer cap and summary line; the dashboard's auth-failures table scrolls inside its card.
298
+ - Sweep 19 (AG64, summarizer sixth sitting): the Stop hook no longer passes `--skip-similar 0.8` to the facts stage (that whole-note gate dropped `room B` to `room C` before the per-line rule ran); a waiter that times out on the write lock skips this Stop's write (retried next Stop) instead of breaking a live writer's lock and writing unlocked (a slow holder's stale copy had erased another session's entry), and a lock is broken only once it is 120 s old; a failed `updates.txt` write rolls the day log back so the session is not left "done" with its updates entry missing; the end marker is found before any quoted `## ` line in the body and no item starts a heading; a run that fails without writing an entry (one rejected chunk, every chunk rejected, a junk reduce reply) stops calling the model after three failures at the same turn count; a partial entry in a session under six turns is retried; the summarizer reads the transcript the payload names instead of every transcript under the root (a 200 MB sibling file cost 70 s per Stop); a derived transcript root must look like `.claude/projects` (a payload could choose the scanned tree); the dry run prints the entry it would have written into its stamped log; a second workspace on a shared state dir no longer duplicates the updates entry; the hook's `--help` is rewritten.
299
+ - Sweep 19 (AG61, the expert's eighth sitting; AG62, redaction eighth sitting; AG63, search quality across scripts): the search index lists Sinhala anusvara and visarga, the Malayalam, Bengali, Tamil and Kannada length marks and the Tibetan subjoined letters as token characters (`ලංකා` had met `ල කා`, `കൗമാരം` had split, Tibetan stacks had conflated) and no longer lists the joiners (Persian `کتاب` finds `کتاب‌ها` again and `राम` finds its ZWJ spelling); the duplicate scan's word regex gains the same marks; a passphrase such as `Tr0ub4dor&Rising` after `my password is` is masked again (the English-suffix veto applies to all-letter words only); `RUN mysql -u root -pV`, `run: mysql ...` and `- mysql ...` mask again; a `.netrc` line keeps its indentation; `XXXX` is a placeholder like `xxxx`; the bare Russian and Portuguese prose forms (`мой пароль V`, `meu token V`) are no longer rules (they masked identifiers); a lesson with a newline is one line like every other item (it had left orphaned headings and end markers); the Pending line says "retried when the session grows" once the cap is reached; every git call goes through gitsafe (three raw calls had run a corpus repo's `core.fsmonitor`); the write lock is owned by pid and only its owner releases it, stale after 120 s; the dry-run block does nothing when autosummarise is disabled and its log starts over past 1 MB; the port check does not set SO_REUSEADDR on Windows (it bound beside a live listener); the guessed-command redirects accept arguments (`sextant save "a fact"`) and are registered before the module's main; `status` is the components alias, not a redirect; the facts rewording rule treats tense, modality, quantity and direction words as content and requires the content words in the same order; AG62's redaction patch: a PEM header mentioned in prose no longer swallows the text, `Bearer authentication` in prose is not a token, a `Password:` prompt no longer eats the next line's first word, label sentences in fourteen languages (`密码:必须至少包含八个字符`) are left alone, quoted placeholders and `$VAR` are skipped, `config.secret` and URL userinfo prose are code, `--token TOKEN` and `curl -u $USER:$PASS` usage text are placeholders, ordinary cookies stay; and it masks subscript assignments (`os.environ['DB_PASSWORD'] = 'V'`), `master_key`/`encryption_key`/`signing_key`/`hmac_key`/`jwt_key`/`license_key`, bare JWTs and `ya29.` tokens, forty command-line shapes (`openssl -pass pass:`, `keytool -storepass`, `smbclient -U u%V`, `redis-cli -a`, `vault login`, `aws configure set aws_secret_access_key`, `htpasswd -b`, `zip -P`, `sqlcmd -P`, `ldapsearch -w`, `cmdkey /pass:`, `setx`, `ConvertTo-SecureString` ...), `redis://:V@host`, Oracle JDBC, Java `setPassword("V")` and the Persian `شما` possessive.
300
+ - Sweep 18 manual wave (MN50, the dashboard on day nine): the Memory search box takes its own row at every width (it was 26 px wide beside four buttons on a desktop); the ticket, task and inbox lists keep their width through tablet portrait (at 641 to 768 px the detail pane had taken the whole row and the list collapsed to nothing); the routing panel names the Brain URL and how to start it when the Brain is dead; a locked-out client refused at the chat socket's handshake is named in the log like one refused over HTTP.
301
+ - Sweep 18 manual wave (MN52, the non-English user's week eight): Thai and Lao sara am are recomposed after normalisation, so `น้ำ` no longer meets `นา` and snippets show the note's own letters; `API-Schlüssel`, `Geheimnis`, `คีย์ API`, `กุญแจ API`, `एपीआई कुंजी`, `कूटशब्द`, `מפתח API`, `קוד גישה`, `توکن`, `کلید API`, `رمز عبور` (with a ZWNJ too), `گذرواژه`, `رمز` and `سر` are key names; the prose form is masked in the word orders Thai, Hindi, Arabic, Hebrew and Persian use, in bare Russian (`мой пароль V`), German `lautet` and Portuguese `meu token V`; the facts dry run names near-duplicates with the same threshold `--auto` uses; the Memory search box keeps a width beside its buttons on a desktop.
302
+ - Sweep 18 manual wave (MN49, the expert's seventh sitting; MN51, the Stop hook on day five): the search index keeps the vowel signs and other marks of the Indic and South-East Asian scripts inside their tokens (unicode61 had split every Devanagari word into its consonants, so `दिन` matched `दान`; the changed tokenizer rebuilds every index once); the day-log entry ends with the end marker too, so a line typed under it survives a refresh; a partial entry is retried at the next two Stops at most, then waits for new turns (an unsummarisable chunk had cost a model call per reply for ever); the facts stage treats a proposed fact as a rewording only when the tokens that differ are function words (`room B` to `room C` had been dropped); dotted XML property names such as `spring.datasource.password` are masked; `AccountKey=xxxx...` and other placeholders are left alone by the Azure and webhook rules; the `.netrc` rule matches a netrc line, not prose about a login page; the `mysql -p` rule needs the command itself (`find -name '*.mysql' -print` had lost its `-print`); a quoted prose word after `the token is` is not a secret; the duplicate scan uses bitsets up to 131,072 shared tokens and folds Arabic and Hebrew points like search does (a pointed copy pairs with its plain one again); a crashed writer's lock is broken after the wait instead of stalling the next Stop too; an atomic write retries a Windows sharing violation; the unmerged-path cache follows the writer's root; `ATLAS_SUMMARIZER_DRY_RUN=on` is dry (the facts stage is skipped, the child's output goes to `<state>/logs/summarizer-dry-run.log`, an event records it); an empty stdin payload is refused instead of summarising every transcript of the day.
303
+ - Sweep 18 manual wave (MN53, an agent over MCP and two people through git): git children started by the MCP server never inherit its stdin pipe (on Windows every write into a git-shared corpus had hung five seconds and the unmerged guard then failed open, so the write landed in the conflicted file); a refused write re-checks git on the next call (`git add` then a write within two seconds had been refused again); the umbrella `sextant doctor --strict` exits 1 like `sextant-doctor --strict` (it printed FAIL and exited 0); `sextant verify` never follows a redirect (urllib had carried the bearer token to the redirect target) and names the Location, names a non-TLS answer however OpenSSL words it, and tells a scheme-less URL to add `http://`; the Stop-hook writer refuses a day log git holds as unmerged; the same-file duplicate check ignores case; ARCHITECTURE's rows for `memory_search_tool` and `tickets_open_tool` say what they return; GETTING-STARTED says dot-folders are skipped by `import`.
304
+ - Sweep 18 manual wave (MN54, the newcomer's first hour): `sextant install`, `save`, `store`, `recall`, `list`, `forget`, `update` and `status` answer with the command meant (`install` had suggested `uninstall`); `sextant web` on a taken port says so and names `ATLAS_WEB_PORT` before uvicorn starts; the first visit to the bare dashboard URL no longer calls itself an expired session; `sextant review report` before `init` refuses instead of writing a clean-looking report; the uninstall report names the curation report; the README's activate line covers Git Bash and its priming sentence says what the hook injects.
305
+ - Sweep 18 (AG56, AG57): `memory_remember` reports `possible_duplicate` when the same fact already stood in the note it wrote to (a retry after a timeout had stored fifty copies with no warning); it refuses a path git holds as unmerged (a modify/delete or add/add conflict without markers) and says when the autocommit was skipped for an open merge; `sextant doctor` lists a marker note once, flags notes that repeat a frontmatter key, and `--strict` fails on unresolved conflicts; the Stop-hook writer refuses a day log that holds conflict markers; `memory_remember_decision_tool` and `memory_anti_remember_tool` cap their text like their siblings; the MCP server answers `/mcp/` with 404 instead of a redirect that echoed the Host and dropped TLS; `sextant verify` refuses non-HTTP schemes, names a plain-HTTP server behind an `https://` URL, a redirect, and an HTML page that is not an MCP server; `sextant import` writes LF bodies from a CRLF vault; the capped `review duplicates` footer says what to do.
306
+ - Sweep 18 (AG59, the dashboard on day eight): a page the Stop button ended sends nothing at all afterwards (the `/events` reconnect and the facts-badge poll had kept going); a forwarded address that is itself loopback, from a proxy on this host, is the operator and is never counted (the operator through a same-host proxy had been locked out; a forwarded loopback behind a listed proxy elsewhere stays counted); `[::1]` and `::ffff:127.0.0.1` are loopback; the lockout WARNING names each locked client once per window (five per peer, then one summary line); the Brain chat names the unreachable Brain instead of an empty `Error:`; phone layout: the status header in a two-column grid (277 to 162 px), the Memory search box full width, the Sessions tab inside the viewport, the Map drawing visible; a stripped optional tab no longer blanks the page; the mixed-line-ending toast says what a save does; the Stop confirm names Sextant.
307
+ - Sweep 18 (AG60, the expert's sixth sitting): combining marks stay inside their words in one word regex shared by the search index, the duplicate scan and the facts stage (deleting them had merged different Hindi words into a false 1.00, and the facts stage had never been fixed); `PASS=`/`export PASS=` mask while `pass:` in prose does not; `renderPass:`, `firstPass:` and the other render-graph words are not key names and `--compass=` is left alone; the Arabic key names match across tatweel and the hamza marks and Hebrew `סיסמא` is a name; the search index's format pre-check runs under the (now re-entrant) rebuild lock and fails open on a read error (four concurrent searches had each rebuilt in full); session-log fences are tracked by character and length like CommonMark; `ATLAS_SUMMARIZER_DRY_RUN=on` is honoured by the hook and its `--help` names the right command; a garbled payload's recorded reason matches stderr; doctor cuts the env line as well as the Gate line, with an ASCII ellipsis; two more monotonic-zero sentinels in the Brain; the Brain panels say how to start it; CONFIGURATION no longer claims `REQUESTS_CA_BUNDLE` is read.
308
+ - Sweep 18 (AG58, summarizer fifth sitting): a chunk whose reply is unusable is recorded (`summarizer_chunk_rejected`), never embedded in the reduce prompt, named in the entry's Pending line and retried at the next Stop (it had been dropped silently, with the prompt's placeholder in the entry); the echo check counts whole template lines of either prompt (six or more) instead of five phrases, so a reply that quotes a prompt phrase is accepted and a reduce reply that is the schema block is refused; placeholder strings are stripped from real replies; the refusal reason names what was wrong and what to do; the map prompt sends no part number (cached replies are position-independent); the entry template ends with an end marker so a hand-written line after it survives a refresh; an emptied old-day log is removed after a midnight move; a proposed fact is skipped when a line of the note already says it (per-line Jaccard, `ATLAS_FACT_NEAR_DUP`); concurrent Stops on different sessions share one write lock for the day log and `updates.txt` (four at once had lost one entry with a PermissionError the hook discarded) and a write failure is recorded before it is raised.
309
+ - Sweep 18 (AG55, redaction seventh sitting): the leak list that six sittings carried is closed: YAML block scalars with CRLF, inside a list item or after a blank line; Kubernetes `- name: API_TOKEN` / `value:` pairs; `.netrc`, `.pgpass` and `.npmrc` `_authToken` lines; XML `key`/`value` attributes and `<entry key>` elements; PHP and Ruby `=>` rockets; escaped JSON; `**Password:** V` and Markdown table cells; Cookie and Set-Cookie headers; Slack and Discord webhooks; Azure `AccountKey`, `SharedAccessKey`, `SharedAccessSignature`, `client_secret`, `sig`; `mysql -p`, `docker login -p`, `sshpass -p`; `npm_`, `SG.`, `dop_v1_`, `pypi-`, `whsec_`, `rk_live_`, `shpat_` tokens; Russian, German, French, Spanish, Portuguese, Turkish and Persian key names; the prose form `my password is V` in those languages when the value looks like a secret; a lowercase passphrase after `my password:` at the end of a line is masked while `The token: refreshing the page` is not; placeholders (`<your-password>`, `{{ }}`, `${ }`, `%X%`, `xxxx`) are never masked. Each rule is gated by a substring test; the whole pass costs about one second per megabyte on hostile shapes (it was half that).
310
+ - Sweep 17 manual wave (MN48, performance round seven): the duplicate scan uses bitsets only while the shared vocabulary is at most 16,384 tokens and falls back to set intersection above it (on a 100,000-word vocabulary the bitsets took 77 s and 2.3 GB against 60 s and 411 MB), and each note's bitset is built in a bytearray; key names after nine or more dash segments mask again; the convergence panel is cached like the other Memory panels; the dead-peer breaker holds a host for 10 s instead of 20; the startup warning no longer names the exception type.
311
+ - Sweep 17 manual wave (MN44, MN45, MN47): the chat socket stops retrying on a page the Stop button ended (its handshakes locked the remote user out after a restart); `ATLAS_WEB_PANEL_CACHE` follows the on/1/true convention; an unreadable `SSL_CERT_FILE` is named by the sync client instead of a traceback; `sextant doctor` shows `suggest_facts_skipped`; a Stop payload that is not JSON is refused with a sentence instead of summarising the whole day; GETTING-STARTED's hand-test recipe says the `session_id` must be the transcript's own.
312
+ - Sweep 17 manual wave (MN43, the expert's fifth sitting): the mid-sentence prose rule reads a bounded window (it was quadratic on a long single line: 26 s on 256 KB); `--secret-key=`, `-Dpassword=`, `-ApiKey:` and other dashed flags are masked again; `dbPass`, `adminPwd`, `PGPASS` are key names again and only the English words (`bypass`, `compass`) are skipped; the dashboard's unchanged-note check over 1 MB is live (the clause had been inside a comment); the index format tag is `3` and the search path honours it; Hebrew maqaf, paseq and sof pasuq are no longer folded away; the duplicate scan's token table holds bit indexes (its memory was quadratic: 799 MB on 98,000 tokens); the breaker clears on any answer; the Brain-not-running panels name `ATLAS_BRAIN_URL`; one quoted prompt phrase is not an echo; `~~~` fences and a fence at the file start are recognised; two updates entries without a blank line between keep the second's rule; doctor cuts a long gate value.
313
+ - Sweep 17 manual wave (MN46): the index format tag is honoured on the search path (an upgrade now re-indexes once at the first search; it had been read by `sextant-fts-rebuild --if-stale` only); the duplicate scan folds combining marks and splits Thai-like runs (vocalised Arabic and Hindi notes had shattered and scored 1.00); token, API-key and secret names in Arabic, Hebrew, Thai and Hindi are masked and the Arabic and Hebrew names match with vowel marks between their letters; `remember` names the locale on a codec error in every branch; the similarity note and `--skip-similar` see every script and a dry run says which facts `--auto` would skip; the editor and snippets carry `dir="auto"` for right-to-left text.
314
+ - Sweep 17 (AG49, AG50, AG51, AG52): a `key: value` secret at the start of its line is masked again (the prose rule had unmasked YAML, INI and compose values), `bypass =`/`compass =` are not secrets, a YAML block scalar mask keeps sibling entries, the Arabic, Hebrew, Thai and Hindi words for password and `暗証番号`/`비밀키` are recognised, `[::1]` is an address; the chat WebSocket stops reconnecting on a dead session (each retry had counted as an auth failure and locked the remote user out) and a draft on a hidden tab counts as unsaved; a root-level ticket is named by its bare id even when a folder holds the same id; only a reply shaped like a chunk summary and not an echo of the prompt is cached (a JSON list crashed, JSON junk and echoed prompts were cached), items and titles are one line each, a quoted heading-plus-marker inside a code fence and a hand-written `NOTES:` line survive a refresh; doctor prints unmerged git paths in text, reads them NUL-separated, shows facts-stage events and names a bad gate value; a missing facts script and a payload without a session id leave a trace; `[1, 2, 3]` is a junk facts reply; the hub logs one lockout per peer; the sync client sanitises the hub's text; the exact fact dedupe and the duplicate scan tokenise every script (a fact with no ASCII was never "already there"; unrelated non-Latin notes scored 1.00); Thai, Lao, Khmer and Burmese runs are searched like CJK, Arabic/Hebrew marks are folded, and the index carries a format tag so the change re-indexes every note; `remember` in a C locale names the locale; `--check` refuses a dev build of a released version; the dashboard's peer probes share a 20 s circuit breaker (thirteen panels paid 1.2 s each per poll and stalled /health), the phone ticket list shows titles, tapping a ticket scrolls to its pane, an unchanged note over 1 MB is "No change". Performance (AG54): the duplicate scan compares notes as bitsets (`review report` on 5,000 notes was 148 s with the set intersection; a proof of concept ran in 16 to 44 s), every peer client and the Ollama client share one TLS context (building one per client cost 0.43 s on the dashboard's event loop, 27 times a page cycle), the summarizer keeps its chunk cache when a later call fails, dash-dense text redacts in under a second per megabyte, and a refused Brain connect says "not running" instead of a timeout name.
315
+ - Manual wave 16 (MN37, MN38, MN41, MN42): redaction masks quoted values of any length (an 837-character JWT leaked), unterminated quotes, `pwd=`/`DB_PASS=`, `--db-password`, `curl -u`, `Authorization: Token`, YAML block scalars and XML elements, leaves code expressions (`token = tokens[0]`) and `PWD=/path` alone, and the full-width pass is one join (97 s per MB before); a forwarded value that is not an IP is its own bounded source (it had switched the throttle off) and a port suffix is dropped; the sync hub has the proxy-flood rule and its audit names the forwarded device; the dashboard stops every poll when a dead session meets unsaved text (the 401s locked remote users out), ticket refs fall back to the bare id for root-level and moved tickets, the Memory tab stacks and the tab bar wraps on a phone, the ticket list hides the project column there, effort XL; a summary refresh removes only an entry whose heading is followed by the marker line and stops at the next entry (hand-written text was deleted); `_norm_fact` keeps combining marks and comparison signs; a plain-English "no facts" reply is an answer; weekly synthesis unpacks the candidates tuple; the sync client prints the hub's denial reason and names a certificate problem; doctor lists unmerged git paths; `atlas-tickets create` refuses a bad project with one sentence; `atlas-suggest-facts` output is pipe-safe; `review report --scope` has help and a hint; dev builds advance to the next patch once the current version is tagged.
316
+ - Performance (AG48, 5,000 notes): the duplicate scan bisects its postings and raises its working threshold to the cap's weakest pair (`review report` and `review duplicates` were 135 to 149 s); the JSON curation-report endpoint uses the panel's isolated worker and cache (it ran in-process and stalled search); the summarizer caches chunk summaries per session and re-runs only changed chunks (a 5,000-turn session paid 78 calls per refresh); untagged-scopes is cached.
317
+ - Dashboard: every ticket action carries `project/ID` (two projects with the same id acted on the wrong ticket); the form sets `requires`, `verified` and `effort`; a browser opening `/` with a dead session sees the expired page; an expired session never discards typed editor text; a lone-CR note is a no-op save; Brain Chat uses `wss://` behind TLS; the services cache clears after an action; detail panes stack on a phone.
318
+
319
+ ### Contributor entries
320
+
321
+ (one bullet per change: what changed, for whom, PR number)
322
+
323
+ **Post-flip sweep 13, agentic wave (2026-11-13, the first wave against the public repository)**: the HTTP MCP server now honours `ATLAS_MCP_ALLOWED_HOSTS` and turns the Host check off on a wider bind (the SDK's DNS-rebinding guard answered 421 to every documented remote route: Caddy, cloudflared, LAN); an MCP caller can no longer claim `human-direct`/`human`/`telegram` provenance (it is written as `agent`, so high confidence stays the operator's); the dashboard in `--no-auth` mode refuses browser cross-site writes and chat sockets (a foreign Origin on a mutating request is 403); the ntfy command listener refuses a shared secret under 16 characters; primed text drops zero-width and bidi format characters, replaces an inline provenance comment with a space instead of gluing the words around it, quotes file names and project names in headings, and `sextant context` says when identity/user.md is still the template; `sextant-init` turns a permission error into one sentence naming the Docker uid; `sextant remember ''` is refused; `sextant search` before init creates no state dir; `sextant verify` accepts the whole registered command after `--command` and stamps the verification fact with the time so a second run is not an exact repeat; the MCP server logs at WARNING by default (`ATLAS_MCP_LOG_LEVEL=INFO` restores the per-request lines). Docs: the README's first screen is the four-command install and says the package is not on PyPI until `v0.1.0`; SECURITY.md names the trusted-peers exemption and the ntfy rule; SUPPORT.md drops the mailing list that never existed; the PowerShell stdin example parses; HOWTO-self-hosting and the cloudflared template name the Host setting. Packaging: the hybrid-search test no longer inherits `ATLAS_SEMANTIC_SEARCH=off` from the environment (the publish workflow's own test gate failed on it); the sdist grafts the whole `tests/` tree so the shipped tests run with their fixtures; Python 3.13 is a classifier (the wheel, every entry point, the dashboard and the suite were exercised on 3.13.13); `atlas-plus` from a package install no longer prints `docs/` paths that do not exist. Manual wave: the README's install block is one command per line with no `&&` (PowerShell 5.1 refused the whole line) and says that `sextant setup` prints the registration line rather than writing it; `sextant find` is an alias of `search`; Ctrl-C at an uninstall prompt prints one line (exit 130, nothing removed); related-fact snippets in primed text drop provenance comments. Later in the same wave: every entry in `ATLAS_MCP_ALLOWED_HOSTS` matches the bare name as well as `name:port` (a client on 443 sends no port, so the documented proxy and tunnel routes still answered 421), IPv6 entries are bracketed, names are case-folded, the 421 body and log name the setting, and `--no-auth` refuses a list; a proxy listed in `ATLAS_MCP_TRUSTED_PEERS` is trusted to forward the real client and a listed source is exempt through a proxy too; Recipe B sets `Cf-Connecting-Ip`; the MCP provenance check compares the value as written (`human--direct` no longer reaches the file as human-direct); primed text keeps ZWNJ/ZWJ and the LRM/RLM marks (Persian and emoji sequences were broken) and strips only bidi overrides, isolates, ZWSP and BOM; the provenance-comment pattern stays on one line; the project `Path:` line is quoted; one identity-template rule for the hook and `sextant context`; a non-UTF-8 note primes a one-line notice instead of mojibake; `sextant-init` reports a permission error on file writes too, with the Windows fix on Windows, and writes LF on every OS (Windows scaffolds and appends were CRLF, which made every synced file a conflict); notes are written with LF; `sextant remember -` refuses a pipe that arrived mangled (PowerShell 5.1 pipes ASCII) and names `$OutputEncoding`; empty facts are refused over MCP as well; the duplicate hint and the weekly duplicate report tokenise CJK bigrams (unrelated Japanese notes scored 1.00); a Japanese sentence that matches no phrase falls back to its bigrams; the dashboard can create tickets again; `--command` accepts `--transport stdio`, repeated `--stdio` and a `sextant-mcp` launcher; the verify fact carries seconds; the ntfy secret must be one word; the Windows-side WSL hook commands carry `MSYS_NO_PATHCONV=1`; `sextant-backup verify` passes on a remote whose folder does not exist yet; HOWTO-sync describes the CRLF conflict and the ten-second manifest cache; HOWTO-self-hosting adds the WSL linger note and a 421 line. Dashboard (sweep 14): Edit loads the whole file so a save never truncates a note over 8,000 characters (and the viewer says when it is cut); the header's file count ignores version copies; a stale session cookie no longer feeds the lockout and a tab that gets 401 leaves for `/expired` instead of polling the owner out through a tunnel; the curation panels count the "Repeated facts" section (the Brain and Telegram summaries too); an "Auth failures" panel exists; the ticket form reports a refused ticket instead of "created: undefined" and keeps the text; the status bar honours `ATLAS_MCP_URL` and `OLLAMA_BASE_URL`; dead peers answer in under a second (connect timeout); the ticket and file-write routes answer 400 with a sentence on bad JSON, a missing field or a too-deep body; an empty search shows the corpus layout instead of blaming `ATLAS_MEMORY_ROOT`; creating a ticket with no corpus is refused like a capture; the capture dropdown no longer offers the maintainer's own project. Transcripts and the Stop hook: the summarizer module gained its entry point (the hook's child had been a silent no-op on every install), the hook probes the same Ollama the summarizer uses (`ATLAS_OLLAMA_URL` first) and summarises the finished session only (`--conversation-id` from the Stop payload); transcript mining targets this workspace's own Claude Code project folder (it was hard-coded to the maintainer's); `sextant-transcripts search` prints previews and retries a non-FTS5 query as a phrase; the drop importer reads UTF-8 BOM and UTF-16 exports and accepts Claude Code's own JSONL line shape; a bad `--since` is one line. Resilience: `sextant search` says when the index could not be opened (disk full, read-only state dir) instead of "No hits"; `sextant-fts-rebuild` fails in one line; a zombie lock holder counts as dead; a lock whose token could not be written is removed; doctor's disk row measures the state dir's filesystem. Locales: `İstanbul` and `istanbul` are one note; the leap-day crash in `review unconfirmed-decay`; POSIX non-UTF-8 stdout replaces instead of raising. Imports at scale: a vault file named `aux.md` or `con.md` is skipped and named instead of blocking the import forever on Windows; doctor's inbound-reference scan matches multi-word note names as token n-grams in one pass per file (8 minutes on a 3,000-note vault, now seconds); a ChatGPT or Claude conversation that gained turns is updated in place behind a version copy instead of being skipped as "an older build"; notes cut at 4,000,000 characters are listed under `truncated` in the report; imported notes carry an `import_vault` stamp and `--archive-stale` judges staleness per vault; `sextant-backup` passes `--no-unicode-normalization` so NFC and NFD siblings both survive, and a fresh state dir counts as a real source; GETTING-STARTED says all of this and names the restore command. Scale (100,000 facts, 5,000 notes): the file-level duplicate scan in `review report` takes its candidates from an inverted index and reads snippets only for the pairs it keeps (it was killed at 621 s and 1.4 GB); history copies can be coalesced within `ATLAS_VERSION_MIN_INTERVAL_SECONDS` (opt-in; the default is a copy per write); every frontmatter read in curation, the weekly report and the dashboard uses libyaml when present. Shared corpora: `remember` refuses to write into a note that holds git conflict markers, autocommit stays out of an open merge, init writes a `.gitattributes` (LF) and ignores the sync conflict and inbox folders; the docs say plainly what two people on one corpus get (hand merges, no per-user identity, `source` is a claim); CONTRIBUTING names the audit and packaging lanes and the style and commit expectations, the PR template and CLA have an actionable path and "n/a" escapes, SUPPORT promises no business-day turnaround, NOTICE carries the LGPL third-party notice for the optional Telegram extra. Expert review of the day's fixes (MN25): the three curation-count parsers are one `curation_counts()` (two of the hand copies crashed on every run); the Stop hook reads its payload whether or not `ATLAS_CLAUDE_CODE_ROOT` is set, so one Stop summarises one session; the summarizer and suggest-facts redact keys before prompting and before writing, name the finished session (a re-fired Stop writes nothing twice), use the Brain's model by default and record `summary_written` / `summarizer_failed` in the activity log; the hook's probe says when the model is not pulled; `sextant-transcripts search` escapes Rich markup, quotes tokens on a retry and scans for CJK; `.txt`/`.md` drops read UTF-16 and BOMs; an unopenable search index is reported over MCP and in the dashboard; a loose CJK bigram match is never above `low`; a C locale's argv is re-decoded; dashboard raw loads keep CRLF bytes and answer 404 for a missing note; JSON bodies with a list or object field answer 400; `/expired` answers HEAD; the status bar and the summarizer probe the same Ollama endpoint; an import claims its unchanged notes so `--archive-stale` can tell whose a note is; ChatGPT notes carry `conversation_id`, so a retitled export is one note; the orphan n-gram path takes only stems made of tokens and spaces; the first write to a CRLF note rewrites it as LF (a version copy keeps the old bytes). Returning user (MN30): identity facts remembered under the init template are primed (the hook read 400 characters); a `git+` install needs `--force-reinstall --no-deps` to update, the docs say so; the repeated-facts count says when it is capped; `atlas-tickets ... | head` ends quietly. History copies are made on every write again (`ATLAS_VERSION_MIN_INTERVAL_SECONDS` is opt-in). Dashboard day two (MN29): the Tailwind tag drops `integrity`/`crossorigin` (cdn.tailwindcss.com sends no CORS header, so every real browser rendered the page unstyled) and the offline banner names the library that failed; a new project's ticket prefix is unique across projects (`proj1` and `proj2` both minted `PRO-001`; `project/ID` addresses an old collision); every Brain call uses a 0.75 s connect timeout (a dead peer cost 2 to 5 s per panel); the editor sends the etag of what it loaded and a note another writer changed since is a 409 instead of silently overwritten, an unchanged save writes nothing, a non-UTF-8 note is refused for editing, and a failed save shows the reason; the stop button reports a refusal; the browse tree hides `versions/` and state folders; a repeated-word query is one word to the index; the six remaining raw JSON routes answer 400 on a bad body; `atlas-tickets create` is interactive like the form; refused attempts show as `locked_out` in the auth panel; the empty security card says why. Sweep 15, agentic wave (the third post-flip wave): refused-while-locked attempts are counted per source outside the failure log (they had evicted the counted failures and lifted the lock after about 500 requests); redaction covers `NAME_PASSWORD=`/`NAME_SECRET=` shapes, AWS, Slack, Stripe, GitHub and Google keys and PEM private-key blocks; an agent-sourced MCP write is capped below `high`; the incoming Host header is case-folded and its trailing dot dropped before the allowed-hosts check; `get_ticket("project/ID")` applies the one project-name rule (`C:` escaped the tickets root on Windows) and a project may not start with `_`; one conflict-marker rule for the writer, the MCP tools and doctor (BOM, tab, bare markers), and a FACT that would introduce markers is refused instead of bricking its note; `memory_health` is degraded when the state dir is a file or the index cannot open; `tickets_status_tool` is an operator action like create; `sextant setup --out` creates parent folders and `--client hooks` prints the gate hint; `ATLAS_SESSION_AUTONOMOUS=on` reaches the fact writer (suggest-facts wrote nothing under the documented gate), suggest-facts redacts before it cuts a turn, runs once per session, skips a fact already on a line of the target note and never auto-writes `identity`; the summarizer checks the gate and the session marker BEFORE any model call and takes the whole session rather than `--since today`; a 404 from Ollama names the missing model; the probe accepts the exact tag only; the session-start hook primes the newest summary (it skipped a log whose first line was the entry) without the marker line; the prompts fence the transcript as data; an import judges only its own vault's notes (two vaults with a `README.md` ping-ponged under `--archive-stale`); a renamed conversation that also gained turns is updated in place; the editor keeps a note's CRLF and BOM through a save; JSON bodies over 2 MB are 413 and booleans or non-finite numbers are 400; the Pending Facts panel says the Brain is optional instead of a bare `Error:`; compose names `ATLAS_MCP_TRUSTED_PEERS`; the backup refusal points at the volume recipe. Performance round four (AG42, 5,000 notes): the index deletes a changed note's row by the rowid it recorded instead of a scan of the FTS table per note (a corpus whose mtimes all changed, after a pull, sync, restore or copy, stalled the first search for 2 to 11 minutes); the file-level duplicate scan uses prefix filtering on document frequency (exact, and a fraction of the posting-list walk that still cost 150 to 190 s); the file-level heading and the CLI say when the 500-pair cap was hit; the repeated-facts section shows at most three lines per note pair; `downgrade_stale_confirmations` reads frontmatter with libyaml; `/api/agents` has the connect timeout its siblings got; the dashboard's curation panel computes its report in a spawned worker process (`ATLAS_WEB_REPORT_SUBPROCESS`), so a long report no longer stalls search and the other panels.
324
+
325
+ **Pipeline sweep, agentic wave (2026-11-11)**: six more strangers (uv-only PowerShell with a non-ASCII path, a wheel package user, WSL reached from Windows, a container in HTTP mode, the returning user, Claude Desktop JSON on a hostile path). Fixed: `sextant verify` before init no longer makes init refuse its own directory (the server's runtime artifacts count as Sextant state); `verify --env NAME=VALUE` carries the registration's variables to a `wsl` launcher through WSLENV, and setup prints a `Verify from Windows` line and Windows-side hook commands for a WSL install; WSLENV appends drop empty entries; wsl.exe's UTF-16 errors are decoded; captured CLI output is UTF-8 on Windows and setup warns on non-ASCII paths; the doctor is plain text when piped or under NO_COLOR; `--version` reports the installed distribution; the uninstall report sees `CLAUDE_CONFIG_DIR`, Claude Desktop and Cursor and names the confirm flags; the publish-tooling test skips in the public tree; PyPI metadata gains a Documentation URL and the README badge links out; `uv.lock` ignored; the session-start hook distinguishes a commit-less repo from a missing git.
326
+
327
+ **Pipeline sweep, agentic wave, round 2 (2026-11-11)**: the Windows `claude mcp add` line is single-quoted for PowerShell and Git Bash (a double-quoted `$100%` lost its `$100` to variable expansion and the server served a corpus that did not exist while the client said Connected); Windows hook commands carry their variables as `set "NAME=value" &&` prefixes (no `setx`, no `.cmd` wrapper); `setup --client json|claude-desktop|cursor` exits 0 when only the shell line is unprintable; Cursor's file is named; `sextant verify --url http://host:8765/mcp --token ...` proves an HTTP install over Streamable HTTP; setup section 4 shows the container form (`ATLAS_MCP_HOST=0.0.0.0`, port published on the host's loopback), the LAN URL, the health probe, token hygiene and the lockout; `ATLAS_MCP_TRUSTED_PEERS` exempts peers you own from the lockout (a container's Docker bridge gateway locked out the operator), a correct token clears a source's failure count, and the 429 says how long; HOWTO-docker gains a one-container recipe with `--restart unless-stopped` and the read-only-mount note.
328
+
329
+ **Pipeline sweep, manual wave (2026-11-11)**: six human personas on docs/GETTING-STARTED.md. Fixed: hook commands carry their variables as `--env` flags through `atlas_plus.hooks.run` (Claude Code runs hooks through bash, Git Bash on Windows, so a `set "K=V" &&` prefix primed the wrong corpus while reporting success); `sextant-init` no longer adopts a user's folder as state because one entry happens to be named `backups` (every entry must be something Sextant creates), and `uninstall --corpus` refuses a folder with none of the scaffolded directories and refuses symbolic links instead of following one with chmod and reporting "removed"; scope names reject control characters, leading dots and more than 120 characters; the version copy is taken under the write lock so concurrent writers keep every state; the rename is fsynced through the directory on POSIX; the configured MCP token is trimmed with a warning; `sextant remember` under the write kill switch prints Not stored; quarantined search indexes are capped at three; `sextant setup --out FILE` writes without a BOM; the verify fact reads "Sextant install verified on <date>"; README no longer claims the summarizer falls back to the Anthropic API (it is local-only unless ATLAS_LOCAL_ONLY=off).
330
+
331
+ **Pipeline sweep, manual wave, round 2 (2026-11-11)**: paranoid, Docker Compose and stock-Ubuntu personas. Dashboard: /docs, /redoc and /openapi.json no longer answer unauthenticated; the two CDN scripts are pinned with subresource integrity (htmx 1.9.12, Tailwind 3.4.17); a Content-Security-Policy, X-Frame-Options, nosniff and no-referrer headers; the bootstrap `?key=` is scrubbed from the address bar. Workflows: every action pinned to a commit, CI token read-only, the publish input never interpolated into a script. constraints.txt is the real dependency closure (an unrelated package and a vulnerable certifi are gone). The session-start hook frames corpus text as the user's notes, not instructions. The uninstall report names a stray default ~/.memory or ~/.atlas, refuses symlinks and junctions, and checks that a corpus looks like one only after the stronger refusals. `sextant components` before init creates nothing; `sextant search ""` asks for a query. Tests skip where git is absent. Docs: HOWTO-docker (`ports: !override`, Git Bash path rewriting, `${PWD}`, the exported-token symptom, loading .env before the one-container recipe, a teardown section), HOWTO-self-hosting (env-file comments on their own lines, the venv fallback), GETTING-STARTED (get-pip without curl), SECURITY.md (a reporting path that exists before the flip), setup section 4 (LAN bind, token generation, the client's own interpreter, container hint).
332
+
333
+ **Pipeline sweep, manual wave, round 3 (2026-11-12)**: the impatient lane, starting on Python 3.10, hit an `ensurepip` failure from a plain `python -m venv` and never saw the version floor, which the README stated only in a trailing comment on the `py -3` line. The Windows quickstart now opens with the same "Before the block" lead-in the Linux block has: check `py --list`, name the interpreter by number, the symptom on an older Python, pip's clean refusal (`requires a different Python ... not in '>=3.11'`, verified: nothing installed), and that `--no-build-isolation` needs setuptools 77 or newer for the SPDX license field.
334
+
335
+ *Maintainer verification notes follow: how this build was tested, wave by wave. Skip them if
336
+ you only want to know what changed.*
337
+
338
+ **Pipeline sweep 12, agentic wave (2026-11-12)**: an installer agent on the docs-as-API, two people on one corpus through git, the optional layers without keys, a curator's month-old corpus, a second performance round and a fourth security round. `sextant setup --out` MERGES into an existing JSON config (backup written first) instead of replacing it (an opencode.json lost its other server and a settings.json its permissions); `--client X --json` prints that piece; `sextant verify --json` is one object; `sextant doctor --json --strict` is one object with a `strict` key; `sextant uninstall --dry-run` is a safe preview even with `--all` and `--json` prints the report; an unwritable `--out` path is one line, not a traceback. Corpus in git: `sextant-init` writes a `.gitignore` (history copies, locks, index); a fact appended to an imported note no longer makes the next re-import call that note "edited in the vault" (the import stamps the vault body's hash and compares against it; older stamps get a cautious wording); a lock file last touched over 30 minutes ago is broken at once (a committed lock from another machine cost every write 30 s); doctor names notes holding git conflict markers; the search miss line counts corpus notes, not history copies. Optional layers: the Anthropic provider retries without `temperature` when the SDK refuses it (the summarizer's cloud path failed on every call); `local_only` is a real boolean in the Brain's routing JSON (doctor said "off" while it was on); `sextant components` reads `ATLAS_TELEGRAM_BOT_TOKEN`; the nightly research batch skips when the runner is absent; the four listed-but-untriggerable scheduler jobs can be triggered; the Telegram bot prints one line when Telegram is unreachable; doctor says when tasks wait and no worker has ever claimed. A `\s` in a non-raw regex string no longer prints a SyntaxWarning on the first run. The MCP handshake now names the server `sextant` (it said `atlas-memory`; the version beside it is the MCP SDK's). Performance round two: doctor's `_N` copies check was quadratic (54 s on 8,000 `entry_<i>.md` notes, now one set lookup); the provenance-comment strip in the session hook and `atlas-prime` was quadratic on a run of whitespace (80 KB of spaces cost 11 s before every session) and scanned whole multi-megabyte files for a 600-character block; frontmatter is parsed through libyaml when it is installed (most of the rebuild time on tag-heavy notes); the control-character scrub on every write is two regexes instead of a per-character loop (3 s per 5,000 imported conversations). Known: an Obsidian dry run now costs what the real run costs (about 0.8 ms per note, warm) because it classifies every note; the CJK index adds 15 to 30 percent to a rebuild; the first run over freshly written files is 5 to 10 times slower on Windows (the antivirus reads them first). A version copy whose claimed slot could not be replaced because another writer held it open for a moment (Windows) is written into the slot instead of being left as an empty file. Final readiness pass (six personas on the flip candidate): on Windows the CLI no longer expands `$VAR`, `${VAR}`, `%VAR%` or glob patterns inside a typed fact or query (Click's cmd.exe emulation stored the operator's PATH into a note); piped output follows the console's output code page (a Japanese PowerShell 5.1 console decoded forced UTF-8 as mojibake; UTF-8 with no console); `duplicates --facts` and the weekly report count an ideograph as three letters and split CJK into bigrams, so an 11-character Japanese sentence repeated across scopes is reported; import ids and file names keep letters of any script (`東京旅行の計画` was `untitled`); `memory_remember_tool_v2` provenance values (`source`, `session_id`, `task_id`) are one defused token each (a `source` holding `---` closed the frontmatter early and a `session_id` holding `-->` broke out of the provenance comment); `setup --out` replaces a same-name registration or hook entry instead of merging it field by field (the merge appended the new interpreter as a stray argument and kept the old corpus variable); a dead-lock break puts the file back when it turns out to be a fresh lock another waiter took in the gap (two holders at once on Linux); decisions, anti-memories and tickets are scrubbed of control characters on write and primed text and ticket listings defuse them on read; a second `setup --out` in the same second no longer overwrites the backup of the original, and an unchanged merge writes nothing; `sextant-backup verify` says `ATLAS_RCLONE_REMOTE is not set` instead of `Remote '' not found`; doctor's `_N` copies hint fires only for imported notes; frontmatter with a tab after a colon is parsed the way every reader parses it; search snippets drop provenance comments; a fact typed as `---x` gets a sentence instead of `No such option`; docs: the uninstall step names the hook commands setup prints today, AGENT-INSTALL's update note says what verify writes, the Docker override example covers the sync port, HOWTO-self-hosting points container users at HOWTO-docker up front. Curation (a month-old corpus with planted problems found none of them): `atlas-review-memory duplicates --facts` lists repeated FACTS across notes (exact and near; the file-level scan diluted them away) and the weekly report opens with them; `unconfirmed-decay` counts a never-confirmed note from its last edit (they were skipped) and `stale` no longer flags a note confirmed last week; `contradictions` says when no model answered and exits 2 instead of "none detected", and shows the model 1,200 characters per note; `suggest-tags --write` and `unconfirmed-decay --write` run for a person at the terminal without `ATLAS_AUTONOMOUS` (and the decay write makes a version copy); a `memory_remember` that repeats a rejected idea carries an `anti_warning`, `atlas-prime` lists matching rejected ideas and decisions with their revisit conditions, and anti-memory propagation needs most of the pattern's words (two shared words flagged a note saying the opposite); confirming a decision sets `last_reviewed`; empty revisit conditions are stored as an empty list, not the words "(none recorded)"; the weekly report is written under the state dir, names real commands, and `sextant review report` is the documented weekly check. Security round four: the lock token's host field carries the OS and machine id (a Windows writer judged a live WSL writer dead because both report the same hostname, and broke its lock); a dead lock is broken by rename-then-delete so two waiters cannot both clear it and one delete the other's fresh lock; a directory planted at a lock path is an immediate error instead of a 40 s stall; a slash topic cannot name `_atlas`, `versions`, `archive` or `_sync` in any segment (such notes were searchable but unreadable), and a three-level topic no longer fails with a false "run sextant-init"; the import's corpus index never follows links, reads the origin and stamps from the frontmatter block only (a 4 KB frontmatter made a note "new" every run; `original_path:` in a fact's body made a note look imported), picks the latest copy by import stamp (a note named `meeting_2024.md` was taken for copy 2024 and archived in favour of its old copy), and `--archive-stale` refuses a junctioned `archive/` and any note that is a link or resolves outside the corpus; the closed-pipe wrapper swallows only stream errors with no file behind them (a failed init on a bad path had exited 0 in silence); `sextant remember -` tolerates invalid UTF-8 and a BOM; frontmatter over 256 KB is not parsed and at most 64 KB of it is indexed (one 50 MB tag list cost a minute per search).
339
+
340
+ **Pipeline sweep 11, manual wave (2026-11-12)**: six human passes on the morning's build. Import: the dry run now predicts the real run (every note classified as new, unchanged, edited or renamed before any write; the destination sample lists only files `--yes` writes); a renamed note is imported under its new name and the old copy named as stale; the stale list names the real previous copy after a second edit, older copies of a note, and notes no longer in the vault, and `--yes --archive-stale` moves them into `archive/`; a CRLF vault was re-imported whole on every run (line endings are not content now); a top-level templates folder is skipped and non-markdown files counted; a ChatGPT or claude.ai conversation an older build filed under another name (both branches, or the run date) is recognised by id and first turn, not filed again. Search: CJK characters glued to Latin letters or digits (`2025年`, `Python编程`, `東京tower`) are separated in the index and the query; sentence punctuation and line breaks break phrase adjacency (`河北。京剧` no longer answers `北京`); non-ASCII frontmatter (a title `大阪城の歴史`, a tag `café`) is indexed as text, not as `\uXXXX` escapes; a file whose name is not valid UTF-8 is skipped by the indexer instead of crashing every search, and doctor names it; the rebuild log names the new format. Hooks: a BOM on `identity/user.md` or `house-rules.md` no longer hides the title or the first rule; house rules accept `- `, `* `, `+ ` and numbered lines and say when a file has text but no list lines; the active project is also detected for a plain folder under the projects root that has a note (not only a git root); git commit subjects, ticket titles and assignees and the compaction timestamp are quoted like notes; provenance comments are stripped from primed text; the clock line says it is a snapshot. CLI: a closed pipe (`| head`) ends quietly; `sextant context` and `sextant web` appear in `--help`; `sextant remember -` reads the fact from stdin (PowerShell quoting); a fact is refused only when a LINE starts with `---`; `reference:obsidian/README` addresses a subfolder note. `sextant uninstall` no longer reports a correct hook command (with arguments) as a stale registration, and finds stale Codex (single-quoted TOML) and opencode (array) registrations. `sextant versions`: refuses a `versions/` that is a link or a file (a prune through a junction deleted a file outside the corpus), `--older-than 0` includes today's copies, the empty plan says why, unparsed files are counted, and the report shows how to restore a copy; doctor counts `_N` import copies. Route targets: internal-folder names are matched case-insensitively and `.MD` is refused; the lock release retries for 3 s and logs when a reader kept the file. Self-hosting: the lock token carries the holder's process start time, so a restarted container (the server is PID 1 again) clears the crashed PID 1's lock at once instead of after 30 s; lock files are created 0644; the uninstall "running?" line probes the dashboard port too and says whether the port came from the variable or the default; token rotation is documented in CONFIGURATION.
341
+
342
+ **Pipeline sweep 11, agentic wave (2026-11-12)**: six more strangers (a Claude Desktop and Cursor user with only PowerShell, an Obsidian vault and ChatGPT/claude.ai export import, two clients over two transports on one corpus, a hostile-corpus review, a Japanese-locale Windows user, an air-gapped install with a footprint audit). Import: a file symlink pointing outside the vault was followed into the corpus and a linked directory skipped silently (links are never followed and every one is named in the report; a file whose real path is outside the vault is skipped); a note renamed or moved in the vault was imported again under the new name (recognised by content and skipped, with its corpus path named); an edited note's older copy is named as superseded; a ChatGPT export's abandoned branches landed in the conversation (the live branch from `current_node` is followed); an undated conversation was filed under the run date and imported again on another day (filed under `undated/`); the ChatGPT export zip was detected as a claude.ai export (both zips are read as delivered); claude.ai messages whose words sit in content blocks were dropped; a vault key `original_path` overrode the real provenance; notes whose leading `---` block is not a YAML mapping got no provenance stamp; binary and non-UTF-8 notes were imported as garbage (skipped or decoded, and reported); imported files were rewritten with CRLF on Windows (LF, byte-faithful); the provenance path is vault-relative (the absolute form carried the local user name); the dry run lists the first twenty destinations. `atlas-prime` output carries the same data-not-instructions preamble as the session-start hook. Clients: the Microsoft Store build of Claude Desktop keeps its config under `%LOCALAPPDATA%\Packages\Claude_*\LocalCache\Roaming\Claude\` (docs, `setup`, `uninstall`); `uninstall` sees a project-level `.cursor/mcp.json` and reports a registration whose command path no longer exists (a moved venv); `setup --client claude-desktop|cursor|json` says on stderr where the JSON goes and to restart the client; GETTING-STARTED names Cursor's locations; the moved-clone recipe says `python -m pip` (the venv's `pip` launcher is dead after a move). Dashboard: offline, the page now says that its two CDN libraries did not load instead of showing "loading..." forever; the Brain hint names the right interpreter path per OS. Search: CJK text is indexed character by character (an invisible word joiner between adjacent ideographs, and each CJK run in a query becomes a phrase of its characters), so `東京` finds `東京都` and `人口` finds a sentence (a Japanese user had no working keyword search at all); text is NFKC-folded on both sides (full-width ABC, half-width katakana); the existing index is rebuilt once. Console: `sextant-uninstall`, `sextant-reset`, `sextant-fts-rebuild` (new alias), `sextant-intake`, `sextant-sync`, `atlas-temporal`, `atlas-prime`, `sextant-session-start` and the doctor launcher emit UTF-8 when piped (a Japanese corpus path crashed them with UnicodeEncodeError, and doctor printed `?? ??`). A note that is not UTF-8 is named by doctor and by the write that refuses it (the error used to be the codec's line with no file name). Locks: a lock left by a process that no longer runs on this machine is cleared at once instead of after 30 s of silent waiting, a wait longer than 5 s is logged, and doctor names lock files older than a minute; synchronous MCP tools run in a worker thread, so one writer waiting for a lock no longer freezes `/health` and every other client over HTTP; the HTTP start also refuses a port that already answers on loopback when the bind on 0.0.0.0 would have succeeded beside it. `sextant uninstall` accepts `--dry-run` (the default report), says when something answers on the MCP port or a write lock was touched in the last two minutes, and the dashboard's grep fallback no longer lists one hit per version copy. Hostile corpus (a shared or imported `.memory`): a `routing.yaml` target naming a Windows device (`reference/CON.md`) opened the console device and froze the MCP server for good, and `{topic}/x.md` with `evil:_atlas` wrote into the index directory (every component of a route target is now checked like a scope name, and Sextant's own directories are refused); a malformed `routing.yaml` (routes as a list, a rule that is a string, an integer target) raised a traceback out of every write (bad rules are dropped with a log line); `create_if_missing: "false"` counted as true; a junctioned `versions/` or `_atlas/` carried history copies, locks and the routes file outside the corpus (both are refused as links); the search index followed symlinks and junctions to files outside the corpus while the read tool refused them (links are never indexed; doctor skips them too); the session-start hook and `atlas-prime` printed note text raw, so a note could forge the hook's own block markers and `<system>` tags (every line of corpus text is quoted, markers and tags defused); `skills_invoke_tool` and `personas_adopt_tool` told the agent to obey runbook and persona text (now framed as the user's own notes); the ChatGPT import raised on a crafted `create_time` after partial writes and a lone surrogate left a zero-byte note (imports are scrubbed, capped at 4 MB per note and written atomically; a role with line breaks is cleaned). `sextant context` prints the priming text (with words: the task-matched facts) and `sextant web` / `dashboard` start the dashboard, instead of pointing at other commands; the doctor's corpus scan is one pruned walk (no per-file resolve). History: `sextant versions` reports the size of `versions/` and prunes old copies (`--prune --older-than DAYS --keep-last N`, report first, `--yes` to delete; the live notes are never touched), and GETTING-STARTED states the measured growth (one full copy of a note per write).
343
+
344
+ **Pipeline sweep 10, expert review (2026-11-12)**: a code review of the sweep-10 changes. The control-character scrub ran AFTER the `---` guard, so `-\x07--` passed the guard and the scrub assembled the delimiter (the guard now runs on the scrubbed text); the search log cut a query to 300 characters BEFORE redacting it, so a token straddling the cut left its first half in the log (redaction runs on a wider window first); two servers rotating the search log at once could move a fresh one-line log over the history the other had just rotated (an exclusive guard file); the no-proxy opener applied to every embedding host, so a remote `ATLAS_EMBED_URL` behind a required proxy went direct and failed silently (loopback only now; `ATLAS_EMBED_TIMEOUT` is new); the FTS tokenizer migration was not one transaction. Names: `reference:null` made a note whose id read back as None, `reference:[a` one whose frontmatter did not parse, and `reference:a #b` a title cut at the comment (the id and title are quoted when YAML would read them as anything but that string); the Hangul fillers and the Braille blank are refused, a name needs a letter or digit, and a name over 200 bytes once encoded is refused before the write (120 emoji failed inside the temp file with an internal path).
345
+
346
+ **Pipeline sweep 10, agentic wave (2026-11-12)**: six more strangers (a wheel-only uv-tool user, Alpine/musl, a returning user upgrading from an earlier build, a hostile-input hardening lane, a performance lane on a 20,000-fact corpus, and a Codex CLI + opencode user). The write lock: `ntpath.realpath` can hand one thread a `\\?\`-prefixed path for a file that does not exist yet (its two probes see different error codes when another writer creates the directory in between), so that writer took a DIFFERENT lock file and one fact in twenty was lost on Windows; the lock key now strips the prefix and folds case (the one-in-many CI loss, reproduced with a ten-round race test that stays in the suite). Hardening: `CONIN$`/`CONOUT$` and the superscript-digit COM/LPT names are refused (one `project:CONIN$` call froze the stdio server); NEL, line and paragraph separators, zero-width and bidi characters and `* ? " < > |` are refused in scope names, names are NFC-normalised, a trailing dot is refused, `identity:<topic>` is an error instead of a silent write to `identity/user.md`; facts are capped at 65,536 characters and stripped of control characters (ESC/BEL from a note no longer reaches the terminal); a failed temp write leaves no `.w-tmp`; the search log keeps 300 characters of a query and rotates at 5 MB (one 50 MB query made a 50 MB line); search queries are capped at 2,000 characters; the dashboard rejects JSON nested deeper than 200 levels before parsing (a segfault inside a worker thread on musl); a hook that hits a read-only corpus prints one line instead of a traceback. Performance: no embedder call when no semantic index exists (2 s per search for everyone without Ollama), loopback calls ignore proxy variables, doctor probes every service at once after a 0.75 s TCP pre-check (4.3-7.3 s to about 1 s with nothing listening), the distribution lookup is two direct queries instead of a scan of every package (0.4 s), `__version__` is resolved lazily (75-90 ms off every process, hooks included), the orphan scan parses each file once. Search: the FTS tokenizer is `unicode61 remove_diacritics` (`zurich` finds Zürich; an existing index is rebuilt once), a Python without FTS5 is named by doctor and in the search log, `sextant-mcp --transport stdio|http` is accepted, and the vector cache key carries a generation counter (a same-size re-index inside one timestamp tick was served stale). Clients: `sextant setup --client codex` (the `codex mcp add` line and the TOML table) and `--client opencode`; the server sends MCP `instructions` telling any client's agent to search memory first and naming a missing root; `sextant-session-start` is the priming text for clients without hooks; `sextant uninstall` finds Codex and opencode registrations and names the hook command correctly; `setup --client hooks --out` writes one JSON object on WSL. Docs: the Updating section's conflict recipe said `--theirs` for the release (it is `--ours`), gains `atlas-temporal build`, a detached-HEAD note and the hook re-check; a Codex/opencode section; the FTS5 requirement; an Alpine note; the `telegram` tests skip without the extra.
347
+
348
+
349
+ ### Final install sweep, 2026-11-11 (six strangers: agentic PowerShell, agentic Git Bash, package user, manual 3.11, WSL, Docker)
350
+
351
+ - `sextant setup` (aliases `mcp`, `connect`): prints the MCP registration for THIS install,
352
+ filled in: the one-line `claude mcp add` with the interpreter quoted and every `ATLAS_*`
353
+ path variable baked in as `-e`, the `mcpServers` JSON for Claude Desktop and Cursor, the
354
+ hook entries, and inside WSL the Windows-side `wsl -d ... --` form with `WSLENV`. A pipx,
355
+ uv-tool or PyPI install has no clone and no `deploy/` snippets; this replaces them.
356
+ - `sextant verify` (also `python -m atlas_plus.roundtrip`): the stdio round-trip now ships in
357
+ the package; `scripts/mcp_roundtrip.py` is a wrapper. `--command` runs the server through
358
+ any launcher (`wsl -d Ubuntu -- /home/me/sextant/.venv/bin/python`), so the exact
359
+ registration a Windows client uses against a WSL install can be tested from Windows.
360
+ - `memory_health` always names `memory_root`: an "ok" against a stale `~/.memory` (variables
361
+ that never crossed into WSL) looked identical to a healthy install.
362
+ - Doctor is a report: the temporal, exhausted-tasks and spend checks no longer create
363
+ `state.sqlite` or `temporal_graph/` on an empty state dir; the Worker row says "no task
364
+ database yet" instead of "state.sqlite not found"; the title is Sextant Doctor on a
365
+ public install however it is invoked.
366
+ - The session-start clock leads with the machine's local zone (or `ATLAS_HOME_TZ`), not the
367
+ author's city.
368
+ - A corpus kept inside the clone (`memory/`, `state/`, `.memory/` at the top level) is
369
+ git-ignored. `sextant-init` points at `sextant setup` and `sextant verify`. The overview
370
+ prints doc URLs when no `docs/` is on disk.
371
+ - Docs: AGENT-INSTALL rewritten around `setup` and `verify` (package-user path, `py --list`,
372
+ precedence of specific path variables over `ATLAS_WORKSPACE_ROOT`, one-shell-per-command
373
+ agents, WSLENV, quoting for paths with spaces, restart the client, clean no-sudo venv
374
+ route, do-not list aligned with the README prompt); README agent prompt points at the
375
+ runbook; GETTING-STARTED (`sextant-mcp --stdio`, `setup` first, PowerShell `~`, doctor is
376
+ read-only, `ATLAS_HOME_TZ`); CONFIGURATION rows; HOWTO-docker (shell overrides `.env`,
377
+ load `.env` before the `claude mcp add --transport http` line, doctor rows mean little
378
+ under compose, `exec mcp sextant verify`, brain key into `.env`, backup of all of `/data`
379
+ with the real volume name and a restore line, override file for bind mounts and ports,
380
+ Windows `.env` encoding); sdist carries `deploy/*.json` and `constraints.txt`.
381
+ - Second wave (real `claude mcp add` in an isolated config dir, upgrade, `pip install git+`,
382
+ clean Debian container, adversarial review): a write into a corpus that does not exist is
383
+ refused with the setup hint (it used to create a stray `~/.memory` when the registration
384
+ lacked `-e`); `setup` quotes with `shlex` on POSIX, refuses a quote or line break in a value
385
+ on Windows, doubles a trailing backslash, quotes the WSL interpreter and distro, appends to
386
+ an existing `WSLENV`, carries `ATLAS_UPDATES_FILE`, puts the hook-only variables on the POSIX
387
+ hook line, names its JSON blocks after the file they go in, accepts `--client claude-desktop`
388
+ and `cursor`; `verify` passes only when the search returns the file the write named, parses
389
+ `--command` the way Windows does, never leaks its log file, tolerates non-UTF-8 and non-JSON
390
+ stdout, and ignores server-initiated requests; the session-start hook prints the corpus it
391
+ read; the MCP temporal search looked in `temporal/` while every builder writes
392
+ `temporal_graph/`; `ATLAS_HOME_TZ` with a bad value degrades instead of raising; the Telegram
393
+ remedy and the uninstall note no longer assume uv or a clone; docs carry the `pip install
394
+ "sextant-ai[extras] @ git+..."` form and the exact `--strict` rule. The public mirror now
395
+ keeps its git history (one commit per publish, pushed fast-forward) so the documented
396
+ `git pull` upgrade works; the Updating section adds `sextant-init` (ownership marker),
397
+ `setup` and `verify`; the agent runbook unhooks the client before deleting data; the
398
+ self-hosting env file names the corpus paths; `setup` prints the HTTP-mode and remote
399
+ registration lines for a machine without Claude Code; a get-pip route without curl.
400
+ - Known and left: search snippets bracket the matched words and show the `<!-- source -->`
401
+ comment; `atlas-review-memory summary` counts files differently from the doctor; the
402
+ components table folds long paths at 80 columns; Brain pytest executors assume a clone.
403
+
404
+ ### Persona rerun wave 4, 2026-11-10 night (Linux self-hoster, in-place upgrade, claims verifier)
405
+
406
+ - Forwarded headers: every server now starts uvicorn with its proxy-header handling off, so
407
+ `auth.forwarded_ip()` is the only rule: `Cf-Connecting-Ip` (or `ATLAS_FORWARDED_IP_HEADER`)
408
+ first, else the LAST non-loopback hop of `X-Forwarded-For`; `none` ignores every forwarded
409
+ header. (uvicorn had been rewriting the peer first, so XFF always won and `none` half
410
+ worked.) SECURITY.md states the rule, the MCP server's five-minute window, the 16-character
411
+ key minimum and the Caddy/nginx overwrite lines.
412
+ - `_atlas/` (sync inbox proposals, parked conflict copies) is never indexed, searched or
413
+ primed: a peer's push reaches the assistant only after the operator promotes it.
414
+ - Sync: a push conflict parks the hub's copy locally in the same run and names it (no second
415
+ sync needed); bare `sextant-sync` lists its subcommands.
416
+ - Doctor: a report never creates `state.sqlite` or `search.sqlite`; `--strict` says why a
417
+ row counted (`MCP down, expected because ATLAS_MCP_TOKEN is set`) and ignores the Brain
418
+ diagnostic sections when no Brain key is configured.
419
+ - Temporal: the build manifest carries a rules version; after an upgrade a plain
420
+ `atlas-temporal build` re-reads every file once and retires facts the new rules no longer
421
+ derive (template defaults), and a re-indexed file retires the facts it stopped stating.
422
+ - Clip inbox dedupe hashes the bytes it writes (CRLF on Windows had made it inert); the
423
+ Brain's key redaction keeps uvicorn's access-log arguments (no logging traceback per
424
+ `?key=` request); an interactive write refused by `ATLAS_INTERACTIVE_WRITES=off` names
425
+ that switch, not `ATLAS_AUTONOMOUS`; the rclone hint matches the platform; compose gives
426
+ the dashboard `ATLAS_BRAIN_URL=http://brain:8767`; docs (test matrix cookie row, Clip
427
+ permissions, uninstall confirmations, hub port for doctor, Updating section).
428
+ - Known and left: an old-build peer proposal is re-sent once after upgrading (then
429
+ remembered); `.ndjson.partial` files from before 0.1.0 are promoted by the next recovery
430
+ walk, not by the upgrade; two stdio writers racing on one file can skip a `versions/` copy
431
+ (facts are never lost).
432
+
433
+ ### Persona rerun, 2026-11-10 evening (three more hand installs on the renamed build)
434
+
435
+ - Quickstarts show the "choose where it lives" variables above `sextant-init`; the Stop hook
436
+ says on stderr and in the activity log when no model can summarize (and the docs say what it
437
+ needs); `atlas-prime <task>` adds the facts that match the task words from any scope.
438
+ - Sync: a federation peer's accepted proposals are remembered (not re-sent, not pulled over,
439
+ counted as "awaiting the hub's review"), so `plan` and `checkin` can say a peer is current;
440
+ the conflict line names the parked file; a clean sync reports leftover parked copies;
441
+ `plan` explains an out-of-allowlist share; a dead hub is "no hub answering at ..."; bare
442
+ `sextant-sync` prints help and a hint; `status` says whether this corpus is a hub or a spoke.
443
+ - Keys shorter than 16 characters refuse to start (dashboard, Brain, MCP). `doctor` shows
444
+ Web and Sync rows, probes the configured ports, hides the tunnel row unless
445
+ `ATLAS_TUNNEL_CHECK=on`, never creates the task database, prints `strict: OK|FAIL (...)` on
446
+ stdout, and `--strict` counts a service as unhealthy only when this install is configured
447
+ to run it.
448
+ - Temporal: template defaults (`status: active`, `priority: normal`, `type`) are not facts.
449
+ Anti-memory accepts the write-scope grammar; decisions are dated locally; `ATLAS_USER_NAME`
450
+ shows in the primed identity; an unparsable search scope is reported instead of searched
451
+ globally; the Clip inbox ignores an identical double submission and promotes its transcript
452
+ file on ingest; backup refusals say exactly what is missing; `sextant-backup install` is
453
+ hidden where the installer does not ship; Rich tables fold instead of truncating (no
454
+ mojibake on cp1252 consoles).
455
+
456
+ ### Distribution name, 2026-11-10
457
+
458
+ - The PyPI distribution is `sextant-ai` (was to be `sextant-cp`; `sextant` itself is an
459
+ unrelated Helm tool). Commands and the import package are unchanged.
460
+
461
+ ### Persona pass, 2026-11-10 (six simulated people installed the public build by hand)
462
+
463
+ - Paths: the workspace root is `ATLAS_WORKSPACE_ROOT` or the home directory, nothing else; the
464
+ maintainer's install folder is no longer autodetected. `ATLAS_*_PORT` values are validated
465
+ with a named message. `OLLAMA_BASE_URL` and `OLLAMA_HOST` are honoured when
466
+ `ATLAS_BRAIN_OLLAMA_URL` is unset; the compose brain profile now sets the variable the Brain
467
+ reads and requires both keys.
468
+ - Shell: `sextant remember "<fact>" --scope <scope>`; `sextant search` accepts the write-scope
469
+ grammar, prints the confidence band and an honest miss message; `components`/`status`/the
470
+ overview show the configured ports and say what a probe is; umbrella `--help` reaches the real
471
+ command; scope kinds are case-insensitive.
472
+ - Imports: ChatGPT/Claude imports are idempotent and report mode writes nothing (`would_import`);
473
+ collision copies are recognised by origin; BOM-saved notes read clean; the index hint names a
474
+ real command. `atlas-temporal build` indexes your corpus by default (fixtures are demo-only).
475
+ - Hooks: git hardening keeps the system config (CRLF repos no longer report dirty); the Stop hook
476
+ honours its payload's transcript root; the identity excerpt is cut at a line break; the
477
+ fsdiff disclosure lists everything recorded.
478
+ - Sync: the manifest hash is content identity only (`checkin` agrees on identical corpora);
479
+ subdirectories of `_atlas/` never sync; `checkin` refuses as a peer without a share and sends
480
+ no host name; push conflicts are reported as parked on the hub; the share notes compare
481
+ prefixes correctly; the hub answers `/health`.
482
+ - Network: one forwarded-IP rule for every surface (`ATLAS_FORWARDED_IP_HEADER`; SECURITY.md
483
+ "Behind a reverse proxy"); the MCP server never locks out the operator's own loopback clients
484
+ and writes no access log; `/status` counts a 429 as degraded; the capture route is a
485
+ user action (not gated by `ATLAS_AUTONOMOUS`), as are decisions, tickets and anti-memories
486
+ requested through the MCP tools; the Clip route, header and body are documented; the dashboard
487
+ warns once when the Brain is unreachable and about short keys.
488
+ - Backup: refuses before any transfer unless the rclone remote exists, never prompts for a config
489
+ password, has no default remote, keeps dry runs apart from real runs; doctor names the real
490
+ db-backup commands (`snapshot`, `restore`, `prune`) and probes the configured MCP port;
491
+ `doctor --strict` counts errors.
492
+ - Docs: GETTING-STARTED (shell commands, backup, imports, updates.txt default), HOWTO-sync
493
+ (first-sync identity note, resolution, prefixes are directories, hub-side parking),
494
+ HOWTO-docker (real HTTP MCP wiring), CONFIGURATION (Windows persistence, new variables),
495
+ Clip README, Linux hook pair, hook interpreter note.
496
+
497
+ ### Hardening, 2026-11-10, round C (three independent re-reviews of the wave-2 fixes)
498
+
499
+ - Sync: a file you edited that the hub then deleted is reported as deleted remotely (it was
500
+ an error on every run); a local delete stays reported and is never pulled back; a `--share`
501
+ run keeps the base entries it could not see; the hub's own allowlist is intersected with
502
+ your share before any byte is read; a 409, 5xx or ingress HTML page on one file is a
503
+ per-file error and the run completes; a push failure never aborts the run; names Windows
504
+ cannot store (`?<>:"|*`, control chars) are refused; parked-copy dedupe never builds a glob
505
+ from the file name and scans only the relevant directories; a sidecar that is not a JSON
506
+ object is ignored and one bad change can never 500 a push batch; a hub that does not say
507
+ how it pairs you is refused without a share; `checkin --share`; a share that matches no
508
+ local file is reported.
509
+ - Brain: the worker's heartbeat keeper renews only its own lease and stops when the lease is
510
+ lost (the run's result is then discarded with an attempt row); the worker fence includes the
511
+ attempt number; any fence implies a running row; attempt telemetry is recorded before
512
+ post-processing and on refusals; dedup keys on kind and never folds an explicit task_id;
513
+ `POST /task` writes off the event loop and returns 503 when the store is locked.
514
+ - Reparse guard (MCP write path, sync walk and policy) keys on the name-surrogate reparse
515
+ tag (junction, symlink) instead of the attribute, so cloud placeholders (OneDrive, Dropbox
516
+ Files On-Demand), app-exec links and WOF-compressed files are not refused.
517
+ - Imports: collision copies are recognised by their `original_path`, over one cached listing
518
+ per directory (bracket names, 10x faster on large vaults, sibling notes never mistaken for
519
+ copies). Clip inbox: a RecursionError from deeply nested JSON is a 400; message content must
520
+ be a string. `sextant-backup status` tolerates odd state files and names the real command.
521
+ Anti-memory project slug is stripped like routing's.
522
+
523
+ ### Hardening, 2026-11-10 (six-lane validation, wave 2)
524
+
525
+ - Federation egress is decided locally: `sextant-sync sync --share <prefix>` (repeatable, or
526
+ `ATLAS_SYNC_SHARE`) is the spoke's own allowlist; nothing outside it is read, serialized,
527
+ sent or pulled. A hub that pairs you as a peer refuses `sync`/`plan` until you declare one.
528
+ The hub's manifest now names the principal it sees.
529
+ - A sync conflict stays a conflict until resolved: the file keeps its previous three-way base,
530
+ so a second sync no longer pulls the hub's copy over the local edit. Identical parked copies
531
+ are not parked twice (conflicts and peer inbox).
532
+ - The manifest walk never enters a Windows junction; the MCP write path refuses a scope whose
533
+ directory is a symlink or junction (reads already did).
534
+ - Brain task store: `mark_done/mark_blocked/mark_failed` take `owner`/`attempt` and change
535
+ nothing when the lease moved on (the worker passes its lease); zombie cleanup requeues a
536
+ leased task while attempts remain instead of failing it; `create_task(dedup=True)` checks
537
+ and inserts in one write transaction.
538
+ - Failed-auth throttling now covers the Brain (HTTP and WebSocket), the sync hub and the
539
+ dashboard WebSocket handshake, with the same per-source accounting as the dashboard and
540
+ MCP. The `Bearer` scheme is case-insensitive; the token is not.
541
+ - `sextant-mcp --no-auth` starts (it crashed on an SDK signature) and `python -m
542
+ atlas_plus.web.app --no-auth` / `python -m atlas_plus.brain.server --no-auth` serve the
543
+ configured app instead of a fresh import that 503s.
544
+ - Clip inbox returns 400 for non-object JSON and non-object messages; ChatGPT/Claude imports
545
+ skip wrong-shaped entries with a reason; an unchanged re-import of an already re-imported
546
+ Obsidian note no longer grows `_2`, `_3`, ...; project-scoped anti-memory propagation sees
547
+ `projects/<slug>.md`; `sextant-backup status` keeps the last real run and success separate
548
+ from dry runs; the installer fallback names the real command (`now`).
549
+ - Docs: Linux uses the `.macos.json` hook pair (POSIX paths); hooks do not inherit the MCP
550
+ registration's `env`, so set the roots where the hook can see them.
551
+
552
+ ### Hardening, 2026-11-09 (launch review rounds A and B)
553
+
554
+ - Search index moved to its own file, `<state>/search.sqlite` (was shared with the Brain task
555
+ queue in `state.sqlite`). Rebuilt automatically; the old tables are left in place.
556
+ - Dashboard: cookie-authenticated mutating requests need the page's `X-Sextant-Request`
557
+ header and an Origin matching the dashboard's own host and port; the chat WebSocket checks
558
+ Origin; `/api/inbox/conversation` is bearer-only; writing the curation report needs POST.
559
+ - Every git call Sextant makes goes through one hardened helper (`atlas_plus.gitsafe`): hooks,
560
+ fsmonitor, filters, external diff and signing programs from repo config never execute.
561
+ - Sync, intake and `import --scope` check paths as the file system sees them (8.3 aliases,
562
+ trailing dots, junctions).
563
+ - `sextant-init` refuses to claim a non-empty directory that is not already Sextant state;
564
+ `reset --state` keeps logs and CLI history; destructive guards decide containment by file
565
+ identity and refuse paths that resolve to a network share.
566
+ - Backups: the rclone mirror refuses a source without this install's signature and moves
567
+ remote deletions and overwrites to a dated trash; the state dir gets a dated archive too.
568
+
569
+ ### Fixed (2026-10-16, persona batch 3: the full personality spread)
570
+
571
+ Findings from eight more persona tests (careful PM, Ubuntu hobbyist,
572
+ skeptical claims-auditor, Windows junior, macOS skimmer, non-dev power
573
+ user, in-place upgrader, improviser).
574
+
575
+ - **`ATLAS_LOCAL_ONLY` now holds on the summarizer's own code path.** The
576
+ earlier guard covered the provider registry only; the stop hook,
577
+ suggest-facts, dream mode, contradictions, reflexion and weekly
578
+ synthesis call the summarizer's `complete()` directly, which could still
579
+ fall back to the Anthropic API with a key in the environment and Ollama
580
+ down. The refusal is now inside that fallback too, with regression
581
+ tests, and the claim joined the security test matrix.
582
+ - **`memory_health` no longer reports `ok` over a missing memory root.**
583
+ Skipping `sextant-init` (or an `ATLAS_MEMORY_ROOT` set only in a shell
584
+ profile a GUI-launched client never reads) used to produce a false pass
585
+ on the docs' own verify step. The reply is now `degraded` with a hint
586
+ naming both causes.
587
+ - **The Unix quickstart works on a stock machine.** `python3.11 -m venv`
588
+ resolved on neither stock macOS nor Ubuntu 24.04; the block now uses
589
+ `python3` with real prerequisite notes (python.org/brew on macOS, the
590
+ Xcode CLT dialog, `python3.12-venv` on Ubuntu), and the README says up
591
+ front that Claude Code itself must be installed first.
592
+ - **Session hooks now ship in both platform forms.** The single hook
593
+ JSONs carried the Windows command as the body with the macOS form
594
+ buried inside `_note`; a Mac user pasting the file verbatim registered
595
+ a hook that failed every session start. Added
596
+ `deploy/session_start_hook.macos.json` and `deploy/stop_hook.macos.json`,
597
+ and both `_note`s now walk through a safe merge (back up first, extend
598
+ an existing `hooks` key, drop `_note`).
599
+ - **The MCP registration block now protects itself.** The `cd`-dependence
600
+ of `$PWD` and the `claude mcp list` verification moved into the code
601
+ blocks skimmers actually paste; the verify step documents the
602
+ `degraded` reply and the failure branch; the docs now say the clone
603
+ path is load-bearing (move/rename = re-register) and give the
604
+ `sextant-mcp --stdio` form for pipx/uv-tool installs.
605
+ - **`atlas-fts-rebuild --force` removed from the import guide.** The flag
606
+ does not exist (a full rebuild is the default); copy-pasting it errored.
607
+ - **Updating section answers the data question first.** Corpus safety,
608
+ registration survival, and why the pip reinstall must not be skipped
609
+ now lead the section instead of trailing it.
610
+ - Security section honesty: the summarizer fallback names Anthropic (not
611
+ OpenAI) on the hook path; the opt-in research web search and the link
612
+ checker's HEAD requests are disclosed; `ATLAS_SESSION_AUTONOMOUS` is
613
+ documented beside `ATLAS_AUTONOMOUS`; the stop hook's background jobs
614
+ are listed. Plus: a documented "let Claude Code do the install" prompt,
615
+ and `sextant-init`'s next-steps now point at the README one-liner.
616
+
617
+ ### Fixed (2026-10-16, persona fan-out batch)
618
+
619
+ Findings from four persona tests (non-dev, thorough Windows dev, Linux
620
+ contributor, SRE uninstall) plus a CI-caught timestamp bug.
621
+
622
+ - **96 broken command hints fixed.** Hint strings across ten modules said
623
+ `atlas review-memory ...`; no `atlas` umbrella command exists, so every
624
+ hint was a command-not-found. All now say `atlas-review-memory`.
625
+ - **MCP registration now survives changing directories.** The documented
626
+ `claude mcp add` lacked `-s user`, so the default `local` scope tied the
627
+ server to the clone directory -- invisible from the user's real projects,
628
+ failing silently. README and GETTING-STARTED now pass `-s user` and
629
+ explain both traps (scope and absolute path).
630
+ - **Stop hook survives paths with spaces.** The hook command was unquoted;
631
+ a Windows profile with a space in its name split it. Now quoted, with
632
+ the macOS/Linux form in the `_note`.
633
+ - **Test suite can no longer write to a contributor's real `~/.memory`.**
634
+ `TICKETS_ROOT` is import-time bound, so a bare `pytest` created ticket
635
+ dirs in the real corpus (the cleanup fixture only covered three slugs).
636
+ An autouse fixture now points the store at a per-test directory -- same
637
+ treatment the state DB got on 2026-10-12.
638
+ - **Uninstall docs tell the truth.** "Leaves exactly two things" was wrong:
639
+ the stop-hook summarizer also writes a session log and version copies,
640
+ and nothing covered unhooking the MCP registration or Stop hook (deleting
641
+ the clone first leaves Claude Code erroring every session). The section
642
+ is now an ordered walkthrough; `sextant-uninstall`'s report also surfaces
643
+ the session log and any Claude config that still references the install
644
+ (report-only, never deleted).
645
+ - **README quickstart honesty.** New "Who this is for" block (browser-only
646
+ claude.ai users cannot connect yet); `py -3` with install guidance
647
+ replaces the hardcoded `py -3.11`; `memory_health` expected reply matches
648
+ reality; alias table gains the missing `sextant-import` and
649
+ `sextant-embed-index`; the PowerShell-invalid `&&` update block is split
650
+ per platform.
651
+
652
+ ### Fixed (2026-10-16)
653
+
654
+ Follow-up hardening from an adversarial review of the 2026-10-12 fixes.
655
+
656
+ - **Web UI task submits no longer fail silently on HTTP errors.** Seven
657
+ fetch paths (`submitTask`, `confirmDispatch`, `escalateTask`, `quickRun`
658
+ fallback, `retryTask`, `stopTask`, `submitClaudeTask`) read the response
659
+ body without checking `resp.ok`; a 422 showed "queued: undefined" and
660
+ opened a live stream for task `undefined`. A shared `jsonOrThrow` helper
661
+ now surfaces validation detail readably.
662
+ - **`_claude_task` blocks cleanly on a non-string JSON prompt.** A payload
663
+ like `{"prompt": 123}` hit the empty-prompt guard with a non-string and
664
+ raised `AttributeError`; it now returns a blocked result with a clear
665
+ message.
666
+ - **Curation report timeout leaves an artifact.** `subprocess.TimeoutExpired`
667
+ escaped `_curation_report` as a raw exception; it is now caught and
668
+ recorded as a failed result with an artifact, like every other path.
669
+ - **Verify env scrub widened and made case-insensitive.** `_clean_pytest_env`
670
+ also drops `RESEARCH_API_KEY` and `TELEGRAM_BOT_TOKEN` (same failure class
671
+ as `ATLAS_WEB_API_KEY`), and matches `ATLAS_*` case-insensitively so a
672
+ lowercase variable cannot leak on POSIX.
673
+ - **Brain server rejects whitespace-only instructions (422).** `min_length=1`
674
+ caught `""` but not `" "`.
675
+ - **Fixed a vacuous test.** `test_submits_task_valid_request_accepted`
676
+ patched `_DB_PATH` with a `str`; after the 2026-10-12 call-time resolution
677
+ change that produced an `AttributeError` -> 500, and the `in (202, 500)`
678
+ assertion passed without exercising `create_task`. The patch is gone (the
679
+ autouse isolation fixture covers it) and the test now requires 202.
680
+
681
+ ### Fixed (2026-10-12, evening)
682
+
683
+ - **Brain verify runs no longer fail against the live environment.** The
684
+ always-on worker runs with the deployment environment loaded; the
685
+ `verify`/`pytest` executors inherited it, so every verify run executed
686
+ the suite with a live `ATLAS_WEB_API_KEY` and `ATLAS_STATE_DIR` --
687
+ ~260 tests failed per run (61 failed verify tasks in 14 days) and test
688
+ fixtures resolved live operator state. Both executors now scrub every
689
+ `ATLAS_*` variable from the subprocess environment so a verify run
690
+ looks like a clean CI shell.
691
+ - **The test suite can no longer write the live task queue.** Brain state
692
+ modules (`tasks`, `history`, `improvement`, `task_facts`, worker
693
+ defaults) bound their `state.sqlite` path at import time, which made
694
+ test patches silent no-ops: every full-suite run planted real tasks
695
+ ("test instruction", "Verify ticket TES-001") in the live queue, the
696
+ worker executed them, and the verify kind re-ran the suite --
697
+ breeding the next generation. DB paths now resolve at call time and
698
+ an autouse conftest fixture points every state consumer at a
699
+ per-test database (no `ATLAS_STATE_DIR` passthrough, deliberately).
700
+ - **`suggest-facts --auto` no longer hangs headless runs.** A candidate
701
+ below the auto-approve threshold fell through to the interactive
702
+ `input()` prompt; inside the Brain's scheduled task that blocked until
703
+ the 1200s timeout killed the run (the recurring nightly
704
+ `suggest_facts_auto` failures). Auto mode now skips sub-threshold
705
+ candidates instead of prompting -- they are still never written.
706
+ - **Nightly curation report timeout raised 300s -> 900s** (it timed out
707
+ twice in October as the memory corpus grew).
708
+ - **Blank task instructions are rejected at the API.** An empty
709
+ instruction used to flow through `/api/tasks` / `/api/tasks/claude`
710
+ to the worker and die inside `claude --print` with a confusing CLI
711
+ error. The web layer now 422s blank instructions, the Brain server
712
+ requires `min_length=1`, and the claude executor blocks an empty
713
+ prompt with a clear message before spawning the subprocess.
714
+
715
+ ### Added (2026-10-12)
716
+
717
+ - **Sextant branding in the web dashboard**: the page now ships the
718
+ brand favicon (inline data URIs, SVG with ICO fallback -- no package
719
+ data needed), the tab title reads "Sextant Helm", and the header
720
+ carries the sextant mark. The brand kit's `favicon.svg` shipped with
721
+ its `.t`/`.s` style classes undefined (invisible strokes) and a
722
+ large embedded C2PA metadata blob; the embedded copy fixes the
723
+ styles and strips the blob (8.2KB -> 0.5KB).
724
+ - The public README opens with the brand banner (dark/light variants,
725
+ served from usesextant.com -- the landing page must be live before
726
+ the repository goes public).
727
+ - **Map tab**: a live system visualization in the web dashboard.
728
+ Services are probed over their health endpoints, data stores are
729
+ read from what exists on disk, and the connections between them
730
+ pulse in real time as components talk -- with a ticker listing each
731
+ event and a reference to where the data involved lives (memory
732
+ path, ticket file, task artifact, truncated query). Backed by a new
733
+ cross-component activity feed (`logs/activity.ndjson`, metadata and
734
+ references only, never contents; self-trimming) that the Brain task
735
+ lifecycle, MCP tool dispatch, ticket store, temporal builds, and
736
+ sync operations all append to. New endpoints `/api/topology` and
737
+ `/api/activity`; new env vars `ATLAS_SYNC_URL` and
738
+ `OLLAMA_BASE_URL` documented in CONFIGURATION.
739
+
740
+ ### Fixed (2026-10-12)
741
+
742
+ - Tab switching in the web dashboard is now data-driven. The old
743
+ parallel tab array was missing two tabs, which misaligned the bar
744
+ highlight from the third tab on and left the Operator and
745
+ Watchtower panels active when switching away.
746
+
747
+ ### Changed (2026-10-11)
748
+
749
+ - Session-start hook: the temporal context block is now cached across
750
+ sessions, keyed on the graph's `facts.jsonl` identity (any graph
751
+ write invalidates) plus a one-day freshness bucket. Project session
752
+ starts drop from ~560ms to ~315ms; a cache hit no longer imports or
753
+ loads the temporal stack at all.
754
+
755
+ ### Fixed (2026-10-11)
756
+
757
+ - The ntfy control HOWTO's setup now uses only what actually ships:
758
+ run the listener via the `atlas-ntfy-listener` console script (or
759
+ `python -m atlas_plus.ntfy.inbound`) with the two env vars in its
760
+ process environment -- the old steps named maintainer-only scripts
761
+ that are not in the public tree. A build-time gate now rejects any
762
+ shipped doc that references a `deploy/` file that does not ship.
763
+
764
+ ### Changed (2026-10-10)
765
+
766
+ - Ticket listing prunes archived subtrees at descent instead of
767
+ enumerating and discarding them: on a store whose `_archive/` holds
768
+ two hundred times the live ticket count, `list_tickets` dropped from
769
+ 54.5 to 7.7ms (7x) with identical results -- paid by the Operator
770
+ panel's refresh, board renders, and session start.
771
+
772
+ - The Brain's `/health` endpoint now reports model-backend
773
+ reachability: `{"status": "degraded", "backend": "unreachable"}`
774
+ when the local model server cannot be reached (probe cached 30s,
775
+ 1.5s timeout), instead of answering ok while every model-dependent
776
+ job is silently broken. The HTTP code stays 200 while the process
777
+ is alive -- watchdogs restart on non-200, and a restart cannot fix
778
+ the backend -- and `sextant-doctor` surfaces the degraded state.
779
+
780
+ ### Fixed (2026-10-09)
781
+
782
+ - Search now survives a truly trashed index file: file-level
783
+ corruption raises at connect time (before the query-level self-heal
784
+ could see it), and a leaked connection handle was blocking the
785
+ quarantine rename on Windows -- both paths now heal once, retry
786
+ once, and preserve the corrupt file as evidence. The first-search
787
+ freshness sweep is also 2.4x faster (relative paths ride the scan
788
+ stack instead of being recomputed per directory entry: walk median
789
+ 94.5 -> 39.6ms on a 2,220-file corpus, cold first search
790
+ 688 -> 482ms).
791
+ - Deleted memory files now retract their temporal-graph facts at the
792
+ next build: a file the manifest knows but the walk no longer sees
793
+ (removed, or moved under an archive directory) has its facts
794
+ invalidated -- out of current search, kept for as-of history -- and
795
+ graphs built before the archive-exclusion fix heal on their next
796
+ build. Previously nothing ever retracted, so ghost facts persisted
797
+ indefinitely. Also: a fact superseding itself (same id, new value,
798
+ e.g. a re-indexed transcript's token counter) no longer raises a
799
+ false contradiction warning against its own previous version. The
800
+ build output now reports this maintenance -- retracted files,
801
+ invalidated facts, and per-file compaction savings print when they
802
+ happen instead of running silently.
803
+
804
+ ### Security (2026-10-09)
805
+
806
+ - The operator action log is structurally append-only now: control
807
+ characters in a completion note (or in a hand-written ticket's
808
+ title/project frontmatter) are flattened at the write sink, so a
809
+ note can no longer forge standalone log entries in a file that
810
+ sessions read back as memory. The Operator queue also no longer
811
+ errors out on a hand-written ticket with an empty priority.
812
+ Dependency audit of the full environment: clean (pip-audit 2.10.1,
813
+ 2026-10-09).
814
+
815
+ ### Fixed (2026-10-08)
816
+
817
+ - Temporal graph ingest skips underscore-prefixed directories
818
+ (`tickets/_archive/` especially). The exclusion list named `archive`
819
+ but the ticket store archives to `_archive`, so archived tickets were
820
+ resurrected into the graph on every build -- on a long-lived corpus,
821
+ 81% of live facts were archived-ticket residue. Multi-project
822
+ `applies_to:` lists also no longer raise false contradiction warnings
823
+ (`applies_to_project` is multi-valued by nature).
824
+
825
+ ### Added (2026-10-08)
826
+
827
+ - Operator panel: a dashboard tab that gathers every open human-assigned
828
+ ticket across all projects into one priority-sorted queue with the
829
+ step's instructions inline. Tickets can carry a `verified:` date
830
+ marking instructions as researched and ready (unverified steps are
831
+ flagged NEEDS RESEARCH). Marking a step done or skipped records the
832
+ action -- with an optional note -- in `operator/action-log.md` inside
833
+ the corpus, so completions are searchable memory, and session start
834
+ injects a one-line summary of how many steps await the operator
835
+ (nothing on a fresh corpus).
836
+
837
+ ### Changed (quality wave 2, 2026-09-25 .. 2026-10-09)
838
+
839
+ - Session-start hook trimmed further (measure-first): one shared
840
+ ticket-store scan serves both the operator-queue line and the
841
+ open-tickets section (was one scan each), and the git summary asks
842
+ git twice instead of three times (branch and dirtiness ride one
843
+ `status --porcelain=v2 --branch` call). End-to-end median
844
+ 647 -> 592ms on the reference corpus; the shared scan stops the
845
+ full-store pass from multiplying per consumer as tickets grow.
846
+
847
+ - Docs now say exactly what the code does on re-verification and task
848
+ verification: the scheduled re-verification pass reports (clock reset
849
+ is its own opt-in switch), OUTDATED/NEEDS_HUMAN are report lists (not
850
+ moves or notifications), and ticket verification is an optional
851
+ post-run test check (`ATLAS_VERIFY_TICKETS`, default off) that reopens
852
+ a ticket on failure -- not a gate in front of results. A shipped-docs
853
+ test now rejects the old overclaiming phrasings. The Operator queue is
854
+ documented in USAGE (human-assigned tickets, `verified:` dates, the
855
+ action log).
856
+
857
+ - The temporal graph compacts its append-only files after every build
858
+ (latest-wins, atomic, with a one-generation safety copy), so load
859
+ time tracks live data instead of total history -- a long-lived graph
860
+ had grown 94x its live size. Temporal queries also stop paying for
861
+ results they discard: timestamps parse once at index time and only
862
+ the returned top-k is materialized. Session-start context injection
863
+ 2.2s -> 0.9s on a project-shaped session at ~15k facts; temporal
864
+ search 132 -> 28ms.
865
+ - Sync manifest builds skip excluded trees entirely instead of
866
+ enumerating and discarding them: on a workspace-shaped corpus
867
+ (hundreds of live files beside tens of thousands under `archive/`,
868
+ `versions/` and `.git`) a build drops from 308ms to 12ms; corpora
869
+ without such trees are unchanged.
870
+ - The embedding index reports how many files were too large to embed
871
+ in full (`truncated_to_head`), so weakened tail recall is visible
872
+ instead of silent.
873
+
874
+ - Semantic search caches its unpacked vectors between queries
875
+ (invalidated automatically by any index write), and uses numpy as an
876
+ optional accelerator when it happens to be installed -- never as a
877
+ dependency. Hybrid search 219ms -> 85ms at ~2,200 files on top of
878
+ the freshness-window win below; the pure-Python path returns
879
+ identical results.
880
+ - Searches no longer pay the index-freshness sweep on every query:
881
+ within a short window (`ATLAS_FTS_FRESHNESS_WINDOW`, default 10s) a
882
+ burst of searches reuses the index, while the engine's own memory
883
+ writes always void the window so remember-then-search stays exact.
884
+ Keyword search 200.7ms -> 63.4ms and hybrid search 370.5ms ->
885
+ 219.3ms at ~2,200 files.
886
+
887
+ - Search freshness sweep is 4x faster (scandir walk with directory-read
888
+ mtimes; excluded subtrees pruned, never entered) and fails open when
889
+ the index database is briefly busy instead of erroring a search.
890
+ - Change detection compares (mtime, size), so a same-mtime rewrite on a
891
+ coarse-timestamp mount (SMB, some Docker volumes) still reindexes.
892
+ - Human text that happens to be invalid FTS5 syntax retries as a
893
+ literal phrase instead of failing with a message that blamed a
894
+ "corrupt" index for a bad query.
895
+ - `sextant ingest` lands (forwards to `sextant-transcripts ingest`);
896
+ corpus confirm paths compare separator- and case-insensitively.
897
+ - The umbrella CLI defers rich imports to first use (module import
898
+ 260ms -> 130ms measured).
899
+ - `memory_topics` aggregates tags from the search index instead of
900
+ re-reading every corpus file per call (1,319ms -> 85ms at 2,000
901
+ files, identical visibility).
902
+ - The dashboard's corpus-tree endpoint renders 4.8x faster (263ms ->
903
+ 55ms at 2,000 files) and the walk runs off the event loop, so a
904
+ large corpus no longer stalls concurrent dashboard requests.
905
+ - Sync manifest builds are 8.5x faster when little has changed
906
+ (866ms -> 102ms at 2,000 files, on both ends of every sync cycle):
907
+ unchanged files reuse a cached digest keyed by (mtime, size), the
908
+ directory walk reads entry types from the directory itself, and
909
+ the secret fence's patterns compile once instead of matching
910
+ per-file. A missing or corrupt cache just means a full re-hash.
911
+ - `sextant -v` works alongside `-V`/`--version`; `sextant-import`
912
+ accepts `--dry-run` as an alias of its default report mode (and
913
+ refuses the contradictory `--dry-run --yes`); the dashboard's
914
+ missing-key refusal shows how to set the key in both shells; bare
915
+ `sextant` with no corpus names the init command to run.
916
+ - Setting `SEXTANT_MEMORY_ROOT` (or any `SEXTANT_*` twin of a real
917
+ `ATLAS_*` path variable) now warns on stderr instead of being
918
+ silently ignored -- the natural wrong guess when every command is
919
+ `sextant-*` used to land data at the default path with no error.
920
+ - The quickstart installs, smokes, and now also initializes the
921
+ corpus; its full-test-suite line is labeled optional with an honest
922
+ duration; the `pip install sextant` wrong-package warning sits
923
+ directly above the install block instead of far below the fold.
924
+
925
+ ### Fixed (quality wave 2, 2026-09-25 .. 2026-10-08)
926
+
927
+ - A corrupt search index now heals itself: FTS5 shadow-table damage
928
+ can pass SQLite's integrity check yet fail every query -- search
929
+ detects it, rebuilds the index tables in place (embedding vectors
930
+ in the same file survive), and retries once; a file damaged beyond
931
+ that is quarantined by rename, never deleted. Previously the raw
932
+ database error reached the caller and keyword search stayed down.
933
+ - Version-before-edit snapshots: a file outside the corpus no longer
934
+ crashes the write that tried to version it; extensionless files and
935
+ names containing glob characters no longer produce a duplicate
936
+ snapshot on every identical write; and two concurrent writers can
937
+ no longer overwrite each other's snapshot (atomic slot claim).
938
+
939
+ - A search returning exactly one hit reported confidence "starved"
940
+ (telling the model to ask a clarifying question instead of
941
+ answering): the lone result skipped re-ranking and kept a raw
942
+ negative FTS5 rank. A single match -- often the exact-unique-term
943
+ best case -- now scores on the same 0-1 blend as everything else.
944
+ - Session-start no longer injects any built-in "house rules": standing
945
+ rules come from your own corpus (`identity/house-rules.md`, bullet
946
+ lines) and a fresh corpus injects none. Previously the maintainer's
947
+ personal workspace conventions leaked into every session.
948
+
949
+ - The search freshness window is now voided by EVERY memory write path
950
+ -- decisions, anti-memories, and confirmations included -- so
951
+ write-then-search always sees its own write (previously only plain
952
+ remembers did); a write landing during a sweep can no longer be
953
+ hidden for a window.
954
+ - A corpus on an unwritable lock directory (container uid mismatch,
955
+ ACL deny) fails fast with the real permission error instead of
956
+ stalling 40 seconds and blaming a nonexistent concurrent writer.
957
+ - The sync digest cache follows git's racy-timestamp rule: a file
958
+ rewritten within the same filesystem timestamp tick can no longer
959
+ pin a stale hash (which would have reported in-sync while silently
960
+ never pushing the change).
961
+
962
+ - Semantic indexing silently skipped any memory file larger than the
963
+ embedding model's context window when running against newer Ollama
964
+ releases: Ollama's legacy `/api/embeddings` endpoint now errors on
965
+ over-length input instead of truncating, so the biggest (often most
966
+ important) files quietly fell out of hybrid search while keyword
967
+ search kept working. All three embed call sites now use the modern
968
+ `/api/embed` endpoint, which truncates gracefully, and a source gate
969
+ keeps the legacy endpoint from coming back.
970
+
971
+ - Scheduler catch-up runs recorded heartbeats under a synthetic job id,
972
+ so every service restart replayed the entire weekly notification
973
+ fleet (digest/decay/reverify pushes repeating near-daily). Heartbeats
974
+ now record canonically and pre-fix ledgers self-heal.
975
+ - Cross-process write locks carry an owner token and release only
976
+ their own lock: a slow (not crashed) holder whose lock was
977
+ stale-broken could previously delete the successor's lock and admit
978
+ a third concurrent writer (POSIX-only exposure).
979
+ - Transcript drop re-ingestion is idempotent in the search index
980
+ (deterministic turn ids): a crash between store-append and archive
981
+ no longer duplicates every turn on the next run.
982
+ - Three capture-pipeline concurrency bugs: concurrent same-titled
983
+ browser captures no longer collide on a per-second filename (uuid
984
+ suffix); same-stem re-drops within one second archive cleanly
985
+ (counter suffix); concurrent first-time index initializations no
986
+ longer race on the WAL journal-mode switch.
987
+ - Clip shows an "N/A" badge on browser-internal pages instead of doing
988
+ nothing, and its README starts at API-key generation.
989
+ - Re-importing an Obsidian vault no longer duplicates every note: an
990
+ unchanged note is recognized as already imported and skipped, while
991
+ a changed note still lands as a new suffixed copy (imports never
992
+ overwrite).
993
+ - On Windows, a concurrent memory writer could crash with "Permission
994
+ denied" instead of waiting its turn: creating the lock file while
995
+ the previous holder's delete was still pending raises a different
996
+ error there, which the retry loop did not treat as "busy". It does
997
+ now, with the same staleness and deadline discipline.
998
+
999
+ ### Security (quality wave 2, 2026-09-25 .. 2026-10-08)
1000
+
1001
+ - The import CLI refuses decompression bombs: the export zip's
1002
+ `conversations.json` must declare under 1 GiB inflated before it is
1003
+ read into memory (a genuine larger export can be unzipped and
1004
+ imported as JSON directly). A corrupt or truncated zip now reports
1005
+ a clean error instead of a traceback.
1006
+ - The dashboard's memory edit view no longer renders the file path as
1007
+ markup (a synced filename could carry HTML on POSIX); every
1008
+ `innerHTML` sink in the embedded UI is now inventoried and pinned
1009
+ by a test, so a new one fails the build until classified.
1010
+
1011
+ - The tier-3 secret fence now matches case-insensitively on every OS:
1012
+ `.ENV` or `server.KEY` no longer slips past sync on case-sensitive
1013
+ (Linux/macOS) filesystems. A filename with invalid UTF-8 bytes can
1014
+ no longer crash the manifest build, and a file that becomes
1015
+ unreadable between manifest and pull returns a clean per-file error
1016
+ instead of a server 500.
1017
+ - The Brain chat pane renders model output as text, never as HTML --
1018
+ closing the same stored-injection class as the earlier click-handler
1019
+ hardening (model text is steerable by corpus content).
1020
+
1021
+ - Dependency floors for the network surfaces: `starlette>=1.3.1` and
1022
+ `python-multipart>=0.0.31` are now declared directly (fastapi's own
1023
+ range permits versions with published vulnerabilities), and the MCP
1024
+ SDK floor rises to `mcp>=1.28.1`. Fresh installs can no longer
1025
+ resolve into the known-vulnerable range; `constraints.txt` already
1026
+ pinned clean versions for those who use it.
1027
+
1028
+ - Bandit triage to zero actionable: scheme allowlists on the two
1029
+ user-configurable outbound URLs (a poisoned setting can no longer
1030
+ become a `file://` read), SHA1 entity ids marked non-security,
1031
+ documented suppressions for the parameterized-SQL false positives.
1032
+ - The release builder verifies the built repository's actual commit
1033
+ identity and hard-aborts on mismatch; the dashboard auth cookie is
1034
+ test-pinned to never authenticate PUT/PATCH/DELETE or
1035
+ method-override tricks; rate-limiter buckets sweep at a ceiling so a
1036
+ caller-controlled identity header cannot grow memory unboundedly.
1037
+ - The sync hub's bind guard is test-held: a non-loopback bind with an
1038
+ empty or revoked-only device registry refuses to start, and the
1039
+ unauthenticated health endpoint is pinned to disclose nothing.
1040
+ - `docs/SECURITY-TEST-MATRIX.md` maps every README security claim to
1041
+ the exact tests that hold it, with a gate that fails the build if a
1042
+ cited test file is ever renamed or removed.
1043
+ - Stored XSS in the dashboard closed: a corpus filename (or tag,
1044
+ ticket text, session name) containing an apostrophe could execute
1045
+ as JavaScript when its row was clicked, because HTML-escaping does
1046
+ not survive the browser's entity-decode before onclick JS parses.
1047
+ Every event-handler argument is now embedded as a JSON literal and
1048
+ then HTML-escaped, and a static gate keeps the vulnerable pattern
1049
+ from returning.
1050
+
1051
+ ### Added (product-gap + quality wave, 2026-08-13 .. 2026-09-25)
1052
+
1053
+ - **Hybrid semantic search**: FTS5 fused with local embeddings
1054
+ (Ollama `nomic-embed-text`, reciprocal-rank fusion, automatic
1055
+ keyword-only degradation when embeddings are unavailable;
1056
+ `ATLAS_SEMANTIC_SEARCH=off` kill switch), plus `sextant-embed-index`
1057
+ and a nightly index-refresh job surfaced in the doctor.
1058
+ - **Importers**: `sextant-import` for Obsidian vaults, ChatGPT exports,
1059
+ and claude.ai exports, with source auto-detection.
1060
+ - **Docker path**: Dockerfile + compose recipe (`docs/HOWTO-docker.md`).
1061
+ - **Sextant Clip** (`extensions/sextant-clip/`): one-click browser
1062
+ capture of claude.ai / ChatGPT / Gemini conversations into memory via
1063
+ the dashboard's new `POST /api/inbox/conversation` (header-only auth,
1064
+ size caps); generic transcript drop-dir ingestion
1065
+ (`sextant-transcripts ingest`) accepts `.jsonl`/`.json`/`.md`/`.txt`
1066
+ from any tool.
1067
+ - **Spend visibility**: token usage captured at the provider seam for
1068
+ every Brain turn (tasks and interactive chat), Brain `GET /spend`,
1069
+ dashboard `/api/spend`, doctor "Token Spend (7d)" line; cost estimates
1070
+ from an `ATLAS_MODEL_PRICES`-extendable table (local models cost 0).
1071
+ - **Safety-gated teardown**: `sextant-uninstall` / `sextant-reset` with
1072
+ report-only default, exact-path corpus confirmation, the
1073
+ `.sextant-protect` marker, and two-phase validation (nothing is
1074
+ deleted unless every confirmation passes).
1075
+ - **Docs**: `docs/CONFIGURATION.md` (every environment variable, with a
1076
+ test that fails if a new env read ships undocumented), `docs/USAGE.md`
1077
+ rewritten as the public day-to-day MCP guide, public security-model
1078
+ section (capabilities and explicit non-goals), port-conflict and
1079
+ backup guidance, `constraints.txt` known-good pins with honesty tests.
1080
+ - **CI**: Python 3.12 lane; gating `public-package` lane (rebuilds the
1081
+ public tree, builds sdist+wheel, twine-checks, pins wheel metadata);
1082
+ gating `deps-audit` lane (pip-audit; promoted after the tree audited
1083
+ clean); stranger-journey and docs-claims tests run on every push.
1084
+
1085
+ ### Changed (2026-08-13 .. 2026-09-25)
1086
+
1087
+ - Search freshness is incremental: only changed files are re-indexed on
1088
+ the search path (measured 4.0x faster sweep; the former
1089
+ any-change-full-rebuild cliff is gone; `atlas-fts-rebuild --force`
1090
+ remains for recovery).
1091
+ - Dashboard auth: the authed page load sets an HttpOnly SameSite=Strict
1092
+ cookie accepted for GET/HEAD only -- download/export links and the
1093
+ live-update streams carry no `?key=` in URLs; mutating routes remain
1094
+ header-auth-only (no CSRF surface).
1095
+ - Auth primitives consolidated into `atlas_plus.auth` (timing-safe
1096
+ compare, bearer parsing, sliding-window rate limiter, failure log);
1097
+ web, Brain, and MCP compose from one module.
1098
+ - CLI surfaces brand by invoked name (`sextant --version`, doctor
1099
+ header, per-command help never say Atlas when invoked as sextant-*).
1100
+ - Public packaging metadata: SPDX `Apache-2.0` license expression,
1101
+ wheel metadata pinned by CI.
1102
+
1103
+ ### Fixed (2026-08-13 .. 2026-09-25)
1104
+
1105
+ - Interactive remember was dead on fresh installs (background-write
1106
+ gate + missing routing defaults) -- found by a first-run usability
1107
+ audit on a clean machine.
1108
+ - Background-write gate drift: one canonical fail-closed allowlist
1109
+ predicate everywhere, with a static regression gate (a helper
1110
+ previously wrote on `ATLAS_AUTONOMOUS=yes`).
1111
+ - Three non-atomic memory-write paths (fact append, confidence
1112
+ downgrade, contradiction marking) now go through the cross-process
1113
+ lock + atomic write-and-replace; concurrent writers proven lossless.
1114
+ - FTS search output no longer swallows matched terms (Rich markup
1115
+ escaping) and corpus text can no longer inject terminal styling.
1116
+ - Windows reserved device names (CON, NUL, ...) rejected in scopes; a
1117
+ scope like `reference:CON` previously hung the server thread.
1118
+ - `--help` is side-effect free on every command (the Telegram job
1119
+ poller used to process jobs when asked for help).
1120
+
1121
+ ### Security (2026-08-13 .. 2026-09-25)
1122
+
1123
+ - Adversarial security review of the built release tree: private-project
1124
+ executor extracted and excluded from the public build, hardcoded
1125
+ personal rosters replaced with env configuration, internal codenames
1126
+ and example names swept, and two honest disclosures added to the
1127
+ security section (initial page-load URL token; optional ntfy relay
1128
+ transits ntfy.sh unless self-hosted).
1129
+ - Dependency tree audited clean via pip-audit; quickstart and CI
1130
+ upgrade venv-bootstrap pip/setuptools so fresh environments carry the
1131
+ fixes.
1132
+
1133
+ ### Added (launch-readiness arc, 2026-08-02 .. 2026-08-12)
1134
+
1135
+ - **Sextant Sync** (new subsystem, `atlas_plus.sync`): multi-device corpus
1136
+ sync -- hub/spoke over an authenticated HTTP protocol, content-hash
1137
+ manifests with three-way diff, per-device pairing tokens (hashed at rest,
1138
+ revocable), conflict quarantine (divergent edits never overwrite; both
1139
+ sides keep evidence), federation peers with default-deny path allowlists
1140
+ and a proposed-changes inbox, and a hard code-level fence so secrets never
1141
+ sync. CLI: `sextant-sync` (serve / pair / devices / revoke / status /
1142
+ plan / sync / checkin). Docs: `docs/HOWTO-sync.md`.
1143
+ - **Self-hosting guide** (`docs/HOWTO-self-hosting.md`): whole-stack server
1144
+ deployment -- systemd units, a Tailscale-mesh recipe (recommended) and a
1145
+ public VPS recipe behind Caddy with automatic HTTPS, device wiring, and
1146
+ hardening notes.
1147
+ - **`sextant-uninstall`**: safety-first clean removal. Report-only by
1148
+ default; deletions require explicit flags plus `--yes`; removing the
1149
+ corpus additionally requires typing its exact path back; a
1150
+ `.sextant-protect` marker in a corpus root refuses deletion
1151
+ unconditionally.
1152
+ - **`sextant-reset`**: wipe an area and immediately re-scaffold it (same
1153
+ safety gates), for clean reinstall/debug loops.
1154
+ - **`sextant-*` command aliases** for the user-facing family (`sextant`,
1155
+ `-init`, `-doctor`, `-mcp`, `-web`, `-brain`, `-backup`, `-transcripts`,
1156
+ `-dream`, `-sync`, `-uninstall`, `-reset`); the `atlas-*` names remain.
1157
+ - **Scheduler outage catch-up**: nightly/weekly jobs missed while the
1158
+ machine was off are run once, staggered, at the next start
1159
+ (`ATLAS_SCHEDULER_CATCHUP=off` to disable); the doctor warns when the
1160
+ nightly family is stale.
1161
+ - **Doctor first-run visibility**: a "Memory corpus" section with an
1162
+ explicit `sextant-init` hint on empty installs; a "Sync" section
1163
+ (devices, last check-ins, pending conflicts) when sync is in use.
1164
+ - Contributor License Agreement (`CLA.md`) and a bug-report issue template.
1165
+ - Advisory CI lanes: pip-audit and bandit run non-blocking on every push.
1166
+
1167
+ ### Fixed
1168
+
1169
+ - Ticket listings treated archived tickets as live work (phantom open
1170
+ tickets fed the SLA checker and dashboards); archive directories are now
1171
+ excluded everywhere and ticket IDs are never recycled.
1172
+ - The dashboard's service-control endpoints ran a blocking PowerShell call
1173
+ on the event loop, stalling all clients for seconds at a time.
1174
+ - Unbounded growth: per-IP auth-failure tracking on the MCP server, the
1175
+ sync audit trail, and service log files (size-based rotation) are all
1176
+ capped now.
1177
+ - Piped doctor output crashed with a Unicode error on Windows consoles.
1178
+ - `requires-python` claimed 3.10 support while the code imports `tomllib`
1179
+ (3.11+); the floor is now stated truthfully everywhere.
1180
+ - Silent exception swallows in the nightly contradiction/reflexion ticket
1181
+ paths now log warnings instead of hiding failures.
1182
+
1183
+ ### Launch cleanup (Sextant public repo, 2026-07-27)
1184
+
1185
+ - docs/ curation: the public cut now ships an explicit re-include list only
1186
+ (ARCHITECTURE, USAGE, DECAY-AS-BEHAVIOR, INSPIRATION-ENGINE, six HOWTOs,
1187
+ seven ADRs). Internal sprint plans, competitive intel, threat plans,
1188
+ work summaries, QUICKSTART (machine-specific runbook), AGENTS.md,
1189
+ HUMANBLOCKERS.md, WhereFromHere.md, uv.lock, output/, and the personal ops
1190
+ scripts no longer ship.
1191
+ - Builder genericizes retained docs at build time (workspace paths and the
1192
+ internal project label); private docs stay operator-accurate.
1193
+ - Public packaging identity: distribution renamed `sextant-cp` in the built tree
1194
+ (import stays `atlas_plus`), description/keywords/classifiers/[project.urls]
1195
+ injected by the builder.
1196
+ - Release gate hardened: names category is now case-insensitive (a lowercase
1197
+ ntfy-topic leak got through), new `workspace-path` category, prefix-capable
1198
+ allowlist; the builder itself no longer ships (it carries the patterns).
1199
+ - New public-facing files: CONTRIBUTING.md, SECURITY.md, GitHub Actions CI
1200
+ (windows-latest, full suite).
1201
+ - src docstring/comment sweep: remaining literal workspace-path examples
1202
+ genericized; `bulk_archive_tickets.py` now resolves the memory root via
1203
+ `atlas_plus.paths` instead of a hardcoded default.
1204
+
1205
+ ### Release prep (Sextant public fork, 2026-07-05)
1206
+
1207
+ - Public name DECIDED: **Sextant** (ATL-022; "Sanctuary" was retired for the
1208
+ Sanctuary AI collision). License DECIDED: **Apache-2.0** -- LICENSE (verbatim
1209
+ 2.0 text) + NOTICE (Protechtus LLC) added; `license` metadata in pyproject.
1210
+
1211
+ - The `atlas-memory` kernel `file:///` path dependency moved out of the core
1212
+ dependency list into an optional `[kernel]` extra (it was a phantom -- zero
1213
+ imports anywhere). The package now installs on machines that are not this one.
1214
+ - Operator identity parameterized: new `atlas_plus.identity` resolves the identity
1215
+ file (`ATLAS_IDENTITY_PATH` -> `identity/user.md` -> first `identity/*.md`) and
1216
+ display name (`ATLAS_USER_NAME` -> frontmatter `title:` -> generic). Brain system
1217
+ prompt, prime hook, and session_start hook use it; personal-name and employer
1218
+ references swept out of `src/` docstrings and comments.
1219
+ - Cross-platform path defaults: new `atlas_plus.paths` resolves workspace, memory,
1220
+ state, projects, and updates paths (env var -> legacy-workspace autodetect ->
1221
+ home-relative). ~100 hardcoded workstation-path fallbacks across ~50 modules replaced;
1222
+ `ATLAS_UPDATES_FILE` and `ATLAS_WORKSPACE_ROOT` are now honored everywhere.
1223
+ - Deploy snippets templated (`<ATLAS_PLUS_DIR>` etc. in the Claude config snippets
1224
+ and stop hook); `run-weekly-status.ps1` is self-locating; personal name removed
1225
+ from deploy comments and the Task Scheduler XML. Remaining: the operational
1226
+ `deploy/*.ps1` fleet still hardcodes the local workspace (live Task Scheduler
1227
+ targets -- convert alongside a service restart window, not blind).
1228
+ - Clean-machine boot gate: `scripts/boot-test-clean.ps1` clones to a temp dir,
1229
+ scrubs ATLAS_* env + HOME, fresh venv, installs without the kernel extra, and
1230
+ exercises imports, both session hooks, console scripts, and a unit subset --
1231
+ 9/9 PASS on 2026-07-05 (the Sprint 3 exit criterion).
1232
+ - Sanitization inventory (`docs/SANITIZATION-INVENTORY-2026-07-05.md`) +
1233
+ `scripts/release_gate.py` personal-identifier gate for the public push
1234
+ (baseline 276 hits, zero live secrets); runtime-code scrubs done: transcript
1235
+ watcher DEFAULT_ROOT home-relative, temporal fixture domain genericized.
1236
+ - SCRUB EXECUTED, both gates green: `scripts/public_exclude.txt` (canonical
1237
+ not-shipped list, gitignore-style, shared by the gate and the future public
1238
+ repo builder) + `scripts/scrub_public_docs.py` (persona swap in test
1239
+ fixtures, operator/placeholder rules in docs; 66 files). release_gate.py now
1240
+ reports CLEAN over shippable files; `gitleaks git .` clean over all 514
1241
+ commits with `.gitleaks.toml` allowlisting the two redaction tests that
1242
+ plant synthetic secrets by design.
1243
+
1244
+ ### Added
1245
+
1246
+ - `atlas-plus` namesake umbrella CLI (overview, `--version`, `commands` discovery of the
1247
+ installed atlas-* family) and `atlas-transcripts` CLI (`list` / `search` / `recover`
1248
+ over the transcript index) -- both console scripts previously pointed at modules that
1249
+ were never built and were DOA on install.
1250
+ - Entry-point validation test: every `[project.scripts]` target must import and resolve.
1251
+ - atlas-doctor: tunnel + policy-gate checks; operator secret-rotation checklist (ATL-007).
1252
+
1253
+ ### Fixed
1254
+
1255
+ - `atlas-fts-rebuild` console script (pointed at a nonexistent `fts:__main__`; now a
1256
+ proper `main()` that forces a rebuild and exits 0). Stale `atlas-bootstrap` entry
1257
+ removed (the package was never built).
1258
+ - sqlite connection leak in Brain `worker_detail()` on the error path.
1259
+ - Scheduler `_sla_check` crash + stuck-alert state on a malformed `started_at`.
1260
+ - ticket_sync executor shredded every Windows repo path (`replace(":", ";")` split
1261
+ drive letters, so a Windows drive path split into its drive letter and the rest); repo lists are now
1262
+ `;`-separated only, with a regression test pinning intact `cwd` paths.
1263
+
1264
+ ### Security
1265
+
1266
+ - Redaction (ATL-017): JSON-shaped and quoted secrets (`{"api_key": "..."}`,
1267
+ `token='...'`) now redact -- the value pattern previously excluded quotes, so the
1268
+ dominant secret shape in Brain task results passed through unmasked. Pasted
1269
+ provider-prefixed keys (`sk-...`, `ghp_`, `github_pat_`) now redact even when they
1270
+ are not this machine's own env values. `RCLONE_CONFIG_PASS` added to the masked
1271
+ env-value list.
1272
+ - The `ATLAS_AUTONOMOUS` kill switch is now a fail-closed allowlist (`on`/`1`/`true`);
1273
+ previously any garbage value (e.g. a typo) silently failed OPEN and allowed
1274
+ autonomous writes.
1275
+ - ntfy inbound listener survives non-ASCII messages: a single emoji message on the
1276
+ (world-publishable) command topic raised TypeError in the constant-time compare and
1277
+ tore down the stream -- an outsider-inducible connection flap. Auth now compares
1278
+ bytes, and per-message failures are isolated from the stream loop.
1279
+ - Telegram allowlist gate fails closed on an empty set (was: allow everyone; only
1280
+ reachable by bypassing main()'s startup guard, but a fail-open trap).
1281
+ - Job poller: the Brain-fallback write-back watcher polled a garbage task id parsed
1282
+ from a display string (broken on the happy path), leaving every Brain-fallback
1283
+ ticket silently stuck in-progress. The id now flows as data; a dead watcher (404)
1284
+ writes back "blocked" visibly.
1285
+
1286
+ ### Performance
1287
+
1288
+ - Excluded the reference/research mirror (~54% of the corpus) from memory_server
1289
+ FTS/search/list/catalog/topics AND from all curation walks; orphan inbound-ref map
1290
+ tokenized (123 s -> 1.1 s); doctor `collect()` parallelized with per-check isolation
1291
+ (~98 min -> seconds-scale).
1292
+
1293
+ ---
1294
+
1295
+ ## [0.17] -- TUI ecosystem integration, deep test coverage, docstring 100%, temporal graph full-stack
1296
+
1297
+ **Theme:** Achieve 100% public-function docstring coverage; complete the temporal graph across
1298
+ all five access interfaces (CLI, Brain REPL, Web UI, Telegram, MCP); wire the operator's
1299
+ TUI companion apps into Brain; and run a
1300
+ sustained coverage sprint that pushed the test suite past 3,270 tests.
1301
+
1302
+ ### Added
1303
+
1304
+ - Temporal graph accessible from all interfaces: CLI (`--json`, `entities` command),
1305
+ Brain REPL (`/temporal-search`, `/temporal-history`, `/temporal-entities`),
1306
+ Telegram (`/temporal_search`, `/temporal_stats`, `/temporal_history`, `/temporal_rebuild`),
1307
+ Web UI (`/api/temporal/history`, `/api/temporal/entities`), and MCP
1308
+ (`temporal_entities_tool`, `temporal_history_tool`, `temporal_search_tool`, `temporal_build_tool`).
1309
+ - TUI ecosystem Brain wiring: `atlas_tui.BrainClient` + `get_brain_client()` factory;
1310
+ Brain proxy endpoints `GET /memory/search` + `POST /memory/remember`; companion TUI apps
1311
+ send session events, record domain facts, and queue agent tasks.
1312
+ - suggest-facts pipeline: `skip_similar_threshold` Jaccard deduplication parameter;
1313
+ configurable `ATLAS_SUGGEST_CONFIDENCE_THRESHOLD` env var; `--threshold` flag across
1314
+ CLI, curation, Brain REPL, and Web API.
1315
+ - Web UI Memory tab: Next Actions panel, Curation Health card, Untagged by Scope panel,
1316
+ Convergence Flags panel; `/api/memory/suggest-facts` and `/api/memory/suggest-tags`
1317
+ endpoints; Temporal Stats staleness warning.
1318
+ - Brain CLI: `/decay-report`, `/temporal-rebuild`, `/suggest-facts`, `/suggest-tags`,
1319
+ `/queue-research`, `/next-actions`, `/gap-report`, `/curation-report`, `/session-log`
1320
+ commands; `/health` shows temporal staleness warning.
1321
+ - Telegram: `/decay_report`, `/temporal_rebuild`, `/suggest_facts`, `/suggest_tags`,
1322
+ `/next_actions`, `/curation_report`, `/session_log`, `/gap_report` commands; long-output
1323
+ `_reply_long()` splits at the 4,096-char Telegram limit (fixes BadRequest crash).
1324
+ - `atlas-doctor` TUI Activity panel (scans `.memory/sessions/` for per-app event counts);
1325
+ `check_research_gaps()` gap tickets panel.
1326
+ - Policy gate `warn_only` parameter: denied/unavailable logs a warning and proceeds
1327
+ (completes the SHOULD-gate of the write-policy contract).
1328
+ - Brain server `GET /tasks/export` endpoint (CSV + JSON, capped at 500 rows).
1329
+ - WebSocket/SSE chat streaming: `POST /chat/stream` SSE relay; browser shows live
1330
+ tool-call progress; `progress_fn` fires `tool_call` events.
1331
+ - `docs/TUI-INTEGRATION.md` integration guide; `ARCHITECTURE.md` and `README.md`
1332
+ public-polish passes (generic tagline, env var table, architecture diagram, accurate counts).
1333
+
1334
+ ### Fixed
1335
+
1336
+ - Brain `server.py`: removed three undeclared `_check_auth()` calls in `/workers`,
1337
+ `/worker/health`, `/session/{id}/export` that caused NameError -> 500.
1338
+ - Telegram `cmd_curation_report`, `cmd_temporal_rebuild`, `cmd_next_actions`, `cmd_session_log`
1339
+ now use `asyncio.to_thread` (async correctness); duplicate imports removed; positional
1340
+ arg bug fixed in `cmd_session_log`.
1341
+
1342
+ ### Changed
1343
+
1344
+ - 100% public-function/class docstring coverage achieved across 50+ files.
1345
+ - Test suite grown from ~2,015 to 3,270+ tests, covering every `check_*` doctor function,
1346
+ all Telegram `cmd_*` functions, and zero-to-full coverage for curation submodules
1347
+ (`decay`, `orphan`, `ref_graph`, `contradictions`, `link_check`, `tag_suggest`,
1348
+ `rederive`, `suggest_facts`, `duplicates`, `stale`, `weekly_report`) and MCP tool internals.
1349
+
1350
+ ---
1351
+
1352
+ ## [0.16] -- Research quality pipeline, gap-report automation, curation CLI completeness
1353
+
1354
+ **Theme:** Close the research-gap -> ticket -> research loop end-to-end; add research quality
1355
+ as a first-class observable; reach full test coverage for dispatcher, curation, and Telegram.
1356
+
1357
+ ### Added
1358
+
1359
+ - Dashboard Research Quality panel (`/api/research-quality-panel`, 60 s HTMX refresh).
1360
+ - Brain CLI `/research-gaps [N]` and Telegram `/research_gaps [N]`: miss queries with
1361
+ ticket and report coverage; `--autoticket` flag files ATL tickets for uncovered gaps.
1362
+ - Brain CLI `/gap-report [--watch] <topic>` and Telegram `/gap_report <topic>`:
1363
+ queue `research_gap` task from REPL or mobile.
1364
+ - Telegram `/research_quality [topic]` topic filter (scans report frontmatter/filename).
1365
+ - Web UI Memory tab Untagged by Scope panel (`/api/memory/untagged-scopes`, HTMX).
1366
+ - `check_untagged_by_scope()` in atlas-doctor + scope breakdown in weekly digest.
1367
+
1368
+ ### Fixed
1369
+
1370
+ - Dispatcher: `classify_result_quality()` heuristic now correctly routes `research_gap`
1371
+ ticket titles to the `research_gap` executor kind.
1372
+
1373
+ ### Changed
1374
+
1375
+ - Full test coverage for `dispatcher.py`, Telegram `commands.py` (all `cmd_*` functions),
1376
+ and the curation stale/duplicates/weekly_report modules.
1377
+ - `PLAN-v0.16.md` created; `ARCHITECTURE.md` updated with the research_gap kind and new
1378
+ Telegram/Brain CLI commands.
1379
+
1380
+ ---
1381
+
1382
+ ## [0.15] -- Ntfy task completions, research quality gate, scope tagging, system health from Telegram
1383
+
1384
+ **Theme:** Close the research pipeline with a quality gate and retry; surface system health
1385
+ from mobile; automate the gap-to-ticket flow.
1386
+
1387
+ ### Added
1388
+
1389
+ - Worker ntfy push on task completion (`ATLAS_NTFY_COMPLETIONS=on`): high-priority
1390
+ notification when a task is done or failed.
1391
+ - `research_gap` executor: extracts topic from ticket title, calls `run_research()`,
1392
+ handles dedup (marks done on ValueError) and failure.
1393
+ - Research retry on low quality: `_retry_low_quality()` step in `run_research()`, gated by
1394
+ `ATLAS_RESEARCH_RETRY=on`; re-runs synthesis with a stricter prompt when the initial
1395
+ `quality_score` falls below `ATLAS_RESEARCH_RETRY_THRESHOLD`.
1396
+ - Telegram `/sys_health` (alias `/health`): compact health snapshot (services, worker,
1397
+ memory confirmed%/tagged%, pending facts, exhausted tasks).
1398
+ - `stale_running` count in `task_stats()` (running tasks with heartbeat >30 min old).
1399
+ - `check_untagged_by_scope()` in atlas-doctor; `--autoticket` flag in curation gaps;
1400
+ weekly digest untagged-file hint when `untagged_files > 10`.
1401
+
1402
+ ---
1403
+
1404
+ ## [0.14] -- Task telemetry, exhausted-task tracking, Brain CLI /plan and /recent
1405
+
1406
+ **Theme:** Make the task lifecycle fully observable: attempt history, exhausted-retry
1407
+ tracking, a plan view, and per-task retry status surfaced everywhere.
1408
+
1409
+ ### Added
1410
+
1411
+ - Task attempt telemetry: `task_attempts` SQLite table; `record_task_attempt()` +
1412
+ `list_task_attempts()`; worker records a row after every execution; Brain CLI `/task <id>`
1413
+ shows the attempt-history table.
1414
+ - Exhausted task tracking: `list_exhausted_tasks()` and `check_exhausted_tasks()`;
1415
+ Brain CLI `/exhausted`; Telegram `/exhausted`; Web UI exhausted badge; `exhausted_total`
1416
+ in `/tasks/stats`.
1417
+ - Brain CLI `/plan [N]` and Telegram `/dispatch_plan`: dispatch-eligible todo tickets
1418
+ ranked by priority. Brain CLI `/recent [N]` and Telegram `/recent_tasks [N]`.
1419
+ - Worker heartbeat monitoring: `update_heartbeat()` + `_HeartbeatKeeper` daemon thread
1420
+ renews the lease every `ATLAS_WORKER_HEARTBEAT_INTERVAL` seconds.
1421
+ - Research quality gate: `_apply_quality_gate()` checks word count and zero-citation
1422
+ conditions; writes `quality_gate_passed:` / `quality_gate_flags:` frontmatter.
1423
+ - Auto-session-log scheduler job (daily 23:30 UTC); `atlas-sprint-summary write-session-log` CLI.
1424
+
1425
+ ### Changed
1426
+
1427
+ - `ARCHITECTURE.md` updated (task_attempts table, heartbeat keeper, auto-session-log,
1428
+ new env vars); `the Testing section of docs/ARCHITECTURE.md` synced.
1429
+
1430
+ ---
1431
+
1432
+ ## [0.13] -- Research dedup body-recall, atlas-doctor summary, Brain CLI coverage sprint
1433
+
1434
+ **Theme:** Harden the research pipeline (dedup, quality gate, retry), make atlas-doctor
1435
+ comprehensive, and reach full Brain CLI test coverage.
1436
+
1437
+ ### Added
1438
+
1439
+ - Research dedup body-recall: a secondary signal in `find_similar_research_reports()`
1440
+ (fraction of topic tokens in the first ~300 body words * 0.6) catches differently-titled
1441
+ reports on the same topic.
1442
+ - `atlas review-memory summary`: aggregate memory-health dashboard (total files, confirmed%,
1443
+ tagged%, avg health, orphan candidates, hub files, stale confirmed).
1444
+ - `suggest-tags` summary stats (`no_suggestion_count` + `already_tagged_count`).
1445
+ - Full Brain CLI command test coverage (30+ commands).
1446
+
1447
+ ### Fixed
1448
+
1449
+ - `write-session-log` "today"/"yesterday": `_is_date()` extended to match
1450
+ `YYYY-MM-DD HH:MM:SS` for correct git date filtering.
1451
+ - Brain CLI `/research-index` `ValueError` on a 5-element tuple unpack after the tuple
1452
+ grew to 6 fields.
1453
+
1454
+ ---
1455
+
1456
+ ## [0.12] -- Sprint summary generator, memory reference graph, escalation fixes
1457
+
1458
+ **Theme:** Instrument the build process itself (sprint summary), add memory-graph topology
1459
+ (hub detection), and harden the escalation + dispatch pipeline.
1460
+
1461
+ ### Added
1462
+
1463
+ - Sprint summary generator (`sprint_summary.py` + `atlas-sprint-summary` CLI): parses git
1464
+ log by sprint tag, extracts test counts, emits table/agents-md/session-log/JSON.
1465
+ - Memory reference graph: `ref_graph.py` (`find_hub_files()`); `atlas review-memory ref-graph`;
1466
+ `check_ref_graph()` in atlas-doctor; Brain CLI `/loop`.
1467
+ - Research abstract injection (`## Summary` -> `abstract:` frontmatter) and cross-links
1468
+ column (`cross_ref_count`) in research-index.
1469
+ - `test_brain_server.py` (37 tests: auth middleware, health, dispatch-stats, scheduler,
1470
+ routing, credit, rate-limit).
1471
+
1472
+ ### Fixed
1473
+
1474
+ - Escalation: `verify` and `claude_supervisor` added to `_NON_AGENT_KINDS` so verify
1475
+ failures reopen the ticket rather than spawning a new Claude Code escalation task.
1476
+
1477
+ ### Changed
1478
+
1479
+ - `README.md` complete rewrite: automation-loop diagram, all services, Brain CLI commands,
1480
+ scheduler jobs, docs table, MCP tools table.
1481
+
1482
+ ---
1483
+
1484
+ ## [0.11] -- Ticket reopen tracking, memory orphan detection, verify pipeline
1485
+
1486
+ **Theme:** Close the automated verify loop (run pytest after agent completion) and make
1487
+ orphaned memory files and chronically-reopened tickets first-class observables.
1488
+
1489
+ ### Added
1490
+
1491
+ - Auto-verify pipeline: `_verify` executor runs the full pytest suite; `create_verify_task()`
1492
+ queues verify after agent completion (`ATLAS_VERIFY_TICKETS=on`);
1493
+ `_reopen_ticket_from_verify_failure()` reopens the ticket on test failure; verify badge in
1494
+ the Web UI ticket board.
1495
+ - Memory orphan detection: `orphan.py` composite `orphan_score`; `atlas review-memory orphans`;
1496
+ `check_orphans()`; Brain CLI `/orphans`; Telegram `/orphans`.
1497
+ - Ticket reopen count: `Ticket.reopen_count` incremented on every todo transition; Web UI
1498
+ "Reopened Nx" badge; atlas-doctor `high_reopen` list (>= 3x).
1499
+ - Research cross-links: `inject_cross_refs()` scans `references:` URLs against
1500
+ `.memory/reference/`.
1501
+
1502
+ ### Changed
1503
+
1504
+ - `ATLAS_RESEARCH_DEDUP_DAYS` env var drives `run_research()` `max_age_days` (default 30).
1505
+
1506
+ ---
1507
+
1508
+ ## [0.10] -- Automated ticket dispatch, quality gate, dispatch observability
1509
+
1510
+ **Theme:** Fully automate the ticket -> task -> result -> reopen loop with quality scoring,
1511
+ SLA alerting, and a dedicated dispatch-stats panel.
1512
+
1513
+ ### Added
1514
+
1515
+ - Automated ticket dispatcher (`dispatcher.py`): `_ticket_dispatch` scheduler job (every
1516
+ 10 min); agent + priority maps; marks ticket in-progress after dispatch.
1517
+ - Result quality gate: `classify_result_quality()` 0-10 score; `reopen_ticket_if_low_quality()`
1518
+ reopens when score < `ATLAS_TICKET_QUALITY_THRESHOLD`; wired into `worker._finish_task()`.
1519
+ - Dispatch observability: `GET /dispatch-stats`; Web UI dispatch-stats badge;
1520
+ `check_dispatcher()` in atlas-doctor; ntfy push on dispatch.
1521
+ - Verifier executor (`_verify`) auto-queued after agent completion.
1522
+
1523
+ ---
1524
+
1525
+ ## [0.9] -- Research index CLI, freshness scoring, memory file health, link validation
1526
+
1527
+ **Theme:** Make the research library self-maintaining: index it, score freshness, check
1528
+ link rot, score file health, and surface gaps as auto-filed tickets.
1529
+
1530
+ ### Added
1531
+
1532
+ - `atlas review-memory research-index` (date/score/citations/words; `--since`, `--min-score`,
1533
+ `--sort`, `--json`); Brain CLI `/research-index`.
1534
+ - Research freshness score (`compute_freshness_score()` linear decay 1.0 today -> 0.0 at
1535
+ 365 days) injected to frontmatter.
1536
+ - Memory file health score (`compute_file_health()` composite of tags + confirmed + updated
1537
+ + confidence); `atlas review-memory health-score`.
1538
+ - Research link validation: `check_url()` HEAD+GET fallback; concurrent `check_report_links()`;
1539
+ `remove_broken_links()` `--fix`.
1540
+ - Memory tag auto-suggestion (`tag_suggest.py`) + nightly scheduler job (04:15 UTC).
1541
+ - Weekly Brain digest push (Monday 09:00 UTC) via ntfy.
1542
+
1543
+ ### Fixed
1544
+
1545
+ - Agent dedup: `ValueError` on duplicate research now marks the task done (not failed).
1546
+ - `_topic_tokens()` hyphen-split fix (`[a-zA-Z]{4,}`).
1547
+
1548
+ ---
1549
+
1550
+ ## [0.8] -- Research quality scoring, citation tracking, result digests, memory trends
1551
+
1552
+ **Theme:** Give every research report a deterministic quality score and provenance trail;
1553
+ add a memory-trend time series; surface Brain task result digests.
1554
+
1555
+ ### Added
1556
+
1557
+ - Research quality scoring (`score_research_report()` deterministic 0-1) + nightly backfill
1558
+ (04:10 UTC).
1559
+ - Research citation tracking (`extract_report_citations()` + `references:` frontmatter).
1560
+ - Research topic deduplication (`find_similar_research_reports()` Jaccard `threshold=0.5`;
1561
+ `--force` bypass).
1562
+ - Fact provenance trail: `session_id`/`task_id` on `append_fact()` + `memory_remember()`;
1563
+ `source_session:`/`source_task:` frontmatter; `memory_remember_tool_v2`.
1564
+ - Memory trends: daily job (04:05 UTC) appends to `.atlas/memory-trends.jsonl`; atlas-doctor
1565
+ Memory Quality panel sparkline + delta.
1566
+ - Brain task result digest (`result_digest` column; Qwen3:1.7b, `ATLAS_DIGEST_RESULTS=on`).
1567
+ - Memory git autocommit (`ATLAS_MEMORY_AUTOCOMMIT=on`).
1568
+
1569
+ ---
1570
+
1571
+ ## [0.7] -- Memory topic index, duplicate detection, Brain session export, Telegram memory access
1572
+
1573
+ **Theme:** Give memory a topology (topic cloud/index) and add self-service memory access
1574
+ from Telegram and Brain CLI export.
1575
+
1576
+ ### Added
1577
+
1578
+ - Memory topic index (`_build_topic_index()`; `/api/memory/topics`; `memory_topics_tool`).
1579
+ - Duplicate fact detection in `memory_remember_tool` (`_jaccard()` + `_find_duplicate()`,
1580
+ FTS search, Jaccard >= 0.45; `possible_duplicate` in response).
1581
+ - Brain session export (`session_export_markdown()`; `GET /session/{id}/export`).
1582
+ - Telegram `/memory <query>` (FTS5 search) and `/confirm <path>`.
1583
+ - Confidence decay for stale confirmed facts (`downgrade_stale_confirmations()`;
1584
+ `_unconfirmed_decay_weekly` job, Sunday 03:40 UTC).
1585
+ - Web UI dark/light theme toggle.
1586
+
1587
+ ### Fixed
1588
+
1589
+ - `json.dumps(default=str)` handles PyYAML date objects in the `last_confirmed` column.
1590
+
1591
+ ---
1592
+
1593
+ ## [0.6] -- Automated DB backup, task deduplication, FTS confirmed-fact scoring, anti-memory propagation
1594
+
1595
+ **Theme:** Make memory writes self-protecting (dedup, anti-propagation, DB backup) and add a
1596
+ per-worker health API.
1597
+
1598
+ ### Added
1599
+
1600
+ - `atlas-db-backup` CLI (WAL-safe `VACUUM INTO`; list/restore/prune/status); daily job
1601
+ (02:00 UTC); `check_db_backup()`; `ATLAS_DB_BACKUP_KEEP` (default 14).
1602
+ - Task dedup at `/task` (`find_duplicate_pending()` before `create_task()`).
1603
+ - FTS re-ranking blends BM25 65% + mtime 20% + `last_confirmed` 15% (safe column migration).
1604
+ - Anti-memory propagation (`propagate_anti_rejection()` flags keyword-matching files with
1605
+ `anti_flagged: true`).
1606
+ - `worker_detail()` per-worker stats; `GET /worker/health`; `check_worker_detail()`.
1607
+
1608
+ ### Fixed
1609
+
1610
+ - FTS ESCAPE bug: corrected single-quote escaping (now uses a pipe escape char).
1611
+ - Confidence decay correctly skips no-`last_confirmed`, already-low, archive, and
1612
+ recently-confirmed files.
1613
+
1614
+ ---
1615
+
1616
+ ## [0.5] -- Brain CLI 45+ commands, SLA alerting, Telegram /watch, Claude Code escalation
1617
+
1618
+ **Theme:** Promote the Brain REPL to a full operational console; add SLA-breach alerting and
1619
+ escalation to Claude Code for complex failures.
1620
+
1621
+ ### Added
1622
+
1623
+ - Claude Code escalation pipeline (`escalation.py`: failure/quality gates, circuit breaker);
1624
+ Telegram `/claude` + `/supervisor`; Web UI Ask Claude panel; `claude-supervisor` weekly
1625
+ executor.
1626
+ - SLA alerting: `_sla_check()` scheduler job (every 10 min); `ATLAS_SLA_MINUTES`; ntfy
1627
+ high-priority push on breach; atlas-doctor SLA panel.
1628
+ - Brain CLI promoted to 45+ commands (tasks/submit/approve/reject/search/agents/sessions/
1629
+ browse/save/stats/priority/retry/escalate/kill/watch/verify/export-session ...).
1630
+ - Telegram `/watch <task_id>` (polls every 15 s to terminal state).
1631
+ - Scope inference for extracted facts (`_infer_scope()`).
1632
+ - FTS5 semantic re-ranking (BM25 0.75 + recency 0.25 + 1.2x authority boost), scores 0-1.
1633
+
1634
+ ### Fixed
1635
+
1636
+ - FTS5 dedup collapses same-path multi-matches to the highest-scoring row.
1637
+ - `/search` confidence-band display (was a dead code path).
1638
+
1639
+ ---
1640
+
1641
+ ## [0.4] -- Convergence pipeline, stale decisions, re-derivable detection, 1000-test milestone
1642
+
1643
+ **Theme:** Build the full memory curation pipeline (convergence scanning, stale-decision
1644
+ review, re-derivable fact detection) and run a broad coverage sprint to 1,000 tests.
1645
+
1646
+ ### Added
1647
+
1648
+ - Convergence integration (`check_convergence()`; `/convergence`; `convergence_report`
1649
+ executor; nightly job Sunday 03:35 UTC).
1650
+ - Stale Decisions tracking (`atlas review-memory decisions`, flags >90-day unreviewed;
1651
+ `check_decisions()`; Web UI panel).
1652
+ - Re-derivable memory detector (`atlas review-memory rederive`; `check_rederivable()`).
1653
+ - Mining-source auto-trigger in the Stop hook (`ATLAS_DISABLE_TRANSCRIPT_MINING=1` kill switch).
1654
+ - New test modules reaching the 1,000-test milestone (session_patterns, memory_agent,
1655
+ temporal_graph_scoring, contradictions, hook_entry, renderer, search_log, anti, fts,
1656
+ versioning).
1657
+
1658
+ ### Fixed
1659
+
1660
+ - `session_patterns.py`: fixed `build_cooccurrence` return-type ambiguity; removed a dead
1661
+ `isinstance` guard in `save_patterns`.
1662
+
1663
+ ---
1664
+
1665
+ ## [0.3] -- Session narrative, routing stats, Web UI expansions, research web search
1666
+
1667
+ **Theme:** Expand the Brain's self-awareness: cross-session narrative, routing observability,
1668
+ research web search, and transcript mining.
1669
+
1670
+ ### Added
1671
+
1672
+ - Session narrative (`session_narrative.py`: open loops, direction signals, energy; weekly
1673
+ job Sunday 03:55 UTC; Web UI panel; `atlas review-memory narrative`).
1674
+ - Routing stats (`GET /routing/stats`; Web UI Agents-tab panel; `/diagnostic` routing stats).
1675
+ - atlas-doctor worker liveness check (`check_worker_status()`).
1676
+ - Research agent web search (DDG Instant Answer + SearXNG; `ATLAS_RESEARCH_WEB_SEARCH=on`;
1677
+ result cache).
1678
+ - Curation gaps `--autofile` (stub `.memory/gaps/` files); `TranscriptMiningSource`;
1679
+ `atlas review-memory convergence`.
1680
+ - Epistemic provenance: `memory_confirm_tool` + `confirm_fact()` + `mark_contradiction()`
1681
+ (`first_observed`, `source`, `confidence`, `last_confirmed`).
1682
+ - `docs/ARCHITECTURE.md` created.
1683
+
1684
+ ### Fixed
1685
+
1686
+ - `date.today()` UTC/local drift in `routing.py`.
1687
+ - `web/app.py` double-error bug (error shown over result).
1688
+ - Memory path traversal in `memory_confirm` (`_safe_resolve()`).
1689
+ - Malformed-JSON crash: Ollama 200 + bad body now raises `ValueError`.
1690
+
1691
+ ### Changed
1692
+
1693
+ - Ticket loop closed (task done/failed/blocked -> ticket done/todo/blocked); assignee wired
1694
+ as agent hint; smart routing default on; `ATLAS_LOCAL_ONLY` mode.
1695
+ - `list_tasks()` gains `sort_by` + `sort_desc` + rowid tiebreaker.
1696
+
1697
+ ---
1698
+
1699
+ ## [0.2] -- Brain v0.2, MCP memory server, session summarizer, opt-in remembering
1700
+
1701
+ **Theme:** Build the core Atlas stack: MCP memory server, Brain agent (Qwen3, 8-agent
1702
+ registry), session summarizer, opt-in fact extraction, and harden the foundation.
1703
+
1704
+ ### Added
1705
+
1706
+ - MCP read-only memory server (`atlas_plus.mcp.memory_server`) with the memory list/read/
1707
+ frontmatter/search/remember/anti/decision tools.
1708
+ - Session summarizer (`atlas-summarize-session`): Stop hook writes `.memory/sessions/` +
1709
+ `updates.txt`; git diff captured to `.atlas/fsdiffs/`.
1710
+ - Brain v0.2: local Qwen3 orchestration agent, async task system, 8-agent registry,
1711
+ Web UI v0.5.0 (7 tabs), self-improvement loop, credit fallback to Claude Haiku.
1712
+ - Decision memory type (`memory_remember_decision_tool`: `revisit_if`, `conditions`,
1713
+ `alternatives_rejected`); routing.yaml decision/constraint/observation scopes.
1714
+ - Task-to-memory pipeline (`PendingFacts` table + Web UI panel; high-confidence
1715
+ claude-code facts auto-approved at >= 0.95).
1716
+ - FTS5 full-text search (confidence bands, miss logging, LIKE-wildcard escaping,
1717
+ `_safe_resolve()` path-traversal guard).
1718
+ - Personas framework; skills/runbooks tools; `project_state_tool`; ticket system tools.
1719
+ - `ATLAS_AUTONOMOUS` kill switch enforced at all write primitives.
1720
+
1721
+ ### Fixed
1722
+
1723
+ - Ollama tags fetched once per refresh (N -> 1) via a 15 s TTL cache.
1724
+ - OpenCode exception handling; `run-brain` env source fix.
1725
+
1726
+ ### Security
1727
+
1728
+ - Brain and Web UI bound to loopback with fail-closed Bearer auth (`hmac.compare_digest`);
1729
+ Cloudflare named tunnel + Access Layer 1 (email + service-token policy, default-deny).
1730
+ - Backups use the crypt remote (`gdrive_crypt:`); `_SECRET_PATTERNS` hard-excludes Tier 3
1731
+ files regardless of caller.
1732
+ - `ATLAS_PARANOID=1` gates JWT/RSA enrollment (off by default).