Skip to content

Release gate: IEC-101/103/104 decoder truth and Frame Trace parity audit #120

Closed as not planned

Description

@masarray

Ringkasan praktis untuk pemilik aplikasi — diperbarui 20 November 2026.

Tanda [x] berarti tahap tersebut sudah ada buktinya; [ ] hanya bagian yang belum terverifikasi. Ini bukan daftar pekerjaan yang harus Anda lakukan sendiri.

Yang sudah selesai dan yang belum — bahasa sederhana

Status sederhana: beberapa masalah decoder sudah diperbaiki; tidak semua jenis data IEC 101/103/104 sudah terverifikasi.

  • Contoh perbaikan yang sudah masuk: pemeriksaan SQ=1 dan penolakan objek palsu dari Type ID yang belum didukung (PR fix(decoder): refuse guessed IOA/object interpretation for unsupported IEC-10x types #235), dengan tes otomatis.
  • Yang tersisa ialah tabel jenis frame yang didukung, contoh frame salah/terpotong, konsistensi Trace–file–laporan, serta perbandingan perangkat saat tersedia.
  • Siapa mengerjakan: developer membuat data uji sintetis dan laporan dukungan. Anda tidak perlu memahami seluruh daftar kode IEC untuk menutup subpekerjaan software.
  • Yang perlu Anda lakukan sekarang: tidak ada; sampaikan satu contoh frame yang tampil salah jika menemukannya.

Catatan teknis dan sejarah implementasi (dipertahankan)

Release-gate decoder audit — 2026-11-08

Baseline verified: master HEAD 101bfe23b690e533fa0a46d03838e8fb0a11ab3a (merged #119). This issue records code-review findings and proposed failing fixtures; it does not claim tests have reproduced the faults or that any fix has been implemented.

Required invariant

For IEC-101 FT1.2, IEC-103 FT1.2, IEC-104 APCI, and capture/replay/report: preserve the exact original wire bytes, configured field widths and source; only display a field/value/address/time as verified if encoded, fully present and trustworthy. Distinguish: decoded, partial/warning, unsupported-but-raw, invalid. No unsupported vendor/private Type ID may silently become a valid process value. Preserve one Engineer Mode, 32% original HEX/68% typed interpreter, default-collapsed Full Properties, 3-object inline preview and PR #119 fast selection.

P0 — establish failing fixtures and repair the authority, not string patches

  • SQ=1 information-object address overrun. src/ARIEC60870.Core/Protocol/Iec10x/Iec10xAsduDecoder.cs DecodeObjects computes sequenceBaseIoa + i without a check against (1 << (8 * _ioaSize)) - 1. For width=3, VSQ SQ=1/count=2/base=0xFFFFFF, logical second IOA becomes 0x1000000; current Iec10xSignalTraceFormatter octet display wraps to IOA1/2/3=0. Fix by emitting an explicit ASDU/object decode issue and preventing trusted point/IOA promotion, while retaining original bytes and byte offsets. Include width=1/2/3 boundaries, SQ0, valid SQ1, first/max and malformed input.
  • Malformed-short ASDU header renders invented 0-valued fields. On Iec10xAsduHeader.TryParse failure, Iec10xAsduDecoder.Decode returns an ASDU with TypeName="Malformed ASDU" and an issue but unset numeric TypeId/COT/CommonAddress. src/ARIEC60870.Desktop/ViewModels/EvidenceRow.cs BuildTimelineEngineeringIdentity/Cause still formats TI 0 · CA 0 · COT 0. Require a decoder-owned header-validity/result state and use not decoded / not present instead of zeros; partial object payload may still show a genuinely parsed header with visible warning.
  • GI COT10 false completion in two session paths. src/ARIEC60870.Master/Iec104ClientSession.cs DrainBurstAsync stops at any accepted I-format COT==10, and ReceiveOneAsync increments GiEndResponses for any such COT; src/ARIEC60870.Master/Iec101/Redundancy/Iec101DualLinkRedundancySession.cs Class1 drain does the same. Ordinary command ACTTERM can share COT10; contrast already stricter Iec101MasterSession (TI100 && COT10). Require source/session/CA/OA/QOI context where available and at least TI100 && COT10 before counting as GI end/ending GI burst; test interleaved command ACTTERM, spurious COT10, rejected/test frames, wrong CA and valid TI100 COT10.
  • Standard normalized measurement TI21 missing from the common decoder. M_ME_ND_1 carries a 2-byte NVA without QDS (see Beckhoff reference below). ProtocolFlagPresentation already describes TI21 as quality N/A, but InformationElementLength and DecodeValueText omit it, hence a normal standard measurement becomes unsupported raw. Add a typed TI21 decoder, SQ0/SQ1, numerical and overrun regression, and explicit quality N/A (not encoded) without fabricating QDS/IV.
  • IEC-103 known-type short payload completeness. src/ARIEC60870.Core/Parsing/AsduDecoder.cs Type 1 has an explicit minimum length, but Type 2, 6, 7/8 and 9 can exit with DecodeStatus.Ok when required data bytes are missing. Establish per-type structure/length evidence against approved IEC-103 interoperability profiles; reject incomplete structured meaning, keep raw and avoid invented DPI/time/measurand. Do not infer vendor-specific fields.

P1 — improve standard coverage, precision and robustness

  • Add precise source-backed decoding for TI70 M_EI_NA_1 (COI, LPC; initialization diagnostic), TI106 C_CD_NA_1 (delay acquisition) and other explicitly supported IEC-101/104 standard elements; add a versioned supported-Type matrix, with reserved/vendor Type IDs safely raw-only and useful human-readable warnings.
  • Round-trip-safe IEEE754 float display: common decoder currently calls ToString("0.###") for TI13/14/36. Distinguish user-friendly rounded label from exact underlying float and original 4 bytes in inspector, archive and exported evidence; test close numerical values, NaN/Infinity as valid on-wire IEEE encodings with appropriate diagnostics.
  • Keep Iec104ApduDecode.IsValid clearly APCI-structural only (not ASDU completeness); separately make ASDU decoded/partial/unsupported/invalid visibly explicit and ensure counters, trace, Values, Events, GI and report cannot interpret warnings as authoritative values.
  • Stress the still-open intermittent FT1.2 resynchronization smoke test (issue P1 test reliability: intermittent FT1.2 reader noise-resynchronization smoke under Windows CI load #70): deterministic noise+fragmentation+checksum+partial and 1200-bps profile, without loosening production timeouts based on shared-runner variability.
  • Build a matrix of real-WPF original HEX↔inline decoded fields↔Full Properties↔interactive HEX inspector↔.ariec replay↔copy/export/report parity. Include all 101 link widths 0/1/2, COT/CA widths 1/2, IOA widths 1/2/3, known and unknown Type IDs; 103 known and private, 104 valid/invalid I/S/U, quality (OV/IV/BL/SB/NT), CP24/CP56 invalid and substituted, SQ0/SQ1, 40-object bursts and malformed data. Single authoritative decoder only.
  • Measure actual mixed traffic (GI bursts, 40+ objects, floating values, invalid/noise, 50k retained journal facts, 1200-bps serial streams, IEC104 reconnect/epoch) including CPU, GC, memory plateau, UI p95/p99, 0 unintended WPF Reset and event ledger counts. PR P0: defer offscreen Frame Trace inspector projections and verify reopen fidelity #119's 41.27ms selection P95 is proven for its 10k fixed-frame synthetic fixture, not this matrix.
  • Separate verified desktop RC/portable release from hardware FAT: 2/4 isolated COM RX, high-byte SOE burst, device-side FIFO/1200-bps field soak, real IEC-103 relay and multi-vendor IEC-104 interoperability/reconnect; neither green CI nor virtual VSPE alone certifies field interoperability. Match mapping and privacy safeguards in docs/PUBLIC_RELEASE_AUDIT.md.

Already validated / must retain

Release decision

No universal 'decodes everything IEC60870' claim. Release can accurately promise loss-preserving wire evidence and typed decoding only for a published Type/profile support matrix. Block broad "fully validated" marketing or the next release candidate until P0 protocol-truth regressions are fixed and verified on exact candidate HEAD. P1 coverage/FAT may be scoped explicitly if not being advertised, but any promised protocol/profile must pass its gate.

References: IEC104 standard Type table, TI21 without QDS, TI70 COI, IEC10x architecture. Related existing tracked work: #39, #60, #70, #98.

Activity

  1. masarray commented on Nov 8, 2026

    @masarray
    OwnerAuthor

    P0 implementation checkpoint — 2026-11-09

    Merged: PR #121, verified master HEAD e6b7347fa4645fe952e9b17670bc30e8cbf3269d. PR exact-head SHA 2edc333b26bb6a3bcbb0446dd166de70d1921997 passed Windows CI 42521112643: Release build, 19/19 protocol smoke, 786/786 xUnit (Core 79, Master 199, Monitor 129, Reporting 5, Desktop 359, Repository 15), real rendered WPF acceptance and package. CodeQL 42521112669, dependency and hygiene passed on identical PR SHA. Source/branch compare: 17 files, 8 commits. Post-merge master CI was still running at update; don't claim it has passed yet.

    Implemented

    • Decoder-owned IsHeaderValid and truthful raw-only invalid header projections (no invented TI0/CA0/COT0).
    • Bounded SQ1 1/2/3-byte IOA; refuse wrapped phantom addresses; preserve exact original evidence.
    • Typed TI21 without QDS, TI70 COI/LPC, TI106 CP16Time2a delay; TI21 process classification consistently across single/dual IEC101 and IEC104.
    • Float display uses IEEE roundtrip precision; nonfinite values flagged as decoder issues.
    • New shared GI observed-termination predicate requires valid TI100 + COT10, QOI, IOA0, no TEST/NEG/decoder errors, reused in IEC101 single/dual and IEC104. This is not matching-request proof: source/CA/QOI correlation remains the existing casebook/session ownership.
    • Known IEC103 Type2/6/7/8/9/20 missing required field bytes now return DecodeStatus.Error; preserve unknown/vendor raw.
    • Explicit ASDU malformed/partial evidence cannot promote process facts; legacy source-typed recorded facts without an attached ASDU decoder remain compatible. No change to RX-only monitor safety or approved UI layout.

    Measured GUI evidence

    Real Windows WPF synthetic 10,000 original fixed FT1.2 frames, 150 selections: P95 28.21 ms (target <100 ms); 0 rolling resets, retained selection, latest frame observed. WPF screenshot acceptance passed. CI workstation was constrained to 1044×788 DIP for named larger sizes; no actual 1366/1540 screenshot or hardware DPI certificate.

    Still OPEN in #120

    • Independent on-wire fixture comparison against approved IEC standards for broader Type ID / vendor-private coverage and profiles; durable shared confidence model for raw/partial/invalid across every archive/report view.
    • Source+transaction qualified GI casebook/counter parity beyond the implemented on-wire predicate, IEC104 reconnect/epoch stress, 50k mixed Frame Trace/WPF & report/replay byte parity.
    • IEC103 multi-vendor disturbance case fixtures and real IEC101 1200bps 2/4-port, IEC104 vendor interoperability, physical FAT/soak; P1 test reliability: intermittent FT1.2 reader noise-resynchronization smoke under Windows CI load #70 intermittent FT1.2 test determinism.
    • Per-release Windows installer signing/security and independent FAT unchanged. No universal IEC60870 decode or certified release claim.
  2. masarray commented on Nov 8, 2026

    @masarray
    OwnerAuthor

    R7 progress checkpoint — 2026-11-09

    Master verified at 56de85622879d55ef26541d83adb32b89fc78561.

    • PR #122 merged 753f6b7a276c2c44c1c263658b3c76b3f75fe909: GI Casebook rejects otherwise-decodable TI100 with nonzero IOA, shape mismatch and invalid/negative ACTTERM; interrogated-data COT20..36 only counts process types in canonical policy, not command/service ASDUs. IEC10x type presentation now includes TI21/33/70/106 and uses Core canonical names for other supported IDs. Negative regression included. Exact PR-head CI and push CI passed.
    • PR #123 merged 56de85622879d55ef26541d83adb32b89fc78561: test-only deterministic active-reader noise resync, robust Core fragment/bad-checksum/A2/E5 matrix for link widths 0/1/2. Exact-head CI 42524685196 passed 19/19 protocol smoke, 801/801 xUnit, Release/WPF acceptance/package; CodeQL, dependency, hygiene green.

    Not equivalent to release certification: additional multi-vendor IEC103/104 interop, independent decoder type coverage truth matrix, .ariec archive/replay/report byte parity, 50k mixed workload and physical 1200 bps/2-4 COM, high-burst SOE/FIFO and end-to-end soak remain outstanding. Keep #120 open. No active 101 balanced-mode or universal vendor decoder claim. Latest master postmerge CI was running at this checkpoint.

  3. masarray commented on Nov 8, 2026

    @masarray
    OwnerAuthor

    R7 TRACE-02 / CAPTURE-02 progression — 2026-11-09

    Current master confirmed: 384b6330680ec0b78545929d003eca6cb441d3c0. No active coding from stale baseline; both code milestones merged in order.

    Merged software-hardening milestones

    1. PR #124 — preserve on-disk frame chronology → e3fb12344c4ae57612600748c0b828bf8a032f70. CaptureArchiveReader.ReadCore and CaptureArchiveIndex.Search no longer reorder original frames.jsonl by Sequence. For multi-source interleaving/restarts, preview, source search, and indexed pages retain exact append order and original PhysicalStreamId/RawStreamOffset; remove needless per-page sorting. Signed 5-row A/B test with duplicate/reset sequences. Exact PR SHA dd1f7c9c49227f4ab93fd4a3cd7958426378714d: Windows Release/build/xUnit/WPF acceptance, CodeQL, dependency/hygiene green. Push master CI after merge also succeeded.
    2. PR #125 — prevent untrusted archive metadata promotion → 384b6330680ec0b78545929d003eca6cb441d3c0. Common archived decoder now requires IEC104 COT=2, CA=2, IOA=3 (not flexible IEC101 widths). EvidenceRow(CaptureFrameSnapshot) projects IEC101/104 Type/COT/CA/IOA, QDS/value/device timestamp from issue-free original bytes only; corrupt/missing profile remains raw-only/unverified with original caption and hex retained. Archived 101/104 and 103 reject nonhex junk instead of silently deleting it before re-decode. IEC103 FUN/INF remains a separate interpretation. Added negative tests for profile widths, contradictory TI1/COT3/CA999/IOA999/Good metadata versus genuine TI46/COT7/CA1/IOA123, fake time/value and arbitrary nonhex prefixes. Exact PR SHA 7271825a100012d05563211f0359b3461d9a4d35 passed Windows CI #42529486608, protocol smoke 19/19 and xUnit 809/809, real-WPF acceptance, ZIP packaging, CodeQL #42529486648, dependency and hygiene.

    Boundaries / next priority (issue remains OPEN)

    • Verify source-qualified byte offsets and object ordinals across full mixed IEC101/103/104 live → .ariec capture → archived search → replay → copy/JSON/PDF/report, including malformed/partial CP24/CP56, SQ1, unknown types and 40-object bursts. Avoid reproducing WPF narrative from untrusted text as protocol proof.
    • Run reproducible 50k mixed workload with exact source/decoded object counts, queue/backpressure, p95/p99 UI + GC/CPU/memory rather than only 10k identical fixed-frame selection. Protect zero normal-scope WPF Reset.
    • Field FAT: physically isolated 2/4 IEC101 serial RX at 1200 bps (UART parity, FIFO/ACD/SOE bursts, long soak), independent IEC103 vendor relays and IEC104 multi-vendor reconnection/window. This cannot be certified by green CI.
    • Public supported-Type/profile truth matrix, RC package verification/signing as required and explicit no universal vendor decoder/active balanced-mode claims.

    Important: master push CI for 384b633... was still in progress when this comment was written. Exact-head PR gate was all green. Release #120 is not closed; no physical validation has been claimed.

  4. masarray commented on Nov 9, 2026

    @masarray
    OwnerAuthor

    P0 field-test update — 2026-11-09

    Merged PR #126 into exact master commit efa69c4e371b799eb792b3e6d4794dcf038a3c72.

    Field observation: Link A COM1 expects 105 and accepted 105; standby Link B COM2 expected 1 but received 105, so IEC101-RX-LINK-ADDRESS-MISMATCH rejection was correct. The accepted-frame validator and channel isolation were not weakened or replaced.

    Corrections: standby B defaults to Link A only until explicitly configured; legacy deliberately different saved address remains unchanged. Nonblocking English advice with Review Settings / Continue Anyway. Concise typed link-mismatch diagnostics preserve complete RX evidence on selection. Frame Trace shows type/device time beside decoded signal once, retains exact HEX; double-click opens existing right Full Properties, separate HEX byte inspector remains available in context menu.

    PR head d2888fcad75f34e836a9028841199977c3580592: Windows Release build, xUnit suites, real-WPF acceptance, CodeQL, dependency review and hygiene all succeeded. WPF acceptance measures synthetic 10k-frame selection, not real 1200-bps COM FAT.

    Merged-master CI/installer acceptance: https://github.com/masarray/ARIEC60870/actions/runs/42589473188 (must be checked independently). Release issue remains open for hardware FAT, interoperability and report/export completeness. Do not claim those validated from simulator or CI.

  5. masarray commented on Nov 9, 2026

    @masarray
    OwnerAuthor

    P0 release test artifact handoff — 2026-11-09

    PR #126 (IEC101 redundancy/Frame Trace) merged as efa69c4e371b799eb792b3e6d4794dcf038a3c72. All PR checks and exact-master build-test/WPF passed. Prior combined installer-upgrade step cancelled without publishing any Setup.

    CI artifact isolation fix PR #127 merged as f9d02ae853ac22450ad0a17a47172e01826b4688. Latest master Windows CI run 42594546704: build-test passed, current Inno compiler succeeded, and ARIEC60870-InnoSetup-win-x64 artifact #13663146798 uploaded before the independent upgrade FAT stage.

    ZIP contents: ARIEC60870-v3.6.8-setup-win-x64.exe (52,507,533 bytes) and SHA256SUMS.txt. Verified locally: 6ae17956ee4b41b8d818a71ca16a66c2fcdc61a47ab1755d8f41352d12bbc4e9 SHA256 matches installer. This is a test installer, not a signed/production-certified release. As of the artifact check, upgrade from v3.6.7 and simulated active-Master close FAT were still running in the second step; do not mark them successful without its acceptance evidence. Physical 1200bps COM, real RTU/redundancy, and IEC103/104 vendor FAT remain unproven here.

  6. masarray commented on Nov 9, 2026

    @masarray
    OwnerAuthor

    2026-11-09 P0 follow-up — adaptive Frame Trace expansion

    Merged PR #128 into master at dca693350420b9b1fe60b395eb947ed14051e902.

    Root causes confirmed in previous master: static inline wire/meaning 32:68 row inside a Trace column that shrinks when Full Properties opens; CharacterEllipsis and small MaxHeight on three-object digest, title, identity, alerts; COT NoWrap; properties table VALUE NoWrap.

    Fix: actual measured ListBox width drives a single WPF DataTemplate (paired lanes ≥780 DIP, stacked HEX then meaning below when narrow). Responds to dock expansion/collapse, window resize and column splitter; Tag changes only on width category transitions, not per frame. Increased bounded inline text heights; COT, IOA/time, alarm, property values and drill-down child values wrap with no ellipsis. Source evidence, raw HEX, 3-object bounded preview and full properties remain authoritative.

    Checks on exact PR head de59b0051f83f6481578730f8c2a574a4256f239: Release build, formatting, xUnit suites, real-WPF 1400-frame acceptance, viewport + dock-open geometry and per-word rendered bounds at 1540/1366/1024 requested DIPs, CodeQL, hygiene and dependency review all green. CI #42600580692 includes real rendered screenshots in ARIEC60870-OBS-C-ui-evidence artifact #13666142347. Note CI's desktop viewport may be OS-clamped, and acceptance uses actual measured sizes, not labels. Physical 1200 bps field FAT is not proven by synthetic UI tests.

    Do not close release gate #120 based solely on this UX correction; separate hardware/protocol FAT and installer-upgrade acceptance remain independently tracked.

  7. masarray commented on Nov 10, 2026

    @masarray
    OwnerAuthor

    2026-11-10 Frame Interpreter scan-first enhancement — merged PR #129

    Merged to master: 1eef53afd89b64eb56bbda7b8f167c5aa9335aaa.
    PR #129 exact head a3469612532f6b6763eda4250da7bf4daca8ff32.

    Source-backed UI now displays per-IOA value/type/TI; RTU CP56 time with Valid, Genuine, Summer Time, day/time-IV/calendrical/reserved-bit warnings; readable explicit active quality flags such as Overflow (OV): TRUE and Invalid (IV): TRUE, plus ACD/DFC/link/ASDU warnings. Non-CP56 timestamps never fabricate GEN/validity and missing QDS flags are not shown as false. Three-object preview and three-flagged-IOA preview stay bounded with exact remainder counts; all objects/bytes in Full Properties.

    Regression: typed canonical CP56 including incomplete text field, substituted/invalid/DOW/reserved, QDS OV/IV, unknown descriptor, mislabeled on-wire address, and burst 9 objects. Windows Release build, xUnit, CodeQL, dependency review, hygiene and real WPF acceptance all passed on exact PR head: https://github.com/masarray/ARIEC60870/actions/runs/42739122714. WPF screenshot engineer-device-time-valid-genuine.png is produced by the existing 19-object SICAM Type31 CP56 batch in real WPF; screenshot engineer-inline-invalid-quality.png verifies invalid quality flag in the inline interpreter. Screenshot artifact: https://github.com/masarray/ARIEC60870/actions/runs/42739122714/artifacts/13728337914.

    This is a Frame Interpreter presentation milestone, NOT evidence of real 1200bps field FAT or installer-upgrade acceptance. Keep release gate open.

  8. masarray commented on Nov 10, 2026

    @masarray
    OwnerAuthor

    2026-11-10 P0 IOA readability correction — merged PR #130

    • Merged 663b08cbd27ef99a936821883bdd669dc64a3b17 from PR P0 Frame Trace: restore structured IOA3–IOA2–IOA1 beside unstructured numeric IOA #130, restoring unstructured decimal IOA with structured high-to-low byte decomposition in the inline Frame Interpreter (e.g. IOA 16712704 (IOA3:255 - IOA2:4 - IOA1:0)). This explicitly puts least-significant IOA1 at the right in human numeric order, while leaving IEC-101/104 wire order IOA1→IOA2→IOA3 untouched.
    • One StructuredIoa presenter helper serves both compact and expanded text; 1-/2-/3-byte IOA widths and SQ=1 implied addresses handled without inventing physical transmitted octets. Mismatched encoded address suppresses plausible component/value text.
    • Production files changed: formatter only. No decoder, serial RX, ASDU parser or host timestamp changes.
    • Regression tests updated for correct components, including 0xFF0400 (=16712704), 2-byte 0x1234, SQ=1 and malformed-wire mismatches.
    • PR head 8eb4dd8b9f2276dbc8701e3cee6c53db6ab47ea9: exact-head Windows Release build, protocol smoke, xUnit, real WPF acceptance, CodeQL, dependency review and hygiene all passed. The first CI attempt had two unrelated intermittent Passive Monitor test failures; rerun of the single failed build-test job passed. CI run.
    • Real 1200-bps serial FAT and installer upgrade are separate; release gate remains open.
  9. masarray commented on Nov 16, 2026

    @masarray
    OwnerAuthor

    2026-11-16 source-status reconciliation (do not close issue as a whole): the original 2026-11-08 issue is a historical baseline. Current master a8bd9f2f4c2f1cf5aea36a149330e77ada2c9d5d already contains guarded SQ=1 implied-IOA maximum checks in Iec10xAsduDecoder.DecodeObjects, explicit invalid-header state, and strict Iec10xGiTermination.IsObserved (header, TI100/COT10, non-TEST/NEG, object/QOI/issue checks). The published v3.6.12 source includes PR #210 name projection while retaining raw wire evidence. Please separate already-repaired decoder items from remaining protocol conformance/field FAT acceptance rather than treating every unchecked 2026-11-08 line as a live regression. Fresh original-frame fixtures/IEC-101/103/104 parity tests and real SICAM physical GI/SOE evidence still govern closure; no claim of field validation. In parallel, PR #214 hardens CA-learning and command target authority independently of decoder repair and must pass its own CI.

  10. masarray commented on Nov 17, 2026

    @masarray
    OwnerAuthor

    2026-11-17 source reconciliation (read-only audit, not a P0 closure claim)

    Audited master@5a81d3ac5d5dd131464665420a0740678d6789d1 before the pending release-controller PR. The original issue body (2026-11-08) is an older defect checklist, not an accurate inventory of still-missing source code:

    Keep this issue OPEN: this reconciliation verifies code presence, not the whole requested independently-reviewed standards matrix, 101/103/104 malformed/SQ/boundary fixtures, cross-view Trace/HEX/.ariec/export/report parity, 50k-event WPF p95/p99 measurement, or physical SICAM/relay FAT. Follow-up work should target these actual acceptance gaps without reimplementing already merged fixes.

    Release v3.6.13 is still pending; do not equate passing xUnit with physical interoperability.

  11. masarray commented on Nov 17, 2026

    @masarray
    OwnerAuthor

    2026-11-17 — targeted P0 decoder truth milestone merged (not full issue closure)

    Merged PR #235 as 91d025c75196ad2ebb25f8ca640a8a39afa78f35 after immutable public v3.6.13 was tagged. This source change is not part of public v3.6.13 binaries.

    Root defect repaired: unsupported/unimplemented IEC-101/104 Type IDs such as TI17 have no known information element size in our current decoder. Formerly, decoding consumed the entire residual payload as object 1 and fabricated SQ-implied IOAs/objects. The canonical Core decoder now preserves the verified header, original ASDU bytes and explicit unsupported diagnostic, but emits zero untrustworthy information objects or quality/value/IOA. Vendor-private TI128..255 remain opaque, without fabricated corruption.

    Exact-head gates: Windows CI SUCCESS: Release build, 0 warnings, 19/19 protocol smokes, Master tests 357/357 (+11 cases), six-suite 1187/1187. CodeQL #44001350672, hygiene and dependency review SUCCESS.

    Deterministic regression matrix covers TI17 SQ0/SQ1 × IOA widths 1/2/3; Type 200 private opaque; valid/overflow SQ1 boundaries; standard TI21 normalized without invented QDS. docs/VALIDATION_MATRIX.md limits this to synthetic source proof.

    Still OPEN: other source→WPF Trace/HEX→.ariec→PDF/report parity, IEC103/private strictness, all Type ID support matrix, heavy traffic perf/p95 and physical 1200-bps SICAM/multi-vendor FAT. Do not close #120 or claim universal IEC decode correctness from this milestone.

  12. masarray commented on Nov 21, 2026

    @masarray
    OwnerAuthor

    Archive closure — 21 November 2026

    Not planned / archived; decoder acceptance matrix remains PARTIAL. v3.6.20 shipping software and tests include incremental FT1.2/ASDU/Trace correctness fixes (e.g. PR #235) and release source CI #44897646916 passed. This does not establish the complete IEC101/103/104 Type/COT/quality and malformed-frame matrix, WPF byte-span/Trace/report parity, unsupported vendor types, or multi-vendor independent physical replay/comparison requested in this issue. Preserve all outstanding checkboxes as historical engineering requirements; do not downgrade invalid source evidence to valid values. This is an operator-requested issue-board closure, not release-gate certification. Reopen with failing fixtures and a concrete bounded subset before making decoder changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions