Skip to content

docs(readme): cover the new identity layer (post-#70) - #71

Merged
joelteply merged 1 commit into
canaryfrom
docs/identity-layer-readme
Apr 25, 2026
Merged

joelteply merged 1 commit into
canaryfrom
docs/identity-layer-readme

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Summary

Documents the identity layer + IRC parity from PR #70 in the README so fresh-clone users see the new commands.

  • IRC-vs-airc table — adds WHOIS / AWAY-style status / kick / USER-realname / cross-platform-identity rows.
  • "The Magic" bullets — new entry on 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: JSON shape, field table, bootstrap behavior, handshake-time exchange, link-don't-duplicate pattern, kick semantics.

Test plan

  • Markdown anchors resolve (#agent-identity--whois, #auto-scope--the-default-room)
  • No code changes — just docs

- 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]>
Copilot AI review requested due to automatic review settings April 25, 2026 12:25
@joelteply
joelteply merged commit 47353c9 into canary Apr 25, 2026
3 checks passed
@joelteply
joelteply deleted the docs/identity-layer-readme branch April 25, 2026 12:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread README.md
Comment on lines +376 to +384
// <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"

Copilot AI Apr 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
// <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"
}

Copilot uses AI. Check for mistakes.
Comment thread README.md

### 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).

Copilot AI Apr 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
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).

Copilot uses AI. Check for mistakes.
Comment thread README.md
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).

Copilot AI Apr 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Suggested change
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).

Copilot uses AI. Check for mistakes.
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.

2 participants