Skip to content

unified-poller: log resolved self handle at startup - #61

Merged
ThinkOffApp merged 1 commit into
mainfrom
feat/log-resolved-self-handle
Aug 17, 2026
Merged

unified-poller: log resolved self handle at startup#61
ThinkOffApp merged 1 commit into
mainfrom
feat/log-resolved-self-handle

Conversation

@ThinkOffApp

Copy link
Copy Markdown
Owner

Makes the #59 review caveat actionable: the resolved self handle prints at poller startup, so a shared IAK_SELF_HANDLE on a two-agent machine is visible immediately instead of surfacing as one agent going deaf.

🤖 Generated with Claude Code

Review caveat from #59 made actionable: on a two-agent machine a shared
IAK_SELF_HANDLE makes one poller filter the other's posts. Printing the
resolved handle at startup makes the collision visible in the first two
log lines instead of days of one agent being mysteriously deaf.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cursor

cursor Bot commented Aug 16, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6b7fb5eec5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/unified-poller.mjs
// IAK_SELF_HANDLE at a glance (review caveat on #59): if two pollers on
// one host print the same handle here, one of them is filtering the
// other's posts and the wrong agent goes deaf.
console.log(` self handle: ${resolveSelfHandle({ config: this.config })} (own posts skipped, case-insensitive)`);

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 Add the startup log to the poller used by the CLI

When running the shipped ide-agent-kit xfor watch or platform watch flows, bin/cli.mjs constructs src/team-relay/unified-poller.mjs, whereas a repo-wide import search shows this edited class is only imported by test/unified-poller.test.mjs. Consequently, this log never executes in the operational two-agent scenario it is intended to diagnose; add it to the team-relay implementation or make the CLI use this implementation.

Useful? React with 👍 / 👎.

@ThinkOffApp
ThinkOffApp merged commit b120f39 into main Aug 17, 2026
3 checks passed
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.

1 participant