Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ This integrates with [user-intent-kit](https://github.com/ThinkOffApp/user-inten
| `IAK_API_KEY` | (required) | GroupMind API key |
| `IAK_ROOMS` | `thinkoff-development,feature-admin-planning,lattice-qcd` | Rooms to watch |
| `IAK_SELF_HANDLE` | `poller.handle` from config, else `@claudemm` | This agent's handle; its own posts are skipped **case-insensitively** ('@' optional). `IAK_SELF_HANDLES` (comma list) still accepted |
| `IAK_NEW_FILE` | `/tmp/iak-new-messages.txt` | Notification file this agent's poller and session hooks bind to. **Set a per-agent path on multi-agent machines** (e.g. `/tmp/iak-grok-new-messages.txt`): the room-responder lock derives from this file, so two agents sharing the default will fight over one voice and the loser's sessions go passive without warning |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Document all per-agent poller state paths

When two agents use the generic poller, setting only IAK_NEW_FILE does not make the pollers coexist: scripts/room-poll.sh:15-22 still gives both processes /tmp/iak_poll.pid, so the second exits as an apparent duplicate. If that lock is separately overridden, the defaults for seen, acknowledged, and pending state are also shared (scripts/room-poll-check.py:65-67 and scripts/room-poll.sh:46), which can consume another agent's messages or nudges. This multi-agent guidance should also list the other paths that must be scoped per agent rather than implying that changing the notification file is sufficient.

Useful? React with 👍 / 👎.

| `IAK_TARGET_HANDLE` | `@claudemm` | Handle used in ack messages |
| `IAK_OWNER_HANDLE` | `petrus` | Only auto-ack from this user |
| `IAK_TMUX_SESSION` | `claude` | tmux session to nudge |
Expand Down
Loading