thinqos 1.0.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 (67) hide show
  1. thinqos-1.0.0/.gitignore +48 -0
  2. thinqos-1.0.0/CHANGELOG.md +476 -0
  3. thinqos-1.0.0/PKG-INFO +247 -0
  4. thinqos-1.0.0/README.md +228 -0
  5. thinqos-1.0.0/pyproject.toml +56 -0
  6. thinqos-1.0.0/src/thinqos_capture/__init__.py +12 -0
  7. thinqos-1.0.0/src/thinqos_capture/__main__.py +8 -0
  8. thinqos-1.0.0/src/thinqos_capture/adapters/__init__.py +9 -0
  9. thinqos-1.0.0/src/thinqos_capture/adapters/claude_code.py +389 -0
  10. thinqos-1.0.0/src/thinqos_capture/adapters/codex.py +353 -0
  11. thinqos-1.0.0/src/thinqos_capture/attribution.py +16 -0
  12. thinqos-1.0.0/src/thinqos_capture/cli.py +2743 -0
  13. thinqos-1.0.0/src/thinqos_capture/client.py +399 -0
  14. thinqos-1.0.0/src/thinqos_capture/denylist.py +47 -0
  15. thinqos-1.0.0/src/thinqos_capture/filelock.py +54 -0
  16. thinqos-1.0.0/src/thinqos_capture/hook.py +1752 -0
  17. thinqos-1.0.0/src/thinqos_capture/importer.py +222 -0
  18. thinqos-1.0.0/src/thinqos_capture/incremental.py +165 -0
  19. thinqos-1.0.0/src/thinqos_capture/logsetup.py +58 -0
  20. thinqos-1.0.0/src/thinqos_capture/primecache.py +263 -0
  21. thinqos-1.0.0/src/thinqos_capture/secretstore.py +76 -0
  22. thinqos-1.0.0/src/thinqos_capture/selfupdate.py +187 -0
  23. thinqos-1.0.0/src/thinqos_capture/shim.py +87 -0
  24. thinqos-1.0.0/src/thinqos_capture/state.py +480 -0
  25. thinqos-1.0.0/src/thinqos_capture/taskstate.py +229 -0
  26. thinqos-1.0.0/src/thinqos_capture/writeredirect.py +145 -0
  27. thinqos-1.0.0/tests/fixtures/claude_code_session.jsonl +4 -0
  28. thinqos-1.0.0/tests/fixtures/codex_session.jsonl +8 -0
  29. thinqos-1.0.0/tests/test_attribution.py +42 -0
  30. thinqos-1.0.0/tests/test_capture_completeness.py +206 -0
  31. thinqos-1.0.0/tests/test_capture_incremental.py +329 -0
  32. thinqos-1.0.0/tests/test_claude_code_adapter.py +151 -0
  33. thinqos-1.0.0/tests/test_cli_drain.py +147 -0
  34. thinqos-1.0.0/tests/test_cli_install_hook.py +62 -0
  35. thinqos-1.0.0/tests/test_cli_list_forget.py +121 -0
  36. thinqos-1.0.0/tests/test_cli_run.py +362 -0
  37. thinqos-1.0.0/tests/test_client_limits.py +53 -0
  38. thinqos-1.0.0/tests/test_codex_adapter.py +185 -0
  39. thinqos-1.0.0/tests/test_codex_hook_runtime_contract.py +186 -0
  40. thinqos-1.0.0/tests/test_doctor.py +847 -0
  41. thinqos-1.0.0/tests/test_doctor_queue.py +93 -0
  42. thinqos-1.0.0/tests/test_drain_timeout.py +68 -0
  43. thinqos-1.0.0/tests/test_env_key_remnant.py +121 -0
  44. thinqos-1.0.0/tests/test_hook.py +943 -0
  45. thinqos-1.0.0/tests/test_hook_autodrain.py +121 -0
  46. thinqos-1.0.0/tests/test_hook_prime.py +200 -0
  47. thinqos-1.0.0/tests/test_hook_secret_resolution.py +85 -0
  48. thinqos-1.0.0/tests/test_hook_self_update.py +47 -0
  49. thinqos-1.0.0/tests/test_hook_stdin.py +67 -0
  50. thinqos-1.0.0/tests/test_hook_task_state.py +352 -0
  51. thinqos-1.0.0/tests/test_importer.py +305 -0
  52. thinqos-1.0.0/tests/test_incremental.py +72 -0
  53. thinqos-1.0.0/tests/test_install.py +1726 -0
  54. thinqos-1.0.0/tests/test_installer_hardening.py +243 -0
  55. thinqos-1.0.0/tests/test_logsetup.py +52 -0
  56. thinqos-1.0.0/tests/test_plugin_mode.py +192 -0
  57. thinqos-1.0.0/tests/test_prime_cache.py +424 -0
  58. thinqos-1.0.0/tests/test_queue_policy.py +148 -0
  59. thinqos-1.0.0/tests/test_secretstore.py +80 -0
  60. thinqos-1.0.0/tests/test_selfupdate.py +197 -0
  61. thinqos-1.0.0/tests/test_shim.py +141 -0
  62. thinqos-1.0.0/tests/test_state.py +147 -0
  63. thinqos-1.0.0/tests/test_state_migration.py +46 -0
  64. thinqos-1.0.0/tests/test_taskstate.py +303 -0
  65. thinqos-1.0.0/tests/test_token_economy.py +133 -0
  66. thinqos-1.0.0/tests/test_writeredirect.py +133 -0
  67. thinqos-1.0.0/uv.lock +106 -0
