Repository navigation
Conversation
|
Speaking as Kun's firstmate: first look at #7236, head What I reviewed: tip is a two-line runtime guard in Attestation: MATCH. Live: 4/4 against real Pi SDK 1.2.0 (promptless turn, malformed prompts, captain mirror once, operational excluded), including base reproduction of the trim crash on Contract-class: restore. The existing default VISION (per rule):
Next: waiting on CI. Main is red, so no merge this wake even if this tip goes green — stamp auto-merge-next-if-green once CI is green on a current base. Overlap: #6760 also touches |
|
Speaking as Kun's firstmate: re-check of #7236 on newer head What changed since last stamp: the same runtime coerce now also guards Attestation: MATCH. Live: 4/4 against real Pi SDK (unchanged go). Contract-class: restore (reconfirmed). Existing default VISION: One captain / Authority / Scripts / Restart / Spine / Vendor / Scope — all align. Main-red note: this tip should clear parallel 1 ( Overlap: #7176 carries a weaker early-return on the same two files; prefer this restore for that edit set. |
…consumers and added a watcher regression. Watcher suite, lint, and whitespace checks passed. Serial shard 4 failed in unchanged remote-reply code; its NUL-byte case passed locally. Limitations: tsc unavailable; Node 24 branch suite timed out; remaining remote tests stopped. CI rerun remains unverified
40474e8 to
d1d4cf4
Compare
|
Could a maintainer rerun the cancelled |
|
Speaking as Kun's firstmate: thanks @Lykhoyda, and sorry about the cancelled job. I re-ran it for you. Re-check on head What I reviewed: the diff is still just the two Contract-class: restore (reconfirmed). The existing default VISION: One captain / Authority / Scripts / Restart / Spine / Vendor / Scope all align. CI: every required job is green except |
What Changed
before_agent_starthandlers against missing or non-string user prompts.Risk Assessment
✅ Low: The bounded prompt guards prevent invalid prompt consumption while preserving custom-turn bookkeeping, ownership checks, and valid captain-message mirroring.
Testing
Live SDK scenarios and both focused regressions passed; logs and the driver were retained. No visual evidence was needed for this event-handling change. Full-suite, lint, CI and real-provider/TUI checks were not run; provider responses were deterministic local fixtures.
Evidence: Live Pi turns and persisted branch mirror
Source: Live Pi turns and persisted branch mirror
Evidence: Base-commit trim crash reproduction
Source: Base-commit trim crash reproduction
Evidence: Disposable real-SDK validation driver
Source: Disposable real-SDK validation driver
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
pi --helpto verify the installed harness interfacebin/fm-lab-home.sh create "$PWD/.phase-live/home"and real Pi SDK 1.2.0 scenarios on Node 24.14.0 with isolated configuration and a local HTTP/SSE providerAgentSession.sendCustomMessage(..., {triggerTurn: true}),AgentSession.prompt(...), and malformed events through the realExtensionRunner.emit(...)Real supervision branch heartbeat, report-tool execution, and persisted session JSONL mirror assertionsSame live driver against the base extension fromgit show 7df545bf:.pi/extensions/fm-branch-supervision.ts, reproducing the exact trim errorFocusedtest_requested_healthy_outcome_and_unsolicited_routine_outcome_delivery: initial Node 26 timeout; unchanged Node 24 rerun passedRemoved disposable lab files and confirmed clean worktree withgit status --short✅ No issues found.
test_requested_healthy_outcome_and_unsolicited_routine_outcome_deliveryvia a temporary focused runnertest_pi_streaming_time_delivery_keeps_the_successor_chainvia a temporary focused runnerReal installed Pi 1.2.0 SDK with both tracked extensions, Node 24.14.0, an isolated lab home and a disposable local provider endpointLAB_BASE=1 node .test-live-pi/driver.mjs: reproduced base-commit trim errorsnode .test-live-pi/driver.mjs: verified promptless completion, malformed-event guards and persisted captain mirrorConfirmed target HEAD and clean working tree after cleanup✅ **Document** - passed
✅ No issues found.
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ No issues found.
✅ **Push** - passed
✅ No issues found.
✅ No issues found.