@@ -16,8 +16,10 @@ It should contain:
1616- lab/profile selection utilities;
1717- local model-service client helpers;
1818- model-router client utilities;
19+ - Network Door, Firewall Door, Mesh Door, BYOM provider, and Native Assistant Door plan/probe helpers;
1920- guardrail/eval/evidence helpers;
2021- agent sandbox/run helpers;
22+ - Local Model Door runtime detection and route planning helpers;
2123- Agent Machine local mount and secure host-interface helpers;
2224- Office Plane dry-run, guarded execution, inspection, and evidence helpers;
2325- fingerprint and proof bundle tools;
@@ -34,7 +36,10 @@ It should not contain:
3436- model-router backend;
3537- web control plane backend;
3638- SourceOS image build state;
37- - secrets, tokens, credentials, private keys, or device-specific enrollment secrets.
39+ - secrets, tokens, credentials, private keys, or device-specific enrollment secrets;
40+ - firewall mutation engines;
41+ - service mesh installers;
42+ - native assistant runtime adapters.
3843
3944## sourceosctl CLI
4045
@@ -60,6 +65,16 @@ sourceosctl [--version] <command> [<subcommand>] [options]
6065| ` sourceosctl fingerprint collect --dry-run ` | Print environment fingerprint fields (dry-run only) |
6166| ` sourceosctl ai labs list ` | List available AI labs (read-only) |
6267| ` sourceosctl agents sandbox plan --dry-run ` | Print agent sandbox plan (dry-run only) |
68+ | ` sourceosctl local-model doctor ` | Inspect local model runtime and installed models without pulling weights or inference |
69+ | ` sourceosctl local-model profiles ` | List SourceOS Local Model Door profile refs |
70+ | ` sourceosctl local-model plan --profile local-llama32-1b ` | Render local model runtime plan without installing or running models |
71+ | ` sourceosctl local-model route --task-class office-assist ` | Render hash-only model route decision under local-first policy |
72+ | ` sourceosctl local-model evidence inspect <path> ` | Inspect local model route evidence JSON |
73+ | ` sourceosctl network doctor ` | Inspect Network Door contract posture without changing firewall, mesh, or provider state |
74+ | ` sourceosctl network plan --destination <label> ` | Render a hash-only Network Door route plan |
75+ | ` sourceosctl network provider ` | Render a BYOM / external model provider plan without contacting the provider |
76+ | ` sourceosctl network evidence inspect <path> ` | Inspect Network Door evidence JSON |
77+ | ` sourceosctl native-assistant plan ` | Render a native assistant bridge plan without invoking host assistant APIs |
6378| ` sourceosctl agent-machine mounts plan ` | Render Agent Machine local mount plan for dev/docs/downloads roots (dry-run) |
6479| ` sourceosctl agent-machine mounts init --dry-run ` | Render mount initialization plan; no directories or mounts are created |
6580| ` sourceosctl agent-machine mounts init --execute --policy-ok ` | Create only scoped local output/download directories and emit AgentMachineMountEvidence |
@@ -74,6 +89,11 @@ sourceosctl [--version] <command> [<subcommand>] [options]
7489| ` sourceosctl office convert <path> --to <format> --execute --policy-ok ` | Run guarded local LibreOffice conversion and emit OfficeArtifactEvidence |
7590| ` sourceosctl office inspect <path> ` | Inspect a local office artifact file and hash it |
7691| ` sourceosctl office evidence inspect <path> ` | Inspect Office Plane evidence JSON (read-only) |
92+ | ` sourceosctl operation conformance --contracts-dir ../prophet-core-contracts ` | Run Workspace Operation fixture bundle conformance checks |
93+ | ` sourceosctl operation validate-fixture <path> ` | Validate one Workspace Operation fixture |
94+ | ` sourceosctl operation replay-fixture <output> --surface terminal-command\|browser-capture\|local-agent-execution ` | Generate a local replay fixture starter |
95+ | ` sourceosctl operation scaffold-adapter <output-dir> ` | Scaffold starter adapter skeletons |
96+ | ` sourceosctl diagnostics redact <input> --output <output> ` | Export redacted diagnostics (cookies/tokens/keys/IDs/prompts/policy snippets) |
7797
7898### Running from the repo
7999
@@ -89,6 +109,16 @@ python3 bin/sourceosctl release inspect-archive fixtures/nlboot_release_valid
89109python3 bin/sourceosctl fingerprint collect --dry-run
90110python3 bin/sourceosctl ai labs list
91111python3 bin/sourceosctl agents sandbox plan --dry-run
112+ python3 bin/sourceosctl local-model doctor
113+ python3 bin/sourceosctl local-model profiles
114+ python3 bin/sourceosctl local-model plan --profile local-llama32-1b
115+ python3 bin/sourceosctl local-model route --task-class office-assist --prompt " local prompt text is hashed only"
116+ python3 bin/sourceosctl network doctor
117+ python3 bin/sourceosctl network plan --destination models.enterprise.example
118+ python3 bin/sourceosctl network plan --enterprise --mesh --allow-listed --destination models.enterprise.example
119+ python3 bin/sourceosctl network provider --provider-class openai-compatible --owner user
120+ python3 bin/sourceosctl native-assistant plan --operation open-workroom
121+ python3 bin/sourceosctl native-assistant plan --operation create-office-artifact --prompt " local prompt text is hashed only"
92122python3 bin/sourceosctl agent-machine mounts plan
93123python3 bin/sourceosctl agent-machine mounts init --dry-run
94124python3 bin/sourceosctl agent-machine mounts init --execute --policy-ok --evidence-out ./mount-evidence.json
@@ -102,8 +132,69 @@ python3 bin/sourceosctl office generate --execute --policy-ok --artifact-type sp
102132python3 bin/sourceosctl office generate --execute --policy-ok --artifact-type slide-deck --format pptx --title " Demo Deck" --evidence-out ./office-pptx-evidence.json
103133python3 bin/sourceosctl office convert ./example.docx --to pdf --dry-run
104134python3 bin/sourceosctl office convert ./example.docx --to pdf --execute --policy-ok --evidence-out ./office-convert-evidence.json
135+ python3 bin/sourceos operation conformance --contracts-dir ../prophet-core-contracts
136+ python3 bin/sourceos operation validate-fixture tests/fixtures/workspace-operation/minimal-operation.json --structural-only
137+ python3 bin/sourceos operation replay-fixture ./tmp-operation-replay.json --surface terminal-command
138+ python3 bin/sourceos operation scaffold-adapter ./tmp-adapter
139+ python3 bin/sourceos diagnostics redact ./diagnostic.log --output ./diagnostic.redacted.log
105140```
106141
142+ ### Local Model Door defaults
143+
144+ The Local Model Door aligns with:
145+
146+ - ` SourceOS-Linux/sourceos-model-carry ` for local model profiles;
147+ - ` SocioProphet/model-router ` for routing;
148+ - ` SocioProphet/model-governance-ledger ` for personal tuning contracts;
149+ - ` SociOS-Linux/socios ` for opt-in personalization orchestration.
150+
151+ Default profiles:
152+
153+ | Profile key | Model | Role |
154+ | --- | --- | --- |
155+ | ` local-llama32-1b ` | ` llama3.2:1b ` | laptop-safe router, triage, summarization, rewrite, Office assist |
156+ | ` local-llama32-3b ` | ` llama3.2:3b ` | quality local fallback |
157+
158+ The Local Model Door does ** not** pull model weights, start Ollama, run inference, send prompts off-device, or authorize tool use. ` local-model route --prompt ... ` emits only a SHA-256 prompt hash.
159+
160+ ### Network Door, Mesh Door, BYOM, and Native Assistant Door defaults
161+
162+ The Network/Assistant Door slice aligns with ` SourceOS-Linux/sourceos-spec ` :
163+
164+ - ` NetworkAccessProfile `
165+ - ` FirewallBindingProfile `
166+ - ` MeshBindingProfile `
167+ - ` ExternalModelProviderProfile `
168+ - ` NativeAssistantBridgeProfile `
169+
170+ Default refs:
171+
172+ | Purpose | Ref |
173+ | --- | --- |
174+ | Enterprise/user network stack | ` urn:srcos:network-access-profile:enterprise-and-user-default ` |
175+ | User firewall profile | ` urn:srcos:firewall-binding-profile:macos-lulu-user-default ` |
176+ | Enterprise firewall profile | ` urn:srcos:firewall-binding-profile:enterprise-gateway-default ` |
177+ | Istio/Admiral-style mesh profile | ` urn:srcos:mesh-binding-profile:istio-egress-default ` |
178+ | User BYOM OpenAI-compatible provider profile | ` urn:srcos:external-model-provider-profile:user-openai-compatible ` |
179+ | Apple App Intents native assistant bridge profile | ` urn:srcos:native-assistant-bridge-profile:apple-app-intents-default ` |
180+
181+ The Network Door does ** not** mutate firewall rules, install mesh components, contact external model providers, store credentials, or send prompts. Destination labels are represented as SHA-256 hashes in route plans.
182+
183+ The Native Assistant Door does ** not** invoke Siri, App Intents, Shortcuts, Android intents, Windows shell integrations, browser extensions, or MCP/native bridge transports. It renders a bridge plan with prompt text redacted to a SHA-256 hash when provided.
184+
185+ Default policy posture:
186+
187+ - default egress is denied;
188+ - BYOM provider auth must be a reference, never inline;
189+ - enterprise firewall denies have precedence over user allows;
190+ - user firewall profiles may be stricter than enterprise profiles;
191+ - mesh binding and firewall binding are complementary, not interchangeable;
192+ - prompt egress is denied by default;
193+ - native assistant side effects require user confirmation;
194+ - raw app database access is denied by default.
195+
196+ See ` docs/integration/network-native-assistant-door.md ` .
197+
107198### Agent Machine local mount defaults
108199
109200The first Agent Machine mount slice aligns with the SourceOS contracts in ` SourceOS-Linux/sourceos-spec ` :
@@ -178,13 +269,15 @@ M1 is repo maturity and install surface definition:
178269- ` SociOS-Linux/nlboot ` : boot/recovery client and evidence records.
179270- ` SourceOS-Linux/sourceos-spec ` : canonical SourceOS schemas and contracts.
180271- ` SourceOS-Linux/sourceos-boot ` : SourceOS boot/recovery integration.
272+ - ` SourceOS-Linux/sourceos-model-carry ` : local model profiles and carry-layer service refs.
181273- ` SourceOS-Linux/agent-term ` : terminal-native SourceOS operator ChatOps console.
182274- ` SociOS-Linux/workstation-contracts ` : workstation/CI conformance contracts and IPC receipts.
275+ - ` SociOS-Linux/socios ` : opt-in automation and personalization orchestration.
183276- ` SocioProphet/prophet-workspace ` : workspace product semantics, Professional Workrooms, and OfficeArtifact contracts.
184277- ` SocioProphet/homebrew-prophet ` : Homebrew install formulae.
185278- ` SocioProphet/model-router ` : governed model/service routing.
186279- ` SocioProphet/guardrail-fabric ` : guardrail policy client integration.
187- - ` SocioProphet/model-governance-ledger ` : evidence and promotion records.
280+ - ` SocioProphet/model-governance-ledger ` : evidence, consent, evaluation, promotion, and personalization governance records.
188281- ` SocioProphet/agent-registry ` : governed agent identity/tool-grant contracts.
189282- ` SocioProphet/agentplane ` : governed execution, placement, run, replay, and evidence.
190283
@@ -199,4 +292,3 @@ The validation target runs the unit test suite and checks repository metadata. A
199292``` bash
200293make test # run tests only
201294```
202-
0 commit comments