Atomic / Evolution Deck
Atomic++ / transport architecture

One harness.
Many doors.

Build Telegram, Slack, and GitHub adapters around Atomic’s existing control and evidence contracts—not around provider-specific prompt strings. The bridge owns transport concerns; Atomic owns execution truth.

Canonical envelope

Normalize at the edge, preserve at the core

{
  "event_id": "provider-native-id",
  "transport": "telegram | slack | github",
  "conversation": { "chat_id": "opaque", "thread_id": "opaque" },
  "actor": { "id": "opaque", "display": "verbatim" },
  "text": "verbatim inbound text",
  "action": "launch | status | steer | pause | resume | interrupt | quit",
  "reply_to": "optional provider id",
  "received_at": "provider timestamp"
}

Keep provider IDs and text verbatim; add derived routing fields without mutating the original payload. Persist the envelope before dispatch.

Adapter boundary

Three transports, one policy

Telegram: webhook or long-poll update → chat/thread mapping → signed action parser.

Slack: Events API plus slash-command acknowledgements → thread mapping → same action parser.

GitHub: issue/comment/webhook → repository/ref mapping → workflow launch or evidence reply.

Atomic++ control plane

Grok compatibility without Grok coupling

The useful bridge patterns are transport loops, concise routing, thread-aware context, retries, operator-visible status, and safe command parsing. Atomic++ keeps those behaviors but replaces ad-hoc process state with the canonical envelope, durable event IDs, authorization policy, workflow run IDs, and artifact-backed evidence. The existing Grok bridge remains outside this project and is not modified by this site.

Secret boundary. Provider tokens stay in the service environment or protected file, never in HTML, source, receipts, logs, URLs, or screenshots. The site documents the interface, not credentials.

Delivery invariants

InvariantCheckAtomic anchor
At-least-once input, exactly-once effectPersist event_id before dispatch; repeated delivery returns the existing run/receipt.packages/workflows/src/durable/dbos-envelope.ts packages/workflows/src/durable/dbos-backend.ts
No cross-tenant controlAuthorize actor and group before broker/control admission.packages/intercom/broker/group-isolation.ts packages/intercom/broker/client-message-validation.ts
No silent state inventionUnknown/ambiguous/terminal targets produce explicit errors.packages/workflows/src/extension/workflow-run-control-command.ts packages/workflows/src/durable/resume-eligibility.ts
Evidence stays inspectableReply with run ID, status, artifact paths, and sanitized receipt; never claim completion from prose.packages/workflows/builtin/goal-reports.ts packages/workflows/builtin/goal-reducer.ts packages/intercom/result-renderers.ts

Usage & cost across Telegram, Slack, GitHub, and Grok-compatible adapters

Adapters must carry reported usage as optional ledger fields without converting a provider omission into zero or an estimate. Preserve raw provider/model IDs, event order, duplicate records, and conflict records in the durable envelope; the existing Grok bridge remains outside this repository and is not modified.

Open Usage & cost →