Files
archie/internal/platform/pg/migrations/00051_governance_instructions.sql
T
sam eadb88d3bf feat(governance): serve the organisation's instructions to every agent (#2023)
The organisation's standing instructions are stored per organisation and
join the system prompt of chat turns and workflow agent steps. The Org
configuration group is served: schedules, alert webhook, playbooks,
models, connections and credential bindings open the page that already
owns the concept.
2026-11-22 11:24:25 +11:00

12 lines
362 B
SQL

-- +goose Up
-- The organisation's standing instructions to its agents, appended after how
-- Archie works wherever an agent's system prompt is assembled.
CREATE TABLE governance.instructions (
org_id text PRIMARY KEY,
body text NOT NULL,
updated_at timestamptz NOT NULL DEFAULT now()
);
-- +goose Down
DROP TABLE governance.instructions;