Skip to content

feat: sourceos image-production bundle validation enforcement#304

Merged
mdheller merged 4 commits into
mainfrom
feat/sourceos-bundle-validation-enforcement
Jun 16, 2026
Merged

feat: sourceos image-production bundle validation enforcement#304
mdheller merged 4 commits into
mainfrom
feat/sourceos-bundle-validation-enforcement

Conversation

@mdheller

Copy link
Copy Markdown
Member
  • `tools/validate_sourceos_bundle.py`: validates all 10 blocking conditions from the integration doc (AGPL, rev, artifactTruthRef, humanGateRequired, lane, policyPackRef, secrets list, inline secrets, sociosAutomation fields, outputs, smoke script); `rev=UNSET` and `policyPackRef=UNSET` emit warnings, not blocks; exit 0/2
  • `bundles/sourceos-image-production-smoke/smoke.sh`: calls the validator before completing; smoke now fails closed on any blocking finding
  • `tools/sp_run.py`: adds `validate-bundle --bundle ` subcommand
  • 21 tests covering every blocking condition and the warn/block boundary; actual smoke bundle validates ok (1 warn for UNSET rev, expected for pre-run fixture)

mdheller added 4 commits June 16, 2026 13:20
…ecution component

Registers agentplane in the SourceOS component registry with:
- domain: agent-execution
- ownedSchemas: Bundle, GovernanceContext, ValidationArtifact, PlacementDecision,
  RunArtifact, ReplayArtifact, StopGateArtifact, SourceOSContextToolProviderEvidence,
  SourceOSContextCuminRun
- policyClass: critical (stop-gate logic + live Tekton mutation surface)
- dangerousSurfaces: live_tekton_mutation, stop_gate.override
@mdheller mdheller merged commit 3aaa148 into main Jun 16, 2026
2 checks passed
@mdheller mdheller deleted the feat/sourceos-bundle-validation-enforcement branch June 16, 2026 18:09
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.

1 participant