Skip to content

fix: discovery polish (real names, lighter scans, quiet agent-deck notice) - #3

Merged
darkstardevx merged 2 commits into
mainfrom
fix/discovery-polish
Nov 27, 2026
Merged

darkstardevx merged 2 commits into
mainfrom
fix/discovery-polish

Conversation

@darkstardevx

Copy link
Copy Markdown
Contributor

Three follow-ups from the phase 2 review. Each one affects anyone whose agents mostly run outside agent-deck.

What changes

  • 🏷️ Real names for discovered Claude sessions. A session's title and path now come from the cwd Claude records in its transcript. It searches the first 64 KiB and caches the answer once found, so ~/w/my-app shows as "my-app", not "app". Until the first cwd line appears, the folder slug is used, as before.

  • 🪶 Lighter discovery. Runeway no longer lists every Claude project folder every second. A full scan runs every 15 s. In between, only folders that held an active transcript are read, so:

    • a new transcript in an active folder still shows at once
    • a brand-new project folder shows within 15 s
  • 🤫 No agent-deck warning when there's nothing wrong. The "agent-deck unavailable" line, which also cost a row in the world view, now shows only in two cases:

    • agent-deck was found or given and then failed
    • discovery is off and there is nothing else to show

    --no-agent-deck, or agent-deck simply not installed while discovery is on, shows no notice. runeway check still reports it.

Verification

  • cargo fmt --check, cargo clippy --all-targets -- -D warnings and cargo test all pass.
  • Each change has a test written first:
    • claude_title_and_path_come_from_the_transcript_cwd
    • new_transcript_in_an_active_folder_shows_at_once
    • new_project_folder_is_found_on_the_next_full_scan
    • CLI tests turning_agent_deck_off_shows_no_notice, agent_deck_not_installed_is_quiet_while_discovering and agent_deck_not_installed_without_discovery_still_explains
  • runeway status on the owner's machine names discovered sessions by their real folder.

👻 Code & Design by Darkstardevx 🤖 Generated with Claude Code

darkstardevx and others added 2 commits November 27, 2026 07:28
- A discovered Claude session now takes its title and path from the
  `cwd` Claude records in the transcript (searched in the first
  64 KiB, cached once found). `~/w/my-app` shows as "my-app", not
  "app". Before the first `cwd` line appears, the slug is still used.
- Discovery no longer lists every Claude project folder each second.
  A full scan runs every 15 s; in between, only folders that held an
  active transcript are read, so a new transcript there still shows
  at once and a new project folder shows within 15 s.

Project contributor

👻 Code & Design by Darkstardevx 🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Most agents now come from discovery, so a missing agent-deck is a
normal setup rather than an error. The "agent-deck unavailable" line
(which also cost a row in the world view) now shows only when
agent-deck was found or given and then failed, or when discovery is
off and there is nothing else to show.

- --no-agent-deck: no notice.
- agent-deck not on PATH, discovery on: no notice.
- agent-deck not on PATH, --no-discover: the notice explains the
  empty screen, as before.
- runeway check still reports agent-deck as missing and exits 1.

Project contributor

👻 Code & Design by Darkstardevx 🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@darkstardevx
darkstardevx merged commit 356c1ef into main Nov 27, 2026
2 checks passed
@darkstardevx
darkstardevx deleted the fix/discovery-polish branch November 27, 2026 18:52
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