pi-harness-runtime 1.1.496 → 1.1.498
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.
- package/CHANGELOG.md +149 -0
- package/harness/jev-wait-eligibility.ts +151 -9
- package/index.ts +34 -13
- package/package.json +1 -1
- package/packages/agent-policy/package.json +1 -1
- package/packages/auth/package.json +1 -1
- package/packages/autonomous-runtime/package.json +1 -1
- package/packages/checkpoint/package.json +1 -1
- package/packages/clipboard/package.json +1 -1
- package/packages/codex-watcher/package.json +1 -1
- package/packages/config-capture/package.json +1 -1
- package/packages/contracts/package.json +1 -1
- package/packages/cookie-sanitizer/package.json +1 -1
- package/packages/evaluation-engine/package.json +1 -1
- package/packages/event-bus/package.json +1 -1
- package/packages/event-store/package.json +1 -1
- package/packages/experience-replay/package.json +1 -1
- package/packages/file-copy-helper/package.json +1 -1
- package/packages/intent-analyzer/package.json +1 -1
- package/packages/jev-judge/package.json +1 -1
- package/packages/knowledge-retrieval/package.json +1 -1
- package/packages/learning-engine/package.json +1 -1
- package/packages/logging/package.json +1 -1
- package/packages/memory-engine/package.json +1 -1
- package/packages/notification/package.json +1 -1
- package/packages/paperclip-integration/package.json +1 -1
- package/packages/performance-optimizer/package.json +1 -1
- package/packages/privilege-broker/package.json +1 -1
- package/packages/prompt-compiler/package.json +1 -1
- package/packages/providers/package.json +1 -1
- package/packages/qdrant-skills/package.json +1 -1
- package/packages/quota-manager/package.json +1 -1
- package/packages/relay/package.json +1 -1
- package/packages/skill-mcp-client/package.json +1 -1
- package/packages/skills/package.json +1 -1
- package/packages/todo-bd-sync/package.json +1 -1
- package/packages/token-estimation/package.json +1 -1
- package/packages/tooling-preference/package.json +1 -1
- package/packages/trajectory/package.json +1 -1
- package/packages/tui/package.json +1 -1
- package/packages/two-phase-review/package.json +1 -1
- package/packages/types/package.json +1 -1
- package/packages/webmcp-tester/package.json +1 -1
- package/packages/wiki/package.json +1 -1
- package/packages/write-review/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,155 @@
|
|
|
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.498](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v1.1.448...v1.1.498) (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:** an open question is not a permission to answer it ([e20eca2](https://github.com/ManotLuijiu/pi-harness-runtime/commit/e20eca24bb88d385198bb12ee3ebf573af9aea86))
|
|
49
|
+
* **jev:** keep a comparative caveat with the option it constrains ([7be306b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7be306b0d0872713ebca9386d613ae5a8da9d5b6))
|
|
50
|
+
* **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))
|
|
51
|
+
* **jev:** the action of the question, and an open question blocks the work ([1f9ff39](https://github.com/ManotLuijiu/pi-harness-runtime/commit/1f9ff39efc4ee17464c54c2ca9b583245093dbac))
|
|
52
|
+
* **jev:** the alternatives of a question are parsed without a quadratic pattern ([63016a3](https://github.com/ManotLuijiu/pi-harness-runtime/commit/63016a3f0488acb801990dd46770c00d382b5858))
|
|
53
|
+
* **jev:** the countdown of an obsolete question does not outlive the work ([fe78b29](https://github.com/ManotLuijiu/pi-harness-runtime/commit/fe78b29e6fc513b11a6993bc68fd9418dc77f79b))
|
|
54
|
+
* **jev:** the facts of an option survive the wording of the agent ([5a6250c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5a6250c07aa8d965bc6ae242cccbf519477598f8))
|
|
55
|
+
* **jev:** the scope decides the question, the identity guards the awaits ([ed348b2](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ed348b2f94460a3b3ac11c01afd4420ee4ec1020))
|
|
56
|
+
* **jev:** the subject of the scope decides, a clarification is preserved ([faf6a0f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/faf6a0fe7d0dce94d4fa48d0d7a57d126556ba6d))
|
|
57
|
+
* **keys:** the key directory is audited as a tree ([081cc75](https://github.com/ManotLuijiu/pi-harness-runtime/commit/081cc75ac8ceff36b0d619c3f76371dc08459d3c))
|
|
58
|
+
* **mcp:** the connector and the watcher stop with the session ([4d1b87d](https://github.com/ManotLuijiu/pi-harness-runtime/commit/4d1b87d14d015749025b62bf54d6d0b6137295f7))
|
|
59
|
+
* **mcp:** the connector survives a runtime that cannot list the servers ([d0f555f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d0f555fa14f51de33591e572a41ded5b59a3e4dd))
|
|
60
|
+
* **merge:** the boolean input is read as a boolean ([971b716](https://github.com/ManotLuijiu/pi-harness-runtime/commit/971b7169a43db382dbdeb6bb9bab02ab56e0351c))
|
|
61
|
+
* **merge:** the manual job needs the right of the merge ([7ba685e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7ba685ec43d815f90aa35b742579e87e76c69209))
|
|
62
|
+
* **merge:** the merge of the pull request is the GraphQL mutation ([972bab4](https://github.com/ManotLuijiu/pi-harness-runtime/commit/972bab4b0f7faf1b0047f3bb767ef6db3de4b2fa))
|
|
63
|
+
* **merge:** the workflow merges the pull request the gates cleared ([d7639ec](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d7639ec9b83723510acb4a5c4e23d5d6167c3af6))
|
|
64
|
+
* **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))
|
|
65
|
+
* **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))
|
|
66
|
+
* **recovery:** a cancelled countdown does not own the next attempt ([7b79f30](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7b79f301389fae48201e696d3086d257ed722fb9))
|
|
67
|
+
* **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))
|
|
68
|
+
* **recovery:** a manual request takes the work back from the countdown ([fa81d8f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/fa81d8fd9d6160166a095e07bdf17049bbafa32d))
|
|
69
|
+
* **recovery:** the predicate of Pi decides the retry, the provider identity is normalized ([6c8c17b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/6c8c17b53302cea1602d192251eacd0ebbd3e8c9))
|
|
70
|
+
* **release:** a manual release keeps the version of its manifest ([122e661](https://github.com/ManotLuijiu/pi-harness-runtime/commit/122e661ea48cb8aff14c71dbd0221a4cf0ba4c8e))
|
|
71
|
+
* **release:** the alignment names the reason of a failure ([5814dd0](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5814dd0b780f5839cf8011ed0cbbbb31e7eb0418))
|
|
72
|
+
* **release:** the channels of the package name the release ([a7a273f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a7a273ffe8398e2b5b07ef1c321777de41792c6e))
|
|
73
|
+
* **release:** the release publishes and leaves the channels alone ([5871746](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5871746589c1281d855dbeb591b02419fa43f22e))
|
|
74
|
+
* **release:** the release pull request names the version of its branch ([a846e83](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a846e83e6de6e529f4bca05e869db0b5eebb37c5))
|
|
75
|
+
* **release:** the release scans the tree of the commit it publishes ([7d47a0b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7d47a0b5406480a1e1d3a52623a76aabd1e2d0ba))
|
|
76
|
+
* **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))
|
|
77
|
+
* **workspace:** keep a client name out of the comment about the search depth ([b572e0a](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b572e0af16ff562203bda2b5c47b41807cff5a95))
|
|
78
|
+
* **workspace:** the repository names the mode before the mode stays unknown ([188a32c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/188a32c7a6af1465dd24714278fccc73d06f6477))
|
|
79
|
+
|
|
80
|
+
### [1.1.497](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v1.1.448...v1.1.497) (2026-11-09)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Features
|
|
84
|
+
|
|
85
|
+
* **actions:** register the job resume, the GLM countdown and the queued continuations ([177c964](https://github.com/ManotLuijiu/pi-harness-runtime/commit/177c964555b0057e6bc7d293dafab10c95eabbf9))
|
|
86
|
+
* **delegation:** a child is only a child when it really ran ([ac4e678](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ac4e6782d7d4bc4941e458425c8a9f38a51fc9d4))
|
|
87
|
+
* **delegation:** the scope of a request is measured before it is judged ([684b6a5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/684b6a55184f63d3be24c48dcecfb0b13410dc15))
|
|
88
|
+
* **honcho:** the memory service speaks the native MCP of Pi ([f9f740c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/f9f740c12869bae4c4380afbe8c76e12388bb744))
|
|
89
|
+
* **jev:** one decision per question, bound to the question it was evaluated for ([03448aa](https://github.com/ManotLuijiu/pi-harness-runtime/commit/03448aaa17f2d0c3bcf644b0b1d5949727dfff8c))
|
|
90
|
+
* **jev:** the evaluation of a choice sees what the options mean ([f0c207e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/f0c207e074701e6b7dab0965170ec39453d9d502))
|
|
91
|
+
* **jev:** the pending question carries the ask and the answer ([a792133](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a792133e517fb8c12d3363e98942f3af30270f27))
|
|
92
|
+
* **jev:** the pending question counts down to the decision ([d0cc171](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d0cc171223986b2d32c670b6c1c74712fe0a4ad8))
|
|
93
|
+
* **keys:** tell the user what to do about an exposed key file ([7031003](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7031003574307351b7a8f28ee14159b58e17b793))
|
|
94
|
+
* **keys:** the key files are repaired when their permissions are unsafe ([e9c2c26](https://github.com/ManotLuijiu/pi-harness-runtime/commit/e9c2c26b287665b56ed749de269737e8403bb8af))
|
|
95
|
+
* **mcp:** the harness connects the registered servers when nobody else does ([7fef951](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7fef95137ad4664df57f045cd91b7d233315b0bc))
|
|
96
|
+
* **merge:** a manual run can leave the merge to the pull request event ([b3d1950](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b3d1950b5941c78ccd56951acdafd1d4afbe1bff))
|
|
97
|
+
* **phase:** the agent owns the todo list and the harness says so ([c489370](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c489370bd7926aece8cb1a77aa20ca2d2672f1fb))
|
|
98
|
+
* **providers:** a shared registry of the pending automatic actions and a bounded recovery ([c5f955b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c5f955bc82adcb6999a89d5bc278fa87fccee022))
|
|
99
|
+
* **providers:** one failure has one executor, and the retry bridge is checked ([e73c4c7](https://github.com/ManotLuijiu/pi-harness-runtime/commit/e73c4c76ff20a9708083659bdcefe74870a84837))
|
|
100
|
+
* **review:** the review starts on its own when the implementation is done ([04f51f5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/04f51f599cd3222b6c74dd8fadb1373bd72d9bd7))
|
|
101
|
+
* **status:** the status line names the phase, the progress and the children ([0167bf3](https://github.com/ManotLuijiu/pi-harness-runtime/commit/0167bf396a0b987c1d44f3b869351976a951dd65))
|
|
102
|
+
* **test:** the task waits for the final tier of the validation plan ([fa147db](https://github.com/ManotLuijiu/pi-harness-runtime/commit/fa147dbf7d50d56e6ea48c6d8fbb4fcb190caf8a))
|
|
103
|
+
* **validation:** a large job starts with a measured pilot ([425964b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/425964b04a3d4fa02adfabed47ff62c5ec2b9c28))
|
|
104
|
+
* **validation:** the size of a job is a fact, not a phrase ([8aa6c11](https://github.com/ManotLuijiu/pi-harness-runtime/commit/8aa6c119565d0f8412dc8aeafa6b295d47d3f093))
|
|
105
|
+
* **workspace:** a Frappe bench names the mode of the workspace ([9d58517](https://github.com/ManotLuijiu/pi-harness-runtime/commit/9d585172063a330992fee933316e268ae9985e3c))
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
### Bug Fixes
|
|
109
|
+
|
|
110
|
+
* **ci:** every run of a required check counts, and the worst one decides ([da9e0da](https://github.com/ManotLuijiu/pi-harness-runtime/commit/da9e0da6b0ca29cb320764fd5fc1b8a8dee8b1e0))
|
|
111
|
+
* **ci:** the newest attempt of a run decides, not the attempt that failed ([9d7adcc](https://github.com/ManotLuijiu/pi-harness-runtime/commit/9d7adcc31cbacc517c3c1a9bcd3956be94c908ef))
|
|
112
|
+
* **honcho:** a handshake that never finishes is named instead of hanging the startup ([d66005f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d66005f928a4f8df5de5b8a0579cbd4f8df37ff9))
|
|
113
|
+
* **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))
|
|
114
|
+
* **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))
|
|
115
|
+
* **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))
|
|
116
|
+
* **honcho:** the report names the state of the MCP server, not the registration ([762f4d5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/762f4d59e4eabcab9a1c21a61aa522c3267621b3))
|
|
117
|
+
* **hooks:** a tag is checked through the commit behind it ([c823e8e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c823e8e1f6973c62b5449a97c101759a4d5cbba5))
|
|
118
|
+
* **jev:** a completion question, a stale check and a pending validation ([827120b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/827120b4138b6f5ae253e69154de190085703de8))
|
|
119
|
+
* **jev:** a prohibition must not hide a destructive action ([78a6cc1](https://github.com/ManotLuijiu/pi-harness-runtime/commit/78a6cc199e647f812e145483f7e94991358d8f34))
|
|
120
|
+
* **jev:** a refusal without punctuation, and only a decline of an action ([ef3dbf8](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ef3dbf87a2a1725373281613a0d48881ed5d2239))
|
|
121
|
+
* **jev:** a rejection during the countdown pauses the work ([9b018ce](https://github.com/ManotLuijiu/pi-harness-runtime/commit/9b018ce1152b6724dee73cdc901b8a360ecc91ab))
|
|
122
|
+
* **jev:** a session switch ends the wait of the old session ([ca03d39](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ca03d399c0d4a1b2dd428ac39836ab53c0e51ab6))
|
|
123
|
+
* **jev:** keep a comparative caveat with the option it constrains ([7be306b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7be306b0d0872713ebca9386d613ae5a8da9d5b6))
|
|
124
|
+
* **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))
|
|
125
|
+
* **jev:** the action of the question, and an open question blocks the work ([1f9ff39](https://github.com/ManotLuijiu/pi-harness-runtime/commit/1f9ff39efc4ee17464c54c2ca9b583245093dbac))
|
|
126
|
+
* **jev:** the alternatives of a question are parsed without a quadratic pattern ([63016a3](https://github.com/ManotLuijiu/pi-harness-runtime/commit/63016a3f0488acb801990dd46770c00d382b5858))
|
|
127
|
+
* **jev:** the countdown of an obsolete question does not outlive the work ([fe78b29](https://github.com/ManotLuijiu/pi-harness-runtime/commit/fe78b29e6fc513b11a6993bc68fd9418dc77f79b))
|
|
128
|
+
* **jev:** the facts of an option survive the wording of the agent ([5a6250c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5a6250c07aa8d965bc6ae242cccbf519477598f8))
|
|
129
|
+
* **jev:** the scope decides the question, the identity guards the awaits ([ed348b2](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ed348b2f94460a3b3ac11c01afd4420ee4ec1020))
|
|
130
|
+
* **jev:** the subject of the scope decides, a clarification is preserved ([faf6a0f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/faf6a0fe7d0dce94d4fa48d0d7a57d126556ba6d))
|
|
131
|
+
* **keys:** the key directory is audited as a tree ([081cc75](https://github.com/ManotLuijiu/pi-harness-runtime/commit/081cc75ac8ceff36b0d619c3f76371dc08459d3c))
|
|
132
|
+
* **mcp:** the connector and the watcher stop with the session ([4d1b87d](https://github.com/ManotLuijiu/pi-harness-runtime/commit/4d1b87d14d015749025b62bf54d6d0b6137295f7))
|
|
133
|
+
* **mcp:** the connector survives a runtime that cannot list the servers ([d0f555f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d0f555fa14f51de33591e572a41ded5b59a3e4dd))
|
|
134
|
+
* **merge:** the boolean input is read as a boolean ([971b716](https://github.com/ManotLuijiu/pi-harness-runtime/commit/971b7169a43db382dbdeb6bb9bab02ab56e0351c))
|
|
135
|
+
* **merge:** the manual job needs the right of the merge ([7ba685e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7ba685ec43d815f90aa35b742579e87e76c69209))
|
|
136
|
+
* **merge:** the merge of the pull request is the GraphQL mutation ([972bab4](https://github.com/ManotLuijiu/pi-harness-runtime/commit/972bab4b0f7faf1b0047f3bb767ef6db3de4b2fa))
|
|
137
|
+
* **merge:** the workflow merges the pull request the gates cleared ([d7639ec](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d7639ec9b83723510acb4a5c4e23d5d6167c3af6))
|
|
138
|
+
* **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))
|
|
139
|
+
* **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))
|
|
140
|
+
* **recovery:** a cancelled countdown does not own the next attempt ([7b79f30](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7b79f301389fae48201e696d3086d257ed722fb9))
|
|
141
|
+
* **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))
|
|
142
|
+
* **recovery:** a manual request takes the work back from the countdown ([fa81d8f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/fa81d8fd9d6160166a095e07bdf17049bbafa32d))
|
|
143
|
+
* **recovery:** the predicate of Pi decides the retry, the provider identity is normalized ([6c8c17b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/6c8c17b53302cea1602d192251eacd0ebbd3e8c9))
|
|
144
|
+
* **release:** a manual release keeps the version of its manifest ([122e661](https://github.com/ManotLuijiu/pi-harness-runtime/commit/122e661ea48cb8aff14c71dbd0221a4cf0ba4c8e))
|
|
145
|
+
* **release:** the alignment names the reason of a failure ([5814dd0](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5814dd0b780f5839cf8011ed0cbbbb31e7eb0418))
|
|
146
|
+
* **release:** the channels of the package name the release ([a7a273f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a7a273ffe8398e2b5b07ef1c321777de41792c6e))
|
|
147
|
+
* **release:** the release publishes and leaves the channels alone ([5871746](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5871746589c1281d855dbeb591b02419fa43f22e))
|
|
148
|
+
* **release:** the release pull request names the version of its branch ([a846e83](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a846e83e6de6e529f4bca05e869db0b5eebb37c5))
|
|
149
|
+
* **release:** the release scans the tree of the commit it publishes ([7d47a0b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7d47a0b5406480a1e1d3a52623a76aabd1e2d0ba))
|
|
150
|
+
* **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))
|
|
151
|
+
* **workspace:** keep a client name out of the comment about the search depth ([b572e0a](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b572e0af16ff562203bda2b5c47b41807cff5a95))
|
|
152
|
+
* **workspace:** the repository names the mode before the mode stays unknown ([188a32c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/188a32c7a6af1465dd24714278fccc73d06f6477))
|
|
153
|
+
|
|
5
154
|
### [1.1.496](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v1.1.448...v1.1.496) (2026-11-09)
|
|
6
155
|
|
|
7
156
|
|
|
@@ -110,14 +110,15 @@ const SCOPE_STOP_WORDS: ReadonlySet<string> = new Set([
|
|
|
110
110
|
"is",
|
|
111
111
|
"it",
|
|
112
112
|
"its",
|
|
113
|
+
"may",
|
|
113
114
|
"me",
|
|
114
115
|
"my",
|
|
115
116
|
"of",
|
|
116
117
|
"on",
|
|
117
118
|
"or",
|
|
118
119
|
"our",
|
|
119
|
-
"should",
|
|
120
120
|
"shall",
|
|
121
|
+
"should",
|
|
121
122
|
"so",
|
|
122
123
|
"that",
|
|
123
124
|
"the",
|
|
@@ -144,6 +145,72 @@ const SCOPE_STOP_WORDS: ReadonlySet<string> = new Set([
|
|
|
144
145
|
"your",
|
|
145
146
|
]);
|
|
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 whose relevance is uncertain.
|
|
202
|
+
*
|
|
203
|
+
* A question of such a kind asks for information that the request does not
|
|
204
|
+
* name: the agent cannot continue the requested work without the answer.
|
|
205
|
+
* The kind preserves the question, but it never establishes a permission:
|
|
206
|
+
* a choice may name work that was not asked for, and the scope decides
|
|
207
|
+
* that.
|
|
208
|
+
*/
|
|
209
|
+
const PRESERVING_KINDS: ReadonlySet<string> = new Set([
|
|
210
|
+
"clarification",
|
|
211
|
+
"routine",
|
|
212
|
+
]);
|
|
213
|
+
|
|
147
214
|
/**
|
|
148
215
|
* The words of a text that name something.
|
|
149
216
|
*
|
|
@@ -159,13 +226,36 @@ function scopeTerms(text: string | undefined): string[] {
|
|
|
159
226
|
return Array.from(new Set(words));
|
|
160
227
|
}
|
|
161
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
|
+
|
|
162
248
|
/**
|
|
163
249
|
* Is the question an offer of work that was not asked for?
|
|
164
250
|
*
|
|
165
|
-
* The
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
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.
|
|
169
259
|
*/
|
|
170
260
|
export function classifyQuestionRelevance(
|
|
171
261
|
text: string | undefined,
|
|
@@ -174,6 +264,8 @@ export function classifyQuestionRelevance(
|
|
|
174
264
|
scope?: readonly string[] | undefined;
|
|
175
265
|
/** The action that the question proposes, when it was extracted. */
|
|
176
266
|
action?: string | undefined;
|
|
267
|
+
/** The kind of the question ("approval", "clarification", ...). */
|
|
268
|
+
kind?: string | undefined;
|
|
177
269
|
} = {},
|
|
178
270
|
): {
|
|
179
271
|
offer: boolean;
|
|
@@ -183,15 +275,31 @@ export function classifyQuestionRelevance(
|
|
|
183
275
|
if (!value) {
|
|
184
276
|
return { offer: false, reason: "the question has no text" };
|
|
185
277
|
}
|
|
278
|
+
const kind = (options.kind ?? "").trim().toLowerCase();
|
|
279
|
+
if (PRESERVING_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
|
+
}
|
|
186
285
|
const scope = options.scope;
|
|
187
286
|
if (scope && scope.length > 0) {
|
|
188
|
-
const wanted =
|
|
287
|
+
const wanted = scopeSubjectTerms(scope);
|
|
189
288
|
if (wanted.size > 0) {
|
|
190
289
|
// The action of the question is compared with the scope, not the
|
|
191
290
|
// whole message: a message around the question talks about many
|
|
192
291
|
// things and must not decide the question.
|
|
193
292
|
const action = options.action?.trim() || value;
|
|
194
|
-
const
|
|
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));
|
|
195
303
|
if (shared.length > 0) {
|
|
196
304
|
return {
|
|
197
305
|
offer: false,
|
|
@@ -287,16 +395,50 @@ export function questionRelevance(input: {
|
|
|
287
395
|
scope?: readonly string[] | undefined;
|
|
288
396
|
/** The action that the question proposes, when it was extracted. */
|
|
289
397
|
action?: string | undefined;
|
|
398
|
+
/** The kind of the question ("approval", "clarification", ...). */
|
|
399
|
+
kind?: string | undefined;
|
|
290
400
|
}): JevQuestionRelevance {
|
|
291
401
|
const offer = classifyQuestionRelevance(input.text, {
|
|
292
402
|
scope: input.scope,
|
|
293
403
|
action: input.action,
|
|
404
|
+
kind: input.kind,
|
|
294
405
|
});
|
|
295
406
|
if (offer.offer) return "optional-offer";
|
|
296
407
|
if (input.work === "complete") return "final-request";
|
|
297
408
|
return "current-request";
|
|
298
409
|
}
|
|
299
410
|
|
|
411
|
+
/**
|
|
412
|
+
* May the question be kept open?
|
|
413
|
+
*
|
|
414
|
+
* Keeping a question open and letting the judge answer it are two
|
|
415
|
+
* decisions. A question that stays open holds the continuation and can be
|
|
416
|
+
* answered by the human. A question that the judge may answer gets a
|
|
417
|
+
* countdown, and its silence decides.
|
|
418
|
+
*
|
|
419
|
+
* A question is kept open while the request runs, whatever it proposes: an
|
|
420
|
+
* offer of work that was not asked for is still a question of the human,
|
|
421
|
+
* and the human may answer it. A question that is asked when the work of
|
|
422
|
+
* the request is done is moot and stays closed.
|
|
423
|
+
*/
|
|
424
|
+
export function jevWaitRegistration(input: {
|
|
425
|
+
/** What the question is about. */
|
|
426
|
+
relevance: JevQuestionRelevance;
|
|
427
|
+
/** The state of the work now. */
|
|
428
|
+
work: JevWorkState;
|
|
429
|
+
}): { register: boolean; reason: string } {
|
|
430
|
+
if (input.work === "complete") {
|
|
431
|
+
return {
|
|
432
|
+
register: false,
|
|
433
|
+
reason: "the work of the request is done; the question is moot",
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
return {
|
|
437
|
+
register: true,
|
|
438
|
+
reason: "the question stays open until the human answers it",
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
|
|
300
442
|
/**
|
|
301
443
|
* Is the open question obsolete?
|
|
302
444
|
*
|
|
@@ -310,10 +452,10 @@ export function isObsoleteQuestion(input: {
|
|
|
310
452
|
/** The state of the work now. */
|
|
311
453
|
work: JevWorkState;
|
|
312
454
|
}): { obsolete: boolean; reason: string } {
|
|
313
|
-
if (input.relevance
|
|
455
|
+
if (input.relevance === "final-request") {
|
|
314
456
|
return {
|
|
315
457
|
obsolete: false,
|
|
316
|
-
reason: "the question
|
|
458
|
+
reason: "the question was asked after the work of the request was done",
|
|
317
459
|
};
|
|
318
460
|
}
|
|
319
461
|
if (input.work === "complete") {
|
package/index.ts
CHANGED
|
@@ -43,6 +43,7 @@ import {
|
|
|
43
43
|
clearObsoleteWait,
|
|
44
44
|
isObsoleteQuestion,
|
|
45
45
|
jevWaitEligibility,
|
|
46
|
+
jevWaitRegistration,
|
|
46
47
|
ownsQuestion,
|
|
47
48
|
questionRelevance,
|
|
48
49
|
workStateFromTodos,
|
|
@@ -1945,19 +1946,21 @@ async function initAutoContinue(pi: ExtensionAPI): Promise<void> {
|
|
|
1945
1946
|
work: workState,
|
|
1946
1947
|
scope: workContext.scope,
|
|
1947
1948
|
action: questionAction,
|
|
1949
|
+
kind: questionKind,
|
|
1948
1950
|
});
|
|
1949
|
-
|
|
1951
|
+
// Keeping the question open and letting the judge answer it
|
|
1952
|
+
// are two decisions. The question stays open while the
|
|
1953
|
+
// request runs: it holds the continuation and the human can
|
|
1954
|
+
// answer it.
|
|
1955
|
+
const registration = jevWaitRegistration({
|
|
1950
1956
|
relevance,
|
|
1951
1957
|
work: workState,
|
|
1952
1958
|
});
|
|
1953
|
-
if (!
|
|
1954
|
-
// The question is not answered by silence: it waits for
|
|
1955
|
-
// the user, and no countdown, no row and no notification
|
|
1956
|
-
// claim that the agent is waiting.
|
|
1959
|
+
if (!registration.register) {
|
|
1957
1960
|
logToFile(
|
|
1958
1961
|
"[auto-continue]",
|
|
1959
|
-
"The question
|
|
1960
|
-
|
|
1962
|
+
"The question is not registered:",
|
|
1963
|
+
registration.reason,
|
|
1961
1964
|
);
|
|
1962
1965
|
return;
|
|
1963
1966
|
}
|
|
@@ -1987,11 +1990,20 @@ async function initAutoContinue(pi: ExtensionAPI): Promise<void> {
|
|
|
1987
1990
|
// Use question.requestId as the jobId for callback matching
|
|
1988
1991
|
const questionJobId = question.requestId;
|
|
1989
1992
|
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1993
|
+
// The wait starts here. The controller owns the question,
|
|
1994
|
+
// the moment it was asked and the countdown, so the
|
|
1995
|
+
// deadline of the decision and the deadline of the
|
|
1996
|
+
// countdown are the same moment. A question that replaces
|
|
1997
|
+
// this one invalidates the evaluation of this one.
|
|
1998
|
+
//
|
|
1999
|
+
// The wait counts down only when the judge may answer the
|
|
2000
|
+
// question: a question that offers work that was not asked
|
|
2001
|
+
// for stays open, but its silence decides nothing.
|
|
2002
|
+
const eligibility = jevWaitEligibility({
|
|
2003
|
+
relevance,
|
|
2004
|
+
work: workState,
|
|
2005
|
+
});
|
|
2006
|
+
if (eligibility.eligible) {
|
|
1995
2007
|
waitLifecycle.begin({
|
|
1996
2008
|
requestId: questionJobId,
|
|
1997
2009
|
sessionId: _sessionId,
|
|
@@ -2002,6 +2014,13 @@ async function initAutoContinue(pi: ExtensionAPI): Promise<void> {
|
|
|
2002
2014
|
alternatives: result.alternatives,
|
|
2003
2015
|
relevance,
|
|
2004
2016
|
});
|
|
2017
|
+
} else {
|
|
2018
|
+
logToFile(
|
|
2019
|
+
"[auto-continue]",
|
|
2020
|
+
"The question does not wait for an automatic decision:",
|
|
2021
|
+
eligibility.reason,
|
|
2022
|
+
);
|
|
2023
|
+
}
|
|
2005
2024
|
|
|
2006
2025
|
// Get task context for additional info
|
|
2007
2026
|
const taskContext = await getTaskContext().catch(() => ({ total: 0, completed: 0, remaining: [] as string[] }));
|
|
@@ -2011,7 +2030,9 @@ async function initAutoContinue(pi: ExtensionAPI): Promise<void> {
|
|
|
2011
2030
|
const taskInfo = taskContext.total > 0
|
|
2012
2031
|
? `Tasks: ${taskContext.completed}/${taskContext.total} done`
|
|
2013
2032
|
: "No active tasks";
|
|
2014
|
-
const contextInfo =
|
|
2033
|
+
const contextInfo = eligibility.eligible
|
|
2034
|
+
? `Waiting: ${waitMinutes}m | ${taskInfo}`
|
|
2035
|
+
: `Waiting for your answer | ${taskInfo}`;
|
|
2015
2036
|
|
|
2016
2037
|
// Emit WaitingForUserInput to Telegram and LINE with the same
|
|
2017
2038
|
// Yes/No actions. The canonical request ID is the correlation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-harness/two-phase-review",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.498",
|
|
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",
|