Project docs v2 - #152
Conversation
Deploys comprehensive architectural specifications, commercial strategy
frameworks, and foundational project vision collateral to establish absolute
"VC Readiness" and technical baseline clarity across the ecosystem.
Strategy Folder Additions:
- Update 'commercial_strategy.md': Transition plaintext ASCII flywheel layout
to an explicit, valid Mermaid.js topology mapping the open-source wedge to
the commercial Airlock and Audit monetization vectors.
- Complete 'sdk_philosophy.md': Codify the five core systems invariants (zero-
dependency core, physical isolation, anti-memory sync journaling, non-
repudiation, and explicit deterministic failures).
- Complete 'roadmap.md': Map the multi-horizon timeline spanning Write-Side
Custody (Horizon 1), Outbound Perimeter Governance (Horizon 2), and Federated
Enterprise Scale (Horizon 3).
Architecture Folder Additions:
- Author core component technical specs ('ingestion.md', 'edge.md',
'airlock.md', 'vault.md') explicitly matching computational boundaries
to corresponding workspace package modules.
- Embed native, validated Mermaid.js flowcharts and sequence matrices inside
component layers to trace local data flow from bare-metal signals to on-disk
durable journal commits.
Vertical Examples Hardening:
- Deploy fully detailed operational use-case files ('manufacturing/README.md',
'museum/README.md', 'iot/README.md', 'warehouse/README.md', and
'developer-workstation/README.md').
- Isolate structural telemetry validation loops, context minimization tax reporting,
and autonomous coding agent prompt-leak mitigation behaviors per sector.
Root Directory Hardening:
- Author root-level 'VISION.md' manifesto anchoring the philosophical shift
from central cloud dependence to perimeter boundary governance.
- Transition root-level 'VISION.md' boundary flow map to native, responsive Mermaid.js syntax.
- Corrected the URL for `sovereign-sdk-edge` in `strategy/commercial_strategy.md`. - Fixed `strategy/commercial_strategy.md` Mermaid.js syntax to render correctly. - Removed citation text from `strategy/product_thesis_vault.md`. - Removed duplicated "display" from `architecture/examples/museum/README.md`.
Greptile SummaryThis PR adds a comprehensive second-generation documentation suite covering the Sovereign SDK's architecture, strategy, and real-world deployment blueprints — 21 new files totalling 666 lines across
Confidence Score: 4/5Safe to merge as documentation, but the component naming inconsistency should be resolved before the docs are published or shared externally. The naming inconsistency between sovereign-sdk-* and sovereign-* (e.g., sovereign-vault vs sovereign-sdk-vault) is the most consequential issue — a developer following the roadmap or product thesis to install packages could target the wrong package name. The remaining findings (duplicate .mmd files, stray placeholder symbol, missing fastapi from warehouse diagram) are editorial and do not affect runtime behavior. strategy/product_thesis.md and strategy/roadmap.md carry the naming inconsistency; the four architecture/diagrams/*.mmd files are exact duplicates of their parent .md counterparts and need a decision on whether to keep or remove them. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
subgraph Ingestion ["Ingestion Boundary"]
HW[Hardware Pin / Sensor] --> Sensor[sovereign-sdk-sensor\nPoint-of-Genesis Micro-Signer]
end
subgraph Edge ["Edge Boundary"]
Sensor -->|Signed Payload\nLoRaWAN / Serial| EdgeNode[sovereign-sdk-edge\nHMAC Verifier + Sieve]
EdgeNode -->|Valid| Ledger[sovereign-sdk-ledger\nAppend-Only Local Log]
EdgeNode -->|Invalid| Quarantine[.quarantine\nForensic Alert]
EdgeNode -->|Ledger Down| Buffer[Durable JSONL\nOff-Grid Buffer]
Buffer --> Staging[.staging\nRoll Recovery]
end
subgraph Outbound ["Outbound Boundary"]
App[Local App / Coding Agent] --> Airlock[sovereign-sdk-airlock\nInline Proxy]
Airlock --> Policy{Policy Gate}
Policy -->|Block| Fault[Escalation Exception]
Policy -->|Pass| Sieve[sovereign-sdk-sieve\nContext Minimization]
Sieve --> API((Frontier Model API))
Airlock --> Ledger
end
subgraph Vault ["Vault Boundary"]
Memory[Ephemeral Memory] --> HSM[HSM / TPM\nHardware Seal]
HSM --> Custody[Immutable\nOn-Disk Ciphertext]
Custody --> Decay[Zero-Knowledge\nCryptographic Decay]
end
style Ingestion fill:#f5f5f5,stroke:#999
style Edge fill:#e8f5e9,stroke:#388e3c
style Outbound fill:#e3f2fd,stroke:#1976d2
style Vault fill:#fff3e0,stroke:#f57c00
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
subgraph Ingestion ["Ingestion Boundary"]
HW[Hardware Pin / Sensor] --> Sensor[sovereign-sdk-sensor\nPoint-of-Genesis Micro-Signer]
end
subgraph Edge ["Edge Boundary"]
Sensor -->|Signed Payload\nLoRaWAN / Serial| EdgeNode[sovereign-sdk-edge\nHMAC Verifier + Sieve]
EdgeNode -->|Valid| Ledger[sovereign-sdk-ledger\nAppend-Only Local Log]
EdgeNode -->|Invalid| Quarantine[.quarantine\nForensic Alert]
EdgeNode -->|Ledger Down| Buffer[Durable JSONL\nOff-Grid Buffer]
Buffer --> Staging[.staging\nRoll Recovery]
end
subgraph Outbound ["Outbound Boundary"]
App[Local App / Coding Agent] --> Airlock[sovereign-sdk-airlock\nInline Proxy]
Airlock --> Policy{Policy Gate}
Policy -->|Block| Fault[Escalation Exception]
Policy -->|Pass| Sieve[sovereign-sdk-sieve\nContext Minimization]
Sieve --> API((Frontier Model API))
Airlock --> Ledger
end
subgraph Vault ["Vault Boundary"]
Memory[Ephemeral Memory] --> HSM[HSM / TPM\nHardware Seal]
HSM --> Custody[Immutable\nOn-Disk Ciphertext]
Custody --> Decay[Zero-Knowledge\nCryptographic Decay]
end
style Ingestion fill:#f5f5f5,stroke:#999
style Edge fill:#e8f5e9,stroke:#388e3c
style Outbound fill:#e3f2fd,stroke:#1976d2
style Vault fill:#fff3e0,stroke:#f57c00
|
| flowchart LR | ||
| App[Local App / Coding Agent] --> Airlock[Sovereign Airlock Proxy] | ||
| Airlock --> Policy{Policy Gate} | ||
| Policy -->|Deny/Block| Fault[Escalation Exception] | ||
| Policy -->|Pass/Warn| Sieve[sovereign-sdk-sieve] | ||
| Sieve --> ContextMin[Context-Minimized Payload] | ||
| ContextMin --> Wire((Frontier Model API)) | ||
| Airlock --> Ledger[sovereign-sdk-ledger] | ||
| subgraph Evidence Generation | ||
| Ledger --> Receipt[Local Forensic Receipt Generated] | ||
| end No newline at end of file |
There was a problem hiding this comment.
Diagram files are exact duplicates of embedded markdown diagrams
All four .mmd files (airlock_outbound.mmd, edge_pipeline.mmd, ingestion_boundary.mmd, vault_lifecycle.mmd) are character-for-character copies of the Mermaid code blocks already embedded in their corresponding .md files. Future updates must be applied in two places, and the two copies will inevitably drift. If these standalone files serve a specific build or rendering purpose (e.g., a documentation site that imports .mmd directly), that intent should be noted in a comment; otherwise, consider removing the duplicates and referencing the .md source of truth.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
No description provided.