Add guarded Agent Machine and Office execution#11
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the first guarded local execution slice for SourceOS Agent Machine and Prophet Workspace Office Plane flows.
Dry-run remains the default. Local mutation requires explicit
--execute --policy-okand emits evidence.Changes
Agent Machine
sourceosctl agent-machine mounts init --execute --policy-okAgentMachineMountEvidenceor writes it to--evidence-out.Office Plane
sourceosctl office generate --execute --policy-okdocx,xlsx,pptx, etc.) until template/render backends are hardened;OfficeArtifactEvidenceor writes it to--evidence-out.sourceosctl office convert <path> --to <format> --execute --policy-oksofficewhen available;OfficeArtifactEvidenceor writes it to--evidence-out.Safety posture
--executerequires--policy-ok.~/Downloadsbrowser download roots are rejected.Tests
Adds/updates tests for:
Validation
Expected repo validation: