Skip to content

feat(compliance): audit log export, gdpr deletion, retention policies#34

Merged
RustMunkey merged 5 commits intomainfrom
feat/compliance
Mar 14, 2026
Merged

feat(compliance): audit log export, gdpr deletion, retention policies#34
RustMunkey merged 5 commits intomainfrom
feat/compliance

Conversation

@RustMunkey
Copy link
Copy Markdown
Owner

@RustMunkey RustMunkey commented Mar 14, 2026

Summary by CodeRabbit

  • New Features

    • Compliance API with audit logging, CSV export, and GDPR data deletion.
    • Comprehensive documentation suite including API reference, guides, self-hosting instructions, and platform concepts.
  • Infrastructure

    • Domain migration from .io to .ai across all services.
    • Updated technology stack with React 19, FastAPI, Rust daemon, PostgreSQL, Redis, and NATS.
  • Chores

    • License additions (Apache 2.0) across packages.
    • Enhanced installer script with platform detection and PATH management.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 14, 2026

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

This pull request migrates the domain from maschina.io to maschina.ai, restructures the README with updated tech stack and architecture details, introduces a new compliance module for audit logging and GDPR deletion, adds extensive documentation covering API reference, guides, platform concepts, and self-hosting instructions, and includes Apache 2.0 license files across packages.

Changes

Cohort / File(s) Summary
Domain Migration
.github/CODE_OF_CONDUCT.md, .github/SECURITY.md, apps/mobile/ios/README.md, docs/architecture/api.md, docs/architecture/network.md, docs/operations/deployment.md, docs/security/access.md, docs/security/api.md
Updated email addresses and domain references from maschina.io to maschina.ai across governance, security, and documentation files.
Core Documentation
README.md
Comprehensive restructure including technology stack updates (React 19, Vite, Rust ecosystem, Python FastAPI), revised prerequisites (Node.js 22, Rust 1.88+), expanded setup steps with multiple environment examples, reorganized monorepo structure with new apps/services/packages, and clarified infrastructure requirements.
CLI Installer Overhaul
install.sh, install/install.sh
Replaced minimal installer script with feature-rich implementation adding platform detection, dependency validation, dynamic GitHub release fetching, service binary handling, shell-specific PATH updates, and interactive post-install flow.
Compliance Module
packages/compliance/package.json, packages/compliance/src/audit.ts, packages/compliance/src/gdpr.ts, packages/compliance/src/retention.ts, packages/compliance/src/index.ts
New compliance package implementing audit logging with queryable history and CSV export, GDPR user data deletion with soft-delete agents and payload anonymization, retention policies per plan tier, and centralized module exports.
API Integration
services/api/package.json, services/api/src/app.ts, services/api/src/routes/compliance.ts
Added compliance package dependency and registered /compliance routes providing audit log retrieval (JSON/CSV), GDPR deletion endpoint with audit logging, and plan-gated access (M10+).
API Reference Documentation
apps/docs/api-reference/agents.mdx, apps/docs/api-reference/authentication.mdx, apps/docs/api-reference/compliance.mdx, apps/docs/api-reference/keys.mdx, apps/docs/api-reference/realtime.mdx, apps/docs/api-reference/runs.mdx, apps/docs/api-reference/search.mdx, apps/docs/api-reference/usage.mdx, apps/docs/api-reference/webhooks.mdx
Comprehensive API documentation covering agent operations, authentication methods (API keys and sessions), compliance features with audit and GDPR endpoints, key management, WebSocket/SSE realtime streaming, run lifecycle and status, full-text search via Meilisearch, usage quotas, and webhook management with delivery tracking.
Guides & Tutorials
apps/docs/guides/cli.mdx, apps/docs/guides/faq.mdx, apps/docs/guides/first-agent.mdx, apps/docs/guides/models.mdx, apps/docs/guides/realtime.mdx, apps/docs/guides/search.mdx, apps/docs/guides/troubleshooting.mdx, apps/docs/guides/webhooks.mdx
User-facing guides including CLI reference, FAQ addressing billing and authentication, end-to-end agent tutorial, model selection with cascade fallback, realtime streaming patterns, search functionality, troubleshooting with diagnostics, and webhook creation with signature verification.
Platform Architecture
apps/docs/platform/economics.mdx, apps/docs/platform/marketplace.mdx, apps/docs/platform/network.mdx, apps/docs/platform/nodes.mdx, apps/docs/platform/overview.mdx, apps/docs/platform/roadmap.mdx
Platform vision documentation covering tokenomics and billing model, planned agent marketplace with skills discovery and reputation, distributed compute network design, node operator participation incentives and staking, layered seven-tier architecture with current vs. future capabilities, and multi-phase roadmap with guiding principles.
Self-Hosting Documentation
apps/docs/self-hosting/architecture.mdx, apps/docs/self-hosting/docker.mdx, apps/docs/self-hosting/environment.mdx, apps/docs/self-hosting/fly.mdx, apps/docs/self-hosting/overview.mdx
Deployment guidance covering request flow architecture, Docker Compose setup with service port mappings and health checks, comprehensive environment variables reference across all services, Fly.io deployment workflows per service, and self-hosting overview with dependency table.
SDK Documentation
apps/docs/sdks/python.mdx, apps/docs/sdks/rest.mdx, apps/docs/sdks/rust.mdx, apps/docs/sdks/typescript.mdx
Language-specific SDK documentation with installation, authentication, CRUD operations for agents/runs/keys/webhooks, async support patterns, error handling, and webhook verification examples.
Foundational Documentation
apps/docs/concepts.mdx, apps/docs/contributing.mdx, apps/docs/changelog.mdx, apps/docs/custom.css, apps/docs/install.mdx, apps/docs/llms.txt, apps/docs/quickstart.mdx
Core documentation including primitives overview with Mermaid diagrams and plan comparisons, contribution guidelines for docs and SDKs, v1.0.0 release changelog, custom CSS with TestSohne font stack and social icons, installation walkthrough across SDK/CLI/Docker, LLM context file with navigation structure, and quickstart guide with multi-language code examples.
License Files
packages/api-client/LICENSE, packages/cli/LICENSE, packages/sdk/python/LICENSE, packages/sdk/rust/LICENSE, packages/sdk/ts/LICENSE
Added Apache License 2.0 text to package distribution points, establishing consistent open-source licensing across SDK and CLI distributions.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Poem

🐰 From .io to .ai, the domain takes flight,
New compliance rules keep the users' data tight,
A mountain of docs shows the way to start,
With licenses clear and compliance at heart,
The platform evolves—let's hop in and build!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly and clearly summarizes the main changes: it highlights the three core compliance features added (audit log export, GDPR deletion, retention policies), which are the primary focus of the changeset.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/compliance
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@RustMunkey RustMunkey merged commit d4f91d8 into main Mar 14, 2026
23 of 24 checks passed
@RustMunkey RustMunkey deleted the feat/compliance branch March 14, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant