feat(tia): a TIA connector's export is read, its devices matched #1096

Open
sharang wants to merge 2 commits from feat/tia-export-bundle into main
pull from: feat/tia-export-bundle
2 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 1f3beb5786 fix(tia): a type identifier gives only a concrete article and its version
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) In progress
CI / Agent integration (pull_request) Successful in 5m24s
Siemens' Openness notes: catalog identifiers carry wildcards
(6SL3040-1MA01-0Axx), drive identifiers a family after the version
(/V5.2.3/S120), some a catalog variant instead (//10002). Only a
concrete article and a V-version are taken; the rest is not matched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-12-01 14:23:24 +01:00
Sharang ParnerkarandClaude Opus 5.5 a9ea12651f feat(tia): a TIA connector's export is read, its devices matched
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m27s
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Canceled after 15m3s
A TIA export (#1090) is a zip with manifest.json at its root: the
project's devices with order number and configured firmware, each
CPU's security settings (value, or why Openness could not read it),
and its blocks, the know-how-protected ones marked.

- PlcFormat::TiaExport; the manifest is read on upload and refused
  with 422 and a code (not_zip, no_manifest, manifest_too_large,
  manifest_invalid, bundle_version); a new export replaces the last.
- Matchable devices are kept on the artifact and join the target's
  controllers (SBOM, Siemens advisories, Steuerungen page); a device
  entered by hand with the same order number wins.
- The scan notes what it does not analyse: block code until #1093,
  protected blocks, devices without order number or firmware.
- API keys reach the upload with pruefwerk:uploads.write
  (tenant-registry #158, portal #208).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-12-01 14:08:16 +01:00