Repository navigation
docs(readme): cover the new identity layer (post-#70) - #71
Conversation
- IRC-vs-airc table: add WHOIS / AWAY-style status / kick / USER-realname / cross-platform-identity rows so first-time readers see the IRC-parity story. - "The Magic" bullet: new entry covering the bootstrap-prompt moment + cross-platform integrations. - Core Commands: new "Identity" subsection listing show/set/link/ import/push/whois/kick. - New "Agent identity & WHOIS" section with the JSON shape, the field table, the bootstrap behavior, the handshake-time exchange story, the link-don't-duplicate pattern, and the kick semantics. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
There was a problem hiding this comment.
Pull request overview
Updates the README to document the post-#70 “identity layer” features and complete IRC-parity coverage so new users can discover identity/WHOIS/kick commands from a fresh clone.
Changes:
- Extends the IRC-vs-airc comparison table with WHOIS/AWAY/KICK/realname and cross-platform identity rows.
- Adds an “Identity” subsection to Core Commands (show/set/link/import/push/whois/kick).
- Introduces a new “Agent identity & WHOIS” section describing fields, bootstrap behavior, handshake exchange, cross-platform linking, and kick semantics.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| // <scope>/.airc/config.json (the `identity` block) | ||
| { | ||
| "pronouns": "they", | ||
| "role": "device-link-orchestrator", | ||
| "bio": "wallet/merchant bridging cert flow on the canary branch", | ||
| "status": "drafting PR for derive_name", | ||
| "integrations": { | ||
| "continuum": "Earl", | ||
| "slack": "U07ABC123" |
There was a problem hiding this comment.
The code fence is labeled as json, but the snippet includes a // ... comment line and shows only the inner identity object. Since this isn’t valid JSON and is easy to copy/paste into config.json, consider either switching the fence to jsonc (or removing the comment) and showing the real on-disk shape (e.g., wrapping under the top-level identity key) to avoid confusion.
| // <scope>/.airc/config.json (the `identity` block) | |
| { | |
| "pronouns": "they", | |
| "role": "device-link-orchestrator", | |
| "bio": "wallet/merchant bridging cert flow on the canary branch", | |
| "status": "drafting PR for derive_name", | |
| "integrations": { | |
| "continuum": "Earl", | |
| "slack": "U07ABC123" | |
| { | |
| "identity": { | |
| "pronouns": "they", | |
| "role": "device-link-orchestrator", | |
| "bio": "wallet/merchant bridging cert flow on the canary branch", | |
| "status": "drafting PR for derive_name", | |
| "integrations": { | |
| "continuum": "Earl", | |
| "slack": "U07ABC123" | |
| } |
|
|
||
| ### Bootstrap | ||
|
|
||
| First `/join` in a scope where these fields are empty, the skill prompts the agent — pronouns/role/bio are agent-proposed, user confirms with one keystroke or overrides per field. Skip with `AIRC_NO_IDENTITY_PROMPT=1` (used by integration tests). Agents who skipped get re-prompted on the next `/join` (gentle persistence). |
There was a problem hiding this comment.
This says AIRC_NO_IDENTITY_PROMPT=1 is “used by integration tests”, but there’s no reference to that env var in test/ (only in docs/skills). Either update the test harness to set it, or soften the wording (e.g., “useful for CI/tests”) so the README doesn’t claim behavior that isn’t true in-repo.
| First `/join` in a scope where these fields are empty, the skill prompts the agent — pronouns/role/bio are agent-proposed, user confirms with one keystroke or overrides per field. Skip with `AIRC_NO_IDENTITY_PROMPT=1` (used by integration tests). Agents who skipped get re-prompted on the next `/join` (gentle persistence). | |
| First `/join` in a scope where these fields are empty, the skill prompts the agent — pronouns/role/bio are agent-proposed, user confirms with one keystroke or overrides per field. Skip with `AIRC_NO_IDENTITY_PROMPT=1` (useful for CI/tests). Agents who skipped get re-prompted on the next `/join` (gentle persistence). |
| airc kick <peer> [reason] | ||
| ``` | ||
|
|
||
| Drops the peer's SSH key from `authorized_keys`, removes the peer file, broadcasts a `[kick]` event. Kicked peer's tail loop dies on the closed pipe; they can re-pair via `airc join` (no permanent ban yet — that's a follow-up). |
There was a problem hiding this comment.
The claim that a kicked peer’s “tail loop dies on the closed pipe” doesn’t match the current implementation: airc kick removes the peer’s key from authorized_keys and deletes the peer file, but it doesn’t terminate any already-established SSH tail session (auth is only checked at connection time). Please adjust this sentence to describe what actually happens (e.g., future SSH connects/sends fail; the peer may still receive messages until they reconnect/quit).
| Drops the peer's SSH key from `authorized_keys`, removes the peer file, broadcasts a `[kick]` event. Kicked peer's tail loop dies on the closed pipe; they can re-pair via `airc join` (no permanent ban yet — that's a follow-up). | |
| Drops the peer's SSH key from `authorized_keys`, removes the peer file, and broadcasts a `[kick]` event. Future SSH reconnects/sends from that peer fail until they re-pair via `airc join`; an already-established tail session may still receive messages until it exits or reconnects (no permanent ban yet — that's a follow-up). |
Summary
Documents the identity layer + IRC parity from PR #70 in the README so fresh-clone users see the new commands.
Test plan
#agent-identity--whois,#auto-scope--the-default-room)