Repository navigation
fix: preserve stock rendering compatibility with newer Pi versions - #5
Merged
Merged
Conversation
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
"go ahead and merge the watcher fix"
Context for reading the ask. The watcher fix (#3) is approved for merge, but two CI checks on it are red and they are not caused by it: "Behavior portable serial 2" fails in tests/fm-calm-pi-extension.test.sh with "rendered export DOM violated the Calm conversation boundary", and "Behavior portable serial 4" fails in the Pi branch-extension test with "Pi outcomes rendering consumers must preserve stock behavior". Re-running the last green CI on the fork's main (run 36545278083, commit 662d45e, green on 2026-09-29) on 2026-09-30 with no code change now fails the same two shards, so a newer public Pi package that CI installs broke them on main. The merge path refuses to waive two red checks, so main's CI must be made green again for the approved merge to land.
What Changed
fm_branch_outcomesargument headers to the installed Pi stock renderer, preserving older title-only rendering and collapsed/expanded presentation.Risk Assessment
✅ Low: The changes narrowly restore compatibility with Pi rendering changes while preserving existing Calm visibility and export behavior.
Testing
Targeted renderer comparisons and native Pi scenarios passed on both versions, including browser-computed export visibility and restart. Captured export HTML, screenshot, terminal transcripts, and the reproduced baseline failure. Temporary resources were cleaned up; no broad suite or static checks ran.
Evidence: Complete native session export
Source: Complete native session export
Evidence: Native expanded outcomes transcript
Source: Native expanded outcomes transcript
Evidence: Reproduced pre-fix argument-header failure
Source: Reproduced pre-fix argument-header failure
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.
test_outcomes_tool_uses_stock_execution_and_export_consumersagainst workspace-local Pi 0.99.1 and 0.87.1test_interactive_terminal_e2eagainst Pi 0.99.1 and 0.87.1 in isolated, nonzero-size tmux sessionsNative outcomes drivers: collapsed and expanded headers, Calm hiding, and restoration on both Pi versionsBase-commit extension with Pi 0.99.1: reproduced argument-update rendering failureHeadless Chrome rendered and captured the generated export; screenshot inspectedRemoved temporary drivers and installations;git status --shortconfirmed a clean worktree✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.