Files
pruefwerk/compliance-agent
Sharang ParnerkarandClaude Opus 5.5 7c638c1068
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 9m9s
feat(git): check out submodules, each URL held to the remote's checks
Firmware repositories pull their HAL, RTOS or protocol stack in as
submodules. They were never fetched, so a scan of such a repository
missed code the product ships and did not say so.

- Submodules are checked out after the clone or fetch, recursively up to
  three levels, for the scan and for classification.
- Each URL (relative ones resolved as git does) must pass the same checks
  as the main remote: HTTPS only, a public host, no redirects. The URL
  that was checked is written to the local config, so it is the one
  fetched.
- The repository's token is offered only to the main remote's host; a
  submodule elsewhere is fetched anonymously.
- A submodule that is refused or fails is left out and recorded: a
  `git_submodules` skipped stage on the scan run (with a German label in
  the dashboard) and a `submodule_skipped` fact at ingest.

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