pi-harness-runtime 1.1.495 → 1.1.497

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 (45) hide show
  1. package/CHANGELOG.md +147 -0
  2. package/harness/jev-wait-eligibility.ts +249 -7
  3. package/index.ts +70 -10
  4. package/package.json +1 -1
  5. package/packages/agent-policy/package.json +1 -1
  6. package/packages/auth/package.json +1 -1
  7. package/packages/autonomous-runtime/package.json +1 -1
  8. package/packages/checkpoint/package.json +1 -1
  9. package/packages/clipboard/package.json +1 -1
  10. package/packages/codex-watcher/package.json +1 -1
  11. package/packages/config-capture/package.json +1 -1
  12. package/packages/contracts/package.json +1 -1
  13. package/packages/cookie-sanitizer/package.json +1 -1
  14. package/packages/evaluation-engine/package.json +1 -1
  15. package/packages/event-bus/package.json +1 -1
  16. package/packages/event-store/package.json +1 -1
  17. package/packages/experience-replay/package.json +1 -1
  18. package/packages/file-copy-helper/package.json +1 -1
  19. package/packages/intent-analyzer/package.json +1 -1
  20. package/packages/jev-judge/package.json +1 -1
  21. package/packages/knowledge-retrieval/package.json +1 -1
  22. package/packages/learning-engine/package.json +1 -1
  23. package/packages/logging/package.json +1 -1
  24. package/packages/memory-engine/package.json +1 -1
  25. package/packages/notification/package.json +1 -1
  26. package/packages/paperclip-integration/package.json +1 -1
  27. package/packages/performance-optimizer/package.json +1 -1
  28. package/packages/privilege-broker/package.json +1 -1
  29. package/packages/prompt-compiler/package.json +1 -1
  30. package/packages/providers/package.json +1 -1
  31. package/packages/qdrant-skills/package.json +1 -1
  32. package/packages/quota-manager/package.json +1 -1
  33. package/packages/relay/package.json +1 -1
  34. package/packages/skill-mcp-client/package.json +1 -1
  35. package/packages/skills/package.json +1 -1
  36. package/packages/todo-bd-sync/package.json +1 -1
  37. package/packages/token-estimation/package.json +1 -1
  38. package/packages/tooling-preference/package.json +1 -1
  39. package/packages/trajectory/package.json +1 -1
  40. package/packages/tui/package.json +1 -1
  41. package/packages/two-phase-review/package.json +1 -1
  42. package/packages/types/package.json +1 -1
  43. package/packages/webmcp-tester/package.json +1 -1
  44. package/packages/wiki/package.json +1 -1
  45. package/packages/write-review/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,153 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.1.497](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v1.1.448...v1.1.497) (2026-11-09)
6
+
7
+
8
+ ### Features
9
+
10
+ * **actions:** register the job resume, the GLM countdown and the queued continuations ([177c964](https://github.com/ManotLuijiu/pi-harness-runtime/commit/177c964555b0057e6bc7d293dafab10c95eabbf9))
11
+ * **delegation:** a child is only a child when it really ran ([ac4e678](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ac4e6782d7d4bc4941e458425c8a9f38a51fc9d4))
12
+ * **delegation:** the scope of a request is measured before it is judged ([684b6a5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/684b6a55184f63d3be24c48dcecfb0b13410dc15))
13
+ * **honcho:** the memory service speaks the native MCP of Pi ([f9f740c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/f9f740c12869bae4c4380afbe8c76e12388bb744))
14
+ * **jev:** one decision per question, bound to the question it was evaluated for ([03448aa](https://github.com/ManotLuijiu/pi-harness-runtime/commit/03448aaa17f2d0c3bcf644b0b1d5949727dfff8c))
15
+ * **jev:** the evaluation of a choice sees what the options mean ([f0c207e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/f0c207e074701e6b7dab0965170ec39453d9d502))
16
+ * **jev:** the pending question carries the ask and the answer ([a792133](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a792133e517fb8c12d3363e98942f3af30270f27))
17
+ * **jev:** the pending question counts down to the decision ([d0cc171](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d0cc171223986b2d32c670b6c1c74712fe0a4ad8))
18
+ * **keys:** tell the user what to do about an exposed key file ([7031003](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7031003574307351b7a8f28ee14159b58e17b793))
19
+ * **keys:** the key files are repaired when their permissions are unsafe ([e9c2c26](https://github.com/ManotLuijiu/pi-harness-runtime/commit/e9c2c26b287665b56ed749de269737e8403bb8af))
20
+ * **mcp:** the harness connects the registered servers when nobody else does ([7fef951](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7fef95137ad4664df57f045cd91b7d233315b0bc))
21
+ * **merge:** a manual run can leave the merge to the pull request event ([b3d1950](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b3d1950b5941c78ccd56951acdafd1d4afbe1bff))
22
+ * **phase:** the agent owns the todo list and the harness says so ([c489370](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c489370bd7926aece8cb1a77aa20ca2d2672f1fb))
23
+ * **providers:** a shared registry of the pending automatic actions and a bounded recovery ([c5f955b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c5f955bc82adcb6999a89d5bc278fa87fccee022))
24
+ * **providers:** one failure has one executor, and the retry bridge is checked ([e73c4c7](https://github.com/ManotLuijiu/pi-harness-runtime/commit/e73c4c76ff20a9708083659bdcefe74870a84837))
25
+ * **review:** the review starts on its own when the implementation is done ([04f51f5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/04f51f599cd3222b6c74dd8fadb1373bd72d9bd7))
26
+ * **status:** the status line names the phase, the progress and the children ([0167bf3](https://github.com/ManotLuijiu/pi-harness-runtime/commit/0167bf396a0b987c1d44f3b869351976a951dd65))
27
+ * **test:** the task waits for the final tier of the validation plan ([fa147db](https://github.com/ManotLuijiu/pi-harness-runtime/commit/fa147dbf7d50d56e6ea48c6d8fbb4fcb190caf8a))
28
+ * **validation:** a large job starts with a measured pilot ([425964b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/425964b04a3d4fa02adfabed47ff62c5ec2b9c28))
29
+ * **validation:** the size of a job is a fact, not a phrase ([8aa6c11](https://github.com/ManotLuijiu/pi-harness-runtime/commit/8aa6c119565d0f8412dc8aeafa6b295d47d3f093))
30
+ * **workspace:** a Frappe bench names the mode of the workspace ([9d58517](https://github.com/ManotLuijiu/pi-harness-runtime/commit/9d585172063a330992fee933316e268ae9985e3c))
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * **ci:** every run of a required check counts, and the worst one decides ([da9e0da](https://github.com/ManotLuijiu/pi-harness-runtime/commit/da9e0da6b0ca29cb320764fd5fc1b8a8dee8b1e0))
36
+ * **ci:** the newest attempt of a run decides, not the attempt that failed ([9d7adcc](https://github.com/ManotLuijiu/pi-harness-runtime/commit/9d7adcc31cbacc517c3c1a9bcd3956be94c908ef))
37
+ * **honcho:** a handshake that never finishes is named instead of hanging the startup ([d66005f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d66005f928a4f8df5de5b8a0579cbd4f8df37ff9))
38
+ * **honcho:** a probe that the end of the session cuts off is not a failure ([493fd93](https://github.com/ManotLuijiu/pi-harness-runtime/commit/493fd938ba09fdcf57bed4aaf259d81c4040909e))
39
+ * **honcho:** a slow connector is not a failed one, the row is corrected when the tools appear ([b62ac5b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b62ac5b16ad93e2bfb10cbec589b80a09b7e20b3))
40
+ * **honcho:** a tools listing that the end of the session cuts off is not a failure ([62cc8c3](https://github.com/ManotLuijiu/pi-harness-runtime/commit/62cc8c376aade01c953ce2a1c6501ed07b74a1e9))
41
+ * **honcho:** the report names the state of the MCP server, not the registration ([762f4d5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/762f4d59e4eabcab9a1c21a61aa522c3267621b3))
42
+ * **hooks:** a tag is checked through the commit behind it ([c823e8e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c823e8e1f6973c62b5449a97c101759a4d5cbba5))
43
+ * **jev:** a completion question, a stale check and a pending validation ([827120b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/827120b4138b6f5ae253e69154de190085703de8))
44
+ * **jev:** a prohibition must not hide a destructive action ([78a6cc1](https://github.com/ManotLuijiu/pi-harness-runtime/commit/78a6cc199e647f812e145483f7e94991358d8f34))
45
+ * **jev:** a refusal without punctuation, and only a decline of an action ([ef3dbf8](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ef3dbf87a2a1725373281613a0d48881ed5d2239))
46
+ * **jev:** a rejection during the countdown pauses the work ([9b018ce](https://github.com/ManotLuijiu/pi-harness-runtime/commit/9b018ce1152b6724dee73cdc901b8a360ecc91ab))
47
+ * **jev:** a session switch ends the wait of the old session ([ca03d39](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ca03d399c0d4a1b2dd428ac39836ab53c0e51ab6))
48
+ * **jev:** keep a comparative caveat with the option it constrains ([7be306b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7be306b0d0872713ebca9386d613ae5a8da9d5b6))
49
+ * **jev:** the action of the question on its own text, and a reply is not an authorization ([7c3fdd6](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7c3fdd6822b58bd6ccfa3bcdf1c5282cb3db52dd))
50
+ * **jev:** the action of the question, and an open question blocks the work ([1f9ff39](https://github.com/ManotLuijiu/pi-harness-runtime/commit/1f9ff39efc4ee17464c54c2ca9b583245093dbac))
51
+ * **jev:** the alternatives of a question are parsed without a quadratic pattern ([63016a3](https://github.com/ManotLuijiu/pi-harness-runtime/commit/63016a3f0488acb801990dd46770c00d382b5858))
52
+ * **jev:** the countdown of an obsolete question does not outlive the work ([fe78b29](https://github.com/ManotLuijiu/pi-harness-runtime/commit/fe78b29e6fc513b11a6993bc68fd9418dc77f79b))
53
+ * **jev:** the facts of an option survive the wording of the agent ([5a6250c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5a6250c07aa8d965bc6ae242cccbf519477598f8))
54
+ * **jev:** the scope decides the question, the identity guards the awaits ([ed348b2](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ed348b2f94460a3b3ac11c01afd4420ee4ec1020))
55
+ * **jev:** the subject of the scope decides, a clarification is preserved ([faf6a0f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/faf6a0fe7d0dce94d4fa48d0d7a57d126556ba6d))
56
+ * **keys:** the key directory is audited as a tree ([081cc75](https://github.com/ManotLuijiu/pi-harness-runtime/commit/081cc75ac8ceff36b0d619c3f76371dc08459d3c))
57
+ * **mcp:** the connector and the watcher stop with the session ([4d1b87d](https://github.com/ManotLuijiu/pi-harness-runtime/commit/4d1b87d14d015749025b62bf54d6d0b6137295f7))
58
+ * **mcp:** the connector survives a runtime that cannot list the servers ([d0f555f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d0f555fa14f51de33591e572a41ded5b59a3e4dd))
59
+ * **merge:** the boolean input is read as a boolean ([971b716](https://github.com/ManotLuijiu/pi-harness-runtime/commit/971b7169a43db382dbdeb6bb9bab02ab56e0351c))
60
+ * **merge:** the manual job needs the right of the merge ([7ba685e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7ba685ec43d815f90aa35b742579e87e76c69209))
61
+ * **merge:** the merge of the pull request is the GraphQL mutation ([972bab4](https://github.com/ManotLuijiu/pi-harness-runtime/commit/972bab4b0f7faf1b0047f3bb767ef6db3de4b2fa))
62
+ * **merge:** the workflow merges the pull request the gates cleared ([d7639ec](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d7639ec9b83723510acb4a5c4e23d5d6167c3af6))
63
+ * **providers:** the escape of the user stops the recovery, and a permanent failure clears it ([cfe5797](https://github.com/ManotLuijiu/pi-harness-runtime/commit/cfe57976bf463c327e45b874fd297c3e942246b8))
64
+ * **providers:** the pause wins over a retry, and the retry starts when the run settles ([e016dd2](https://github.com/ManotLuijiu/pi-harness-runtime/commit/e016dd2a5add5b0f3c848a225a28a59e0f5fc7f3))
65
+ * **recovery:** a cancelled countdown does not own the next attempt ([7b79f30](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7b79f301389fae48201e696d3086d257ed722fb9))
66
+ * **recovery:** a cancelled retry of Pi is a cancelled decision, a spent budget is not ([7e13f15](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7e13f156a279cded2b2d4b0c99358100b3d5e038))
67
+ * **recovery:** a manual request takes the work back from the countdown ([fa81d8f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/fa81d8fd9d6160166a095e07bdf17049bbafa32d))
68
+ * **recovery:** the predicate of Pi decides the retry, the provider identity is normalized ([6c8c17b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/6c8c17b53302cea1602d192251eacd0ebbd3e8c9))
69
+ * **release:** a manual release keeps the version of its manifest ([122e661](https://github.com/ManotLuijiu/pi-harness-runtime/commit/122e661ea48cb8aff14c71dbd0221a4cf0ba4c8e))
70
+ * **release:** the alignment names the reason of a failure ([5814dd0](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5814dd0b780f5839cf8011ed0cbbbb31e7eb0418))
71
+ * **release:** the channels of the package name the release ([a7a273f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a7a273ffe8398e2b5b07ef1c321777de41792c6e))
72
+ * **release:** the release publishes and leaves the channels alone ([5871746](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5871746589c1281d855dbeb591b02419fa43f22e))
73
+ * **release:** the release pull request names the version of its branch ([a846e83](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a846e83e6de6e529f4bca05e869db0b5eebb37c5))
74
+ * **release:** the release scans the tree of the commit it publishes ([7d47a0b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7d47a0b5406480a1e1d3a52623a76aabd1e2d0ba))
75
+ * **workspace:** a strong bench signal decides, and the question is not a fact of an option ([303a828](https://github.com/ManotLuijiu/pi-harness-runtime/commit/303a828f55aa7c4e0a611231f482489b530ff5a3))
76
+ * **workspace:** keep a client name out of the comment about the search depth ([b572e0a](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b572e0af16ff562203bda2b5c47b41807cff5a95))
77
+ * **workspace:** the repository names the mode before the mode stays unknown ([188a32c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/188a32c7a6af1465dd24714278fccc73d06f6477))
78
+
79
+ ### [1.1.496](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v1.1.448...v1.1.496) (2026-11-09)
80
+
81
+
82
+ ### Features
83
+
84
+ * **actions:** register the job resume, the GLM countdown and the queued continuations ([177c964](https://github.com/ManotLuijiu/pi-harness-runtime/commit/177c964555b0057e6bc7d293dafab10c95eabbf9))
85
+ * **delegation:** a child is only a child when it really ran ([ac4e678](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ac4e6782d7d4bc4941e458425c8a9f38a51fc9d4))
86
+ * **delegation:** the scope of a request is measured before it is judged ([684b6a5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/684b6a55184f63d3be24c48dcecfb0b13410dc15))
87
+ * **honcho:** the memory service speaks the native MCP of Pi ([f9f740c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/f9f740c12869bae4c4380afbe8c76e12388bb744))
88
+ * **jev:** one decision per question, bound to the question it was evaluated for ([03448aa](https://github.com/ManotLuijiu/pi-harness-runtime/commit/03448aaa17f2d0c3bcf644b0b1d5949727dfff8c))
89
+ * **jev:** the evaluation of a choice sees what the options mean ([f0c207e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/f0c207e074701e6b7dab0965170ec39453d9d502))
90
+ * **jev:** the pending question carries the ask and the answer ([a792133](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a792133e517fb8c12d3363e98942f3af30270f27))
91
+ * **jev:** the pending question counts down to the decision ([d0cc171](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d0cc171223986b2d32c670b6c1c74712fe0a4ad8))
92
+ * **keys:** tell the user what to do about an exposed key file ([7031003](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7031003574307351b7a8f28ee14159b58e17b793))
93
+ * **keys:** the key files are repaired when their permissions are unsafe ([e9c2c26](https://github.com/ManotLuijiu/pi-harness-runtime/commit/e9c2c26b287665b56ed749de269737e8403bb8af))
94
+ * **mcp:** the harness connects the registered servers when nobody else does ([7fef951](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7fef95137ad4664df57f045cd91b7d233315b0bc))
95
+ * **merge:** a manual run can leave the merge to the pull request event ([b3d1950](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b3d1950b5941c78ccd56951acdafd1d4afbe1bff))
96
+ * **phase:** the agent owns the todo list and the harness says so ([c489370](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c489370bd7926aece8cb1a77aa20ca2d2672f1fb))
97
+ * **providers:** a shared registry of the pending automatic actions and a bounded recovery ([c5f955b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c5f955bc82adcb6999a89d5bc278fa87fccee022))
98
+ * **providers:** one failure has one executor, and the retry bridge is checked ([e73c4c7](https://github.com/ManotLuijiu/pi-harness-runtime/commit/e73c4c76ff20a9708083659bdcefe74870a84837))
99
+ * **review:** the review starts on its own when the implementation is done ([04f51f5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/04f51f599cd3222b6c74dd8fadb1373bd72d9bd7))
100
+ * **status:** the status line names the phase, the progress and the children ([0167bf3](https://github.com/ManotLuijiu/pi-harness-runtime/commit/0167bf396a0b987c1d44f3b869351976a951dd65))
101
+ * **test:** the task waits for the final tier of the validation plan ([fa147db](https://github.com/ManotLuijiu/pi-harness-runtime/commit/fa147dbf7d50d56e6ea48c6d8fbb4fcb190caf8a))
102
+ * **validation:** a large job starts with a measured pilot ([425964b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/425964b04a3d4fa02adfabed47ff62c5ec2b9c28))
103
+ * **validation:** the size of a job is a fact, not a phrase ([8aa6c11](https://github.com/ManotLuijiu/pi-harness-runtime/commit/8aa6c119565d0f8412dc8aeafa6b295d47d3f093))
104
+ * **workspace:** a Frappe bench names the mode of the workspace ([9d58517](https://github.com/ManotLuijiu/pi-harness-runtime/commit/9d585172063a330992fee933316e268ae9985e3c))
105
+
106
+
107
+ ### Bug Fixes
108
+
109
+ * **ci:** every run of a required check counts, and the worst one decides ([da9e0da](https://github.com/ManotLuijiu/pi-harness-runtime/commit/da9e0da6b0ca29cb320764fd5fc1b8a8dee8b1e0))
110
+ * **ci:** the newest attempt of a run decides, not the attempt that failed ([9d7adcc](https://github.com/ManotLuijiu/pi-harness-runtime/commit/9d7adcc31cbacc517c3c1a9bcd3956be94c908ef))
111
+ * **honcho:** a handshake that never finishes is named instead of hanging the startup ([d66005f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d66005f928a4f8df5de5b8a0579cbd4f8df37ff9))
112
+ * **honcho:** a probe that the end of the session cuts off is not a failure ([493fd93](https://github.com/ManotLuijiu/pi-harness-runtime/commit/493fd938ba09fdcf57bed4aaf259d81c4040909e))
113
+ * **honcho:** a slow connector is not a failed one, the row is corrected when the tools appear ([b62ac5b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b62ac5b16ad93e2bfb10cbec589b80a09b7e20b3))
114
+ * **honcho:** a tools listing that the end of the session cuts off is not a failure ([62cc8c3](https://github.com/ManotLuijiu/pi-harness-runtime/commit/62cc8c376aade01c953ce2a1c6501ed07b74a1e9))
115
+ * **honcho:** the report names the state of the MCP server, not the registration ([762f4d5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/762f4d59e4eabcab9a1c21a61aa522c3267621b3))
116
+ * **hooks:** a tag is checked through the commit behind it ([c823e8e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c823e8e1f6973c62b5449a97c101759a4d5cbba5))
117
+ * **jev:** a completion question, a stale check and a pending validation ([827120b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/827120b4138b6f5ae253e69154de190085703de8))
118
+ * **jev:** a prohibition must not hide a destructive action ([78a6cc1](https://github.com/ManotLuijiu/pi-harness-runtime/commit/78a6cc199e647f812e145483f7e94991358d8f34))
119
+ * **jev:** a refusal without punctuation, and only a decline of an action ([ef3dbf8](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ef3dbf87a2a1725373281613a0d48881ed5d2239))
120
+ * **jev:** a rejection during the countdown pauses the work ([9b018ce](https://github.com/ManotLuijiu/pi-harness-runtime/commit/9b018ce1152b6724dee73cdc901b8a360ecc91ab))
121
+ * **jev:** a session switch ends the wait of the old session ([ca03d39](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ca03d399c0d4a1b2dd428ac39836ab53c0e51ab6))
122
+ * **jev:** keep a comparative caveat with the option it constrains ([7be306b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7be306b0d0872713ebca9386d613ae5a8da9d5b6))
123
+ * **jev:** the action of the question on its own text, and a reply is not an authorization ([7c3fdd6](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7c3fdd6822b58bd6ccfa3bcdf1c5282cb3db52dd))
124
+ * **jev:** the action of the question, and an open question blocks the work ([1f9ff39](https://github.com/ManotLuijiu/pi-harness-runtime/commit/1f9ff39efc4ee17464c54c2ca9b583245093dbac))
125
+ * **jev:** the alternatives of a question are parsed without a quadratic pattern ([63016a3](https://github.com/ManotLuijiu/pi-harness-runtime/commit/63016a3f0488acb801990dd46770c00d382b5858))
126
+ * **jev:** the countdown of an obsolete question does not outlive the work ([fe78b29](https://github.com/ManotLuijiu/pi-harness-runtime/commit/fe78b29e6fc513b11a6993bc68fd9418dc77f79b))
127
+ * **jev:** the facts of an option survive the wording of the agent ([5a6250c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5a6250c07aa8d965bc6ae242cccbf519477598f8))
128
+ * **jev:** the scope decides the question, the identity guards the awaits ([ed348b2](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ed348b2f94460a3b3ac11c01afd4420ee4ec1020))
129
+ * **keys:** the key directory is audited as a tree ([081cc75](https://github.com/ManotLuijiu/pi-harness-runtime/commit/081cc75ac8ceff36b0d619c3f76371dc08459d3c))
130
+ * **mcp:** the connector and the watcher stop with the session ([4d1b87d](https://github.com/ManotLuijiu/pi-harness-runtime/commit/4d1b87d14d015749025b62bf54d6d0b6137295f7))
131
+ * **mcp:** the connector survives a runtime that cannot list the servers ([d0f555f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d0f555fa14f51de33591e572a41ded5b59a3e4dd))
132
+ * **merge:** the boolean input is read as a boolean ([971b716](https://github.com/ManotLuijiu/pi-harness-runtime/commit/971b7169a43db382dbdeb6bb9bab02ab56e0351c))
133
+ * **merge:** the manual job needs the right of the merge ([7ba685e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7ba685ec43d815f90aa35b742579e87e76c69209))
134
+ * **merge:** the merge of the pull request is the GraphQL mutation ([972bab4](https://github.com/ManotLuijiu/pi-harness-runtime/commit/972bab4b0f7faf1b0047f3bb767ef6db3de4b2fa))
135
+ * **merge:** the workflow merges the pull request the gates cleared ([d7639ec](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d7639ec9b83723510acb4a5c4e23d5d6167c3af6))
136
+ * **providers:** the escape of the user stops the recovery, and a permanent failure clears it ([cfe5797](https://github.com/ManotLuijiu/pi-harness-runtime/commit/cfe57976bf463c327e45b874fd297c3e942246b8))
137
+ * **providers:** the pause wins over a retry, and the retry starts when the run settles ([e016dd2](https://github.com/ManotLuijiu/pi-harness-runtime/commit/e016dd2a5add5b0f3c848a225a28a59e0f5fc7f3))
138
+ * **recovery:** a cancelled countdown does not own the next attempt ([7b79f30](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7b79f301389fae48201e696d3086d257ed722fb9))
139
+ * **recovery:** a cancelled retry of Pi is a cancelled decision, a spent budget is not ([7e13f15](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7e13f156a279cded2b2d4b0c99358100b3d5e038))
140
+ * **recovery:** a manual request takes the work back from the countdown ([fa81d8f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/fa81d8fd9d6160166a095e07bdf17049bbafa32d))
141
+ * **recovery:** the predicate of Pi decides the retry, the provider identity is normalized ([6c8c17b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/6c8c17b53302cea1602d192251eacd0ebbd3e8c9))
142
+ * **release:** a manual release keeps the version of its manifest ([122e661](https://github.com/ManotLuijiu/pi-harness-runtime/commit/122e661ea48cb8aff14c71dbd0221a4cf0ba4c8e))
143
+ * **release:** the alignment names the reason of a failure ([5814dd0](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5814dd0b780f5839cf8011ed0cbbbb31e7eb0418))
144
+ * **release:** the channels of the package name the release ([a7a273f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a7a273ffe8398e2b5b07ef1c321777de41792c6e))
145
+ * **release:** the release publishes and leaves the channels alone ([5871746](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5871746589c1281d855dbeb591b02419fa43f22e))
146
+ * **release:** the release pull request names the version of its branch ([a846e83](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a846e83e6de6e529f4bca05e869db0b5eebb37c5))
147
+ * **release:** the release scans the tree of the commit it publishes ([7d47a0b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7d47a0b5406480a1e1d3a52623a76aabd1e2d0ba))
148
+ * **workspace:** a strong bench signal decides, and the question is not a fact of an option ([303a828](https://github.com/ManotLuijiu/pi-harness-runtime/commit/303a828f55aa7c4e0a611231f482489b530ff5a3))
149
+ * **workspace:** keep a client name out of the comment about the search depth ([b572e0a](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b572e0af16ff562203bda2b5c47b41807cff5a95))
150
+ * **workspace:** the repository names the mode before the mode stays unknown ([188a32c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/188a32c7a6af1465dd24714278fccc73d06f6477))
151
+
5
152
  ### [1.1.495](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v1.1.448...v1.1.495) (2026-11-09)
6
153
 
7
154
 
@@ -63,8 +63,10 @@ export interface JevWaitEligibility {
63
63
  * was never asked for. Silence must not authorize it, so an offer never
64
64
  * reaches the judge.
65
65
  *
66
- * The list is deliberately narrow. A wording that is not in the list is
67
- * treated as a question about the request, which keeps the judge useful.
66
+ * The list is a fallback only. It is consulted when the requested scope is
67
+ * unknown, because the scope decides when it is known: the wording of a
68
+ * question is not a fact about what was asked for. "Want me to implement A,
69
+ * or A+B?" is phrased like an offer and asks about the request itself.
68
70
  */
69
71
  const OFFER_WORDINGS: readonly RegExp[] = [
70
72
  /\bwould you like me to\b/i,
@@ -79,14 +81,193 @@ const OFFER_WORDINGS: readonly RegExp[] = [
79
81
  /\bis there anything\b/i,
80
82
  ];
81
83
 
84
+ /**
85
+ * The words that carry no scope.
86
+ *
87
+ * They are the same in a request and in a question about it, so they never
88
+ * show that a question is about the requested work.
89
+ */
90
+ const SCOPE_STOP_WORDS: ReadonlySet<string> = new Set([
91
+ "a",
92
+ "an",
93
+ "and",
94
+ "are",
95
+ "as",
96
+ "at",
97
+ "be",
98
+ "but",
99
+ "by",
100
+ "can",
101
+ "do",
102
+ "does",
103
+ "for",
104
+ "from",
105
+ "has",
106
+ "have",
107
+ "i",
108
+ "if",
109
+ "in",
110
+ "is",
111
+ "it",
112
+ "its",
113
+ "may",
114
+ "me",
115
+ "my",
116
+ "of",
117
+ "on",
118
+ "or",
119
+ "our",
120
+ "shall",
121
+ "should",
122
+ "so",
123
+ "that",
124
+ "the",
125
+ "their",
126
+ "them",
127
+ "then",
128
+ "there",
129
+ "these",
130
+ "they",
131
+ "this",
132
+ "to",
133
+ "us",
134
+ "want",
135
+ "was",
136
+ "we",
137
+ "were",
138
+ "what",
139
+ "when",
140
+ "which",
141
+ "will",
142
+ "with",
143
+ "would",
144
+ "you",
145
+ "your",
146
+ ]);
147
+
148
+ /**
149
+ * The verbs that start an imperative task.
150
+ *
151
+ * The verb of a task is not its subject: "Implement login" asks for a login,
152
+ * and the word "implement" says nothing about it. A shared verb is never
153
+ * evidence that a question is about the requested work.
154
+ */
155
+ const TASK_VERBS: ReadonlySet<string> = new Set([
156
+ "add",
157
+ "apply",
158
+ "build",
159
+ "change",
160
+ "check",
161
+ "clean",
162
+ "configure",
163
+ "create",
164
+ "delete",
165
+ "deploy",
166
+ "design",
167
+ "document",
168
+ "enable",
169
+ "evaluate",
170
+ "extend",
171
+ "extract",
172
+ "fix",
173
+ "handle",
174
+ "implement",
175
+ "improve",
176
+ "install",
177
+ "make",
178
+ "merge",
179
+ "migrate",
180
+ "move",
181
+ "optimize",
182
+ "plan",
183
+ "refactor",
184
+ "remove",
185
+ "rename",
186
+ "replace",
187
+ "review",
188
+ "run",
189
+ "seed",
190
+ "set",
191
+ "support",
192
+ "sync",
193
+ "test",
194
+ "update",
195
+ "upgrade",
196
+ "verify",
197
+ "write",
198
+ ]);
199
+
200
+ /**
201
+ * The kinds of a question that ask for information, not for an approval.
202
+ *
203
+ * A question of such a kind is about the work at hand: the agent cannot
204
+ * continue the requested work without the answer. The scope of the request
205
+ * cannot reject it, because a clarification often names nothing that the
206
+ * request names.
207
+ */
208
+ const INFORMATION_KINDS: ReadonlySet<string> = new Set([
209
+ "clarification",
210
+ "choice",
211
+ "routine",
212
+ ]);
213
+
214
+ /**
215
+ * The words of a text that name something.
216
+ *
217
+ * The comparison of the scope uses these words: a question is about the
218
+ * requested work when it names the same things.
219
+ */
220
+ function scopeTerms(text: string | undefined): string[] {
221
+ const words = (text ?? "")
222
+ .toLowerCase()
223
+ .split(/[^a-z0-9+#]+/)
224
+ .map((word) => word.trim())
225
+ .filter((word) => word.length >= 3 && !SCOPE_STOP_WORDS.has(word));
226
+ return Array.from(new Set(words));
227
+ }
228
+
229
+ /**
230
+ * The subject of the requested scope.
231
+ *
232
+ * The verb of a task is not its subject, so it is left out: the subject of
233
+ * "Implement login" is "login". A task whose only word is its verb has no
234
+ * subject, and then nothing is left out.
235
+ */
236
+ function scopeSubjectTerms(scope: readonly string[]): Set<string> {
237
+ const terms = new Set<string>();
238
+ for (const item of scope) {
239
+ const words = scopeTerms(item);
240
+ if (words.length === 0) continue;
241
+ const subject =
242
+ words.length > 1 && TASK_VERBS.has(words[0]) ? words.slice(1) : words;
243
+ for (const term of subject) terms.add(term);
244
+ }
245
+ return terms;
246
+ }
247
+
82
248
  /**
83
249
  * Is the question an offer of work that was not asked for?
84
250
  *
85
- * The wording of the question decides, not the wording of the message around
86
- * it: a long message that talks about many things must not turn a question
87
- * about the request into an offer.
251
+ * The kind of the question decides first: a question that asks for
252
+ * information or for a choice is about the work at hand and is never an
253
+ * offer, because the agent cannot continue the requested work without the
254
+ * answer.
255
+ *
256
+ * An approval is then compared with the requested scope. The comparison uses
257
+ * the subject of the work: a shared verb is never evidence, because every
258
+ * proposal shares the verb of the task it proposes.
88
259
  */
89
- export function classifyQuestionRelevance(text: string | undefined): {
260
+ export function classifyQuestionRelevance(
261
+ text: string | undefined,
262
+ options: {
263
+ /** The work that was requested: the subjects of the todos. */
264
+ scope?: readonly string[] | undefined;
265
+ /** The action that the question proposes, when it was extracted. */
266
+ action?: string | undefined;
267
+ /** The kind of the question ("approval", "clarification", ...). */
268
+ kind?: string | undefined;
269
+ } = {},
270
+ ): {
90
271
  offer: boolean;
91
272
  reason: string;
92
273
  } {
@@ -94,6 +275,43 @@ export function classifyQuestionRelevance(text: string | undefined): {
94
275
  if (!value) {
95
276
  return { offer: false, reason: "the question has no text" };
96
277
  }
278
+ const kind = (options.kind ?? "").trim().toLowerCase();
279
+ if (INFORMATION_KINDS.has(kind)) {
280
+ return {
281
+ offer: false,
282
+ reason: `the question asks for information (${kind}) and is needed for the requested work`,
283
+ };
284
+ }
285
+ const scope = options.scope;
286
+ if (scope && scope.length > 0) {
287
+ const wanted = scopeSubjectTerms(scope);
288
+ if (wanted.size > 0) {
289
+ // The action of the question is compared with the scope, not the
290
+ // whole message: a message around the question talks about many
291
+ // things and must not decide the question.
292
+ const action = options.action?.trim() || value;
293
+ const subject = scopeTerms(action);
294
+ if (subject.length === 0) {
295
+ // The action names nothing, so the harness cannot tell what
296
+ // the question proposes and does not guess.
297
+ return {
298
+ offer: false,
299
+ reason: "the action of the question names nothing",
300
+ };
301
+ }
302
+ const shared = subject.filter((term) => wanted.has(term));
303
+ if (shared.length > 0) {
304
+ return {
305
+ offer: false,
306
+ reason: `the question asks about the requested scope (${shared.join(", ")})`,
307
+ };
308
+ }
309
+ return {
310
+ offer: true,
311
+ reason: "the question proposes work that the request does not name",
312
+ };
313
+ }
314
+ }
97
315
  for (const wording of OFFER_WORDINGS) {
98
316
  if (wording.test(value)) {
99
317
  return {
@@ -105,6 +323,20 @@ export function classifyQuestionRelevance(text: string | undefined): {
105
323
  return { offer: false, reason: "the question asks about the request" };
106
324
  }
107
325
 
326
+ /**
327
+ * Is the question that waits now the question that was checked?
328
+ *
329
+ * A check that captured a question may only act on that question: a
330
+ * question that was answered, replaced or cancelled in the meantime owns
331
+ * its own wait.
332
+ */
333
+ export function ownsQuestion(
334
+ current: { requestId?: string } | null | undefined,
335
+ requestId: string,
336
+ ): boolean {
337
+ return current != null && current.requestId === requestId;
338
+ }
339
+
108
340
  /**
109
341
  * The state of the work, from the task list.
110
342
  *
@@ -159,8 +391,18 @@ export function questionRelevance(input: {
159
391
  text: string | undefined;
160
392
  /** The state of the work when the question was asked. */
161
393
  work: JevWorkState;
394
+ /** The work that was requested: the subjects of the todos. */
395
+ scope?: readonly string[] | undefined;
396
+ /** The action that the question proposes, when it was extracted. */
397
+ action?: string | undefined;
398
+ /** The kind of the question ("approval", "clarification", ...). */
399
+ kind?: string | undefined;
162
400
  }): JevQuestionRelevance {
163
- const offer = classifyQuestionRelevance(input.text);
401
+ const offer = classifyQuestionRelevance(input.text, {
402
+ scope: input.scope,
403
+ action: input.action,
404
+ kind: input.kind,
405
+ });
164
406
  if (offer.offer) return "optional-offer";
165
407
  if (input.work === "complete") return "final-request";
166
408
  return "current-request";
package/index.ts CHANGED
@@ -43,6 +43,7 @@ import {
43
43
  clearObsoleteWait,
44
44
  isObsoleteQuestion,
45
45
  jevWaitEligibility,
46
+ ownsQuestion,
46
47
  questionRelevance,
47
48
  workStateFromTodos,
48
49
  type JevQuestionRelevance,
@@ -1296,15 +1297,24 @@ async function initAutoContinue(pi: ExtensionAPI): Promise<void> {
1296
1297
  let _lastWorkState: JevWorkState = "unknown";
1297
1298
 
1298
1299
  /**
1299
- * The state of the work of the current request.
1300
+ * The state of the work of the current request and the scope that
1301
+ * was requested.
1300
1302
  *
1301
1303
  * The task list is the only source. A list that could not be read
1302
1304
  * says nothing: an unreadable list is never an empty list, and an
1303
1305
  * empty list is never a finished request.
1306
+ *
1307
+ * The scope is the work that was asked for: the subjects of the
1308
+ * todos. A question that names the same work is a question about
1309
+ * the request, and a question that names something else proposes
1310
+ * work that was never asked for.
1304
1311
  */
1305
- async function currentWorkState(): Promise<JevWorkState> {
1312
+ async function currentWorkContext(): Promise<{
1313
+ work: JevWorkState;
1314
+ scope: string[];
1315
+ }> {
1306
1316
  const controller = todoContinuationController;
1307
- if (!controller) return "unknown";
1317
+ if (!controller) return { work: "unknown", scope: [] };
1308
1318
  try {
1309
1319
  const snapshot = await controller.getSnapshot();
1310
1320
  // A todo that is marked complete while its final tier has not
@@ -1315,15 +1325,26 @@ async function initAutoContinue(pi: ExtensionAPI): Promise<void> {
1315
1325
  validationLedger?.isFinalTierPending(item),
1316
1326
  )
1317
1327
  : false;
1318
- return workStateFromTodos(snapshot.items, {
1328
+ const work = workStateFromTodos(snapshot.items, {
1319
1329
  available: true,
1320
1330
  validationPending,
1321
1331
  });
1332
+ const scope = snapshot.items
1333
+ .map((item) => (item.subject ?? "").trim())
1334
+ .filter((subject) => subject.length > 0);
1335
+ return { work, scope };
1322
1336
  } catch {
1323
- return "unknown";
1337
+ return { work: "unknown", scope: [] };
1324
1338
  }
1325
1339
  }
1326
1340
 
1341
+ /**
1342
+ * The state of the work of the current request.
1343
+ */
1344
+ async function currentWorkState(): Promise<JevWorkState> {
1345
+ return (await currentWorkContext()).work;
1346
+ }
1347
+
1327
1348
  /**
1328
1349
  * May the current question be decided automatically?
1329
1350
  *
@@ -1360,31 +1381,51 @@ async function initAutoContinue(pi: ExtensionAPI): Promise<void> {
1360
1381
  async function reconcileObsoleteQuestion(): Promise<void> {
1361
1382
  const question = sharedState.pqController?.getCurrentQuestion?.();
1362
1383
  if (!question || !isQuestionOpen(question)) return;
1384
+ // The identity of the question is kept: the state of the work is
1385
+ // read with an await, and a question that replaces this one in
1386
+ // the meantime must not be closed by the check of the old one.
1387
+ const requestId = question.requestId;
1363
1388
  const relevance =
1364
1389
  (question.relevance as JevQuestionRelevance | undefined) ??
1365
1390
  "current-request";
1366
1391
  const work = await currentWorkState();
1367
1392
  _lastWorkState = work;
1393
+ // The question that waits now must be the question that was
1394
+ // checked: a replaced question is not closed by the check of the
1395
+ // one it replaced.
1396
+ const current = sharedState.pqController?.getCurrentQuestion?.();
1397
+ if (!ownsQuestion(current, requestId) || !isQuestionOpen(current)) {
1398
+ logToFile(
1399
+ "[auto-continue]",
1400
+ "The question was replaced while the work was read - the check is stale",
1401
+ );
1402
+ return;
1403
+ }
1368
1404
  const obsolete = isObsoleteQuestion({ relevance, work });
1369
1405
  if (!obsolete.obsolete) return;
1370
1406
  logToFile(
1371
1407
  "[auto-continue]",
1372
1408
  "The work of the question is done - the question is obsolete:",
1373
- question.requestId,
1409
+ requestId,
1374
1410
  );
1375
1411
  // The question is closed without an answer: nobody clicked
1376
1412
  // anything, so no answer is injected. Only the Jev owner is
1377
1413
  // touched: a countdown of another owner keeps its deadline.
1378
1414
  clearObsoleteWait({
1379
- requestId: question.requestId,
1415
+ requestId,
1380
1416
  cancelQuestion: (reason) => {
1417
+ // The question that is closed is the one that was checked:
1418
+ // the cancel of the controller acts on the current
1419
+ // question, so it runs only while that is the same one.
1420
+ const still = sharedState.pqController?.getCurrentQuestion?.();
1421
+ if (!ownsQuestion(still, requestId)) return;
1381
1422
  sharedState.pqController?.cancel(reason);
1382
1423
  },
1383
1424
  cancelWait: () => {
1384
1425
  waitLifecycle.cancel();
1385
1426
  },
1386
- removeRow: (requestId) => {
1387
- pendingActions.remove(jevDecisionActionId(requestId));
1427
+ removeRow: (id) => {
1428
+ pendingActions.remove(jevDecisionActionId(id));
1388
1429
  },
1389
1430
  });
1390
1431
  updateAutoContinueStatus("IDLE");
@@ -1892,11 +1933,19 @@ async function initAutoContinue(pi: ExtensionAPI): Promise<void> {
1892
1933
  // to the request. It is read before the wait starts, because
1893
1934
  // the wait is the thing that must not start for a question
1894
1935
  // that nobody may answer by silence.
1895
- const workState = await currentWorkState();
1936
+ //
1937
+ // The scope that was requested decides whether the question
1938
+ // is about that work: the wording of a question is not a
1939
+ // fact about what was asked for.
1940
+ const workContext = await currentWorkContext();
1941
+ const workState = workContext.work;
1896
1942
  _lastWorkState = workState;
1897
1943
  const relevance = questionRelevance({
1898
1944
  text: result.questionText,
1899
1945
  work: workState,
1946
+ scope: workContext.scope,
1947
+ action: questionAction,
1948
+ kind: questionKind,
1900
1949
  });
1901
1950
  const eligibility = jevWaitEligibility({
1902
1951
  relevance,
@@ -2420,6 +2469,17 @@ async function initAutoContinue(pi: ExtensionAPI): Promise<void> {
2420
2469
  // obsolete question steers nothing, pauses nothing and resolves
2421
2470
  // nothing.
2422
2471
  const eligibility = await currentWaitEligibility();
2472
+ // The ownership is checked again after the await: the question
2473
+ // may have been answered, replaced or cancelled while the work
2474
+ // was read, and then the decision belongs to a question that is
2475
+ // gone. It must not pause the work of a newer question.
2476
+ if (!waitLifecycle.ownsEvaluation(evaluation)) {
2477
+ logToFile(
2478
+ "[auto-continue]",
2479
+ "The question was replaced while the decision was checked - discarding the decision",
2480
+ );
2481
+ return;
2482
+ }
2423
2483
  if (!eligibility.eligible) {
2424
2484
  logToFile(
2425
2485
  "[auto-continue]",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-harness-runtime",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "[BETA] Codex-style /usage status + autonomous coding harness for pi. Not production ready — expect breaking changes.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi/agent-policy",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Agent policy runtime for pi-harness - enforces mandatory rule delivery and mutation gating",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/auth",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "pi-harness-runtime — auth",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi/autonomous-runtime",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Autonomous Operations Runtime — task inbox, lease management, and worker lifecycle (RFC-0101)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi/checkpoint",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Enhanced checkpoint system with incremental snapshots, diff-based storage, and recovery strategies",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi/clipboard",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/codex-watcher",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Watches Codex CLI sessions and emits visible messages for PING-PONG monitoring",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moocoding/config-capture",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Auto-capture API-fetched configuration values to AGENTS.md",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/contracts",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "type": "module",
5
5
  "description": "RPC schema definitions for pi-harness runtime",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/cookie-sanitizer",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "pi-harness-runtime — cookie sanitizer (provider-quota cookie file normaliser)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/evaluation-engine",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Evaluation engine for pi-harness runtime (RFC-0057)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi/event-bus",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi/event-store",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/experience-replay",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Experience replay for debugging and reproducibility (RFC-0059)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moocoding/file-copy-helper",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Injects cp/sudo cp rule when user asks to mimic/copy files",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi/intent-analyzer",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/jev-judge",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Jev Judge - Structured decision model for agent routing, E2E testing, and automated decisions",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/knowledge-retrieval",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Knowledge retrieval via TencentDB-Agent-Memory MCP (RFC-0105)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/learning-engine",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Learning engine for extracting lessons from runtime execution (RFC-0058)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/logging",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "type": "module",
5
5
  "description": "Centralized structured application logging with buffered Cloudflare R2 and webhook transports",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/memory-engine",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Memory engine with OKF integration for durable knowledge management (RFC-0060)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/notification",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "pi-harness-runtime — notification",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/paperclip-integration",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Paperclip API integration: poll agent inbox, route tasks to pi.dev, Telegram alerts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/performance-optimizer",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Performance optimization analyzer for pi-harness runtime (RFC-0056)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi/privilege-broker",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Privilege Broker — capability registry and command executor for autonomous runtime (RFC-0101 §7)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi/prompt-compiler",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Deterministic prompt compiler for pi-harness-runtime",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/providers",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "pi-harness-runtime — providers",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/qdrant-skills",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Qdrant vector search integration for Hermes-style skill system",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/quota-manager",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "pi-harness-runtime — quota-manager",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/relay",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "type": "module",
5
5
  "description": "Cloud relay for remote access - T3 Connect style for pi-harness",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi/skill-mcp-client",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "MCP client for Skills SaaS backend",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/skills",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "File-based skill system with pi.dev compatibility and Hermes self-improvement",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moocoding/todo-bd-sync",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Two-way sync between rpiv-todo overlay and bd issue tracker",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/token-estimation",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "pi-harness-runtime — token-estimation",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/tooling-preference",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "pi-harness-runtime — JS/TS tooling preference (Biome vs ESLint/Prettier) proposal",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/trajectory",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Trajectory capture for the write-review loop — persists cycle records for learning",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/tui",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "pi-harness-runtime — tui",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/two-phase-review",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "pi-harness-runtime — two-phase implementation and review workflow (queue review signals, gate the phase, scope the diff)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/types",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Shared TypeScript types for pi-harness-runtime packages",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/webmcp-tester",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "WebMCP-powered E2E testing for pi-harness - natural language test scenarios",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-harness/wiki",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "LLM Wiki integration for pi-harness-runtime",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moocoding/write-review",
3
- "version": "1.1.495",
3
+ "version": "1.1.497",
4
4
  "description": "Two-agent write-review loop with blackboard coordination",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",