Repository navigation
Conversation
|
This was referenced Oct 3, 2026
Contributor
Author
|
Closing as superseded: #6530 fixed the same Pi 1.0.1 renderer-lookup break on main. |
cloud-practitioner
added a commit
to cloud-practitioner/firstmate
that referenced
this pull request
Oct 5, 2026
Supply getToolRenderers alongside getToolDefinition in both Calm HTML-renderer fixtures, and record the Pi 1.0.1 verification evidence. Ported from upstream kunchenguid#6512 by @mremond. Both upstream commits are combined into one; applied unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Repair the upstream CI test "Pi calm renderer and lifecycle contract" (tests/fm-calm-pi-extension.test.sh, run in the Behavior portable serial 6 shard), which fails on main since the CI runner moved to Pi 1.0.1 and turns open PRs red, for example #6505 (failing run: https://github.com/kunchenguid/firstmate/actions/runs/37139608278). Keep the fix to that test/renderer compatibility. The maintainer merges.
Known evidence: the same lane fails identically on main and on unrelated PR heads after the runner upgrade from Pi 1.0.0 to 1.0.1. Pi 1.0.1's renderer expects a getToolRenderers hook where the test's fake session provides getToolDefinition (tests/fm-calm-pi-extension.test.sh around lines 1666 and 1697). No outside PR or issue covered this as of 2026-10-03.
What Changed
getToolRenderersfor Pi 1.0.1 alongside the oldergetToolDefinitionhook, sharing one registered-tool lookup and preserving existing assertions.Risk Assessment
✅ Low: The change narrowly repairs both renderer fixtures, preserves existing assertions and older compatibility, and leaves production behavior unchanged.
Testing
Reproduced the baseline failure; both version-specific Calm suites and the live keybinding guard passed. Retained native exports, terminal transcripts, and Chrome screenshots. Resolved a temporary-path wrapping issue and bounded Chrome cleanup. No broad suite, lint, remote CI, or publication was performed.
Evidence: Validation evidence and reproduction commands
Source: Validation evidence and reproduction commands
Evidence: Original Pi 1.0.1 failure reproduced
Source: Original Pi 1.0.1 failure reproduced
Evidence: Non-submit Enter leaves export pending
Source: Non-submit Enter leaves export pending
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
Workspace-local npm installations of @earendil-works/pi-coding-agent@1.0.1 and @1.0.0, selecting matching PATH and FM_PI_PACKAGE_DIR.bash bin/fm-test-run.sh tests/.fm-calm-pi-baseline.test.shusing the base test on Pi 1.0.1: reproduced the reported HTML failure.bash bin/fm-test-run.sh tests/fm-calm-pi-extension.test.shon Pi 1.0.1 and 1.0.0: complete targeted suite passed without skips, including native TUI/export checks and supporting component assertions.bash bin/fm-test-run.sh tests/.fm-calm-pi-live-guard.test.sh: disposable native test of Enter versus Alt+S submission.Headless Chrome screenshots of both real exports, visual inspection, and extraction of generated tool HTML.Cleanup verification: clean git status, unchanged target commit, and no remaining processes referencing disposable paths.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.