@@ -0,0 +1,48 @@
1
+ .worktrees/
2
+ .claude/worktrees/
3
+ .claude/scheduled_tasks.lock
4
+ node_modules
5
+ dist/
6
+ .env
7
+ .env.*
8
+ !.env.example
9
+ !web/.env.example
10
+ .mcp.json
11
+ .codex/config.toml
12
+ *.log
13
+ **/data/errors.jsonl
14
+ .DS_Store
15
+ .superpowers/
16
+ .playwright-mcp/
17
+ build/
18
+ # …except the /build slash-command skill, which lives at .claude/skills/build/
19
+ !.claude/skills/build/
20
+ !.claude/skills/build/**
21
+ !.agents/skills/build/
22
+ !.agents/skills/build/**
23
+ coverage/
24
+ .tmp/
25
+ .wrangler/
26
+ # Slash-less variant also matches a .venv SYMLINK in worktrees (trailing-slash
27
+ # patterns only match real directories) — same fix node_modules already has above.
28
+ .venv
29
+ .venv/
30
+ .venv-ci/
31
+ __pycache__/
32
+ *.py[cod]
33
+ *.egg-info/
34
+ .pytest_cache/
35
+
36
+ .worktrees/
37
+
38
+ web/src/**/*.js
39
+ web/vite.config.js
40
+ web/*.tsbuildinfo
41
+
42
+ scripts/.fonts/
43
+ scripts/_corpus_cache/
44
+ scripts/_pm_doctrine_backups/
45
+
46
+ # Auto-installed canonical pre-push hook (synced from commons via scripts/sync-from-commons.sh)
47
+ .githooks/pre-push
48
+ /data/uploads/
@@ -0,0 +1,476 @@
1
+ # Changelog
2
+
3
+ ## [0.31.4](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.31.3...tools/thinqos-harvest-v0.31.4) (2026-07-15)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **TOS-1542:** make harvest capture non-blocking and revision-safe ([#3077](https://github.com/AI4Outcomes/thinqos/issues/3077)) ([0d3ec2d](https://github.com/AI4Outcomes/thinqos/commit/0d3ec2dcb6d3cc89f460d257b09b978ae2c81973))
9
+
10
+ ## [0.31.3](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.31.2...tools/thinqos-harvest-v0.31.3) (2026-07-14)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **TOS-1501:** self-update heals pinned installs via uv tool install --upgrade ([#3050](https://github.com/AI4Outcomes/thinqos/issues/3050)) ([91c1465](https://github.com/AI4Outcomes/thinqos/commit/91c14652a42489d0a36dc774b3f2beeb164abbed))
16
+
17
+ ## [0.31.2](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.31.1...tools/thinqos-harvest-v0.31.2) (2026-07-14)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **TOS-1505:** make reflexive prime query-independent (salient stable packet) ([#3046](https://github.com/AI4Outcomes/thinqos/issues/3046)) ([a52b671](https://github.com/AI4Outcomes/thinqos/commit/a52b6712683c6a49be2185d5548bd1a9b6cc6c46))
23
+
24
+ ## [0.31.1](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.31.0...tools/thinqos-harvest-v0.31.1) (2026-07-14)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * **TOS-1501:** make fast Mind prime no-model and read-only ([#3039](https://github.com/AI4Outcomes/thinqos/issues/3039)) ([766af52](https://github.com/AI4Outcomes/thinqos/commit/766af5212610221bb2bb362262b93b976416bba4))
30
+
31
+ ## [0.31.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.30.3...tools/thinqos-harvest-v0.31.0) (2026-07-14)
32
+
33
+
34
+ ### Features
35
+
36
+ * **TOS-1501:** switch foreground hook prime to the fast prime_mind tier ([#3033](https://github.com/AI4Outcomes/thinqos/issues/3033)) ([951723b](https://github.com/AI4Outcomes/thinqos/commit/951723b9f4bdd0b04a59b6e0d59944840ec4f91c))
37
+
38
+ ## [0.30.3](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.30.2...tools/thinqos-harvest-v0.30.3) (2026-07-14)
39
+
40
+
41
+ ### Bug Fixes
42
+
43
+ * **TOS-1501:** unfreeze prime cache + fail loud on dead reflexive recall ([#3019](https://github.com/AI4Outcomes/thinqos/issues/3019)) ([7993ce0](https://github.com/AI4Outcomes/thinqos/commit/7993ce074522c19472f179391406a984fc5a2fcb))
44
+
45
+ ## [0.30.2](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.30.1...tools/thinqos-harvest-v0.30.2) (2026-07-12)
46
+
47
+
48
+ ### Bug Fixes
49
+
50
+ * **TOS-1422:** bring MCP protocol-version handling to current spec (2025-11-25) ([#2936](https://github.com/AI4Outcomes/thinqos/issues/2936)) ([2a12200](https://github.com/AI4Outcomes/thinqos/commit/2a12200e619ac091199995a2c641b5d2fa2f9a38))
51
+
52
+ ## [0.30.1](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.30.0...tools/thinqos-harvest-v0.30.1) (2026-07-11)
53
+
54
+
55
+ ### Bug Fixes
56
+
57
+ * **TOS-1307:** reject stale Codex Mind contracts ([#2848](https://github.com/AI4Outcomes/thinqos/issues/2848)) ([a93323a](https://github.com/AI4Outcomes/thinqos/commit/a93323a43239fa2be585ca6619e1f6ac8b6fa19c))
58
+
59
+ ## [0.30.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.29.5...tools/thinqos-harvest-v0.30.0) (2026-07-10)
60
+
61
+
62
+ ### Features
63
+
64
+ * **TOS-1337:** freeze external capture transport contract ([#2799](https://github.com/AI4Outcomes/thinqos/issues/2799)) ([850ea42](https://github.com/AI4Outcomes/thinqos/commit/850ea42821c4892e2ea0304b7716a4b2c9b93a58))
65
+
66
+ ## [0.29.5](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.29.4...tools/thinqos-harvest-v0.29.5) (2026-07-10)
67
+
68
+
69
+ ### Bug Fixes
70
+
71
+ * **TOS-1250:** bound Codex harvest finalizer lifecycle ([#2793](https://github.com/AI4Outcomes/thinqos/issues/2793)) ([c1f7009](https://github.com/AI4Outcomes/thinqos/commit/c1f7009bc66d016f0a1f6279b0746bbed4ed1cb1))
72
+
73
+ ## [0.29.4](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.29.3...tools/thinqos-harvest-v0.29.4) (2026-07-09)
74
+
75
+
76
+ ### Bug Fixes
77
+
78
+ * **TOS-1276:** rename external Mind MCP surface ([#2753](https://github.com/AI4Outcomes/thinqos/issues/2753)) ([39d5100](https://github.com/AI4Outcomes/thinqos/commit/39d510070a674d5bf525fd059dafb60768f19ba0))
79
+
80
+ ## [0.29.3](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.29.2...tools/thinqos-harvest-v0.29.3) (2026-07-08)
81
+
82
+
83
+ ### Bug Fixes
84
+
85
+ * **TOS-1086:** remove the last friction residual - the 'What I've learned' prime render ([#2727](https://github.com/AI4Outcomes/thinqos/issues/2727)) ([1214e64](https://github.com/AI4Outcomes/thinqos/commit/1214e642d19b36f1a2a6a6d6bdf7e70ef03e5911))
86
+
87
+ ## [0.29.2](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.29.1...tools/thinqos-harvest-v0.29.2) (2026-07-08)
88
+
89
+
90
+ ### Bug Fixes
91
+
92
+ * **harvest:** close the "already in context/CLAUDE.md" recall-shortcut in the prime line ([#2723](https://github.com/AI4Outcomes/thinqos/issues/2723)) ([a1e047e](https://github.com/AI4Outcomes/thinqos/commit/a1e047e1a89205540006c8cad6081133f87af0ef))
93
+
94
+ ## [0.29.1](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.29.0...tools/thinqos-harvest-v0.29.1) (2026-07-07)
95
+
96
+
97
+ ### Bug Fixes
98
+
99
+ * finalize missed Codex captures ([#2714](https://github.com/AI4Outcomes/thinqos/issues/2714)) ([e88b50c](https://github.com/AI4Outcomes/thinqos/commit/e88b50c79a8300fb1e9982df6891c97364a25214))
100
+
101
+ ## [0.29.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.28.0...tools/thinqos-harvest-v0.29.0) (2026-07-07)
102
+
103
+
104
+ ### Features
105
+
106
+ * **TOS-1086:** teardown Layer 3 - remove friction frontend + harvest hooks ([#2697](https://github.com/AI4Outcomes/thinqos/issues/2697)) ([f41e964](https://github.com/AI4Outcomes/thinqos/commit/f41e964abbb73caee2ffeff6fb46a56936708ff3))
107
+
108
+ ## [0.28.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.27.0...tools/thinqos-harvest-v0.28.0) (2026-07-07)
109
+
110
+
111
+ ### Features
112
+
113
+ * **TOS-1217:** slim per-turn Mind-contract injection + scope SessionStart hooks (Phase B) ([#2672](https://github.com/AI4Outcomes/thinqos/issues/2672)) ([fb0d73d](https://github.com/AI4Outcomes/thinqos/commit/fb0d73db9dcba722866a4788924f18d63f4f27c0))
114
+
115
+ ## [0.27.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.26.0...tools/thinqos-harvest-v0.27.0) (2026-07-07)
116
+
117
+
118
+ ### Features
119
+
120
+ * **TOS-1217:** plugin-mode install/doctor for the thinqOS Claude Code plugin (Phase A) ([#2670](https://github.com/AI4Outcomes/thinqos/issues/2670)) ([08ed056](https://github.com/AI4Outcomes/thinqos/commit/08ed056695905cfd26897e8ba6a9a1b7b9607e1b))
121
+
122
+ ## [0.26.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.25.0...tools/thinqos-harvest-v0.26.0) (2026-07-07)
123
+
124
+
125
+ ### Features
126
+
127
+ * **TOS-1217:** PostToolUse debounce shell shim + async Stop capture (Phase C) ([#2666](https://github.com/AI4Outcomes/thinqos/issues/2666)) ([1030aa3](https://github.com/AI4Outcomes/thinqos/commit/1030aa39fbaae3cc411ef0e1fe41037f8e7c2566))
128
+
129
+ ## [0.25.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.24.0...tools/thinqos-harvest-v0.25.0) (2026-07-07)
130
+
131
+
132
+ ### Features
133
+
134
+ * **TOS-1217:** remove INGEST_API_KEY settings.json remnant; extended drain timeout (Phase F) ([#2659](https://github.com/AI4Outcomes/thinqos/issues/2659)) ([505e55f](https://github.com/AI4Outcomes/thinqos/commit/505e55f6eed355f1f885e2eab1b0fc6bd5210fd2))
135
+
136
+ ## [0.24.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.23.0...tools/thinqos-harvest-v0.24.0) (2026-07-07)
137
+
138
+
139
+ ### Features
140
+
141
+ * **TOS-1217:** harvest replay-queue self-drain, backpressure, and readable failure logs (Phase E) ([#2655](https://github.com/AI4Outcomes/thinqos/issues/2655)) ([f0282ae](https://github.com/AI4Outcomes/thinqos/commit/f0282ae87d09caac5be91d60ee6354e155ef46ba))
142
+
143
+ ## [0.23.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.22.0...tools/thinqos-harvest-v0.23.0) (2026-07-07)
144
+
145
+
146
+ ### Features
147
+
148
+ * **TOS-1086:** 7.4 harvest - warn-only lesson->guardrail injection at PreToolUse ([#2639](https://github.com/AI4Outcomes/thinqos/issues/2639)) ([24585c8](https://github.com/AI4Outcomes/thinqos/commit/24585c83eb02b9c31f6b7cbac05319f44d0b0e79))
149
+
150
+ ## [0.22.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.21.0...tools/thinqos-harvest-v0.22.0) (2026-07-07)
151
+
152
+
153
+ ### Features
154
+
155
+ * **TOS-1086:** 7.2a/7.2b/7.2c harvest - rules cache + anti-fab + reminders ([#2633](https://github.com/AI4Outcomes/thinqos/issues/2633)) ([7e92cc3](https://github.com/AI4Outcomes/thinqos/commit/7e92cc3c195a05b2115ce37ca977a4e6388e4d91))
156
+
157
+ ## [0.21.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.20.0...tools/thinqos-harvest-v0.21.0) (2026-07-06)
158
+
159
+
160
+ ### Features
161
+
162
+ * **TOS-1086:** 7.5 one-command-from-zero - guided-paste install bootstrap ([#2603](https://github.com/AI4Outcomes/thinqos/issues/2603)) ([553f772](https://github.com/AI4Outcomes/thinqos/commit/553f772f13fba538149c0b0b7341ab6e9d8f8691))
163
+
164
+ ## [0.20.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.19.0...tools/thinqos-harvest-v0.20.0) (2026-07-06)
165
+
166
+
167
+ ### Features
168
+
169
+ * **TOS-1194:** thinqOS attribution wordmark — receipts, headers, statusMessages ([#2595](https://github.com/AI4Outcomes/thinqos/issues/2595)) ([177a631](https://github.com/AI4Outcomes/thinqos/commit/177a6313249f211c8517c3ddfacd75790c372831))
170
+
171
+ ## [0.19.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.18.0...tools/thinqos-harvest-v0.19.0) (2026-07-06)
172
+
173
+
174
+ ### Features
175
+
176
+ * **TOS-1086:** render the felt friction nudge + keep/no CLI (Phase 7) ([#2578](https://github.com/AI4Outcomes/thinqos/issues/2578)) ([c79eb92](https://github.com/AI4Outcomes/thinqos/commit/c79eb925789428e34649e2057fef3b7c216147d8))
177
+
178
+ ## [0.18.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.17.0...tools/thinqos-harvest-v0.18.0) (2026-07-05)
179
+
180
+
181
+ ### Features
182
+
183
+ * **TOS-1086:** render learned_lessons as a distinct prime beat ([#2551](https://github.com/AI4Outcomes/thinqos/issues/2551)) ([35c7bde](https://github.com/AI4Outcomes/thinqos/commit/35c7bded7a0e50fd8fb63ca512975d2a08f6da9f))
184
+
185
+ ## [0.17.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.16.0...tools/thinqos-harvest-v0.17.0) (2026-07-05)
186
+
187
+
188
+ ### Features
189
+
190
+ * **TOS-1086:** harvest task-state capture + wiring (7.3 tasks 5-8/8) ([#2541](https://github.com/AI4Outcomes/thinqos/issues/2541)) ([d257c5e](https://github.com/AI4Outcomes/thinqos/commit/d257c5eb8bbfcb135a0084cfdfde26cedab9feb3))
191
+
192
+ ## [0.16.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.15.0...tools/thinqos-harvest-v0.16.0) (2026-07-05)
193
+
194
+
195
+ ### Features
196
+
197
+ * **TOS-1086:** 7.1.4 incremental mid-session capture (PostToolUse) ([#2525](https://github.com/AI4Outcomes/thinqos/issues/2525)) ([33d8b99](https://github.com/AI4Outcomes/thinqos/commit/33d8b99b76de759530cb4843d940581b40d41a30))
198
+
199
+ ## [0.15.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.14.0...tools/thinqos-harvest-v0.15.0) (2026-07-05)
200
+
201
+
202
+ ### Features
203
+
204
+ * **TOS-1086:** 7.1.3 secret out of settings.json ([#2522](https://github.com/AI4Outcomes/thinqos/issues/2522)) ([88d88b2](https://github.com/AI4Outcomes/thinqos/commit/88d88b2acdef66d2abbb1df5b00f5d6032ab32c7))
205
+
206
+ ## [0.14.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.13.7...tools/thinqos-harvest-v0.14.0) (2026-07-05)
207
+
208
+
209
+ ### Features
210
+
211
+ * **TOS-1086:** 7.1.1 empirical Codex hook-runtime verification + gate hardening ([#2517](https://github.com/AI4Outcomes/thinqos/issues/2517)) ([59f8bed](https://github.com/AI4Outcomes/thinqos/commit/59f8bedff8ce840f724f782f35a70df71c3a212a))
212
+
213
+ ## [0.13.7](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.13.6...tools/thinqos-harvest-v0.13.7) (2026-07-02)
214
+
215
+
216
+ ### Bug Fixes
217
+
218
+ * **TOS-1086:** safety batch - 6 independent hardening fixes (1.6) ([#2359](https://github.com/AI4Outcomes/thinqos/issues/2359)) ([11fce85](https://github.com/AI4Outcomes/thinqos/commit/11fce8512392c250bdf1b304010bf3edfb7ba073))
219
+
220
+ ## [0.13.6](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.13.5...tools/thinqos-harvest-v0.13.6) (2026-07-01)
221
+
222
+
223
+ ### Bug Fixes
224
+
225
+ * **TOS-1059:** stop one poison-pill payload from wedging the harvest replay drain ([#2327](https://github.com/AI4Outcomes/thinqos/issues/2327)) ([0aa6d17](https://github.com/AI4Outcomes/thinqos/commit/0aa6d1797074de4b5c0e5b8023486477e39e0315))
226
+
227
+ ## [0.13.5](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.13.4...tools/thinqos-harvest-v0.13.5) (2026-07-01)
228
+
229
+
230
+ ### Bug Fixes
231
+
232
+ * harden Codex thinqOS parity guidance ([#2302](https://github.com/AI4Outcomes/thinqos/issues/2302)) ([0741b99](https://github.com/AI4Outcomes/thinqos/commit/0741b999f70a5a2722ee740fb0352791a9b3e54f)), closes [#1052](https://github.com/AI4Outcomes/thinqos/issues/1052)
233
+
234
+ ## [0.13.4](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.13.3...tools/thinqos-harvest-v0.13.4) (2026-06-30)
235
+
236
+
237
+ ### Bug Fixes
238
+
239
+ * **TOS-1041:** harden Codex Mind parity guidance ([#2282](https://github.com/AI4Outcomes/thinqos/issues/2282)) ([1cd11df](https://github.com/AI4Outcomes/thinqos/commit/1cd11df5b246070d1e30ed28f49379097c2bcdb5))
240
+
241
+ ## [0.13.4](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.13.3...tools/thinqos-harvest-v0.13.4) (2026-06-30)
242
+
243
+ ### Bug Fixes
244
+
245
+ * **TOS-1041:** make Codex Mind guidance product-grade during install and doctor checks. Codex now gets managed instructions for task-relevant retrieval, high-stakes `mind_consult`, and durable `believe`/`observe` writeback; `doctor --client codex` reports stale or missing `AGENTS.md` guidance.
246
+
247
+ ## [0.13.3](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.13.2...tools/thinqos-harvest-v0.13.3) (2026-06-30)
248
+
249
+ ### Bug Fixes
250
+
251
+ * harden harvest/codex MCP installer (env-aware detect, narrowed catches) ([#2277](https://github.com/AI4Outcomes/thinqos/issues/2277)) ([4a40717](https://github.com/AI4Outcomes/thinqos/commit/4a40717bdba11177288355aa23fc7836f08b0c12))
252
+
253
+ ## [0.13.2](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.13.1...tools/thinqos-harvest-v0.13.2) (2026-06-30)
254
+
255
+
256
+ ### Bug Fixes
257
+
258
+ * repair Codex MCP registration during harvest install ([#2267](https://github.com/AI4Outcomes/thinqos/issues/2267)) ([97d0737](https://github.com/AI4Outcomes/thinqos/commit/97d0737efc7d5363f6c223497442d55432623444)), closes TOS-1030
259
+
260
+ ## [0.13.1](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.13.0...tools/thinqos-harvest-v0.13.1) (2026-06-30)
261
+
262
+
263
+ ### Bug Fixes
264
+
265
+ * repair Claude MCP registration during harvest install ([#2262](https://github.com/AI4Outcomes/thinqos/issues/2262)) ([66d0332](https://github.com/AI4Outcomes/thinqos/commit/66d033225bddc546fcf357caf4e656ae9c2b273b)), closes [#1009](https://github.com/AI4Outcomes/thinqos/issues/1009)
266
+
267
+ ## [0.13.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.12.0...tools/thinqos-harvest-v0.13.0) (2026-06-30)
268
+
269
+
270
+ ### Features
271
+
272
+ * harden Claude/Codex Mind integration lifecycle ([#2255](https://github.com/AI4Outcomes/thinqos/issues/2255)) ([a08d7df](https://github.com/AI4Outcomes/thinqos/commit/a08d7df40e6a56d196d5b155715b101e564945af))
273
+ * harden developer harvest workflow ([#2251](https://github.com/AI4Outcomes/thinqos/issues/2251)) ([7f37fa3](https://github.com/AI4Outcomes/thinqos/commit/7f37fa321b239143ab7e9793295b8afb21c4135c)), closes [#1024](https://github.com/AI4Outcomes/thinqos/issues/1024)
274
+
275
+
276
+ ### Bug Fixes
277
+
278
+ * harden Claude Code memory installer ([#2239](https://github.com/AI4Outcomes/thinqos/issues/2239)) ([1a84779](https://github.com/AI4Outcomes/thinqos/commit/1a847795d22247b8fab5902b095fa8ef6cc36118))
279
+
280
+ ## [0.12.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.11.0...tools/thinqos-harvest-v0.12.0) (2026-06-29)
281
+
282
+
283
+ ### Features
284
+
285
+ * **TOS-1014:** make thinqOS the memory source of truth ([#2218](https://github.com/AI4Outcomes/thinqos/issues/2218)) ([1947c8d](https://github.com/AI4Outcomes/thinqos/commit/1947c8da0f27be75972be278283070ffc7be3c7f))
286
+
287
+ ## [0.11.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.10.0...tools/thinqos-harvest-v0.11.0) (2026-06-27)
288
+
289
+
290
+ ### Features
291
+
292
+ * **TOS-972:** parallel import + 300s timeout + background drain (0.10.2) ([#2135](https://github.com/AI4Outcomes/thinqos/issues/2135)) ([f2ac853](https://github.com/AI4Outcomes/thinqos/commit/f2ac8532491c8c8998a1915d37d284a13d4b2f18))
293
+
294
+
295
+ ### Bug Fixes
296
+
297
+ * make native memory imports rebuild durable ([#2156](https://github.com/AI4Outcomes/thinqos/issues/2156)) ([feabfe1](https://github.com/AI4Outcomes/thinqos/commit/feabfe1ded08e0a869bce68bdfa8a5a3a8632aa4))
298
+ * **TOS-972:** install must not clobber hand-curated thinqOS hooks (0.10.1) ([#2132](https://github.com/AI4Outcomes/thinqos/issues/2132)) ([e50317a](https://github.com/AI4Outcomes/thinqos/commit/e50317ac50236c038b5845a4f508ce86d6e9f9ff))
299
+
300
+ ## [0.10.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.9.0...tools/thinqos-harvest-v0.10.0) (2026-06-27)
301
+
302
+
303
+ ### Features
304
+
305
+ * **TOS-972:** parallel import + 300s timeout + background drain (0.10.2) ([#2135](https://github.com/AI4Outcomes/thinqos/issues/2135)) ([f2ac853](https://github.com/AI4Outcomes/thinqos/commit/f2ac8532491c8c8998a1915d37d284a13d4b2f18))
306
+ * **TOS-972:** thinqOS as default memory for Claude Code + Codex ([#2128](https://github.com/AI4Outcomes/thinqos/issues/2128)) ([ae82898](https://github.com/AI4Outcomes/thinqos/commit/ae82898c396a62b85b83ae03cc22c2ac5dc3248b))
307
+
308
+
309
+ ### Bug Fixes
310
+
311
+ * make native memory imports rebuild durable ([#2156](https://github.com/AI4Outcomes/thinqos/issues/2156)) ([feabfe1](https://github.com/AI4Outcomes/thinqos/commit/feabfe1ded08e0a869bce68bdfa8a5a3a8632aa4))
312
+ * **TOS-972:** install must not clobber hand-curated thinqOS hooks (0.10.1) ([#2132](https://github.com/AI4Outcomes/thinqos/issues/2132)) ([e50317a](https://github.com/AI4Outcomes/thinqos/commit/e50317ac50236c038b5845a4f508ce86d6e9f9ff))
313
+
314
+ ## [0.10.3] (2026-06-27)
315
+
316
+ ### Bug Fixes
317
+
318
+ * **TOS-987: native-memory imports are rebuild-safe.** `import-memory` now posts
319
+ each fact to the durable native-memory imprint endpoint instead of MCP
320
+ `observe`. The server stores an extraction-enabled replayable source keyed by a
321
+ stable per-fact source id and queues extraction for the worker, so imports
322
+ return quickly and survive Mind rebuild/replay.
323
+
324
+ ## [0.10.2] (2026-06-26)
325
+
326
+ ### Bug Fixes & Features
327
+
328
+ * **TOS-972: import-on-connect actually works now.** The `observe` client timeout
329
+ was 30s, but a real fact runs full server-side extraction (~30-90s, output-
330
+ bound), so every real import silently timed out. Bumped to 300s.
331
+ * **TOS-972: much faster import.** `import-memory` now observes facts in parallel
332
+ (`--concurrency`, default 5) instead of one at a time - the dominant win for a
333
+ bulk import, since each fact is slow but independent. Order-independent;
334
+ manifest still makes it idempotent + resumable.
335
+ * **TOS-972: install drains in the background.** Because a foreground import of
336
+ hundreds of facts would block the connect for hours, `install` now spawns a
337
+ **detached** `import-memory` that drains ALL pending facts over time (resumable,
338
+ fail-open, logged to `~/.config/thinqos-harvest/import.log`) and returns
339
+ immediately. Replaces the interactive per-source wizard.
340
+
341
+ ## [0.10.1] (2026-06-26)
342
+
343
+ ### Bug Fixes
344
+
345
+ * **TOS-972: `install` no longer clobbers hand-curated hooks.** The 0.10.0
346
+ hook-reconcile dropped and re-added *any* thinqOS hook whose command didn't
347
+ exactly match the managed form, which stripped a user's `hook-timeout.sh`
348
+ wrapper, `statusMessage`, and shell-rc-env style on connect. Reconcile now only
349
+ migrates **our own** prior emissions (identified by the inline-env signature);
350
+ hand-curated thinqOS hooks are left untouched and never duplicated, and
351
+ `install` prints a note that it left them as-is. Honors the tool's
352
+ "never clobber a hand-curated config" promise.
353
+
354
+ ## [0.10.0] (2026-06-26)
355
+
356
+ thinqOS as the default memory for Claude Code + Codex (TOS-972).
357
+
358
+ ### Features
359
+
360
+ * **TOS-972: auto-update.** `install` now `uv tool install`s the persistent
361
+ `thinqos-harvest` binary and wires hooks to its absolute path (no more stale
362
+ `uvx` cache that never picks up new releases). A new `hook self-update` command
363
+ is wired at SessionStart and, at most once per 24h, spawns a detached
364
+ `uv tool upgrade`. Existing old-form `uvx` hooks are migrated to the new form on
365
+ re-run, not duplicated.
366
+ * **TOS-972: import-on-connect.** New `import-memory` command (also run by
367
+ `install`, skippable with `--no-import-memory`) imprints existing native memory
368
+ into the Mind via `observe`: Claude per-fact files under
369
+ `~/.claude/projects/*/memory/` and the Codex `~/.codex/memories/MEMORY.md`
370
+ narrative (split by section). A content-hash manifest makes it idempotent and
371
+ resumable; per-item fail-open. Supports `--dry-run` and `--limit`.
372
+ * **TOS-972: write-redirect.** The `prime` hook now always appends a short
373
+ "persist durable learnings via thinqOS `believe`/`observe`" line (even when
374
+ recall is empty), and `install` splices a marker-delimited write-redirect block
375
+ into `~/.codex/AGENTS.md` (the only channel Codex honors), idempotently and
376
+ preserving existing content.
377
+
378
+ ## [0.9.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.8.0...tools/thinqos-harvest-v0.9.0) (2026-06-23)
379
+
380
+
381
+ ### Features
382
+
383
+ * **mind+site:** axis-colored view cube top-right; duo section retitle + multi-agent icon; Living Beliefs 4-across ([#1491](https://github.com/AI4Outcomes/thinqos/issues/1491)) ([e848eaf](https://github.com/AI4Outcomes/thinqos/commit/e848eafa4b7d4f6e7b33e169f8ebd249ee5b87a4))
384
+ * **TOS-842:** recall_context MCP tool + memory-bridge productization ([#1855](https://github.com/AI4Outcomes/thinqos/issues/1855)) ([46dd139](https://github.com/AI4Outcomes/thinqos/commit/46dd139b6fe20a440c8f2ba81d9b55ce8eb7f6e4))
385
+ * **TOS-844:** harvest 'install' command + 'hook resume' (publish to PyPI) ([#1947](https://github.com/AI4Outcomes/thinqos/issues/1947)) ([8215a5d](https://github.com/AI4Outcomes/thinqos/commit/8215a5d294a14da4df1d7d357847eafc5b303bfe))
386
+
387
+
388
+ ### Bug Fixes
389
+
390
+ * **harvest:** cross-platform state lock so Windows can import the package ([#1962](https://github.com/AI4Outcomes/thinqos/issues/1962)) ([98e1fe2](https://github.com/AI4Outcomes/thinqos/commit/98e1fe28650e5a0329b79b3679f73b31234146b0))
391
+ * **TOS-844:** atomic, merging harvest state writes under flock (P0b) ([#1865](https://github.com/AI4Outcomes/thinqos/issues/1865)) ([d444275](https://github.com/AI4Outcomes/thinqos/commit/d444275ce07c5bfc496b7a5ca78b5615766d0b87))
392
+
393
+ ## [0.8.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.7.1...tools/thinqos-harvest-v0.8.0) (2026-06-23)
394
+
395
+
396
+ ### Features
397
+
398
+ * **TOS-844:** `hook resume` command - prints "where you left off" for a SessionStart hook (git branch -> ticket auto-detect, calls the `resume` MCP tool).
399
+ * **TOS-844:** `install` command - one-command, idempotent wiring of capture + recall + resume hooks into Claude Code and Codex. Resolves the tool from public PyPI (not the private git repo) so a clean install works for anyone, reads the thinqOS key from an existing MCP registration, and never clobbers a hand-curated config.
400
+
401
+ ## [0.7.1](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.7.0...tools/thinqos-harvest-v0.7.1) (2026-06-22)
402
+
403
+
404
+ ### Bug Fixes
405
+
406
+ * **TOS-844:** atomic, merging harvest state writes under flock (P0b) ([#1865](https://github.com/AI4Outcomes/thinqos/issues/1865)) ([d444275](https://github.com/AI4Outcomes/thinqos/commit/d444275ce07c5bfc496b7a5ca78b5615766d0b87))
407
+
408
+ ## [0.7.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.6.0...tools/thinqos-harvest-v0.7.0) (2026-06-21)
409
+
410
+
411
+ ### Features
412
+
413
+ * **TOS-842:** recall_context MCP tool + memory-bridge productization ([#1855](https://github.com/AI4Outcomes/thinqos/issues/1855)) ([46dd139](https://github.com/AI4Outcomes/thinqos/commit/46dd139b6fe20a440c8f2ba81d9b55ce8eb7f6e4))
414
+
415
+ ## [0.6.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.5.2...tools/thinqos-harvest-v0.6.0) (2026-06-12)
416
+
417
+
418
+ ### Features
419
+
420
+ * **mind+site:** axis-colored view cube top-right; duo section retitle + multi-agent icon; Living Beliefs 4-across ([#1491](https://github.com/AI4Outcomes/thinqos/issues/1491)) ([e848eaf](https://github.com/AI4Outcomes/thinqos/commit/e848eafa4b7d4f6e7b33e169f8ebd249ee5b87a4))
421
+
422
+ ## [0.5.2](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.5.1...tools/thinqos-harvest-v0.5.2) (2026-06-11)
423
+
424
+
425
+ ### Documentation
426
+
427
+ * **thinqos-harvest:** use plain uvx thinqos-harvest (PyPI, no repo access) ([#1417](https://github.com/AI4Outcomes/thinqos/issues/1417)) ([d880fcb](https://github.com/AI4Outcomes/thinqos/commit/d880fcb4f19a4fed2f700aedff5662b6e5842ff2))
428
+
429
+ ## [0.5.1](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.5.0...tools/thinqos-harvest-v0.5.1) (2026-06-01)
430
+
431
+
432
+ ### Bug Fixes
433
+
434
+ * **harvest:** make Codex setup use durable source ([29ca98d](https://github.com/AI4Outcomes/thinqos/commit/29ca98d4aa11e86504071e3c3bc0a926267430d8))
435
+
436
+ ## [0.5.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.4.0...tools/thinqos-harvest-v0.5.0) (2026-06-01)
437
+
438
+
439
+ ### Features
440
+
441
+ * **harvest:** simplify external tool setup prompts ([#973](https://github.com/AI4Outcomes/thinqos/issues/973)) ([18a0878](https://github.com/AI4Outcomes/thinqos/commit/18a08784cf8244ebba6ef6ef02201d1c92af4979))
442
+
443
+ ## [0.4.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.3.1...tools/thinqos-harvest-v0.4.0) (2026-06-01)
444
+
445
+
446
+ ### Features
447
+
448
+ * add Codex conversation harvest ([#957](https://github.com/AI4Outcomes/thinqos/issues/957)) ([2a9c131](https://github.com/AI4Outcomes/thinqos/commit/2a9c131f3dcc167bad518f18dfc52477fe48ba4d))
449
+ * add Codex capture, bounded backfill batching, and prompt-driven hook setup
450
+
451
+
452
+ ### Bug Fixes
453
+
454
+ * keep internal tool calls and tool results out of visible captured transcripts
455
+
456
+ ## [0.3.1](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.3.0...tools/thinqos-harvest-v0.3.1) (2026-05-31)
457
+
458
+
459
+ ### Bug Fixes
460
+
461
+ * harden Claude Code harvest reliability ([#930](https://github.com/AI4Outcomes/thinqos/issues/930)) ([38572bd](https://github.com/AI4Outcomes/thinqos/commit/38572bd5a2725e49ad7dd5582b1648bb9f7172f8))
462
+
463
+ ## [0.3.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.2.0...tools/thinqos-harvest-v0.3.0) (2026-05-27)
464
+
465
+
466
+ ### Features
467
+
468
+ * **harvest:** rename hook subcommand session-end → capture ([#628](https://github.com/AI4Outcomes/thinqos/issues/628)) ([2ac0f8c](https://github.com/AI4Outcomes/thinqos/commit/2ac0f8c7ae2afc91fd0d8a2cb6cb653949f18cc0))
469
+
470
+ ## [0.2.0](https://github.com/AI4Outcomes/thinqos/compare/tools/thinqos-harvest-v0.1.0...tools/thinqos-harvest-v0.2.0) (2026-05-27)
471
+
472
+
473
+ ### Features
474
+
475
+ * **mind:** TOS-168 Phase 1 - mind-edge synthesis backend ([#422](https://github.com/AI4Outcomes/thinqos/issues/422)) ([8604481](https://github.com/AI4Outcomes/thinqos/commit/86044817f44772957da685d3ca11ae19dcc1aa52))
476
+ * **observer:** mind-as-observer pattern Phase A (TOS-207) ([#574](https://github.com/AI4Outcomes/thinqos/issues/574)) ([b4470f0](https://github.com/AI4Outcomes/thinqos/commit/b4470f0e1fd4774b5c87ad7a30da71ed48869724))