Skip to content

fix(cli): rename read --view conversation to transcript (vocab policy) - #1867

Merged
Sinity merged 1 commit into
masterfrom
feature/fix/read-view-vocab-transcript
Jun 13, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/fix/read-view-vocab-transcript

Conversation

@Sinity

@Sinity Sinity commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Summary

Rename the read --view conversation token to transcript to remove stale "conversation" vocabulary that #1863 reintroduced on public CLI surfaces, restoring the session/origin vocabulary policy from the #1810/#1852 sweep.

Problem

#1863 shipped read --view conversation. The public-surface audit (tools/cleanup/polylogue_public_surface_audit.sh, #1852) flags conversation as stale schema-v1 vocabulary on both polylogue/cli/query_verbs.py and the generated docs/cli-reference.md. The audit false-passed in CI — the Ubuntu-image ripgrep silently mishandles the audit's rg invocation (the #1854/#1855 shelled-binary-in-CI fragility) — so the violation landed on master uncaught. It deterministically fails the local pre-push gate (nix ripgrep), blocking every subsequent push.

Solution

  • Rename the read view token conversation → transcript in query_verbs.py (_READ_VIEWS, help text, comment). The view has no distinct dispatch branch — it shares the summary fallthrough render path — so this is a pure token rename, no behavior change.
  • Regenerate docs/cli-reference.md and the help-read.txt showcase baseline.

Verification

  • tools/cleanup/polylogue_public_surface_audit.sh → exit 0 (clean (no stale schema-v1 vocabulary on public surfaces))
  • mypy --strict polylogue/cli/query_verbs.py → clean
  • ruff check → clean
  • pytest tests/unit/cli -k "help or read or view" → 433 passed, 4 snapshots passed

Follow-up

The CI audit's ripgrep false-pass is a real gap (CI did not catch this violation). The lint job's rg invocation hardening against the runner image is tracked separately (#1855 class).

Problem: #1863 introduced `read --view conversation`, reintroducing the stale
"conversation" vocabulary the #1810/#1852 session/origin sweep purged from
public surfaces. The public-surface audit flags it on both `query_verbs.py`
and the generated `docs/cli-reference.md`. The audit *false-passed* in CI
(Ubuntu ripgrep silently mishandles the rg invocation — the #1854/#1855
shelled-binary fragility), so the violation landed on master uncaught; it fails
the local pre-push gate, blocking every subsequent push.

What changed: rename the read view token `conversation` → `transcript` (clean,
vocab-neutral, same fallthrough render path — no dispatch change), and
regenerate `docs/cli-reference.md` + the `help-read.txt` showcase baseline.

Verification: public-surface audit exit 0 (clean); mypy --strict clean; ruff
clean; tests/unit/cli help/read/view selection 433 passed + 4 snapshots.

Follow-up: the CI audit's ripgrep false-pass is a real gap (CI didn't catch
this) — tracked separately for the lint job's rg invocation hardening.
@coderabbitai

coderabbitai Bot commented Jun 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Sinity, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 26 minutes and 45 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: d6aaa36d-44aa-4445-9628-dbf812ab3ca5

📥 Commits

Reviewing files that changed from the base of the PR and between 4856248 and 625bef6.

📒 Files selected for processing (3)
  • docs/cli-reference.md
  • polylogue/cli/query_verbs.py
  • tests/baselines/showcase/help-read.txt
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/fix/read-view-vocab-transcript

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

github-actions Bot pushed a commit that referenced this pull request Jun 13, 2026
@Sinity
Sinity merged commit a7d0cc8 into master Jun 13, 2026
13 of 16 checks passed
@Sinity
Sinity deleted the feature/fix/read-view-vocab-transcript branch June 13, 2026 22:27
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