Skip to content

M2R: GOOSE Browser exact goID/VLAN source disambiguation before ambiguity rejection - #207

Merged
masarray merged 2 commits into
mainfrom
fix/workbench-goose-all-identity-disambiguation-20261017
Oct 16, 2026
Merged

masarray merged 2 commits into
mainfrom
fix/workbench-goose-all-identity-disambiguation-20261017

Conversation

@masarray

Copy link
Copy Markdown
Owner

Problem observed during native Workbench field-readiness audit

Browser's observedForConfiguredStream called a partial-identity resolver (goCBRef/DataSet/APPID/MAC), which returned "ambiguous" before SCL goID and VLAN constraints were evaluated. On multicast networks where two publishers share the partial key, a fully specified configured GOOSE source could be silently hidden even while the shared Npcap/AF_PACKET monitor decoded the values. This is a correctness/UX issue, not lack of packets.

Native fix

  • One bounded O(256) exact-match pass across the existing GooseMonitorController stream slots, applying case-preserved goCBRef, typed DataSet, hexadecimal APPID, MAC, goID, VLAN ID and PCP before deciding whether 0 / 1 / 2+ sources match. No second parser, capture socket, notification timer or MMS operation.
  • observedForStream retains its legacy four-argument public QML API using the same helper with absent optional filters. observedForConfiguredStream strictly parses and validates VLAN selectors first, then invokes one helper with all supplied evidence.
  • Regression from actual native GOOSE publisher PCAP: inject second publisher with same goCBRef/DataSet/APPID but alternate MAC/goID/VLAN; demonstrate goID-only uniqueness, reverse goID uniqueness, VLAN-only uniqueness (when tagged), and fail-closed on truly underspecified identity. Existing wrong MAC/APPID/case/ConfRev/TTL regression remains.

Acceptance

Native IED Simulator Qt workflow including PCAP replay and QML smoke must succeed on exact commit; code must compile on Qt 6.8.3 and remain read-only. Field relay/Npcap real traffic and VLAN offload need independent evidence; do not label CI as hardware certification. Separate from PR #206 (RCB inspector UI parity).

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T23:05:36.850778Z 93c7021 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: 93c7021dba

ℹ️ 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".

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