Skip to content

Add Sampled Values codecs and stream supervision - #4

Merged
masarray merged 1 commit into
mainfrom
agent/sampled-values-core
Aug 5, 2026
Merged

masarray merged 1 commit into
mainfrom
agent/sampled-values-core

Conversation

@masarray

@masarray masarray commented Aug 5, 2026 •

Copy link
Copy Markdown
Owner

Scope

Phase 1D adds the deterministic Sampled Values core:

Wire codec

  • Sampled Values ASDU and multi-ASDU SAV PDU models.
  • Application-tag-0 BER encode/decode.
  • svID, optional datSet, smpCnt, confRev, optional refrTm, smpSynch, optional smpRate, raw seqOfData, and optional smpMod.
  • Exact noASDU consistency validation.
  • Ethernet/VLAN/process-bus frame support for EtherType 0x88BA.
  • C#-derived byte-for-byte PDU and complete Ethernet-frame vectors.

Stream diagnostics

  • Configurable counter wrap, gap, duplicate, out-of-order, and restart classification.
  • Stream identity and configuration-revision supervision.
  • IEC 61850 quality-word helper.
  • Vendor-neutral seqOfData diagnostics with trailing-byte preservation.

Validation

The branch was rebuilt as one clean Phase 1D commit on top of merged main; GCC, Clang, and Windows MSVC will be validated again before merge.

Safety boundary

Encoded frame bytes only. No Npcap, raw sockets, active SV publisher thread, or network-interface access.

@masarray
masarray force-pushed the agent/sampled-values-core branch from 152cee8 to af442c4 Compare August 5, 2026 23:17
@masarray
masarray changed the base branch from agent/goose-runtime-supervision to main August 5, 2026 23:18
@masarray
masarray marked this pull request as ready for review August 5, 2026 23:19
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@masarray
masarray merged commit b65d474 into main Aug 5, 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