Skip to content

chore: bump version to 0.1.9 - #41

Merged
echobt merged 2 commits into
mainfrom
fix/tui-terminal-lifecycle
Sep 7, 2026
Merged

chore: bump version to 0.1.9#41
echobt merged 2 commits into
mainfrom
fix/tui-terminal-lifecycle

Conversation

@echobt

@echobt echobt commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix terminal startup and cleanup: own restoration before fallible initialization, clear stale cells without erasing scrollback, and attempt all cleanup steps even after output failures.
  • Use the shared lifecycle for trust/login preflight screens and preserve the configured alternate-screen preference.
  • Refresh the README with a generated green CLI/macOS-styled desktop animation and moving pointer, explicitly labeled as an offline composite; add its runnable validation check.
  • Prepare stable 0.1.9 across CLI/workspace/SDK versions, lockfile, generated API contract, and changelog. No external dependency upgrades; stream-json protocol stays unchanged.

Test plan

  • cargo fmt --all -- --check and ./scripts/clippy.sh
  • cargo test --workspace: 6,415 passed, 0 failed (211 existing ignored)
  • Explicit TUI package suite: 1,672 passed, 0 failed (132 existing ignored)
  • cargo audit, version consistency, cargo-machete, release-age and schema freshness
  • Source policy against 8672e672a2003954a8aaa1752a84cdbda68b4725: 0 regressions, 0 policy failures; 159 existing findings retained
  • Readiness Python tests: 50 passed, 2 skipped; real local QA: all 15 cases passed
  • SDK: 20 tests passed; generated-demo pixel, pointer, frame-count and size checks passed
  • Six real-PTY cases: default, CLI inline flag and config inline mode at 40×12 and 120×40. Clean trust/login frames, exit 0, exact termios restoration, shell echo, preserved offscreen history, no cursor-position query or scrollback erase
  • Changed-line coverage reviewed: no modified production lines in the enforced CLI/app-server/common scope; instrumented local coverage not run, CI gate required

Attestation (required)

  • Security reviewed — auth, exec/sandbox, paths, network egress, and secret handling reviewed; this diff changes terminal lifecycle and release/demo metadata, not authentication policy.
  • Product-facing errors — no new provider/transport errors exposed.
  • TUI verified — build, physical-backend/headless regressions and all six real-PTY cases passed on the final implementation.
  • Tests added — startup/cleanup failure and inline preference checks, preflight headless buffer checks, generated-demo assertions. No mock-success.
  • No secrets — no credentials, keyring dumps, or .env files included.

Risk

Terminal modes and first-run screens change. Real terminal validation runs on Linux; native macOS/Windows interaction and authenticated model turns are not claimed. The GIF is generated, not a desktop recording.

Release is limited to CLI binaries/installers/manifests. Squash commit must contain chore: bump version to 0.1.9 so the existing version workflow tags this release.

Fix terminal lifecycle and stale preflight frames while preserving scrollback
and inline preferences. Refresh the generated macOS-styled README demo.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@greptile-apps

greptile-apps Bot commented Sep 7, 2026

Copy link
Copy Markdown

Greptile Summary

The latest update corrects the login-screen lifecycle documentation, documents the composed README GIF requirements and dimensions, and removes the redundant startup cursor-position query.

Confidence Score: 5/5

Safe to merge; no blocking issues remain.

No outstanding issues remain. echobt manually resolved the login lifecycle documentation thread without explanation. echobt manually resolved the README GIF requirements documentation thread without explanation.

Files Needing Attention: None.

Reviews (2): Last reviewed commit: "fix(tui): avoid startup cursor position ..." | Re-trigger Greptile

Comment thread src/cortex-tui/src/runner/login_screen.rs
Comment thread scripts/ansi-frames-to-gif.py
Remove the redundant ratatui clear that waits for a cursor response.
Align login lifecycle and generated demo documentation with current behavior.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@echobt

echobt commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

@greptileai review

Please review latest commit 87f8a18. Both documentation findings are fixed. It also removes the redundant startup cursor-position query identified by real-PTY testing. All six terminal cases and final local Rust/policy gates pass.

@echobt
echobt merged commit fe94a48 into main Sep 7, 2026
17 checks passed
@echobt
echobt deleted the fix/tui-terminal-lifecycle branch September 7, 2026 21:30
echobt added a commit that referenced this pull request Sep 8, 2026
PARTIAL soak from the agent host: hop 18081/readyz refused, so
real-PTY login and /model vs /v1/models stay BLOCKED. Locked
cortex-cli build reports 0.1.9; lock_v2 is 11/11. Prod HOLD.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Mathis <echobt@users.noreply.github.com>
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