Back to Activepieces

Context Map — Activepieces

CONTEXT-MAP.md

0.86.02.7 KB
Original Source

Context Map — Activepieces

Activepieces is split into bounded contexts. Product/domain contexts live under .agents/contexts/; the execution-runtime contexts live next to the code they describe. Each CONTEXT.md is a glossary only — no implementation details. Decisions live in docs/adr/.

Contexts

Product domain (.agents/contexts/)

Execution runtime (next to code)

Relationships

  • Automation Core → Pieces: a flow's actions and triggers are provided by Pieces; steps reference Piece Metadata.
  • Automation Core → Execution Runtime: a published Flow becomes a FlowRun, executed by the Worker/Sandbox; RunTimeline phases (PROVISION, BOOT) map to runtime concepts.
  • Platform & Multi-tenancy is the spine: every entity in every other context is scoped by projectId / platformId, and PlatformPlan gates feature availability by Edition.
  • Pieces ↔ Authentication: App Connections may resolve secrets from a Secret Manager.
  • Eventing → Authentication: Application Events feed Audit Events.
  • Eventing → Automation Core: Webhooks and TableWebhooks are TriggerSources that start flows.
  • Releases → Automation Core / Data & Storage: a Project Release snapshots flows, tables, and connections, cross-referenced by externalId.
  • AI → Automation Core: the Agent step and Knowledge Base tools consume AI Providers and AI Credits.