Skip to content

Rename project/CLI to construct and smith harness aliases#385

Merged
edwin-zvs merged 3 commits into
mainfrom
rename-agentd-construct
Jun 7, 2026
Merged

Rename project/CLI to construct and smith harness aliases#385
edwin-zvs merged 3 commits into
mainfrom
rename-agentd-construct

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Summary\n- Rename project surface from 'agentd' CLI/daemon naming to 'construct' and keep legacy 'agent' CLI as compatibility behavior where appropriate.\n- Rename default built-in harness binary and references from "zarvis" to "smith".\n- Update docs/install artifacts, scripts, and tests for the renamed client/daemon assets.\n- Add startup legacy migration notice that now prints a copy-paste migration command for existing 'agentd' layout.\n\n## Testing\n- cargo fmt --all\n- cargo test -p agentd-cli --test reconnect -- --nocapture\n- cargo test -p agentd legacy_migration_notice_includes_detected_items -- --nocapture\n- cargo build (workspace)\n

@edwin-zvs
edwin-zvs merged commit 4608975 into main Jun 7, 2026
1 check failed
@edwin-zvs
edwin-zvs deleted the rename-agentd-construct branch June 7, 2026 01:09
edwin-zvs added a commit that referenced this pull request Jun 7, 2026
…389)

CI has hung on every run since the rename (#385): the `restart` and
`tui_smoke` e2e test binaries never finish. Root cause:

- #382 retired `q` as a quit key; the global quit chord is now C-x C-c
  (keymap.rs). key_latency.rs was updated; restart.rs + tui_smoke.rs were
  not — they still `send(b"q")`.
- The e2e config disables the orchestrator, so the TUI sits on the empty-
  fleet welcome screen where only C-x C-c quits. `q` does nothing → the
  TUI never exits → `wait_exit` times out.
- `Tui::wait_exit` moved the child into a detached wait-thread and, on
  timeout, returned without killing it. `Drop` can't help (`self.child`
  is already taken), so the process leaks, the PTY reader stays parked,
  and the tokio runtime can't shut down → `cargo test` hangs forever
  instead of failing.

Fixes:
1. restart.rs + tui_smoke.rs (x2): send `\x18\x03` (C-x C-c) to quit.
2. Tui::wait_exit: grab a clone_killer() up front and kill the child on
   timeout, so a TUI that won't quit becomes a fast failure, never an
   infinite hang. Defense against this whole class recurring.

Verified locally: restart (3) + tui_smoke (2) now pass and complete in
seconds. This unblocks CI for main and all open PRs.
@edwin-zvs edwin-zvs mentioned this pull request Jun 16, 2026
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