Skip to content

Fix default live room entrypoint#314

Merged
spytensor merged 1 commit into
mainfrom
codex/v0.9.5-default-live-room
May 24, 2026
Merged

Fix default live room entrypoint#314
spytensor merged 1 commit into
mainfrom
codex/v0.9.5-default-live-room

Conversation

@spytensor
Copy link
Copy Markdown
Owner

Summary

Fixes the v0.9.4 product mismatch where plain cr still opened the read-only dashboard first and then fell through to the old REPL. Plain cr now opens the unified live room directly for initialized interactive projects; cr start remains the explicit legacy/direct REPL escape hatch, and cr console remains the read-only dashboard/snapshot inspection surface.

Closes #313

Acceptance Criteria

  • Plain cr in an initialized interactive project enters the unified live room directly.
  • Plain cr does not print CoreRoom console closed; starting REPL on normal exit.
  • Plain cr does not fall through to the old splash/REPL after leaving the live room.
  • cr start remains the explicit legacy/direct REPL escape hatch.
  • cr console remains the read-only dashboard/snapshot inspection surface.
  • cr console --live-room remains accepted as an explicit alias to the same unified room.
  • Real PTY dogfood types bare user text and explicit @role text through plain cr.
  • README, CHANGELOG, and dogfood docs describe the corrected default path.

Changed Files

  • src/main.rs switches the default initialized TTY path from read-only console + REPL fallback to unified live room.
  • src/console_tui.rs separates live-room composer hints from read-only dashboard hints.
  • scripts/dogfood-v09-user-cases.py now tests typed input through plain cr, not only cr console --live-room.
  • Version/docs/images updated for v0.9.5.

Validation

  • cargo fmt --all -- --check
  • cargo test --all-features --locked --quiet
  • cargo clippy --all-targets --all-features --locked -- -D warnings
  • cargo build --release --locked
  • target/release/cr --version -> cr 0.9.5
  • cd npm && npm pack --dry-run --json -> @spytensor/coreroom@0.9.5
  • python3 scripts/dogfood-v09-user-cases.py -> DOGFOOD PASS: v0.9 local user-case gate completed

Real PTY Evidence

The dogfood script now opens plain cr in a 160x48 PTY, waits for Composer, types:

validate unified room from plain cr
@reviewer check explicit routing
/exit

It asserts visible CoreRoom, Project, Conversation, Composer, Environment, Roles, queued for @host, explicit @role routing, and rejects CoreRoom console closed; starting REPL plus the old REPL splash hint.

Risk / Rollback

Risk is isolated to interactive default entrypoint behavior. Roll back by reverting this PR; cr start remains the explicit old REPL path throughout.

@spytensor spytensor merged commit 32fb5c6 into main May 24, 2026
5 checks passed
@spytensor spytensor deleted the codex/v0.9.5-default-live-room branch May 24, 2026 16:53
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.

v0.9.5: make plain cr open the unified live room, not dashboard-to-REPL

1 participant