SovereignOps is a local-first platform for safe AI agent operations over sensitive workspaces. It is designed around user-controlled data, end-to-end encryption, auditable agent actions, plugin boundaries, encrypted sync, and SDK-first integration.
- Keep the primary workspace local-first, with clear ownership of data and keys.
- Use end-to-end encryption for stored content and sync payloads.
- Run AI agents with explicit capability scopes and reviewable actions.
- Maintain audit trails for agent, plugin, sync, and SDK activity.
- Support a plugin model that favors least privilege and clear isolation.
- Provide SDKs that make secure automation practical for teams and builders.
This repository is ready for a public alpha. The checked-in code provides local-first contracts, API route handlers, CLI commands, SDK clients, fixture replay, status reporting, and release checks that run without remote services. The alpha is intended for developer review and integration experiments, not production workloads.
- Do not commit credentials, keys, tokens, private notes, or local machine secrets.
- Prefer explicit permission boundaries over broad tool access.
- Make agent actions observable before they become durable.
- Keep sync designs encrypted by default.
- Design SDK interfaces so unsafe defaults are hard to use by accident.
crates/sovereign_core: canonical IDs, event ordering, policy decisions, and audit redaction helpers.packages/schemas: shared TypeScript contracts for workspace, agent action, and audit data.apps/api: dependency-free API route contracts for health checks and future local service handlers.packages/cli: dependency-free command runner for workspace, ingest, policy, audit, and bundle export previews.apps/web: framework-free local workflow models for routes, onboarding, tasks, Markdown drafts, approvals, and audit timelines.packages/sdk-jsandpackages/plugin-sdk: workspace client, API client, plugin manifest, and sandbox contracts.services/automation: deterministic automation rule evaluation and proposal-only action registry.services/ingest: Python normalization helpers plus structured Markdown, JSON, and CSV import connectors.services/sync: deterministic cursors, bundles, repositories, HTTP handler logic, device enrollment, invites, and rate limits.services/mcp-gateway: policy-gated resources, safe local tool proposals, and audit emitters.apps/desktop: desktop command contracts and local workspace layout planning.scripts: smoke, repository health, task queue, environment guard, package baseline, and LOC tools.docs/core-model.md: public overview of identifiers, events, reducers, sync, and audit primitives.docs/local-workflows.md: public overview of the current Web, sync, SDK, and plugin workflow modules.docs/service-contracts.md: public overview of API, sync, MCP gateway, and structured ingest service contracts.docs/status.md: public repository health summary.
python scripts\smoke.py
python -m unittest discover -s tests
python scripts\loc_budget.py --summary
python scripts\env_guard.py
npm run fixtures:check
python scripts/fixture_drift.py --json
python scripts/status_dashboard.py --jsonnpm run fixtures:check wraps the local fixture drift JSON check. The fixture workflow uses checked-in, local-only deterministic fixtures to verify response schema coverage and route/status drift without remote services. python scripts/status_dashboard.py --json summarizes repository health, fixture drift totals, and skipped optional tooling for status updates.
Rust and pnpm checks are wired into the smoke flow and run automatically when those tools are installed.