fix(plc): a repository holding only a CODESYS archive is a PLC project #528

Merged
sharang merged 2 commits from fix/a5-projectarchive-plc into main 2026-10-08 21:38:24 +00:00
2 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 90bcb6e4f8 fix(plc): a committed CODESYS project types a repository PLC only on its own
CI / Check (push) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 11m10s
A code repository that also keeps a CODESYS project (a package.json,
pom.xml or Cargo.toml beside it) stays a code target and keeps its code
scans; its CODESYS components and runtime CVEs are collected by the code
pipeline either way. The committed-files verdict drops below the backend
manifests; a repository with nothing but the archive is still PLC.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-08 23:26:00 +02:00
Sharang ParnerkarandClaude Opus 5.5 c3f9e53806 fix(plc): a repository holding only a CODESYS archive is a PLC project
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) Successful in 11m20s
A managed git target whose tree is just a .projectarchive was classified
"Backend / API" (the classifier knew only .st as PLC evidence), and the
CODESYS library/runtime SBOM was collected only on the PLC path, so it
got no CODESYS components and no runtime CVEs.

- classifier: a committed .projectarchive or CODESYS .project, and an
  uploaded source archive named *.projectarchive, are PLC evidence
  (0.85), so a managed target is typed SPS/PLC by its code
- code pipeline: every scan tree's .projectarchive files (and an
  uploaded one, which ingest unpacks) add their CODESYS components to
  the SBOM and the runtime is matched in NVD with the other NVD lookups,
  whatever the target type; the code pipeline now owns those entries
  (a PLC-planned target never reaches it)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-08 23:05:36 +02:00