pi-harness-runtime 1.1.489 → 1.1.491
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 +135 -0
- package/harness/pi-retry-policy.ts +104 -7
- package/harness/provider-recovery-runtime.ts +14 -17
- package/harness/provider-recovery.ts +18 -1
- package/index.ts +33 -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,141 @@
|
|
|
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.491](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v1.1.448...v1.1.491) (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 prohibition must not hide a destructive action ([78a6cc1](https://github.com/ManotLuijiu/pi-harness-runtime/commit/78a6cc199e647f812e145483f7e94991358d8f34))
|
|
44
|
+
* **jev:** a refusal without punctuation, and only a decline of an action ([ef3dbf8](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ef3dbf87a2a1725373281613a0d48881ed5d2239))
|
|
45
|
+
* **jev:** a rejection during the countdown pauses the work ([9b018ce](https://github.com/ManotLuijiu/pi-harness-runtime/commit/9b018ce1152b6724dee73cdc901b8a360ecc91ab))
|
|
46
|
+
* **jev:** a session switch ends the wait of the old session ([ca03d39](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ca03d399c0d4a1b2dd428ac39836ab53c0e51ab6))
|
|
47
|
+
* **jev:** keep a comparative caveat with the option it constrains ([7be306b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7be306b0d0872713ebca9386d613ae5a8da9d5b6))
|
|
48
|
+
* **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))
|
|
49
|
+
* **jev:** the action of the question, and an open question blocks the work ([1f9ff39](https://github.com/ManotLuijiu/pi-harness-runtime/commit/1f9ff39efc4ee17464c54c2ca9b583245093dbac))
|
|
50
|
+
* **jev:** the alternatives of a question are parsed without a quadratic pattern ([63016a3](https://github.com/ManotLuijiu/pi-harness-runtime/commit/63016a3f0488acb801990dd46770c00d382b5858))
|
|
51
|
+
* **jev:** the facts of an option survive the wording of the agent ([5a6250c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5a6250c07aa8d965bc6ae242cccbf519477598f8))
|
|
52
|
+
* **keys:** the key directory is audited as a tree ([081cc75](https://github.com/ManotLuijiu/pi-harness-runtime/commit/081cc75ac8ceff36b0d619c3f76371dc08459d3c))
|
|
53
|
+
* **mcp:** the connector and the watcher stop with the session ([4d1b87d](https://github.com/ManotLuijiu/pi-harness-runtime/commit/4d1b87d14d015749025b62bf54d6d0b6137295f7))
|
|
54
|
+
* **mcp:** the connector survives a runtime that cannot list the servers ([d0f555f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d0f555fa14f51de33591e572a41ded5b59a3e4dd))
|
|
55
|
+
* **merge:** the boolean input is read as a boolean ([971b716](https://github.com/ManotLuijiu/pi-harness-runtime/commit/971b7169a43db382dbdeb6bb9bab02ab56e0351c))
|
|
56
|
+
* **merge:** the manual job needs the right of the merge ([7ba685e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7ba685ec43d815f90aa35b742579e87e76c69209))
|
|
57
|
+
* **merge:** the merge of the pull request is the GraphQL mutation ([972bab4](https://github.com/ManotLuijiu/pi-harness-runtime/commit/972bab4b0f7faf1b0047f3bb767ef6db3de4b2fa))
|
|
58
|
+
* **merge:** the workflow merges the pull request the gates cleared ([d7639ec](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d7639ec9b83723510acb4a5c4e23d5d6167c3af6))
|
|
59
|
+
* **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))
|
|
60
|
+
* **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))
|
|
61
|
+
* **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))
|
|
62
|
+
* **recovery:** the predicate of Pi decides the retry, the provider identity is normalized ([6c8c17b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/6c8c17b53302cea1602d192251eacd0ebbd3e8c9))
|
|
63
|
+
* **release:** a manual release keeps the version of its manifest ([122e661](https://github.com/ManotLuijiu/pi-harness-runtime/commit/122e661ea48cb8aff14c71dbd0221a4cf0ba4c8e))
|
|
64
|
+
* **release:** the alignment names the reason of a failure ([5814dd0](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5814dd0b780f5839cf8011ed0cbbbb31e7eb0418))
|
|
65
|
+
* **release:** the channels of the package name the release ([a7a273f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a7a273ffe8398e2b5b07ef1c321777de41792c6e))
|
|
66
|
+
* **release:** the release publishes and leaves the channels alone ([5871746](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5871746589c1281d855dbeb591b02419fa43f22e))
|
|
67
|
+
* **release:** the release pull request names the version of its branch ([a846e83](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a846e83e6de6e529f4bca05e869db0b5eebb37c5))
|
|
68
|
+
* **release:** the release scans the tree of the commit it publishes ([7d47a0b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7d47a0b5406480a1e1d3a52623a76aabd1e2d0ba))
|
|
69
|
+
* **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))
|
|
70
|
+
* **workspace:** keep a client name out of the comment about the search depth ([b572e0a](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b572e0af16ff562203bda2b5c47b41807cff5a95))
|
|
71
|
+
* **workspace:** the repository names the mode before the mode stays unknown ([188a32c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/188a32c7a6af1465dd24714278fccc73d06f6477))
|
|
72
|
+
|
|
73
|
+
### [1.1.490](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v1.1.448...v1.1.490) (2026-11-09)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
### Features
|
|
77
|
+
|
|
78
|
+
* **actions:** register the job resume, the GLM countdown and the queued continuations ([177c964](https://github.com/ManotLuijiu/pi-harness-runtime/commit/177c964555b0057e6bc7d293dafab10c95eabbf9))
|
|
79
|
+
* **delegation:** a child is only a child when it really ran ([ac4e678](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ac4e6782d7d4bc4941e458425c8a9f38a51fc9d4))
|
|
80
|
+
* **delegation:** the scope of a request is measured before it is judged ([684b6a5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/684b6a55184f63d3be24c48dcecfb0b13410dc15))
|
|
81
|
+
* **honcho:** the memory service speaks the native MCP of Pi ([f9f740c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/f9f740c12869bae4c4380afbe8c76e12388bb744))
|
|
82
|
+
* **jev:** one decision per question, bound to the question it was evaluated for ([03448aa](https://github.com/ManotLuijiu/pi-harness-runtime/commit/03448aaa17f2d0c3bcf644b0b1d5949727dfff8c))
|
|
83
|
+
* **jev:** the evaluation of a choice sees what the options mean ([f0c207e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/f0c207e074701e6b7dab0965170ec39453d9d502))
|
|
84
|
+
* **jev:** the pending question carries the ask and the answer ([a792133](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a792133e517fb8c12d3363e98942f3af30270f27))
|
|
85
|
+
* **jev:** the pending question counts down to the decision ([d0cc171](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d0cc171223986b2d32c670b6c1c74712fe0a4ad8))
|
|
86
|
+
* **keys:** tell the user what to do about an exposed key file ([7031003](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7031003574307351b7a8f28ee14159b58e17b793))
|
|
87
|
+
* **keys:** the key files are repaired when their permissions are unsafe ([e9c2c26](https://github.com/ManotLuijiu/pi-harness-runtime/commit/e9c2c26b287665b56ed749de269737e8403bb8af))
|
|
88
|
+
* **mcp:** the harness connects the registered servers when nobody else does ([7fef951](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7fef95137ad4664df57f045cd91b7d233315b0bc))
|
|
89
|
+
* **merge:** a manual run can leave the merge to the pull request event ([b3d1950](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b3d1950b5941c78ccd56951acdafd1d4afbe1bff))
|
|
90
|
+
* **phase:** the agent owns the todo list and the harness says so ([c489370](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c489370bd7926aece8cb1a77aa20ca2d2672f1fb))
|
|
91
|
+
* **providers:** a shared registry of the pending automatic actions and a bounded recovery ([c5f955b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c5f955bc82adcb6999a89d5bc278fa87fccee022))
|
|
92
|
+
* **providers:** one failure has one executor, and the retry bridge is checked ([e73c4c7](https://github.com/ManotLuijiu/pi-harness-runtime/commit/e73c4c76ff20a9708083659bdcefe74870a84837))
|
|
93
|
+
* **review:** the review starts on its own when the implementation is done ([04f51f5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/04f51f599cd3222b6c74dd8fadb1373bd72d9bd7))
|
|
94
|
+
* **status:** the status line names the phase, the progress and the children ([0167bf3](https://github.com/ManotLuijiu/pi-harness-runtime/commit/0167bf396a0b987c1d44f3b869351976a951dd65))
|
|
95
|
+
* **test:** the task waits for the final tier of the validation plan ([fa147db](https://github.com/ManotLuijiu/pi-harness-runtime/commit/fa147dbf7d50d56e6ea48c6d8fbb4fcb190caf8a))
|
|
96
|
+
* **validation:** a large job starts with a measured pilot ([425964b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/425964b04a3d4fa02adfabed47ff62c5ec2b9c28))
|
|
97
|
+
* **validation:** the size of a job is a fact, not a phrase ([8aa6c11](https://github.com/ManotLuijiu/pi-harness-runtime/commit/8aa6c119565d0f8412dc8aeafa6b295d47d3f093))
|
|
98
|
+
* **workspace:** a Frappe bench names the mode of the workspace ([9d58517](https://github.com/ManotLuijiu/pi-harness-runtime/commit/9d585172063a330992fee933316e268ae9985e3c))
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### Bug Fixes
|
|
102
|
+
|
|
103
|
+
* **ci:** every run of a required check counts, and the worst one decides ([da9e0da](https://github.com/ManotLuijiu/pi-harness-runtime/commit/da9e0da6b0ca29cb320764fd5fc1b8a8dee8b1e0))
|
|
104
|
+
* **ci:** the newest attempt of a run decides, not the attempt that failed ([9d7adcc](https://github.com/ManotLuijiu/pi-harness-runtime/commit/9d7adcc31cbacc517c3c1a9bcd3956be94c908ef))
|
|
105
|
+
* **honcho:** a handshake that never finishes is named instead of hanging the startup ([d66005f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d66005f928a4f8df5de5b8a0579cbd4f8df37ff9))
|
|
106
|
+
* **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))
|
|
107
|
+
* **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))
|
|
108
|
+
* **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))
|
|
109
|
+
* **honcho:** the report names the state of the MCP server, not the registration ([762f4d5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/762f4d59e4eabcab9a1c21a61aa522c3267621b3))
|
|
110
|
+
* **hooks:** a tag is checked through the commit behind it ([c823e8e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c823e8e1f6973c62b5449a97c101759a4d5cbba5))
|
|
111
|
+
* **jev:** a prohibition must not hide a destructive action ([78a6cc1](https://github.com/ManotLuijiu/pi-harness-runtime/commit/78a6cc199e647f812e145483f7e94991358d8f34))
|
|
112
|
+
* **jev:** a refusal without punctuation, and only a decline of an action ([ef3dbf8](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ef3dbf87a2a1725373281613a0d48881ed5d2239))
|
|
113
|
+
* **jev:** a rejection during the countdown pauses the work ([9b018ce](https://github.com/ManotLuijiu/pi-harness-runtime/commit/9b018ce1152b6724dee73cdc901b8a360ecc91ab))
|
|
114
|
+
* **jev:** a session switch ends the wait of the old session ([ca03d39](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ca03d399c0d4a1b2dd428ac39836ab53c0e51ab6))
|
|
115
|
+
* **jev:** keep a comparative caveat with the option it constrains ([7be306b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7be306b0d0872713ebca9386d613ae5a8da9d5b6))
|
|
116
|
+
* **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))
|
|
117
|
+
* **jev:** the action of the question, and an open question blocks the work ([1f9ff39](https://github.com/ManotLuijiu/pi-harness-runtime/commit/1f9ff39efc4ee17464c54c2ca9b583245093dbac))
|
|
118
|
+
* **jev:** the alternatives of a question are parsed without a quadratic pattern ([63016a3](https://github.com/ManotLuijiu/pi-harness-runtime/commit/63016a3f0488acb801990dd46770c00d382b5858))
|
|
119
|
+
* **jev:** the facts of an option survive the wording of the agent ([5a6250c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5a6250c07aa8d965bc6ae242cccbf519477598f8))
|
|
120
|
+
* **keys:** the key directory is audited as a tree ([081cc75](https://github.com/ManotLuijiu/pi-harness-runtime/commit/081cc75ac8ceff36b0d619c3f76371dc08459d3c))
|
|
121
|
+
* **mcp:** the connector and the watcher stop with the session ([4d1b87d](https://github.com/ManotLuijiu/pi-harness-runtime/commit/4d1b87d14d015749025b62bf54d6d0b6137295f7))
|
|
122
|
+
* **mcp:** the connector survives a runtime that cannot list the servers ([d0f555f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d0f555fa14f51de33591e572a41ded5b59a3e4dd))
|
|
123
|
+
* **merge:** the boolean input is read as a boolean ([971b716](https://github.com/ManotLuijiu/pi-harness-runtime/commit/971b7169a43db382dbdeb6bb9bab02ab56e0351c))
|
|
124
|
+
* **merge:** the manual job needs the right of the merge ([7ba685e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7ba685ec43d815f90aa35b742579e87e76c69209))
|
|
125
|
+
* **merge:** the merge of the pull request is the GraphQL mutation ([972bab4](https://github.com/ManotLuijiu/pi-harness-runtime/commit/972bab4b0f7faf1b0047f3bb767ef6db3de4b2fa))
|
|
126
|
+
* **merge:** the workflow merges the pull request the gates cleared ([d7639ec](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d7639ec9b83723510acb4a5c4e23d5d6167c3af6))
|
|
127
|
+
* **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))
|
|
128
|
+
* **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))
|
|
129
|
+
* **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))
|
|
130
|
+
* **release:** a manual release keeps the version of its manifest ([122e661](https://github.com/ManotLuijiu/pi-harness-runtime/commit/122e661ea48cb8aff14c71dbd0221a4cf0ba4c8e))
|
|
131
|
+
* **release:** the alignment names the reason of a failure ([5814dd0](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5814dd0b780f5839cf8011ed0cbbbb31e7eb0418))
|
|
132
|
+
* **release:** the channels of the package name the release ([a7a273f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a7a273ffe8398e2b5b07ef1c321777de41792c6e))
|
|
133
|
+
* **release:** the release publishes and leaves the channels alone ([5871746](https://github.com/ManotLuijiu/pi-harness-runtime/commit/5871746589c1281d855dbeb591b02419fa43f22e))
|
|
134
|
+
* **release:** the release pull request names the version of its branch ([a846e83](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a846e83e6de6e529f4bca05e869db0b5eebb37c5))
|
|
135
|
+
* **release:** the release scans the tree of the commit it publishes ([7d47a0b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/7d47a0b5406480a1e1d3a52623a76aabd1e2d0ba))
|
|
136
|
+
* **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))
|
|
137
|
+
* **workspace:** keep a client name out of the comment about the search depth ([b572e0a](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b572e0af16ff562203bda2b5c47b41807cff5a95))
|
|
138
|
+
* **workspace:** the repository names the mode before the mode stays unknown ([188a32c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/188a32c7a6af1465dd24714278fccc73d06f6477))
|
|
139
|
+
|
|
5
140
|
### [1.1.489](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v1.1.448...v1.1.489) (2026-11-09)
|
|
6
141
|
|
|
7
142
|
|
|
@@ -9,18 +9,40 @@
|
|
|
9
9
|
*
|
|
10
10
|
* The harness therefore infers the retry from the facts it can observe:
|
|
11
11
|
*
|
|
12
|
-
* - the settings of Pi decide whether the retry exists at all,
|
|
13
|
-
*
|
|
14
|
-
* -
|
|
12
|
+
* - the settings of Pi decide whether the retry exists at all, and how
|
|
13
|
+
* many attempts it may make,
|
|
14
|
+
* - the error text decides whether the retry applies to it, because Pi
|
|
15
|
+
* itself decides it that way,
|
|
16
|
+
* - every failed attempt of Pi produces another failed message in the
|
|
17
|
+
* same run, so the harness counts the attempts.
|
|
15
18
|
*
|
|
16
19
|
* The inference exists for one decision only: a retry delay that the user
|
|
17
20
|
* cancelled (Escape) must not leave an automatic resume behind. The
|
|
18
21
|
* harness cannot observe the cancellation directly, so it observes the
|
|
19
|
-
* consequence: Pi announced a retry and
|
|
22
|
+
* consequence: Pi announced a retry and made fewer attempts than its
|
|
23
|
+
* budget allows.
|
|
24
|
+
*
|
|
25
|
+
* The budget is what makes the inference exact. Pi stops early only when
|
|
26
|
+
* a delay is cancelled, and it makes at most `maxRetries` retries after
|
|
27
|
+
* the first attempt. So a run with fewer attempts than the budget ends in
|
|
28
|
+
* a cancellation, and a run with the whole budget ends in an exhausted
|
|
29
|
+
* budget - and a budget of zero retries is no cancellation at all, it is
|
|
30
|
+
* a run that settles right after the first failure.
|
|
31
|
+
*
|
|
32
|
+
* The retryability of an error is not a property of the category of the
|
|
33
|
+
* harness. The category is a policy decision of the harness; the retry of
|
|
34
|
+
* Pi is a fact about the error, and only the fact decides whether a delay
|
|
35
|
+
* exists that the user can cancel. The two disagree: a MiniMax 2067
|
|
36
|
+
* ("the Token Plan usage limit has been reached") carries the type
|
|
37
|
+
* `rate_limit_error`, so Pi retries it and the user can cancel that
|
|
38
|
+
* delay, while the category of the harness calls it an exhausted plan.
|
|
39
|
+
* The harness therefore asks the predicate of Pi itself.
|
|
20
40
|
*/
|
|
21
41
|
import { existsSync, readFileSync } from "node:fs";
|
|
22
42
|
import { homedir } from "node:os";
|
|
23
43
|
import { join } from "node:path";
|
|
44
|
+
import type { AssistantMessage } from "@earendil-works/pi-ai";
|
|
45
|
+
import { isRetryableAssistantError } from "@earendil-works/pi-ai/compat";
|
|
24
46
|
|
|
25
47
|
/**
|
|
26
48
|
* The retry settings of Pi.
|
|
@@ -54,22 +76,97 @@ export const DEFAULT_PI_RETRY_SETTINGS: PiRetrySettings = {
|
|
|
54
76
|
* server error, and a transport failure. An exhausted plan and a
|
|
55
77
|
* credential failure are not among them: the core gives up on them at
|
|
56
78
|
* once, so there is no retry delay that a user could cancel.
|
|
79
|
+
*
|
|
80
|
+
* The list documents the categories that *usually* match the predicate of
|
|
81
|
+
* Pi. It does not decide: the predicate of Pi decides, because only it
|
|
82
|
+
* knows the error text that Pi will see.
|
|
57
83
|
*/
|
|
58
84
|
export function piRetriesFailure(kind: string): boolean {
|
|
59
85
|
return kind === "rate-limit" || kind === "overload";
|
|
60
86
|
}
|
|
61
87
|
|
|
62
88
|
/**
|
|
63
|
-
* Whether Pi
|
|
89
|
+
* Whether Pi retries this error.
|
|
90
|
+
*
|
|
91
|
+
* The truth is the predicate of Pi itself
|
|
92
|
+
* (`isRetryableAssistantError` of `@earendil-works/pi-ai`), because that
|
|
93
|
+
* predicate decides whether a retry delay exists at all - and the delay is
|
|
94
|
+
* what the user can cancel.
|
|
95
|
+
*
|
|
96
|
+
* The predicate reads the stop reason and the error text only, so the
|
|
97
|
+
* message it gets is built from those two facts.
|
|
98
|
+
*/
|
|
99
|
+
export function piRetriesErrorText(errorText: string | undefined): boolean {
|
|
100
|
+
const text = errorText?.trim() ?? "";
|
|
101
|
+
if (text.length === 0) return false;
|
|
102
|
+
try {
|
|
103
|
+
return isRetryableAssistantError({
|
|
104
|
+
stopReason: "error",
|
|
105
|
+
errorMessage: text,
|
|
106
|
+
} as AssistantMessage);
|
|
107
|
+
} catch {
|
|
108
|
+
// A predicate that cannot be reached is no evidence of a retry.
|
|
109
|
+
// The harness recovers rather than assumes a cancellation.
|
|
110
|
+
return false;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Whether Pi would retry this error.
|
|
64
116
|
*
|
|
65
117
|
* A failure that Pi does not retry has no retry delay, so a cancellation
|
|
66
118
|
* of that delay is impossible and the harness must not read one into it.
|
|
67
119
|
*/
|
|
68
120
|
export function expectsPiRetry(
|
|
69
|
-
failure: { kind: string },
|
|
70
121
|
settings: PiRetrySettings,
|
|
122
|
+
errorText: string | undefined,
|
|
71
123
|
): boolean {
|
|
72
|
-
return settings.enabled &&
|
|
124
|
+
return settings.enabled && piRetriesErrorText(errorText);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* The number of attempts Pi may make, including the first one.
|
|
129
|
+
*
|
|
130
|
+
* Pi makes the first attempt and then, at most, `maxRetries` retries. A
|
|
131
|
+
* budget of zero retries is one attempt: the run settles right after the
|
|
132
|
+
* first failure.
|
|
133
|
+
*/
|
|
134
|
+
export function piAttemptBudget(settings: PiRetrySettings): number {
|
|
135
|
+
return settings.maxRetries + 1;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* What the attempts of the run say about the retry of Pi.
|
|
140
|
+
*
|
|
141
|
+
* - `not-retried`: Pi does not retry this failure. There is no delay that
|
|
142
|
+
* a user could cancel, so the harness recovers.
|
|
143
|
+
* - `budget-spent`: Pi made every attempt its budget allows. The run
|
|
144
|
+
* settled because the budget was spent, so the harness recovers.
|
|
145
|
+
* - `cancelled`: Pi would retry but made fewer attempts than its budget.
|
|
146
|
+
* Pi stops early only when the delay is cancelled, so the user decided
|
|
147
|
+
* that, and the harness does not recover.
|
|
148
|
+
*/
|
|
149
|
+
export type PiRetryOutcome = "not-retried" | "budget-spent" | "cancelled";
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* The verdict about the retry of Pi, from the attempts of the run.
|
|
153
|
+
*
|
|
154
|
+
* @param settings The retry settings of Pi
|
|
155
|
+
* @param attempts The failed attempts of the run
|
|
156
|
+
* @param errorText The error text that Pi saw
|
|
157
|
+
*/
|
|
158
|
+
export function piRetryOutcome(
|
|
159
|
+
settings: PiRetrySettings,
|
|
160
|
+
attempts: number,
|
|
161
|
+
errorText: string | undefined,
|
|
162
|
+
): PiRetryOutcome {
|
|
163
|
+
if (!expectsPiRetry(settings, errorText)) {
|
|
164
|
+
return "not-retried";
|
|
165
|
+
}
|
|
166
|
+
if (attempts >= piAttemptBudget(settings)) {
|
|
167
|
+
return "budget-spent";
|
|
168
|
+
}
|
|
169
|
+
return "cancelled";
|
|
73
170
|
}
|
|
74
171
|
|
|
75
172
|
/**
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
* dispatcher, which is the existing executor of the harness.
|
|
29
29
|
*/
|
|
30
30
|
import type { ProviderFailure } from "./provider-failure.ts";
|
|
31
|
+
import type { PiRetryOutcome } from "./pi-retry-policy.ts";
|
|
31
32
|
import type { PendingAction, PendingActionRegistry } from "./pending-actions.ts";
|
|
32
33
|
import type {
|
|
33
34
|
ProviderRecoveryController,
|
|
@@ -105,21 +106,18 @@ export interface ProviderFailureCandidate {
|
|
|
105
106
|
*/
|
|
106
107
|
boundedEligible: boolean;
|
|
107
108
|
/**
|
|
108
|
-
*
|
|
109
|
+
* What the attempts of the run say about the retry of Pi.
|
|
109
110
|
*
|
|
110
111
|
* A failure that Pi retries has a retry delay, and the user can cancel
|
|
111
112
|
* that delay. A failure that Pi does not retry has no delay, so no
|
|
112
113
|
* cancellation can be read into it.
|
|
113
|
-
*/
|
|
114
|
-
piRetryExpected: boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Whether Pi made an internal retry attempt after this failure.
|
|
117
114
|
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
115
|
+
* The verdict comes from the policy of the retry
|
|
116
|
+
* (`harness/pi-retry-policy.ts`): `cancelled` means that Pi stopped
|
|
117
|
+
* before its budget was spent, which only a cancellation of the delay
|
|
118
|
+
* does. The other two verdicts mean that the harness may recover.
|
|
121
119
|
*/
|
|
122
|
-
|
|
120
|
+
piRetryOutcome?: PiRetryOutcome;
|
|
123
121
|
}
|
|
124
122
|
|
|
125
123
|
/**
|
|
@@ -199,8 +197,7 @@ export class ProviderRecoveryRuntime {
|
|
|
199
197
|
provider?: string;
|
|
200
198
|
overloadEligible?: boolean;
|
|
201
199
|
boundedEligible?: boolean;
|
|
202
|
-
|
|
203
|
-
piRetryAttempted?: boolean;
|
|
200
|
+
piRetryOutcome?: PiRetryOutcome;
|
|
204
201
|
} = {},
|
|
205
202
|
): void {
|
|
206
203
|
this.candidate = {
|
|
@@ -209,8 +206,7 @@ export class ProviderRecoveryRuntime {
|
|
|
209
206
|
provider: (options.provider ?? failure.provider ?? "provider").toLowerCase(),
|
|
210
207
|
overloadEligible: options.overloadEligible === true,
|
|
211
208
|
boundedEligible: options.boundedEligible === true,
|
|
212
|
-
|
|
213
|
-
piRetryAttempted: options.piRetryAttempted === true,
|
|
209
|
+
piRetryOutcome: options.piRetryOutcome,
|
|
214
210
|
};
|
|
215
211
|
}
|
|
216
212
|
|
|
@@ -225,10 +221,11 @@ export class ProviderRecoveryRuntime {
|
|
|
225
221
|
this.candidate = null;
|
|
226
222
|
if (!candidate) return;
|
|
227
223
|
|
|
228
|
-
if (candidate.
|
|
229
|
-
// Pi would retry this failure and
|
|
230
|
-
// delay of the retry was cancelled, and the
|
|
231
|
-
// An automatic resume would fight that
|
|
224
|
+
if (candidate.piRetryOutcome === "cancelled") {
|
|
225
|
+
// Pi would retry this failure and made fewer attempts than its
|
|
226
|
+
// budget allows: the delay of the retry was cancelled, and the
|
|
227
|
+
// user decided that. An automatic resume would fight that
|
|
228
|
+
// decision.
|
|
232
229
|
this.log(
|
|
233
230
|
`Pi's internal retry was cancelled: no recovery for ${candidate.failure.kind}`,
|
|
234
231
|
);
|
|
@@ -210,6 +210,18 @@ function cycleKey(key: {
|
|
|
210
210
|
return `${key.sessionId}|${key.provider}|${key.kind}`;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
+
/**
|
|
214
|
+
* The identity of a provider, in one spelling.
|
|
215
|
+
*
|
|
216
|
+
* The provider writes its own name ("MiniMax"), the classification of the
|
|
217
|
+
* harness keeps that spelling, and the cycle keys its provider in lower
|
|
218
|
+
* case. A comparison of the two spellings has to normalize them, or the
|
|
219
|
+
* evidence of a reset is discarded for a difference of case alone.
|
|
220
|
+
*/
|
|
221
|
+
export function normalizeProviderIdentity(provider: string): string {
|
|
222
|
+
return provider.trim().toLowerCase();
|
|
223
|
+
}
|
|
224
|
+
|
|
213
225
|
/**
|
|
214
226
|
* Create the controller of the recovery cycles.
|
|
215
227
|
*/
|
|
@@ -235,7 +247,12 @@ export function createProviderRecoveryController(
|
|
|
235
247
|
failureObservedAt: number,
|
|
236
248
|
): number | undefined => {
|
|
237
249
|
if (!evidence) return undefined;
|
|
238
|
-
if (
|
|
250
|
+
if (
|
|
251
|
+
normalizeProviderIdentity(evidence.provider) !==
|
|
252
|
+
normalizeProviderIdentity(input.provider)
|
|
253
|
+
) {
|
|
254
|
+
return undefined;
|
|
255
|
+
}
|
|
239
256
|
if (!input.window || evidence.window !== input.window) return undefined;
|
|
240
257
|
if (evidence.resetAt <= failureObservedAt) return undefined;
|
|
241
258
|
if (failureObservedAt - evidence.observedAt > maxResetEvidenceAgeMs) return undefined;
|
package/index.ts
CHANGED
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
import { classifyProviderFailure, usesBoundedRecovery } from "./harness/provider-failure.ts";
|
|
63
63
|
import { watchHonchoMcpTools as watchHonchoMcpToolsModule } from "./harness/honcho-mcp-watcher.ts";
|
|
64
64
|
import {
|
|
65
|
-
|
|
65
|
+
piRetryOutcome,
|
|
66
66
|
readPiRetrySettings,
|
|
67
67
|
} from "./harness/pi-retry-policy.ts";
|
|
68
68
|
import { ProviderRecoveryRuntime } from "./harness/provider-recovery-runtime.ts";
|
|
@@ -6537,12 +6537,24 @@ Run \`bd ready\` to see current bd issues.
|
|
|
6537
6537
|
return fromText && fromText.kind !== "unknown" ? fromText : null;
|
|
6538
6538
|
})();
|
|
6539
6539
|
|
|
6540
|
+
// Every failed attempt of Pi is one attempt of the run. The count
|
|
6541
|
+
// is what tells a cancelled retry from a spent budget: Pi stops
|
|
6542
|
+
// early only when the user cancels the delay of the retry.
|
|
6543
|
+
const failedAttempt = m.stopReason === "error";
|
|
6544
|
+
if (failedAttempt) {
|
|
6545
|
+
providerFailureAttemptsInRun += 1;
|
|
6546
|
+
} else {
|
|
6547
|
+
// A turn that did not fail ends the streak of the failures of
|
|
6548
|
+
// the run: the next failure is the first attempt of its own
|
|
6549
|
+
// retry.
|
|
6550
|
+
providerFailureAttemptsInRun = 0;
|
|
6551
|
+
}
|
|
6552
|
+
|
|
6540
6553
|
if (providerFailure) {
|
|
6541
6554
|
// The failure is a candidate: the recovery starts when the run
|
|
6542
6555
|
// settles, because Pi retries a failed turn internally first.
|
|
6543
6556
|
// A recovery that starts at the message of the failed attempt is
|
|
6544
6557
|
// a competing continuation.
|
|
6545
|
-
providerFailureAttemptsInRun += 1;
|
|
6546
6558
|
let failureKey =
|
|
6547
6559
|
typeof m.responseId === "string" && m.responseId.length > 0
|
|
6548
6560
|
? m.responseId
|
|
@@ -6570,14 +6582,20 @@ Run \`bd ready\` to see current bd issues.
|
|
|
6570
6582
|
// exhausted plan join the cycle, an overload keeps its own
|
|
6571
6583
|
// executor. One failure has one executor.
|
|
6572
6584
|
boundedEligible: usesBoundedRecovery(providerFailure),
|
|
6573
|
-
//
|
|
6574
|
-
//
|
|
6575
|
-
//
|
|
6576
|
-
|
|
6577
|
-
|
|
6585
|
+
// What the attempts of the run say about the retry of
|
|
6586
|
+
// Pi: a run with fewer attempts than the budget of Pi
|
|
6587
|
+
// ends in a cancelled delay, and the user decided that.
|
|
6588
|
+
//
|
|
6589
|
+
// The predicate of Pi decides whether a retry delay
|
|
6590
|
+
// exists at all, so the error text is the fact. The
|
|
6591
|
+
// category of the harness is a policy decision and can
|
|
6592
|
+
// disagree: a MiniMax 2067 carries the type
|
|
6593
|
+
// `rate_limit_error`, so Pi retries it.
|
|
6594
|
+
piRetryOutcome: piRetryOutcome(
|
|
6578
6595
|
readPiRetrySettings({ cwd: ctx.cwd }),
|
|
6596
|
+
providerFailureAttemptsInRun,
|
|
6597
|
+
typeof m.errorMessage === "string" ? m.errorMessage : undefined,
|
|
6579
6598
|
),
|
|
6580
|
-
piRetryAttempted: providerFailureAttemptsInRun > 1,
|
|
6581
6599
|
});
|
|
6582
6600
|
} else {
|
|
6583
6601
|
// No automatic retry can fix this failure: the row says that
|
|
@@ -6601,10 +6619,8 @@ Run \`bd ready\` to see current bd issues.
|
|
|
6601
6619
|
});
|
|
6602
6620
|
}
|
|
6603
6621
|
} else {
|
|
6604
|
-
// A turn that is not a provider failure
|
|
6605
|
-
//
|
|
6606
|
-
// its own retry.
|
|
6607
|
-
providerFailureAttemptsInRun = 0;
|
|
6622
|
+
// A turn that is not a provider failure has no candidate: the
|
|
6623
|
+
// streak of the failures of the run was already ended above.
|
|
6608
6624
|
}
|
|
6609
6625
|
|
|
6610
6626
|
if (
|
|
@@ -8096,7 +8112,11 @@ Run \`bd ready\` to see current bd issues.
|
|
|
8096
8112
|
const observedAt = Date.parse(mirror.synced_at);
|
|
8097
8113
|
if (!Number.isFinite(observedAt)) return undefined;
|
|
8098
8114
|
return {
|
|
8099
|
-
provider:
|
|
8115
|
+
// The identity of the provider is normalized: the cycle keys its
|
|
8116
|
+
// provider in lower case, so an evidence that carries the name
|
|
8117
|
+
// as the provider writes it ("MiniMax") must not be discarded by
|
|
8118
|
+
// the comparison.
|
|
8119
|
+
provider: failure.provider.toLowerCase(),
|
|
8100
8120
|
window: failure.window,
|
|
8101
8121
|
resetAt,
|
|
8102
8122
|
observedAt,
|
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.491",
|
|
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",
|