Skip to content

P9: representative live RCB family enrichment within fixed MMS read budget - #203

Merged
masarray merged 1 commit into
stagingfrom
fix/p9-fair-rcb-readonly-enrichment-bcunr-20261120
Nov 20, 2026
Merged

masarray merged 1 commit into
stagingfrom
fix/p9-fair-rcb-readonly-enrichment-bcunr-20261120

Conversation

@masarray

@masarray masarray commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Root cause: 560 live RCBs but only four DataSets mapped

BCUNR 2026-11-20 P9 field log: 39 DataSets, 560 observed RCB instances (400 BRCB + 160 URCB), 35/39 DataSets without verified live DatSet RCB mapping despite 4/4 exact selected RCBs actively routing Reports. Previous EnrichReportInventorySmartAsync sorted all buffered controls first then took 64 indexed instances; with up to 16 live client slots per family, this frequently spends all 64 reads on only a few distinct configured RCB families.

Fix

  • Pure, deterministic read-only scheduler, round-robin over exact MMS-observed families identified by Domain/LN/FC plus a trailing numeric priority hint. Every observed RCB remains distinct. A hint never establishes DataSet binding, eligibility, ownership, Report ingress or write authority.
  • 64 RCB-candidate cap unchanged at ARSAS P0 and engine caller; no extra GetNameList or expanded RCB candidate count, no change to negotiated concurrency, no control/Report writes. Each selected candidate may require a different number of fallback attribute MMS Reads; compare real wire KPI before claiming a speedup.
  • Summary labels now show bounded enriched count as distinct from full RCB metadata completeness.
  • Synthetic 35×16 RCB regression verifies all 35 families enter the 64-read budget; domain/FC separation, ordering, duplicate/boundary tests.
  • Excluded from automatic production promotion; evaluate alongside ARSAS PR #768 and existing P9 engine PR P9: four-RCB initial report registration race + bounded per-RCB delivery #200 via exact-SHA Windows trial.

Field limits

Only 4/4 selected Report routing and 125/125 displayed rows (not 445/445 wire-proven), all four BRCBs advertised initial BufOvfl so SOE continuity is not proven. Two close/open transactions had positive termination + feedback; ~400ms SBO application-error grace is a deliberate safety window, not blindly removed. The target IP also appears assigned to the tester PC; physical hardware endpoint identity requires independent verification.

Safety: no control actions, no revised RCB activation policy, no partial-page semantics changed, no claim of full 39/39 coverage or assured SOE continuity.

…d enrichment budget

Use read-only round-robin across observed indexed client slots rather than first 64 sorted BRCBs, which monopolized the budget on a few of 35 families on the BCUNR field profile. Never infer DatSet/availability from name. Distinguish completed budget from complete coverage and add synthetic 35x16 regression.

Copy link
Copy Markdown
Owner Author

Field-candidate evidence — exact engine SHA / CI

The prior BCUNR source capture with P9 58d22be showed 560 live RCB instances, 4 mapped DataSets, 4/4 selected Report ingress, 125/125 displayed selected points and four first-frame BufOvfl observations. The sanitized 39 DataSet / 35 RCB template IID contained 33 DataSets with exact design RCB datSet binding and six without. The family sampler makes no claim that all 33 bindings will resolve live; that must be field-measured. The endpoint address also appeared as a local NIC alias; field/hardware identity remains unverified. No control or RCB mutation was added.

Copy link
Copy Markdown
Owner Author

SG7_BCU P9 reporting field result — 2026-11-21 (consumer verification)

Operator diagnostic with exact nonrelease engine SHA 24077e48e393ce3dc2cd1409db6e96f27aa1e368 and ARSAS consumer a3dca3e8483a7a8b1cb8047e7034db75380f8baa (draft ARSAS #768) now proves 77/77 selected report-backed runtime values and 4/4 independently routed exact BRCBs on SG7_BCU. RCB received frames: A01=12, B01=43, D01=37, I01=37 (129 total, 8,161 process updates). No cyclic MMS process polling; no claim the bounded read-only family-enrichment change alone caused the recovery.

Each first BRCB frame advertised BufOvfl=true, so SOE/event history continuity is not certified. A01's OptFlds did not request SqNum; other available sequences showed no observed discontinuity. Open SCL parity and independent physical-vs-simulator endpoint identity remain unverified. Follow-up ARSAS #769 tracks reconnect/continuity proof.

No engine code change or promotion in this update. Keep engine #203/#200 draft, preserve production pin and separate PR-stack integration gates. Source-grounded field evidence supports reporting ingress for this exact trial, not universal IED interoperability or lossless SOE.

@masarray
masarray changed the base branch from feature/p9-multircb-activation-bounded-dispatch-20261031 to staging November 20, 2026 19:48
@masarray
masarray marked this pull request as ready for review November 20, 2026 19:51
@masarray
masarray merged commit fb981b1 into staging Nov 20, 2026
1 of 2 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T19:52:19.069020Z 24077e4 Draft marked ready
ℹ️ 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.

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