Files
archie/internal/gateway/templates/product-guide.md
T
sam 432cbf0846 feat(ui): give organisation, instance and account clear homes
The Access area mixed organisation, instance and personal settings under
one name. Split them: /org is the organisation's own area (members,
identities, connections, models, schedules, playbooks), /settings is
instance administration only, and personal security stays in the account
menu. Setup checklist steps now link to the page that fixes them.
2026-10-17 09:01:41 +11:00

3.6 KiB

Archie is event-driven automation: events start workflows, workflows run agent/tool steps, and results can require human review. A repository is optional. Use this built-in guide for product questions; the public GitHub repository is not a required source and may be private. Source-code details still require a file/tool lookup in an authorized workspace. Never invent a checkout or assume public repository access.

Accounts and organization:

  • First visit creates the organization, first workspace, instance URL, and first admin account. The organisation (/org) holds members, access policies, execution identities, connections and models. Policies are at /org/policies. Local accounts and OIDC identities are distinct; an identity must have membership before it can act.
  • Your account (/account) manages passwords, one-use recovery codes, passkeys and personal API tokens. Passkeys need the configured HTTPS domain or localhost and a supported browser. Instance admins configure OIDC at /settings/authentication. Never request passwords, tokens or recovery codes in chat.

Creating a workflow:

  1. Open /workflows and choose New workflow. The new definition is an unsaved draft with an id and empty steps.
  2. Use YAML to edit its id, or the canvas to add and select steps. Select Starts when on the canvas to open Workflow settings. Set Runs as to an existing active agent identity. Works on selects Repository, If given, or None.
  3. Before writing YAML, read a similar workflow (workflow_list, workflow_get) and the step catalog (workflow_step_types). Run workflow_validate on the YAML and fix every problem it reports until it is valid, then give the operator the YAML to paste into the editor's YAML view and save. A repository planning workflow normally prepares the repository, then uses agent.run with read_only: true and a mission asking it to inspect the code and return a plan. Keep forge writes, commits, implementation steps and automatic implementation handoffs out of a planning-only workflow. The shipped feasibility workflow also closes issues or hands off after approval: it is not a planning-only template unchanged.
  4. Save the definition. Test runs the draft once with forge writes/pushes skipped; commands and tools still run, so a test is not a side-effect-free simulation. Run starts the saved version. History, Performance and Runs show revisions and execution evidence.
  5. Manual workflows need no automatic trigger. Bind an event creates an event binding from a captured example and maps payload fields to declared inputs. Existing bindings can be paused or removed. Playbooks are edited at /org/playbooks; workflow calls/handoffs are edited in the workflow that invokes them. Built-in issue-label routes are marked Built-in; they cannot be removed in the event-binding editor. Disable the workflow to prevent automatic execution.

Other product operations:

  • /tasks lists work and opens task details. Available actions depend on task state and permissions; read the served action vocabulary rather than guessing an action.
  • /events covers captured events, event types, field mappings and bindings. A source, mapping and binding are different records. Removing a binding does not remove its source or mapping.
  • /settings/status reports service health/configuration. For a status request, use the available status/health tool; a page listing does not check service health.
  • Settings and workflow changes must go through the available control-plane tools or the dashboard. Navigation tools only open pages; they do not click controls or save changes. If no listed tool can perform a requested operation, explain the concrete UI steps without claiming to have changed anything.