Commit Graph

7 Commits

Author SHA1 Message Date
zqchris
63799e5116 fix(pi): preserve child readiness in control card steering
Signed-off-by: zqchris <chrisz83@gmail.com>
2026-10-10 00:51:13 +08:00
zqchris
546fd00745 fix(pi): bound pending polling and retire stale notifications
Signed-off-by: zqchris <chrisz83@gmail.com>
2026-10-09 23:56:06 +08:00
zqchris
ea45fddb8e fix(pi): 完善子代理控制与结果回传
Signed-off-by: zqchris <chrisz83@gmail.com>
2026-10-09 17:05:01 +08:00
Chris Zhang
e90b4020ca fix(pi): adapt model refresh to official Pi APIs (#5378)
* fix(pi): adapt model refresh to official Pi APIs

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(pi): verify inherited model windows before switching

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* test(pi): support native settings inspection in dispatch fixture

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

---------

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Co-authored-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-10-02 17:12:02 +08:00
Chris Zhang
b7cb47b56c fix(pi): preserve native sessions across model and catalog changes (#5274)
* fix(pi): preserve native sessions during model and catalog changes

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(pi): align model selection result types for desktop CI

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(pi): discard rejected scheduled prompts and retain active credentials

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* test(pi): exercise native model transitions in routing safety regressions

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* test(desktop): align runtime switch assertions with result metadata

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

---------

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Co-authored-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-09-30 16:43:59 +08:00
Chris Zhang
7e275443b0 fix(pi): report executor exit before descendant pipes close (#4182)
* fix(pi): report executor exit before descendant pipes close

Drain RPC tail frames after confirmed process exit, then reuse the existing close notification even when a build descendant retains the pipes. Add controlled Node lifecycle fixtures and document remaining evidence gaps. Refs #3916.

Signed-off-by: zqchris <chrisz83@gmail.com>

* fix(pi): require exit evidence when termination fails

Signed-off-by: zqchris <chrisz83@gmail.com>

* test(pi): keep Windows pipe owner alive after fixture exit

Signed-off-by: zqchris <chrisz83@gmail.com>

* test(pi): await descendant exit before removing fixture directory

Signed-off-by: zqchris <chrisz83@gmail.com>

---------

Signed-off-by: zqchris <chrisz83@gmail.com>
2026-09-09 19:58:32 +08:00
Chris Zhang
240e702566 fix(pi): persist completed replies before agent settlement (#4180)
Commit authoritative Pi text through the existing persistence FIFO at message_end. Preserve turn completion at done and cover RPC replay, SQLite delivery, duplicate finals, consecutive replies, and renderer history recovery.

Hardens #3696; the original reported incident remains unconfirmed without its RPC delivery evidence.

Signed-off-by: zqchris <chrisz83@gmail.com>
2026-09-09 18:23:05 +08:00