Skip to content

Documented behaviour the public docs never mention #30

Closed

Description

@abruption

Four gaps where the code does something useful and no reader can find out.

CC_PEER_REPLY_HOST is undocumented in public

It's implemented and sits in the resolution order between --reply-to and auto-detection. The only file explaining it is CLAUDE.md — which is in .gitignore. The public repository describes it in zero lines.

Anyone on a VPN that isn't Tailscale has to pass --reply-to on every single call, believing that's the only option, when one environment variable would do.

SKILL.md doesn't know half the CLI

No mention of --no-from, --dry-run, --ssh-opt, or update anywhere in the file.

The concrete cost: a host on a non-default SSH port. The agent has no idea --ssh-opt exists, so it follows SKILL.md's troubleshooting table to "Plain SSH problem" and gives up. The answer is in the README, which the agent wasn't pointed at.

Similarly, list --host prints a version-mismatch warning that recommends cc-peer update --host — a command SKILL.md never introduces, so the agent has no basis for acting on its own tool's advice.

Exit code 130 is missing

The README lists 0, 1, 2. main() also returns 130 on KeyboardInterrupt.

CLAUDE_CONFIG_DIR is honoured in one place and ignored in the other

sessions_dir() respects CLAUDE_CONFIG_DIR and ANTHROPIC_CONFIG_DIR. install.sh hardcodes $HOME/.claude/skills/cc-peer.

On a worker running with CLAUDE_CONFIG_DIR=/opt/claude, cc-peer list finds sessions correctly while the installer puts the skill somewhere Claude Code won't load — and the reply line points at a path that doesn't exist there either. Neither variable is mentioned in the README or SKILL.md.

Acceptance criteria

  • CC_PEER_REPLY_HOST in the README, with its place in the resolution order
  • SKILL.md covers the flags an agent needs, including --ssh-opt in the troubleshooting table and update where the mismatch warning sends it
  • Exit code 130 listed
  • install.sh honours CLAUDE_CONFIG_DIR, and both variables are documented

Activity

  1. added
    documentation
    on Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions