Skip to content

chore(agent): upgrade pi to 1.3.0 - #569

Merged
SwayingWindmill merged 1 commit into
mainfrom
chore/agent-pi-1.3
Oct 16, 2026
Merged

SwayingWindmill merged 1 commit into
mainfrom
chore/agent-pi-1.3

Conversation

@SwayingWindmill

Copy link
Copy Markdown
Owner

Summary

Stacked on #568.

 "@earendil-works/pi-agent-core": "0.84.4" -> "1.3.0"
 "@earendil-works/pi-ai":         "0.84.4" -> "1.3.0"

 new Agent({
-  shouldStopAfterTurn: () => boolean,                  // removed in pi 0.87
+  finishTurn: () => ({ action: 'end' }) | undefined,   // same stop rules: terminal Artifact, budget
 })

 compose: AGENT_MODEL_ID deepseek-v4-flash -> deepseek-flash   (pi's DeepSeek catalog renamed it)

Release notes v0.85–v1.3.0 reviewed against what the service uses; ADOPT/ADAPT/REJECT recorded in docs/architecture/pi-agent-source-review.md, ADR 0014 pin updated (tag v1.3.0, commit 71023ae).

Evidence

  • Before the fixes, on 1.3.0: tsc failed on shouldStopAfterTurn and faux tool-call argument types; 4 of 67 tests failed (3 MODEL_NOT_REGISTERED for deepseek-v4-flash, 1 transcript now led by the system message).
  • After: npm run operations-agent-service:check 67/67, npm run operations-agent-service:postgres 4/4, deployment:phase1:check passes.

Merge Danger

Door: two-way — dependency bump plus one option rename.

Blast Radius: Operations Agent runtime only (not deployed). A real DeepSeek call has not been made yet: the server has no DEEPSEEK_API_KEY.

Base automatically changed from refactor/agent-pi-only to main October 16, 2026 07:52
The service pinned pi 0.84.4 (2026-08-28); 1.3.0 is current. Three
changes reach this service: pi 0.87 removed shouldStopAfterTurn, so the
Run's stop after a terminal Artifact or a spent budget moves to
finishTurn; since 0.86 the system policy reaches the provider as the
first transcript message, which the context-reconstruction test now
expects; and pi's DeepSeek catalog renamed deepseek-v4-flash to
deepseek-flash, which the Compose default and allowlist follow. The faux
harness types tool-call arguments as JSON values as 0.86 requires.
@SwayingWindmill
SwayingWindmill merged commit 7f9bb80 into main Oct 16, 2026
8 checks passed
@SwayingWindmill
SwayingWindmill deleted the chore/agent-pi-1.3 branch October 16, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant