Commit Graph
3618 Commits
Author SHA1 Message Date
sam 4a9f30ef04 fix(judgement,runs,approvals): record immutable identity IDs for attribution (#2122) 2026-11-24 02:23:23 +11:00
sam eb4136ffe6 chore(pg): squash module schemas into baseline migrations 2026-11-24 02:23:23 +11:00
sam 383d7d6dad chore(vale): configure Vale prose linting and house rules 2026-11-24 02:02:00 +11:00
sam dad6924a0c docs: normalise Australian English and prose across comments and docs 2026-11-24 02:02:00 +11:00
sam de05bc2cbd feat(runs): show each step's summary and target on the run page
- a finished top-level step records its summary and target in a done marker; stages return them
- a message step's summary is the message, and its target the channel and chat
- the trail no longer lists the engine's markers as entries
- run page: short run ID in the breadcrumb, copyable IDs, version badge, step rows from stages, No output for an empty result
- event detail: No payload for an empty body, and links only the dispatches that started a run
- ui/AGENTS.md lists the components that exist
2026-11-24 00:04:20 +11:00
sam 2bfb262e9c docs(judgement,events): state comments plainly 2026-11-23 23:46:27 +11:00
sam 0ad4374a2a refactor(judgement): rename action classes to action types and raises to autonomy proposals
- tables judgement.action_types, action_type_resets, action_type_approvals and autonomy_proposals (migration 00063)
- governance setting propose_autonomy_after, approval request kind autonomy, policy resource kind action_type
- /api/action-types replaces /api/classes; the detail lists autonomy_proposals
- an autonomy proposal stores the identity ID of the account that answered it
2026-11-23 23:43:45 +11:00
sam 7f5220dea3 feat(events): record failed, denied and disabled trigger outcomes (#2117)
- a mapping failure is recorded as failed, with the value found at each mistyped path
- an access policy refusal and a disabled workflow are recorded as denied and disabled
- migration 00062 renames existing skipped dispatches to failed
2026-11-23 23:35:35 +11:00
sam 4b60033429 docs: clarify decision and attribution guidance
- clarify that existing codebase patterns also count as decisions not to ask about
- add guidance that foreign keys reference immutable primary IDs, with labels stored separately only for snapshots
2026-11-23 23:32:40 +11:00
sam 062336db91 refactor: rename denial records to access decisions
- rename governance.access_denials table, indexes and API types via migration 00061
- expose /api/access/decisions and decisions payload; keep audit auth unchanged
- rename UI store, page and route from denials to decisions
2026-11-23 02:03:35 +11:00
sam 60d9b6b7aa feat: record access decisions, not just denials
- add an outcome column and migration so allowed and denied decisions share one audit trail
- fail closed when an allowed decision cannot be recorded
- expose outcome filtering in the API and dashboard

Route chat through the recording authorizer so its decisions are audited too.
2026-11-23 01:00:46 +11:00
sam e1ada94d78 fix: redact link codes and guard shipped policies
- redact single-use link codes from stored account.link events after handling, with a migration to scrub existing rows
- refuse deletion of shipped org policies and hide the delete action in the UI
- validate agent step models against the workflow model policy at save time, including the default model
2026-11-23 00:38:54 +11:00
sam 8c267b6edd feat: record skipped dispatches and approver ids
- store trigger dispatches as started or skipped, with a JSON reason surfaced in the API and UI
- persist the answering account's identity id beside its display name for approvals and judgements
- save connector acceptances and their declarations in one transaction so a refused change stores nothing
2026-11-22 23:24:30 +11:00
sam 33f7ebdff4 feat: add member candidates endpoint and approvals page
- serve active identities outside the org at /api/orgs/{id}/member-candidates and back the members page from it
- add an org approvals page for default owner, deadline and escalation path over /api/settings
2026-11-22 23:03:01 +11:00
sam e801306c15 docs(deliveries): say what each field, lease and refusal does 2026-11-22 22:31:55 +11:00
sam 4707427759 feat: trust configured proxies for webhook intake
- add trusted proxy settings, migration, API, and UI
- derive client addresses from X-Forwarded-For behind trusted hops
- enforce delivery policy for listener batches and record denials
2026-11-22 22:29:36 +11:00
sam faeaa0d7f0 fix: deny orgs without active org policies
- refuse authorization when an org has no stored org-level policies instead of falling through the narrowed chain
- seed tests with shipped org policies and cover the deny-by-default cases
2026-11-22 22:19:07 +11:00
sam 240dc52226 chore: remove technical-prose-cleanup skill 2026-11-22 20:02:26 +11:00
sam 7f89b03507 chore(ui/settings): delete the unused forge connection card (#2063) 2026-11-22 15:44:17 +11:00
sam 787a213db6 Merge branch 'main' into worktree-agent-ac0944b265396932d
# Conflicts:
#	modules/governance/accounts_api.go
2026-11-22 15:42:43 +11:00
sam 3e4b020311 feat(ui): extensions and models pages run on the binary's API (#2063) 2026-11-22 15:41:44 +11:00
sam 51a1cf5128 feat(governance): model aliases resolve through providers with a policy (#2063) 2026-11-22 15:41:40 +11:00
sam d9e993e2b9 feat(connectors): install and update extensions from a signed catalogue (#2063) 2026-11-22 15:41:33 +11:00
sam de3bfe296d refactor(runs): adopt go fix output in the workflow catalogue test (#2061) 2026-11-22 13:54:09 +11:00
sam 53719c6859 fix(ui/workflows): a deleted workflow is not written back and a started run is followed (#2061) 2026-11-22 13:54:09 +11:00
sam 456c08751a refactor(ui/workflows): read triggers from the binary's API (#2061) 2026-11-22 13:54:09 +11:00
sam 07d14c8d50 merge main into the workflow editor branch (#2061) 2026-11-22 11:48:30 +11:00
sam c1b4ba2b6b wip(ui/workflows): visual editor on the binary's API (#2061) 2026-11-22 11:48:13 +11:00
sam 84284d59c3 refactor(events): split trigger firing and target checks to keep complexity in bounds (#2062) 2026-11-22 11:47:32 +11:00
sam 5c8fb901f9 feat(ui/events): captures, mappings and bindings run on the binary's API (#2062, #2098)
The Capture, Map and Bind steps read the module's captures, event types,
mappings and triggers. A binding is a trigger bound to an event type; the
sources panel creates HMAC sources and shows each delivery's verification
result. The workspace filter is removed: the binary has one workspace per
organisation and the data carries none.
2026-11-22 11:46:02 +11:00
sam 501338ffbd fix(events): a delete blocked by a restricting reference answers 409 (#2062) 2026-11-22 11:46:02 +11:00
sam 61f576a25c feat(events): capture, event types, mappings and trigger approval on the binary (#2062, #2098)
Event types, field mappings and the stored-delivery inspector move into
modules/events: copied from internal/domain/eventtype and
internal/domain/mapping, which the old services still import. Each stored
event records how its delivery was verified; a source that checks nothing
refuses deliveries until approved; triggers gain approve, pause, resume,
event-type and mapping binding, dispatch history and delete. The captures,
mappings and bindings sections are reported as served.
2026-11-22 11:39:46 +11:00
sam a5826156a3 feat(runs): filter runs by workflow and name each tool call in a trail entry (#2061) 2026-11-22 11:36:08 +11:00
sam 682995bdf7 feat(runs): workflow drafts, publish with an expected version, delete, enabled flag, run on demand, run stages and statistics (#2061, #2113, #2098)
A disabled workflow is never started by a trigger, another workflow or a
person. Delete is refused while a trigger, another workflow or a run in
progress names it. A parked or ended run restarts from a step.
2026-11-22 11:34:49 +11:00
sam 9c0d043b57 fix(ui): list only organisation pages in the organisation sidebar (#2023) 2026-11-22 11:26:23 +11:00
sam aefe2b81e9 Merge branch 'main' into worktree-org-config
# Conflicts:
#	ui/src/schedules/SchedulesPage.vue
2026-11-22 11:24:30 +11:00
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
sam 8b9f5b2c60 Merge branch 'worktree-agent-ac438bec8bd1f2684' 2026-11-22 11:21:44 +11:00
sam a420b742e8 fix(events): save token and none sources with an empty secret instead of NULL (#2112) 2026-11-22 11:21:28 +11:00
sam bc56b71539 Merge branch 'main' into worktree-agent-a6a4a1df2423fa389 2026-11-22 11:18:05 +11:00
sam a1347dbfc8 fix(ui/data-table): keep the growing column readable and hide secondary columns on narrow screens (#2023) 2026-11-22 11:18:04 +11:00
sam 34c97ce8e8 chore(ui): regenerate the page catalogue for the Status page (#2023) 2026-11-22 11:17:23 +11:00
sam bd212ec9ac Merge branch 'worktree-agent-a521e2c3ea8457fdc'
# Conflicts:
#	modules/governance/accounts_api.go
2026-11-22 11:16:42 +11:00
sam 037ab0623a feat(ui): serve Home and Status from the binary's health, approvals and runs (#2023) 2026-11-22 02:44:14 +11:00
sam 9aceaa15bc feat(system): report module, connector and runner health and what waits on a person (#2023) 2026-11-22 02:44:13 +11:00
sam 0a2aeb65ce feat(ui): members, policies and denials pages use the binary's access API (#2023) 2026-11-22 02:43:06 +11:00
sam 5004e8b40b feat(governance): serve members, access policies and denials (#2023) 2026-11-22 02:43:06 +11:00
sam 9c5af2c2d3 feat(ui/events,settings): give the event, source, trigger, model, credential and extension lists the original layout (#2023)
Tables use fixed column widths and the ghost add button. The models page
keeps the aliases section with one inline row per alias.
2026-11-22 02:36:13 +11:00
sam f8c572ebef feat(ui/controls): split the controls page into rules, guards and action classes (#2023) 2026-11-22 02:34:14 +11:00
sam e72d9313e2 feat(ui/runs): compose the runs list and run page from the workflow list patterns (#2023)
The list has a filter and a right-click menu, an error column and
fixed widths. The run page merges its details and where the run came from,
and leaves out sections that have nothing in them.
2026-11-22 02:33:37 +11:00