Skip to content

meetings: rename a finished meeting from the CLI (#2948) - #2949

Open
opencodejr[bot] wants to merge 1 commit into
devfrom
agent/issue-2948
Open

opencodejr[bot] wants to merge 1 commit into
devfrom
agent/issue-2948

Conversation

@opencodejr

@opencodejr opencodejr Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Adds hex meetings rename <id> <title>, requested in #2948 by @alvarogar4 (for their Raycast extension). It does the Meetings pane's Rename through the running Hex's control host on every OS, without raising the window.

  • New control command meeting-rename {id, title}, handled by the Linux/Windows host (control/host.rs) and the macOS host (macos_rune/control.rs). It is additive, so CONTROL_VERSION is unchanged.
  • New meeting/retitle.rs: rename_finished(id, title) checks the id the way meetings delete does (one folder with a manifest), refuses a blank title, then claims the process-local writer slot before reading. While holding the claim it refuses recording, transcribing, notes in progress and final.pending, using the delete codes (not-found, invalid-value, meeting-recording, meeting-transcribing, meeting-notes, meeting-final-pending, busy). It then runs the pane's rename under that same claim (write::rename_claimed, split out of write::rename with no behavior change). This matches the pane, which only offers Rename for finished meetings.
  • No Labs toggle: this follows hex meetings delete (feat(meetings): delete a finished meeting from the CLI #2225), which also calls an existing pane action from the CLI without a lab. Happy to gate it behind a lab if preferred.
  • Docs: docs/cli.md (command tree, behavior paragraph, wire list, error codes), docs/transcript-cli.md, docs/features/control-cli.md (command index plus a rename branch next to delete), docs/features/meetings.md.

Tests:

  • renaming_by_id_saves_the_title_and_refuses_what_the_pane_would, using its own meeting id 1760000000000-48 so its write claim cannot collide with other tests under threaded cargo test
  • meeting-rename added to the control JSON round-trip and shape test
  • the CLI parse test covers hex meetings rename --json -- <id> <title>, including a title starting with a dash

On Linux: cargo fmt --check, cargo clippy --locked --bin hex -- -D warnings (also with --tests), scripts/check meeting::retitle control main (135 tests, all passed) and python3 scripts/code-shape.py --check (no hard problems). The new test also passes under plain threaded cargo test. Nine existing meeting::tests cases fail under threaded cargo test with or without this change: they share an id with each other, and they pass under nextest or with one thread. The macOS host arm mirrors the delete arm but was not compiled here.

Closes #2948

@opencodejr opencodejr Bot added the agent-strict-review Issue pipeline: flagged patch approved by the strict reviewer label Nov 27, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-strict-review Issue pipeline: flagged patch approved by the strict reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add hex meetings rename to rename a recording while Hex is running

0 participants