Skip to content

agents claude-channel: make resync topic list honest about the 40-topic cap #253

Open

Description

@bniladridas

Problem. resync caps its topic list at 40 and then says "and N more", but the notice and the bundled skill say every topic is listed. An agent that follows the notice cannot catch up on the omitted topics from the resync content alone.

Evidence. _RESYNC_TOPICS_SHOWN = 40 and the known[:_RESYNC_TOPICS_SHOWN] slice are in src/pepper_cli/claude_channel.py:106 and :528-530. The notice says "room_id and topic_id are given here" at :535-537. planning/claude-code-channel.md:393-396 says a resync lists every topic and then describes "the first 40, then and N more". The bundled skill says the notice "lists each topic with its room_id" at src/pepper_cli/data/agent-skill/SKILL.md:300-302.

Scope. Either reword the notice and skill so they do not claim completeness and tell the agent how to get the rest, for example with topics list, or list every topic. Keep the existing resync coalescing and cause cap unchanged.

Done when. The notice, design text, and bundled skill agree on whether the list is complete, and a test covers a channel with more than 40 known topics.

Refs #122. Item 1 of 4. PR #232 covers item 2.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions