Repository navigation
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
Reproduce and correct the live-main Pi Calm interactive regression under Pi 0.81.1 where ordinary Ctrl+O can appear to hide CALM_E2E_OUTPUT while Calm is off. Preserve native Calm-off behavior plus Calm-on, restart, tool-expansion, thinking-expansion, export, and persistence semantics. Determine whether the cause is the extension, transcript layout, settling timing, or an upstream contract change using real interactive TUI evidence; retain the behavioral assertions and make the E2E deterministic without weakening or skipping genuine failures. Run the focused Calm suite, strict Pi extension typecheck, lint, and directly affected tests, then ship an independent PR without modifying PR #995.
What Changed
CALM_E2E_OUTPUTin the same settled TUI capture.Risk Assessment
✅ Low: Captain, the change is test-only and narrowly replaces a premature single-marker capture with a bounded settled-frame check while preserving the original behavioral assertions.
Testing
After commit-delta and Pi-version inspection, two complete focused Calm runs exercised native Ctrl+O, Calm toggling, tool/thinking expansion, Working visibility, export, persistence, and restart; strict Pi extension typechecking and affected watcher tests also passed, and TUI plus rendered-export evidence was retained. Lint was not run because this validation task explicitly prohibited linters.
Evidence: Calm-off Ctrl+O expanded TUI
Evidence: Calm-on hidden transcript
Evidence: Calm-on Working row
Evidence: Calm-on after restart
Evidence: Calm-off restoration after restart
/var/folders/wz/856vlf5n4nl6fn086x3f23zm0000gn/T/no-mistakes-evidence/01KYBB98H9T8K4MN9XKFZMGX79/pi-0.81.1-calm-export-rendered.png)Evidence: Rendered Calm HTML export
Evidence: End-user evidence checks
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.
git diff --histogram b05eb244ce10f83192a95457b5e2b15c49b4e763..8eddef70e8e999b70c755de5eeb3e28cf60cb254 -- tests/fm-calm-pi-extension.test.shpi --version(verified 0.81.1)tests/fm-calm-pi-extension.test.shSecond completetests/fm-calm-pi-extension.test.shrun with final capture-directory retentiontests/fm-pi-primary-types.test.shtests/fm-pi-watch-extension.test.shHeadless Chrome rendering of the generated Calm export HTMLManual artifact assertions for Ctrl+O settling, Calm-on hiding, Working visibility, restart persistence, Calm-off restoration, and export DOM✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.