Repository navigation
Diagrams
Interactive Archify diagrams for CronCompose architecture, sequences, lifecycles, and data flow. PNGs below are static previews; open the linked HTML for pan / theme / source links (download the HTML from this wiki and open it locally in a browser).
In a running control plane, the signed-in Architecture page also embeds the runtime map at /app/architecture.
Public marketing surface, signed-in deploy path, and mTLS agents.

Interactive HTML · Source: control plane, agent, and web UI (see repo docs/architecture.md)
What to look for
- Control plane host vs managed Linux server boundaries
- Session + role gates on the REST surface
- Agents dial out over mTLS; deploys and connector logs stay on that stream
One-time REST enroll, then mTLS stream for job sync and live logs.

Interactive HTML · Related: Agent Protocol · How it Works
Phases
- Enroll — operator mints a token; agent exchanges CSR for a client cert
-
Connect + sync —
AgentStream,Hello,SyncJobs,ConfigAck -
Run + logs — local cron →
RunStarted/LogChunk/RunFinished→ SSE to the UI
Agent-originated runs: admit, execute, terminate.

Interactive HTML · Related: Data Model · ADR-001 in Design Decisions
| Status | Meaning |
|---|---|
pending |
Run id minted |
running |
Script executing under timeout / limits |
succeeded |
Exit 0 |
skipped |
Concurrency policy skip while already in progress |
failed / timed_out / canceled
|
Terminal error paths |
Definitions flow down; runs and logs flow up — offline-safe.

Interactive HTML · Related: Architecture · Security
Left → right
- Job editor + secrets → Postgres definitions
-
SyncJobsover mTLS → agent bbolt cache - Local cron executes → outbox buffers events
- Upsert into Postgres →
LogBroker→ SSE run view
+---------------------------------------------------------------+
| Control Plane |
| Next.js UI --REST/SSE--> Fiber API <--> PostgreSQL |
| ^ |
| | gRPC bidi stream (mTLS) |
+----------------------------------|----------------------------+
| (agents always dial OUT)
+--------------------+--------------------+
| | |
Raspberry Pi EC2 bare-metal
Diagrams are authored as Archify candidates under .archify/ in the main repository and finalized with the Archify CLI (architecture, sequence, lifecycle, dataflow). PNGs and HTML in this folder (docs/wiki/diagrams, docs/wiki/html) are the in-repo copies; the same assets are published on the GitHub wiki.