Skip to content

Constitutional Principles

Aether’s architecture is governed by a set of constitutional principles that ensure system integrity, maintainability, and predictable plugin behavior.

Plugins are completely isolated from the web application codebase:

  • No Direct Imports: Web app cannot import from plugin packages
  • Extension-Only Interface: All plugin functionality exposed through extensions
  • Database Independence: Plugins maintain their own database schemas
  • UI Independence: All shared UI components come from @aether/ui
  • Shared Components: All reusable UI components live in @aether/ui
  • Icon System: Centralized icon exports from @aether/ui
  • No Duplication: Components are never duplicated between packages
  • Type Safety: Strict TypeScript types enforced across boundaries
  • Manifest-Based Registration: All plugin functionality declared in manifest
  • Predictable Context: Extensions receive well-defined context objects
  • Version Compatibility: Clear versioning and compatibility guarantees
  • No Side Effects: Extensions cannot modify global state

These principles ensure:

  • Safe Plugin Development: Plugins cannot break the core application
  • Easy Maintenance: Clear boundaries make updates predictable
  • Developer Experience: Consistent patterns across all plugins
  • System Reliability: Isolated failures don’t cascade

For detailed constitutional documentation, see the Plugin Extension System Constitution