@@ -69,6 +69,7 @@ sourceosctl [--version] <command> [<subcommand>] [options]
6969| ` sourceosctl office plan ` | Render an OfficeArtifact-compatible workroom artifact plan |
7070| ` sourceosctl office generate --dry-run ` | Render an Office generation plan without writing files |
7171| `sourceosctl office generate --execute --policy-ok --format md| txt| json` | Write a guarded text/Markdown/JSON artifact and emit OfficeArtifactEvidence |
72+ | `sourceosctl office generate --execute --policy-ok --format docx| xlsx| pptx` | Write a guarded minimal OOXML artifact and emit OfficeArtifactEvidence |
7273| ` sourceosctl office convert <path> --to <format> --dry-run ` | Render a LibreOffice-style conversion plan without writing files |
7374| ` sourceosctl office convert <path> --to <format> --execute --policy-ok ` | Run guarded local LibreOffice conversion and emit OfficeArtifactEvidence |
7475| ` sourceosctl office inspect <path> ` | Inspect a local office artifact file and hash it |
@@ -96,6 +97,9 @@ python3 bin/sourceosctl office doctor
9697python3 bin/sourceosctl office plan --artifact-type slide-deck --format pptx --title " Demo Deck"
9798python3 bin/sourceosctl office generate --dry-run --artifact-type document --format docx --title " Demo Report"
9899python3 bin/sourceosctl office generate --execute --policy-ok --artifact-type document --format md --title " Demo Report" --evidence-out ./office-evidence.json
100+ python3 bin/sourceosctl office generate --execute --policy-ok --artifact-type document --format docx --title " Demo Report" --evidence-out ./office-docx-evidence.json
101+ python3 bin/sourceosctl office generate --execute --policy-ok --artifact-type spreadsheet --format xlsx --title " Demo Workbook" --evidence-out ./office-xlsx-evidence.json
102+ python3 bin/sourceosctl office generate --execute --policy-ok --artifact-type slide-deck --format pptx --title " Demo Deck" --evidence-out ./office-pptx-evidence.json
99103python3 bin/sourceosctl office convert ./example.docx --to pdf --dry-run
100104python3 bin/sourceosctl office convert ./example.docx --to pdf --execute --policy-ok --evidence-out ./office-convert-evidence.json
101105```
@@ -145,10 +149,11 @@ Backends are modeled as an abstraction:
145149- Microsoft Graph / Office 365 and Google Workspace: compatibility adapters, not core authority.
146150- SourceOS-native: future native document surfaces.
147151
148- Guarded Office execution is intentionally narrow :
152+ Guarded Office execution is intentionally bounded :
149153
150- - ` office generate --execute --policy-ok ` currently writes only ` txt ` , ` md ` , or ` json ` artifacts.
151- - Office binary generation (` docx ` , ` xlsx ` , ` pptx ` , ` odt ` , ` ods ` , ` odp ` ) remains disabled until template/render backends are hardened.
154+ - ` office generate --execute --policy-ok ` writes ` txt ` , ` md ` , ` json ` , ` docx ` , ` xlsx ` , or ` pptx ` artifacts.
155+ - DOCX/XLSX/PPTX generation uses a minimal dependency-light OOXML bootstrap builder, not a full template or collaboration engine.
156+ - ODT/ODS/ODP and other binary formats remain conversion/backend territory until LibreOffice/Collabora/ONLYOFFICE template backends are hardened.
152157- ` office convert --execute --policy-ok ` uses local LibreOffice/` soffice ` when available.
153158- All guarded Office execution emits or writes ` OfficeArtifactEvidence ` .
154159- Email sending, external publishing, and calendar modification remain policy-gated side effects and are not enabled here.
0 commit comments