Skip to content

feat(irc): airc away/back + IRC verb coverage (closes vhsm+continuum QA) - #139

Merged
joelteply merged 2 commits into
canaryfrom
feat/irc-align
Apr 27, 2026
Merged

joelteply merged 2 commits into
canaryfrom
feat/irc-align

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Why

vhsm and continuum QA'd the README's IRC table against the actual CLI and found gaps. README claims `/away` → `airc identity set --status`, but `/away` has no direct CLI form. Also caught a stale "Try: relay help" string from the pre-rename era and a half-baked status field surface.

Changes

  • `airc away [msg]` + `airc back`: IRC /away analog. With message → sets identity.status. Without args → clears it. Both forms hit the same field that handshake exchanges, so whois reflects the change without a wire round-trip.
  • README table: /away row now points at `airc away ""` (the verbose `identity set --status` is still accepted; just no longer how users learn the feature).
  • scenario_away (5 assertions): set/clear, multi-word, whois reflects, back alias.
  • scenario_list (4 assertions): `airc list` / `rooms` / `ls` aliases all dispatch to cmd_rooms; output shape sane.
  • scenario_quit (9 assertions): `airc quit` / `disconnect` aliases drop host-pairing fields but preserve identity (name, ssh_key, pronouns, role, bio).
  • stale-string fix ("Try: relay help" → "airc help"). vhsm caught this in QA — pre-rename ghost from agent-relay → airc.
  • status field UX hint ("(unset)" → "(unset; airc away to set)"). continuum's QA: a field that never has a setter command is half-baked.

Test results

10 IRC-relevant scenarios green: identity 19/19, whois 5/5, whois_cross_scope 6/6, kick 12/12, away 5/5, list 4/4, quit 9/9, part_persists 8/8, part_keeps_sidecar 6/6, general_sidecar_default 12/12. 86 assertions pass, 0 fail.

The 2 pre-existing teardown failures (port held / outage simulation) predate this PR — flagged in the session summary as deferred teardown-thoroughness issues.

Out of scope (filing as separate issues)

  • continuum's (c): `--room` flag regression on canary 750c3da from a #cambriantech-hosting tab. vhsm couldn't reproduce from a #useideem-joiner tab. Looks path-dependent; needs a focused repro.
  • @-mention/DM collision: when a peer name leads a message, send treats it as DM target.
  • airc list shows stale 1:1 invites with no auto-prune.

Adheres to README's IRC table — every IRC verb that maps to airc now
has a direct CLI form, not just a verbose composite. Caught vhsm
QA'ing the table and getting "Unknown command: away" because the
shortcut didn't exist; the pre-rename "relay help" stale string also
surfaced.

Changes:
- New `airc away [msg]` (alias `airc back`): IRC /away analog. With
  message → sets identity.status. Without args → clears it. Both forms
  end up in the same identity.status field exchanged at handshake, so
  whois reflects the change without a wire round-trip. Pre-fix: only
  `airc identity set --status "..."` worked, which is verbose and
  doesn't match the IRC mental model.
- New scenario_away (5 assertions): set/clear, multi-word, whois
  reflects, back alias.
- New scenario_list (4 assertions): list / rooms / ls aliases all
  dispatch to cmd_rooms cleanly; output shape matches.
- New scenario_quit (9 assertions): quit / disconnect aliases drop
  host-pairing fields but preserve identity (name, ssh_key, pronouns,
  role, bio).
- Fix "Unknown command: $1. Try: relay help" → "airc help". Stale
  string from the pre-rename era; user-facing every time someone fat-
  fingers a subcommand. Caught by vhsm in QA.
- README table: /away row now shows `airc away "<msg>"` as the
  primary form (the verbose `identity set --status` is still
  available, but no longer how users learn the feature).

Joel's directive: "adhere to IRC otherwise" — this PR closes the
last gap in that contract for the README's IRC table.
continuum-b741 found in QA that whois shows the status field even
when unset, with no obvious command to set it — "feels half-baked,
would feel cleaner if the field had '(use airc away to set)' hint."

Replace the bare "(unset)" fallback for status with
"(unset; airc away <msg> to set)" so users discover the new IRC-
aligned command from the showing surface itself.

Originally tried to use an em-dash + escaped quotes in the hint,
but apostrophes inside the python3 -c '...' heredoc broke bash
quoting at line 3271. Lesson: heredoc-embedded comments cannot
contain apostrophes. Switched comment to "do not" + simplified
the hint text to avoid escape sequences.
Copilot AI review requested due to automatic review settings April 27, 2026 16:20
@joelteply
joelteply merged commit 1e4d2bf into canary Apr 27, 2026
@joelteply
joelteply deleted the feat/irc-align branch April 27, 2026 16:21
joelteply added a commit that referenced this pull request Apr 27, 2026
…143)

chore(readme,skills): bring docs to spec for canary→main

README updates:
- Integration suite count: 88 assertions / 11 scenarios → ~245 / 32
- Core Commands: add `airc msg --room <name>` (sibling-room send) and
  `airc away` / `airc back` (IRC /away alias)
- Default Rooms: document /part stickiness (parted_rooms persists in
  primary scope's config) and `airc join --general` re-opt-in flag
- Skills table: add /whois, /away, /kick rows so the table covers
  every IRC verb in the IRC↔airc table (no more "documented in table,
  missing from skills")

New skills (install.sh auto-symlinks; no installer changes):
- skills/away/SKILL.md — IRC /away alias for status set/clear
- skills/whois/SKILL.md — identity lookup + cross-scope walk note
- skills/kick/SKILL.md — host-only peer eviction with SSH key drop

Why now: vhsm and continuum drove the IRC-table audit through QA.
README and skills were the last surfaces still claiming the
pre-#122/#138/#139 shape. Closing the gap before promoting canary
to main so the merged tree presents a coherent story.
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