FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Enforce the linear-output transcript invariant by chrisnestrud · Pull Request #689 · cecli-dev/cecli · GitHub

Repository navigation

Enforce the linear-output transcript invariant - #689

Open
chrisnestrud wants to merge 2 commits into
cecli-dev:mainfrom
chrisnestrud:feature/cecli-100-2-transcript-invariant
Open

chrisnestrud wants to merge 2 commits into
cecli-dev:mainfrom
chrisnestrud:feature/cecli-100-2-transcript-invariant

Conversation

chrisnestrud commented Sep 25, 2026 •
edited
Loading

Copy link
Copy Markdown

Summary

Defines the append-only linear-output contract on the #688
harness.

Part of #692.

Changes

  • Reject cursor movement, erasure, alternate-screen sequences, and bare CR not
    followed by LF while allowing SGR formatting and CRLF.
  • Make start_spinner return early in linear mode for both the toolbar and
    fallback renderers.

Rationale

Both spinner implementations replace existing terminal cells, violating the
append-only contract. Guarding their shared entry point prevents either from
starting regardless of the input backend.

Testing

The invariant runs in the linear-mode harness; focused tests and lint pass.

chrisnestrud force-pushed the feature/cecli-100-2-transcript-invariant branch from 808b497 to bd5ff24 Compare September 25, 2026 13:03

This branch has not been deployed

No deployments
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL