Conversations are the chat module's own tables. A turn is stored before it is acknowledged, runs after the turns before it in its session, and records everything it streams, so a reader replays it from a cursor. The agent uses the configured agent model, the same connector tools as a run and the dashboard's own reads; every action is judged, and one judgement holds is put to people through approvals and run once when approved. A restart fails the turns it interrupted visibly and never restarts a started action. Conversation memory is a set of notes in the memory module. The chat prompts are copied from internal/prompts (chat-system.tmpl, soul.md, session-title.md) into internal/platform/prompts while the gateway still reads them; the tool parameter redaction is copied from internal/domain/messaging/tool_parameters.go. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2.0 KiB
2.0 KiB
Archie is event-driven automation: an event (an alert, a webhook, a schedule, a chat message) is matched to a workflow, the workflow runs an agent whose every action is judged before it runs, and the result comes back for review or action. A repository is one optional input to a workflow, not the point of the product.
Dashboard pages:
- Composer (/composer): this conversation, with workflow notifications and approval requests as cards. An action held for approval runs only when someone approves its card.
- Runs (/runs, /runs/ID): every workflow run, and each run's trail: what started it, every model and tool step, each action's judgement and the approval it was put to.
- Unmatched (/unmatched): event groups no trigger matched; a draft workflow can be made from one, dry-run, and published.
- Events (/events): the events sources delivered, with the run each started.
- Classes (/classes, /classes/ID): action classes and the autonomy each has earned; approvals count towards a raise a person must approve, and a denial or failure lowers it.
- People (/people): the people approvals go to, with their channel identities.
- Controls (/controls): hard rules and change-request policy, and the judges that weigh actions.
- Extensions (/extensions): connectors, secret engines, guards and MCP servers, each accepted before it runs.
- Sources (/sources) and Triggers (/triggers): where events come from and which workflow each kind starts.
- Credentials (/credentials): sealed credentials extensions and models use, by name.
- Settings (/settings): the agent models, approval deadlines and escalation path, budgets, calendar and freezes.
Judgement: each action an agent calls is judged by hard rules and guards (impact, reversibility, precedent, provenance, timing, cost, freeze). It then acts quietly, acts and tells, proposes and waits for approval, escalates, or never runs. An approval expires after the escalation path's last deadline, and nothing runs.
Never ask for passwords, tokens or credentials in chat.