feat(entity-resolver): IRC identifier support (irc_username, <network>/<nick>) - #525
Merged
Merged
Conversation
…>/<nick>) Closes #522 - Resolves IRC server host from OpenClaw config (channels.irc.accounts[accountId].host, falling back to channels.irc.host) when event metadata does not carry host. - Adds test seam for config-backed host resolution (TC-522-036).
NOVA-Openclaw
force-pushed
the
feature/522-irc-entity-resolver
branch
from
July 25, 2026 16:04
9d21bc0 to
2a98674
Compare
added 2 commits
July 25, 2026 19:54
- TC-522-013: resolver lib combined non-IRC identifier conflict regression - TC-522-028: turn-context IRC config-read/parse resilience; hardens resolveIrcHostFromConfig against synchronous throws from malformed config (missing file, invalid JSON, unexpected host types)
…ort (#522) SE Run #499 — Step 9 (Technical Writing) for PR #525. Priority-1 doc updates: - CHANGELOG.md (root): full batch entry (irc-entity-resolver-522) covering extractIdentifiers() IRC case, network/nick derivation, config-driven host resolution, resolveIrcHostFromConfig hardening fix, pre-migration 006, and full test-case detail. - memory/CHANGELOG.md: condensed IRC entry (Added/Migrations/Tests/Fixed) cross-referencing the root batch. - relationships/CHANGELOG.md: condensed ircUsername -> irc_username mapping entry cross-referencing the root batch. - relationships/ARCHITECTURE-entity-resolver.md: ircUsername added to the EntityIdentifiers interface doc, IDENTIFIER_TO_DB_KEY mapping table, a usage example, and a note clarifying that host/nick parsing happens upstream in turn-context, not in this library. - memory/docs/semantic-recall.md: Entity Resolution section gains the IRC bullet (was stale/missing after the #522 code change — this doc mirrors the same extractIdentifiers() switch). - tests/TEST-CASES-ISSUE-522.md: corrected TC-522-028 framing per QA note — only the non-string-host/non-string-account-host sub-cases guard the new fix; missing-file/invalid-JSON sub-cases document pre-existing readOpenClawConfig() resilience. Light audit pass (full file list from task brief): - ARCHITECTURE.md (root) + relationships/README.md + relationships/docs/ integration-guide.md: added IRC to identifier enumerations that already listed Discord/Telegram/Slack/Signal, for consistency. - All other files in the enumerated audit scope were read and checked against current source; no other staleness found relevant to #522. Unrelated subsystems (cognition, motivation, psyche) got a light deprecated-reference pass only, per task scope — no changes needed. No code changes. Docs only.
NOVA-Openclaw
marked this pull request as ready for review
July 26, 2026 00:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #522
Implements IRC identifier support for entity resolution:
ircUsernameidentifier mapped toirc_usernamefact key.<network>/<nick>values.irc./irc-prefix, lowercase).nick!user@hostsender id masks.Integration tests TC-522-025..030 and 036..037 are not included in the automated suites because they require full plugin hook wiring / installed lib resolution.