How it works
Concepts
The records Clankie keeps and how they connect, from a project to a production incident. Decisions are the unit you review; everything else is context or proof.
On this page
The shape of it
Clankie is the always-on system underneath: memory, agent-driven setup, parallel workers, local Mac and always-on Clankie Cloud instances, proof artifacts, and policy controls. The loop below is our sensible default built on those primitives, not a rigid pipeline: teams can verify in a sandbox, test in staging, dark-launch under a feature flag, patch straight to prod, or widen through a canary.
-
01Project
Agent-configured defaults: code host, check profiles, release policy, and people
- 02Thread An ask and the work it starts: lead plan, hired workers, asks, and receipts
Project
A body of work with its own code host (or none), check profiles, release policy, autonomy boundary, and people. A Clankie lead handles setup for each project during onboarding, picks sensible defaults, and keeps tuning project knobs as real runs and releases come back. The Feed can be filtered by project. A project's settings decide which adapters it uses; see Adapters.
Thread
An ask and the work that follows it: the lead agent's plan, the workers it hired, their progress, asks and receipts. Correcting a decision opens or reuses a thread, so history is kept and a retry happens in the same place.
Decision
The unit you review. Workers log a decision at each material gap: the choice, why, the alternatives, where your intent supports it, and the risk facts. The decision log and the code are authoritative; a living wiki is generated from them.
| Field | What it holds |
|---|---|
id, revision |
A stable ID. The revision increments on every material edit. |
refs |
Project, and optionally thread, issue, run and the PR or MR on the project's code host. |
chosenBehavior |
The headline: what will happen, in plain language. |
rationale, alternatives |
Why, and the tradeoffs of the options not taken. |
intentAnchors |
Quotes from the ask, an issue, a thread, a doc or an earlier decision that support the choice. |
evidence, limitations |
The proof, and what it doesn't prove. |
risk |
Facts that set the Feed class (below). |
sourceRevision |
The commit (or equivalent) the decision and its evidence describe. |
status |
pending, approved, rejected or superseded. |
Risk classes and the Feed
The Feed is the only place Clankie asks you for anything. It is ordered by risk, newest first within each class:
- Hard stop. A fact that stops the affected action until you answer, such as money, accounts, data loss or security. Unknown impact in a hard-stop area is also a hard stop. Only the affected action waits; independent work continues.
- Shaky. Permitted, but short of low risk. Pinned so you see it.
- Low risk. Needs all of: intent support, current acceptance evidence, narrow impact, a demonstrated way to reverse it, no hard-stop fact, and no impact on a hard-stop area.
Evidence
Proof attached to a decision. Kinds are recording, check, load-test, base-comparison, screenshot and log. Each piece records the environment it ran in and its outcome.
Review
You choose per project which changes wait for an upfront answer and which ones Clankie acts on autonomously within policy.
- Upfront review (Approve, Ask, or Reject): for high-impact changes you want to gate, Approve accepts a narrowly bounded next step, Ask questions the agents before deciding, and Reject opens a correction thread linked to the Feed card. A changed source revision always needs a fresh review.
- After-the-fact artifacts: for delegated fixes, routines, and triage within policy, Clankie acts right away without stalling on you, and leaves the full decision record, diff, proof, and one-tap rollback waiting on your devices.
- Each ask has one answer card, in the Feed. You never answer the same ask in two places.
Approvals are signed by your device
When you approve, your paired iPhone or Mac signs the answer with a key that never leaves the device. The signed approval names the decision and its revision, the one action it allows and the one worker it applies to, and it expires. The worker checks the signature itself. Anyone can carry an approval to the worker, including the lead, but only your device can make one, so a passed-on "yes" is never mistaken for yours. Each approval works once.
Rollout
The release path that follows verification and policy checks. Depending on project policy and risk, a change can patch straight to 100% of prod, land dark behind a feature flag for the agent to verify on its own cohort before widening, pass through staging, or widen stage by stage through a canary while health holds. See Rollouts and triage.
Triage incident
A health breach verified against the live revision. Triage handles remediation automatically within your project's policy (roll forward with a fix, pause, or roll back) without waiting for a manual decision, leaves the diff, replay proof, and one-tap revert on your devices, and files an evidence-backed bug to the project lead.
Security guard
On every Mac or Clankie Cloud environment where Clankie runs, an always-on security guard watches two surfaces:
- Application and production surface: trust boundaries, exposure, hard-stop security/auth/data areas, and suspicious changes or incidents.
- Host machine running agents: extends
clankie doctorwith continuous read-only checks for SSH/lateral-movement exposure, persistence/LaunchAgent drift, MCP and supply-chain IOCs, and browser/OS security lag.
Lead, workers and authority
A lead agent sets up the project, turns an ask into a plan, routes work to the worker with the right context, and brings in extra workers on demand (several in parallel when helpful). Each worker has one name, the same in the app, in the decision cards it writes and on the machine it runs on. Messages a worker receives show who really sent them. Authority is set for all work, with per-project overrides:
- Auto lets the lead keep working without waiting for you; Auto on a project lets the lead pick standing backlog work.
- Autonomy is off, low, high or full.
- Watch is read-only.
These controls can't be removed by disabling an extension.