Version Control Rule: This repository uses
lorefor version control, state tracking, and documentation. Do not usegit.
SovereignSurvivalKit is a modular application platform for macOS and iOS. The platform provides:
.sparsebundle volumes managed with Apple CryptoKit and the Apple Secure Enclave.10.0.0.0/24 subnet.SSK_StorageHost acp-agent), Xcode developer plug-in (XCPSSKPlugin), and automated documentation ledger generation (SSK_DocGen).SovereignSurvivalKit/
├── README.md # Master repository documentation (this file)
├── ARCHITECTURE.md # System architecture, module boundaries, and dependency graph
├── src/ # Application source code, packages, and standalone tools
│ └── SovereignSurvivalKit/
│ ├── README.md # Source root documentation and target hierarchy
│ ├── Modules/ # 10 modular Swift packages (SSK_Foundation, SSK_UI, etc.)
│ ├── SovereignSurvivalKit/ # Main macOS and iOS application target
│ ├── SSKVaultHost/ # Background daemon and lifecycle service
│ ├── SSK_DocGen/ # Documentation ledger generator CLI
│ ├── XCPSSKPlugin/ # Xcode developer plug-in
│ ├── ClipLiveActivities/ # WidgetKit Live Activity target
│ ├── SovereignSurvivalKitIntents/ # App Intents target
│ ├── SovereignSurvivalKitMeshClip/# App Clip target
│ └── SovereignSurvivalKitMessenger/# iMessage extension target
├── scripts/ # Build, package, and installation orchestrators
│ ├── install.sh # Master build and installation orchestrator
│ ├── build_dmg.sh # macOS desktop build and archive pipeline
│ ├── build_pkg.sh # Component and product package (.pkg) builder
│ ├── install_dist.sh # Direct filesystem distribution installer
│ └── package_dmg.sh # Compressed disk image (.dmg) packager
├── dist/ # Build artifacts, packages, and DMGs
├── guide/ # Architectural guides and technical specifications
├── next/ # Active development plans and validation roadmaps
│ └── dev/ # Development plans and phase status matrices
└── archive/ # Historical reference code and narrative documents
Use the master orchestrator script scripts/install.sh to build, package, install, or reset the software.
Execute a clean build of all macOS schemes and install products to system directories:
./scripts/install.sh --clean
| Goal | Command |
|---|---|
| Build without installing | ./scripts/install.sh --build-only --clean |
Install existing dist/ products |
./scripts/install.sh --install-only |
Install via signed macOS package (.pkg) |
./scripts/install.sh --via-pkg |
| Uninstall all applications and tools | ./scripts/install.sh --uninstall |
| Reset data, caches, and databases | ./scripts/install.sh --clean --reset-data |
| Simulate commands without changes | ./scripts/install.sh --dry-run |
For CI/CD pipelines or isolated steps, run the specialized scripts directly:
./scripts/build_dmg.sh --clean-dist --refresh-packages./scripts/install_dist.sh.pkg: ./scripts/build_pkg.sh dist/Export/Products.dmg: ./scripts/package_dmg.sh dist/Export/ProductsThe installation scripts deploy components to standard system paths:
| Component | Direct Install Path (install_dist.sh) |
Package Install Path (build_pkg.sh) |
|---|---|---|
| Desktop Application | /Applications/SovereignSurvivalKit.app |
/Applications/SovereignSurvivalKit.app |
| Daemon Application | /Applications/SSKVaultHost.app |
/Applications/SSKVaultHost.app |
| Command Line Tools | /usr/local/bin/SSK_StorageHost/usr/local/bin/SSK_DocGen/usr/local/bin/SSKVaultHost |
/usr/local/bin/SSK_StorageHost/usr/local/bin/SSK_DocGen/usr/local/bin/SSKVaultHost |
| Shell Path Config | /etc/paths.d/SovereignSurvivalKit |
/etc/paths.d/SovereignSurvivalKit |
| Xcode Plug-in | ~/Library/Developer/Xcode/Plug-ins/XCPSSKPlugin.xcplugin |
/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XCPSSKPlugin.xcplugin |
Start the main application from Launchpad, Finder, or Terminal:
open /Applications/SovereignSurvivalKit.app
Verify the command-line interfaces:
SSK_StorageHost --help
SSK_DocGen --help
SSKVaultHost --help
Configure Xcode to use the local ACP agent:
/usr/local/bin/SSK_StorageHostacp-agentThis project uses lore. Follow these standard commands for state tracking:
# Check modified files
lore status --scan
# Inspect local changes
lore diff
# Stage modified paths
lore stage --scan <paths>
# Create a commit
lore commit "Description of change"