Make TIA a selectable target type end to end — classifier, wizard, documented export procedure — and lock the behaviour down with fixtures and a golden baseline so the parsers can be developed and regression-tested before any customer export exists.
There is no customer data yet (decided 2026-09-20), so the fixtures are synthetic: the TIA fixtures are hand-written from the documented Openness export shapes, CODESYS comes from the public Apache-2.0 Proemion/codesys-examples archives, and the Firmwerk bundle is generated with the Firmwerk CLI over crates/firmwerk-repro/tests/fixtures/blinky-make (MVP-2.6). Every parser must be tolerant: unknown blocks, languages and attributes are recorded as unsupported on the scan run instead of failing, so coverage gaps become visible rather than silent. Real exports replace the fixtures when a customer arrives.
What to change
A TIA PlcFormat in the classifier and the onboarding wizard (compliance-core/src/models/onboarding.rs, compliance-dashboard/src/pages/onboarding.rs).
A docs/guide/siemens-tia.md export how-to (how to produce the Openness export a customer should send us).
A synthetic TIA fixture + golden baseline in fixtures/demo-targets/.
Acceptance
Uploading the synthetic TIA export through the wizard classifies as TIA and runs the PLC path.
The golden baseline pins expected rule_ids, component counts, CPE/CVE hits and control_refs.
Unsupported blocks/languages are surfaced on the scan run with the offending file, and never abort the run.
docs/guide/siemens-tia.md is complete enough for a customer to follow unaided.
The fixture is picked up by the nightly regression (#188).
## Goal
Make TIA a selectable target type end to end — classifier, wizard, documented export procedure — and lock the behaviour down with fixtures and a golden baseline so the parsers can be developed and regression-tested before any customer export exists.
**There is no customer data yet (decided 2026-09-20), so the fixtures are synthetic:** the TIA fixtures are hand-written from the documented Openness export shapes, CODESYS comes from the public Apache-2.0 `Proemion/codesys-examples` archives, and the Firmwerk bundle is generated with the Firmwerk CLI over `crates/firmwerk-repro/tests/fixtures/blinky-make` (MVP-2.6). Every parser must be tolerant: unknown blocks, languages and attributes are **recorded as `unsupported` on the scan run instead of failing**, so coverage gaps become visible rather than silent. Real exports replace the fixtures when a customer arrives.
## What to change
- A TIA `PlcFormat` in the classifier and the onboarding wizard (`compliance-core/src/models/onboarding.rs`, `compliance-dashboard/src/pages/onboarding.rs`).
- A `docs/guide/siemens-tia.md` export how-to (how to produce the Openness export a customer should send us).
- A synthetic TIA fixture + golden baseline in `fixtures/demo-targets/`.
## Acceptance
- [ ] Uploading the synthetic TIA export through the wizard classifies as TIA and runs the PLC path.
- [ ] The golden baseline pins expected `rule_id`s, component counts, CPE/CVE hits and `control_refs`.
- [ ] Unsupported blocks/languages are surfaced on the scan run with the offending file, and never abort the run.
- [ ] `docs/guide/siemens-tia.md` is complete enough for a customer to follow unaided.
- [ ] The fixture is picked up by the nightly regression (#188).
sharang
added this to the Production MVP milestone 2026-09-20 20:18:26 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Goal
Make TIA a selectable target type end to end — classifier, wizard, documented export procedure — and lock the behaviour down with fixtures and a golden baseline so the parsers can be developed and regression-tested before any customer export exists.
There is no customer data yet (decided 2026-09-20), so the fixtures are synthetic: the TIA fixtures are hand-written from the documented Openness export shapes, CODESYS comes from the public Apache-2.0
Proemion/codesys-examplesarchives, and the Firmwerk bundle is generated with the Firmwerk CLI overcrates/firmwerk-repro/tests/fixtures/blinky-make(MVP-2.6). Every parser must be tolerant: unknown blocks, languages and attributes are recorded asunsupportedon the scan run instead of failing, so coverage gaps become visible rather than silent. Real exports replace the fixtures when a customer arrives.What to change
PlcFormatin the classifier and the onboarding wizard (compliance-core/src/models/onboarding.rs,compliance-dashboard/src/pages/onboarding.rs).docs/guide/siemens-tia.mdexport how-to (how to produce the Openness export a customer should send us).fixtures/demo-targets/.Acceptance
rule_ids, component counts, CPE/CVE hits andcontrol_refs.docs/guide/siemens-tia.mdis complete enough for a customer to follow unaided.