# SECS/GEM Compliance A per-capability accounting against SEMI **E5 (SECS-II)**, **E30 (GEM)**, **E37 (HSMS)**, and **GEM300 E40 / E94** (process / control jobs). > **Status.** Every GEM Fundamental capability and every GEM Additional > capability that E30 ties to a concrete SECS-II message set is > implemented. See Β§7 for the explicit out-of-scope items (which are > deliberate, not omissions) and Β§8 for what "100% GEM-compliant" can > and cannot honestly mean about this codebase. Legend: - βœ… **Full** β€” implemented to the spec; round-trip-tested. - 🟑 **Partial** β€” implemented in the demo path with a documented limitation. - ⬜ **Out of scope** β€” deliberately not implemented; reason given. --- ## 1. E37 β€” HSMS transport | Item | Status | Spec ref | Notes | |---------------------------------------|--------|----------|-------| | TCP transport | βœ… | E37 Β§6 | `hsms::Connection` over standalone Asio. | | 4-byte length prefix + 10-byte header | βœ… | E37 Β§8.2 | `hsms::Frame::encode/decode`. | | Session ID, byte2, byte3, PType, SType, system-bytes | βœ… | E37 Β§8.3 | `hsms::Header`. | | `Select.req / .rsp` | βœ… | E37 Β§7.2 | `SType` 1/2; SelectStatus enum (0–3). | | `Deselect.req / .rsp` | βœ… | E37 Β§7.4 | `SType` 3/4; DeselectStatus enum (0–2). | | `Linktest.req / .rsp` | βœ… | E37 Β§7.5 | `SType` 5/6; periodic interval configurable. | | `Separate.req` | βœ… | E37 Β§7.6 | `SType` 9; graceful close after flush. | | `Reject.req` | βœ… | E37 Β§7.7 | Emitted on data-while-NOT-SELECTED. | | Connection state machine NOT-CONNECTED β†’ NOT-SELECTED β†’ SELECTED | βœ… | E37 Β§6.3 | Both Active and Passive modes. | | T3 reply timeout | βœ… | E37 Β§10 | Per-transaction `steady_timer`. | | T5 connect separation timeout | βœ… | E37 Β§10 | `Client::schedule_retry`. | | T6 control transaction timeout | βœ… | E37 Β§10 | One concurrent control transaction. | | T7 not-selected timeout (passive) | βœ… | E37 Β§10 | Armed on connect / on Deselect.req. | | T8 intercharacter timeout | βœ… | E37 Β§10 | Bounds the payload read after length prefix. | | HSMS-SS (single-session) | βœ… | E37 Β§11 | The codebase is HSMS-SS only by design. | | HSMS-GS (general-session) | ⬜ | E37 Β§11 | Multi-session; out of scope for this revision. | --- ## 2. E5 β€” SECS-II encoding | Item | Status | Spec ref | Notes | |---------------------------------------|--------|----------|-------| | Format byte + 1/2/3 length bytes | βœ… | E5 Β§9 | `secs2::encode_into`. | | List (`L`) | βœ… | E5 Β§9.3 | Recursive. | | ASCII (`A`) | βœ… | E5 Β§9.5 | | | Binary (`B`) | βœ… | E5 Β§9.5 | | | Boolean (`BOOLEAN`) | βœ… | E5 Β§9.5 | | | `U1, U2, U4, U8` (big-endian) | βœ… | E5 Β§9.5 | | | `I1, I2, I4, I8` (big-endian, two's complement) | βœ… | E5 Β§9.5 | | | `F4, F8` (IEEE 754 big-endian) | βœ… | E5 Β§9.5 | bit-cast round-trip. | | JIS-8 (single-byte JIS text) | βœ… | E5 Β§9.5 | `Format::JIS8` (0x11); shares `std::string` storage with ASCII, disambiguated by `Format`. | | C2 (Unicode 2-byte code points) | βœ… | E5 Β§9.5 | `Format::C2` (0x12); big-endian uint16_t code points. | | SML text rendering | βœ… | E5 Annex | `secs2::to_sml`. JIS-8 prints as ``, C2 as ``. | --- ## 3. E30 β€” GEM Fundamental capabilities (Β§5.2) | Fundamental Capability | Status | Spec ref | Messages | Notes | |---------------------------------------|--------|----------|----------|-------| | State models | βœ… | E30 Β§6.2 | β€” | E30 control state machine (5 states) + HSMS communication state machine. | | Equipment Processing States | βœ… | E30 Β§6.3 | β€” | The `ControlTransitionTable` engine is general; vendors load their tool-specific states (IDLE/SETUP/READY/EXECUTING/PAUSE/...) via a second YAML file using the same loader. The spec leaves the concrete states tool-specific. | | Host-Initiated S1F13/F14 scenario | βœ… | E30 Β§6.5 | S1F13/F14 | | | Event Notification | βœ… | E30 Β§6.6 | S6F11/F12 | Equipment-initiated, host-acknowledged. | | On-Line Identification | βœ… | E30 Β§6.7 | S1F1/F2 | MDLN + SOFTREV. | | Error Messages | βœ… | E30 Β§6.9 | S9F* | Auto-emission of S9F3/F5/F7/F9/F11 on the documented protocol-error conditions; S9F1/F13 in the catalog for explicit emission. | | Documentation | βœ… | E30 Β§6.10| S1F19/F20, S1F21/F22 | Equipment self-reports its compliance + DVID namelist. | | Control (Operator-Initiated) | βœ… | E30 Β§6.2 | β€” | `ControlStateMachine::operator_online/offline/local/remote`. | --- ## 4. E30 β€” GEM Additional capabilities (Β§5.3) | Additional Capability | Status | Spec ref | Messages | Notes | |---------------------------------------|--------|----------|----------|-------| | Establish Communications | βœ… | E30 Β§6.5 | S1F13/F14 | Both directions modeled; COMMACK enum. Backed by the E30 Β§6.5 Communication state machine (`gem::CommunicationStateMachine`) with DISABLED / WAIT-CRA / WAIT-DELAY / COMMUNICATING substates and the T_CRA + T_DELAY retry timers, separate from HSMS connection state. | | Dynamic Event Report Configuration | βœ… | E30 Β§6.6 | S2F33/F34, S2F35/F36, S2F37/F38 | Full Define-Report / Link-Event / Enable-Event pipeline with all four ack enums. | | Variable Data Collection | βœ… | E30 Β§6.11| S1F21/F22 | DVID namelist + DVID values resolvable via `EquipmentDataModel::vid_value`. | | Trace Data Collection | βœ… | E30 Β§6.12| S2F23/F24, S6F1/F2 | `TraceStore` keeps active TRIDβ†’TraceConfig; periodic sampling left to the application's scheduler. | | Status Data Collection | βœ… | E30 Β§6.13| S1F3/F4, S1F11/F12 | | | Alarm Management | βœ… | E30 Β§6.14| S5F1/F2, S5F3/F4, S5F5/F6, S5F7/F8 | Full set. ALCD bit-7 set/cleared, lower-7 category. | | Remote Control | βœ… | E30 Β§6.15| S2F41/F42 | Full HCACK 7-value enum + per-parameter CPACKs. | | Equipment Constants | βœ… | E30 Β§6.16| S2F13/F14, S2F15/F16, S2F29/F30 | EAC range validation against `min_str`/`max_str` for numeric ECs. | | Process Program Management | βœ… | E30 Β§6.17| S7F3/F4, S7F5/F6, S7F19/F20 | Unformatted PP send/request/list β€” the minimum E30 GEM requires. (E42 *enhanced* PP is a separate SEMI standard; see Β§7.) | | Material Movement | 🟑 | E30 Β§6.18| β€” | Process Job + Control Job lifecycle covered via E40/E94 (see Β§4a). Carrier (E87) and substrate (E90) still out of scope. | | Equipment Terminal Services | βœ… | E30 Β§6.19| S10F1/F2, S10F3/F4, S10F5/F6 | Single-line both directions + multi-line hostβ†’equipment. S10F7 broadcast intentionally omitted (rarely used). | | Clock | βœ… | E30 Β§6.20| S2F17/F18, S2F31/F32 | 16-char (`YYYYMMDDhhmmsscc`) and 14-char accepted on set. | | Limits Monitoring | βœ… | E30 Β§6.21| S2F45/F46, S2F47/F48 | `LimitMonitorStore` keyed by VID with multiple `LimitDefinition` (LIMITID + upper/lower as arbitrary Items). | | Spooling | βœ… | E30 Β§6.22| S2F43/F44, S6F23/F24, S6F25/F26 | Per-stream whitelist, FIFO queue, host-driven transmit/purge, S6F25 auto-emitted on re-SELECT when non-empty. | | Control | βœ… | E30 Β§6.2 | β€” | See Fundamental. | --- ## 4a. E40 Process Jobs + E94 Control Jobs (GEM300) The first GEM300 extension landing on the spec-as-data architecture. Both standards are implemented the same way the E30 control state model is: state set + legal transitions in YAML (`data/process_job_state.yaml`, `data/control_job_state.yaml`), engine in C++ (`gem::ProcessJobStateMachine`, `gem::ControlJobStateMachine`), runtime collections (`ProcessJobStore`, `ControlJobStore`) wired into the existing `EquipmentDataModel`. | Capability | Status | Spec ref | Messages | Notes | |---------------------------------------|--------|----------|----------|-------| | E40 PJ state model | βœ… | E40 Β§6.3 | β€” | 8 states (Queued, SettingUp, WaitingForStart, Processing, ProcessComplete, Paused, Stopping, Aborting); state byte matches PRJOBSTATE on the wire. | | E40 PRJobCreate | βœ… | E40 Β§10.2| S16F11/F12 | Body simplified to ; MF/PRRECIPEMETHOD/PRPROCESSPARAMS are documented as YAML-extension points. PPID validated against `RecipeStore`. | | E40 PRJobDequeue | βœ… | E40 Β§10.2| S16F13/F14 | Only legal while PJ is QUEUED; the FSM blocks dequeue otherwise. | | E40 PRJobCommand | βœ… | E40 Β§10.2| S16F5/F6 | PRCMD strings PJSTART/PJPAUSE/PJRESUME/PJSTOP/PJABORT/PJHOQ; the matching `ProcessJobEvent` is dispatched against the FSM, HCACK is `CannotDoNow` when the (state, command) pair has no row. | | E40 PRJobAlert | βœ… | E40 Β§10.3| S16F9 | Equipment-initiated one-way (W=0). Fires automatically on every PJ state transition; per-PJ `alert_enabled` flag controls suppression. | | E94 CJ state model | βœ… | E94 Β§6 | β€” | 9 states (Queued, Selected, WaitingForStart, Executing, Paused, Completed, Stopping, Aborting, NoState). CJ owns an ordered `prjobids` list. | | E94 CreateObject (CJ) | βœ… | E94 Β§6.4 | S14F9/F10 | Body simplified to ; full generic E14 ObjectService form is a YAML extension. OBJACK enum covers Success/Error + the four `Denied_*` cases. | | E94 DeleteObject (CJ) | βœ… | E94 Β§6.4 | S14F11/F12 | | | E94 CJobCommand | βœ… | E94 Β§6.4 | S16F27/F28 | CTLJOBCMD: CJSTART (cascades through Select β†’ SetupComplete β†’ Start as application policy), CJPAUSE / CJRESUME / CJSTOP / CJABORT. | | E40+E94 CEID emission | βœ… | β€” | S6F11 | ControlJobExecuting (CEID 400) and ControlJobCompleted (CEID 401) fire on CJ state transitions via the existing event-report pipeline; PJ state changes use S16F9 (per spec). | The demo's `run_cj_lifecycle` cascade β€” on CJSTART the CJ steps Queued β†’ Selected β†’ WaitingForStart β†’ Executing and every contained PJ steps through SettingUp β†’ WaitingForStart β†’ Processing β†’ ProcessComplete β€” is **application policy**, not the FSM. The FSM rules in the YAML tables gate every individual transition; the cascade is just the simulator playing every legal next step in sequence so the wire trace exercises the whole lifecycle. What's **out of scope for the E40/E94 first pass** (deliberate; all are YAML/handler extensions, not surgery): - Full E40 S16F11 body (MF / PRRECIPEMETHOD / RCPSPEC / PRPROCESSPARAMS). We carry PRJOBID + PPID + MTRLOUTSPEC, which is the subset that drives the state machine; richer body fields are a YAML edit + a parameter map on the `ProcessJob` struct. - S16F15/F16 PRJobCreateMultiple, S16F17/F18 PRJobMultipleDequeue. - E14 generic ObjectService form. We use a CJ-specialized S14F9 shape; generic ObjectService is a separate set of YAML rows. - E87 Carrier Management and E90 Substrate Tracking β€” Layer 5 continues there per `implementation_plan.md`. --- ## 5. Message coverage matrix | Pair | Direction | Status | Implemented in | Tested | |------------------|-----------|--------|----------------|--------| | S1F1 / S1F2 | H↔E | βœ… | catalog | βœ… round-trip + demo | | S1F3 / S1F4 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S1F11 / S1F12 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S1F13 / S1F14 | H↔E | βœ… | catalog | βœ… round-trip + demo | | S1F15 / S1F16 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S1F17 / S1F18 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S1F19 / S1F20 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S1F21 / S1F22 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S2F13 / S2F14 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S2F15 / S2F16 | Hβ†’E | βœ… | catalog | βœ… round-trip | | S2F17 / S2F18 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S2F23 / S2F24 | Hβ†’E | βœ… | catalog | βœ… round-trip | | S2F25 / S2F26 | Hβ†’E | βœ… | catalog | βœ… round-trip (loopback diagnostic) | | S2F29 / S2F30 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S2F31 / S2F32 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S2F33 / S2F34 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S2F35 / S2F36 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S2F37 / S2F38 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S2F41 / S2F42 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S2F43 / S2F44 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S2F45 / S2F46 | Hβ†’E | βœ… | catalog | βœ… round-trip | | S2F47 / S2F48 | Hβ†’E | βœ… | catalog | βœ… round-trip | | S5F1 / S5F2 | Eβ†’H | βœ… | catalog | βœ… round-trip + demo | | S5F3 / S5F4 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S5F5 / S5F6 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S5F7 / S5F8 | Hβ†’E | βœ… | catalog | βœ… round-trip | | S5F9 / S5F10 | Eβ†’H | βœ… | catalog | βœ… round-trip (exception post) | | S5F11 / S5F12 | Eβ†’H | βœ… | catalog | βœ… round-trip (exception clear) | | S5F13 / S5F14 | Hβ†’E | βœ… | catalog | βœ… round-trip (exception recover request) | | S5F15 / S5F16 | Eβ†’H | βœ… | catalog | βœ… round-trip (exception recover complete) | | S5F17 / S5F18 | Hβ†’E | βœ… | catalog | βœ… round-trip (exception recover abort) | | S2F49 / S2F50 | Hβ†’E | βœ… | catalog + server | βœ… round-trip + dispatch (enhanced remote command, OBJSPEC + per-CP CPACK/CEPACK) | | S6F1 / S6F2 | Eβ†’H | βœ… | catalog | βœ… round-trip | | S6F11 / S6F12 | Eβ†’H | βœ… | catalog | βœ… round-trip + demo | | S6F23 / S6F24 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S6F25 / S6F26 | Eβ†’H | βœ… | catalog + server | βœ… round-trip + auto-emitted on re-SELECT | | S7F3 / S7F4 | Hβ†’E | βœ… | catalog | βœ… round-trip | | S7F5 / S7F6 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S7F19 / S7F20 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S9F1 | E↔H | βœ… | catalog | βœ… round-trip | | S9F3 | E↔H | βœ… | catalog + Router wrapper | βœ… round-trip + auto-emitted on unknown stream | | S9F5 | E↔H | βœ… | catalog + Router wrapper | βœ… round-trip + auto-emitted on unknown function | | S9F7 | E↔H | βœ… | catalog + Connection | βœ… round-trip + auto-emitted on body decode | | S9F9 | E↔H | βœ… | catalog + Connection | βœ… round-trip + auto-emitted on T3 timeout | | S9F11 | E↔H | βœ… | catalog + Connection | βœ… round-trip + auto-emitted on oversized frame | | S9F13 | E↔H | βœ… | catalog | βœ… round-trip | | S10F1 / S10F2 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo | | S10F3 / S10F4 | Eβ†’H | βœ… | catalog | βœ… round-trip + demo | | S10F5 / S10F6 | Hβ†’E | βœ… | catalog | βœ… round-trip | | S14F9 / S14F10 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo (E94 CJ create) | | S14F11 / S14F12 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo (E94 CJ delete) | | S16F5 / S16F6 | Hβ†’E | βœ… | catalog | βœ… round-trip (E40 PRJobCommand) | | S16F9 | Eβ†’H | βœ… | catalog + server | βœ… round-trip + auto-emitted per PJ transition (E40 PRJobAlert) | | S16F11 / S16F12 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo (E40 PRJobCreate) | | S16F13 / S16F14 | Hβ†’E | βœ… | catalog | βœ… round-trip (E40 PRJobDequeue) | | S16F27 / S16F28 | Hβ†’E | βœ… | catalog | βœ… round-trip + demo (E94 CJobCommand) | --- ## 6. Demo evidence The two-container demo (`docker compose up --no-deps server client`) walks ~20 SECS transactions end-to-end: 1. TCP connect β†’ `Select.req` β†’ `Select.rsp(Ok)` β†’ SELECTED on both sides. 2. `S1F13`/`S1F14` Establish Comms. 3. `S1F17`/`S1F18` Request Online; control state transitions `HostOffline β†’ AttemptOnline β†’ OnlineRemote`. 4. `S1F19`/`S1F20` host fetches the equipment's GEM-compliance self-report. 5. `S1F21`/`S1F22` DVID namelist. 6. `S1F11`/`S1F12` SVID namelist β†’ `S1F3`/`S1F4` values read. 7. `S2F29`/`S2F30` EC namelist β†’ `S2F13`/`S2F14` EC read. 8. `S2F17`/`S2F18` clock read. 9. `S2F33`/`S2F34` Define Report 1000 over the 3 SVIDs. 10. `S2F35`/`S2F36` Link CEIDs 200 and 300 to Report 1000. 11. `S2F37`/`S2F38` Enable CEIDs 200, 300. 12. `S2F41`/`S2F42` host command **START** β†’ server emits `S6F11(CEID=300)` carrying the linked Report 1000 β†’ host acks `S6F12`. 13. `S5F5`/`S5F6` list alarm directory. 14. `S5F3`/`S5F4` enable alarm 1. 15. `S2F41`/`S2F42` host command **FAULT** β†’ server emits `S5F1` (ALCD=0x84) + `S6F11(CEID=200)`. 16. Spool window: `SPOOL_ON` β†’ `START` (emission goes to spool) β†’ `SPOOL_OFF` β†’ `S6F23(Transmit)` β†’ server drains queued S6F11 to host. 17. `S7F19`/`S7F20` recipe list, `S7F5`/`S7F6` fetch RECIPE-A. 18. `S16F11`/`S16F12` create Process Job `PJ-1` with PPID `RECIPE-A`. 19. `S14F9`/`S14F10` create Control Job `CJ-1` containing `[PJ-1]`. 20. `S16F27`/`S16F28` CJSTART β†’ equipment cascades CJ Queued β†’ Executing and the contained PJ through SettingUp β†’ WaitingForStart β†’ Processing β†’ ProcessComplete, emitting one `S16F9 PRJobAlert` per PJ transition and `S6F11(CEID=400)` / `S6F11(CEID=401)` for CJ Executing / Completed. 21. `S14F11`/`S14F12` delete `CJ-1`. 22. `S10F1`/`S10F2` host β†’ equipment terminal display. 23. `S1F15`/`S1F16` Request Offline. 24. `Separate.req` β†’ clean close on both sides. Unit tests: **148 cases / 794 assertions pass** (`docker compose run --rm tests`). The suite includes integration tests that drive a real `hsms::Connection` over a loopback socket pair to verify the E37 Β§7.2 / Β§7.4 / Β§7.7 edge cases (Select.req while already SELECTED β†’ AlreadyActive, Deselect.req while NOT_SELECTED β†’ NotEstablished, Reject.req for unsupported SType / PType, Reject.req for data while NOT_SELECTED) β€” not just the happy path. The E30 Β§6.5 Communication state machine is unit-tested independently of the transport (timer firings simulated via test callbacks). --- ## 7. Explicitly out of scope (with reasons) These look like gaps but are deliberate. None of them blocks the GEM compliance claim. | Item | Why it's out of scope | |---------------------------------------|----------------------| | Material Movement (E30 Β§6.18) | The job-management half is now in (E40 + E94, Β§4a). The remaining pieces β€” **E87 carrier management** and **E90 substrate tracking** β€” are separate SEMI standards layered on top of E30 and remain Layer-5 follow-ons per `implementation_plan.md`. | | Multi-block SECS-I transfers | Multi-block (S6F5/F6, S6F7/F8 etc.) is a **SECS-I** concept for 244-byte serial frames. HSMS allows arbitrarily large bodies (up to the codebase's 16 MiB cap), so multi-block is structurally not needed. E37-based GEM equipment does not require it. | | HSMS-GS (multi-session) | Out of scope β€” modern HSMS-SS covers virtually all current GEM equipment. | | Equipment Processing States (concrete states) | E30 Β§6.3 says the specific states are tool-defined. We provide the engine (`ControlTransitionTable` + the YAML loader); equipment vendors load their concrete states (IDLE / SETUP / READY / EXECUTING / PAUSE / ...) the same way `data/control_state.yaml` is loaded today. Spec-compliant either way. | | Persistent on-disk spool | The runtime spool is in-memory; an equipment restart loses queued events. Real fab equipment would back it with a journal. Standard does not mandate persistence. | | E42 Enhanced Process Programs (S7F23–F26) | A separate SEMI standard. E30 GEM Process Program Management only requires the unformatted set (S7F3/F5/F19), which we have. | | S10F7 Broadcast Terminal Display | Rarely used; equipment vendors typically forgo it. Not required for the Terminal Services capability. | --- ## 8. What "100% GEM-compliant" honestly means here Every GEM Fundamental and every GEM Additional capability that the E30 specification defines with a concrete SECS-II message set is implemented, round-trip-tested, and demonstrated in the two-container demo. The five remaining items in Β§7 are all either separate SEMI standards layered on top of E30 (E40/E42), HSMS-irrelevant SECS-I features, or deliberate quality-of-implementation choices (persistent spool, broadcast terminal, JIS-8) that the spec does not require. What this codebase does **not** demonstrate, and what a real "GEM-compliant" marketing claim would still need: 1. **Conformance against a GEM Reference Test System (RTS) or equivalent third-party validator**, on a representative tool. The codebase provides the message catalog + the runtime; running a conformance generator (Layer 4 of `implementation_plan.md`) against a real physical or simulated tool is how compliance gets *certified*. 2. **Per-vendor application code** that connects the generic stores to the equipment's real sensors, recipe engine, alarm sources, and processing state model. The codebase provides the data model and the dispatcher; the application is what makes a specific tool GEM-compliant. In short: this is a **GEM-conformant runtime stack** with the first slice of GEM300 (E40 / E94), not a GEM-conformant *tool*. Pointing the runtime at a real piece of equipment, populating the YAML files with the tool's real SVIDs / ECIDs / alarms / capabilities / PJ + CJ behaviour, and wiring the application callbacks completes the picture.