Skip to content

fix: parse literal amd64 pinned journey image bases - #38

Draft
echoomegaprime wants to merge 1 commit into
agent/certforge-prime-runtime-reconcile-20261102from
agent/certforge-journey-platform-parser-20261102
Draft

echoomegaprime wants to merge 1 commit into
agent/certforge-prime-runtime-reconcile-20261102from
agent/certforge-journey-platform-parser-20261102

Conversation

@echoomegaprime

Copy link
Copy Markdown
Owner

Pinned multistage Dockerfiles using the literal --platform=linux/amd64 option were rejected by the scanner, and admission extracted that flag instead of the final immutable base digest. Reuse one strict parser for scanning and admission so the original recipe bytes and SHA remain intact.

The parser continues to reject variables, unpinned references, other platforms and unsupported or duplicate flags. Empty continuation-only instructions retain typed missing-base failures.

Validation: two baseline regressions failed before the fix; 98 focused tests passed with five existing Windows POSIX skips; the full suite passed 849 tests with seven existing Windows skips; P1 acceptance, exact candidate BUILD preflight (27 PASS), diff checks and redacted secret scans passed. Generated P1 output was preserved outside the source tree and the tracked report restored.

This stacked source-only draft changes four files. No image qualification, signing, admission, installed service, trust, dispatcher or runtime change is claimed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants