Commit Graph
3667 Commits
Author SHA1 Message Date
sam bc4ac4436d docs(connectors): clarify catalogue and guard comments (#2119) 2026-11-27 02:21:13 +11:00
sam c538017523 fix(connectors): verify the default catalogue and roll back failed updates (#2119)
Adapt OCI reads from internal/infrastructure/signedoci and internal/infrastructure/storepkg. Keep the legacy readers while their callers still use them.
2026-11-27 02:19:21 +11:00
sam 2ea0062bef feat(ui,judgement,system): unify nav, surface built-in guards, readiness and decision reasoning 2026-11-27 02:13:28 +11:00
sam 5dc2d79fdb Merge pull request 'fix(events): scope mappings to source owners' (#2131) from fix/events-private-source-mapping-visibility into main
Reviewed-on: #2131
2026-11-26 10:49:47 +00:00
sam f0f09e9189 fix(events): enforce source ownership for mappings
Quality / check (pull_request) Successful in 10m21s
2026-11-26 20:35:40 +11:00
sam 8bf3ace96b feat(governance,chat): size a model's chat history by its own window (#2018)
The replay budget was fixed at half of an assumed 128k window, so a small
local model was still handed more history than it accepts.

A model now carries the context window and output limit the published
catalogue gives it, read once into the state directory and cached on
disk. Chat holds its replay to the window minus the reply and an eighth
for the system prompt and tools, and keeps the assumed budget only for a
model the catalogue publishes nothing about.
2026-11-26 04:20:11 +11:00
sam 8dd28b90be feat(chat): hold a long conversation inside the model's window (#2018)
A reply was replayed with a fixed twenty earlier turns, so a long
conversation either lost its older context or, with large replies, sent
more than the model accepts and failed the request. The replay now reads
up to two hundred turns and replaces the middle of what it cannot carry
with one summary message, keeping the newest twenty messages and always
the question being answered.

Carried from internal/gateway's compression.go before that package is
retired: the same conservative token estimate (four ASCII characters or
one non-ASCII rune), the same 50%-of-window budget, and a summary that
says what was dropped. The budget is fixed rather than derived from the
model because the module is told a model's name and nothing about its
window.
2026-11-26 04:17:16 +11:00
sam e4663c22c0 fix(ui/events): frame the Map and Bind steps as cards
Both steps drew their actions in a bare row above a bare empty state, so
they looked like nothing else on the page. Each is now one card with its
actions in the header, and the Installed playbooks link is a button
rather than a stray underline beside one.
2026-11-26 03:47:57 +11:00
sam fa4a078a34 fix(ui/settings): filter packages in place instead of remounting
The list was keyed on the active kind, so every switch remounted it and
showed its skeleton before the same packages came back. The rows are
already filtered from one read, so the keys only threw work away.
2026-11-26 03:47:57 +11:00
sam f27317738d fix(ui/events): mount every step so switching shows no loading state
KeepAlive removed the skeleton on a revisit but not on a first visit, so
tabbing through the steps still flashed. Every panel now mounts when the
page opens and only the active one is on screen, so a switch shows what
was already read. The wrapper is a single element because a panel whose
template is a fragment cannot be hidden with v-show.

usePoll goes back to reading only document.hidden, since nothing is kept
alive and deactivated any more.
2026-11-26 03:47:57 +11:00
sam a7686042e5 fix(ui/dashboard): filter recent runs with tabs
Every other list that switches between a few states uses Tabs, such as
Proposals. Recent Runs was the only one built from ToggleGroup, which is
a form choice elsewhere.
2026-11-26 01:59:32 +11:00
sam bc031880bf fix(ui/events): keep the open step alive across tab switches
Each switch remounted the panel under `<component :is>`'s key, so it
started with no data and showed its skeleton before the read landed.
KeepAlive keeps every visited step mounted, so returning shows what it
already read. A step that is only polled (Events) pauses while hidden.
2026-11-26 01:59:29 +11:00
sam eb7d852567 refactor(ui/chat): remove chat features the server never sends
The dashboard talks only to the modules/chat API, which sends no slash
commands, model list, voice support, attachments or any question other
than an approval, so the UI built on those could never appear:

- the slash command menu, Retry, Undo, Branch and Preview compression in
  the More menu, and the /model, /update and /new handling
- the model picker, the update card and the api.update* calls
- voice recording and the task tags nothing ever added
- the questionnaire, picker and clarify cards, and the "Always this
  session" answer, so components/ui/questionnaire loses its last user
- channel.ts, command-scroll.ts and turn.ts, which nothing imported
- the old dock-storage migration and the second capitalised spelling of
  message and tool fields

Tasks are gone from the binary too, so chat links and prompts speak of
runs: the #N task-link step in the markdown renderer goes, since an agent
already links pages through dashboard_navigate.

state.ts keeps the shared state and actions; types.ts, stream.ts,
transcript.ts, escape.ts and dock-window.ts hold the types, the stream
reader, turn-to-message building, Escape layers and the dock's pointer
and keyboard handling. ChatDock.vue drops from 560 lines to 307.
2026-11-26 01:59:26 +11:00
sam 8c9c19efb0 chore(ui/accounts): tighten account page copy per Vale 2026-11-26 00:03:20 +11:00
sam cd8fad1b66 fix(ui/accounts): fill password input column flush with submit button 2026-11-25 23:55:28 +11:00
sam 2d83b50837 fix(ui/accounts): fix welcome banner wrapping and unify account section layout 2026-11-25 23:34:16 +11:00
sam 4b399e44aa fix(ui/chat): fix dock drag/resize bounds and dynamic slash command loader 2026-11-25 23:34:16 +11:00
sam 7904ccdfe0 fix(ui/chat): wrap TokenInput children in flex row and fix placeholder 2026-11-25 23:06:46 +11:00
sam 56dbb31923 build(dev,chat): point dev server at archie and wire chat pages catalogue 2026-11-25 23:05:04 +11:00
sam 74a560533e feat(ui): integrate @ui-sdk for schedules, chat composer, and agent bridge 2026-11-25 22:40:44 +11:00
sam 6127ded28d Revert "feat(ui): add an isolated UI SDK lab under devtools"
This reverts commit fe4d574976.
2026-11-25 22:12:57 +11:00
sam fe4d574976 feat(ui): add an isolated UI SDK lab under devtools
The lab is a dev-only route and a standalone entry so beta SDK patterns stay
out of shipped pages while they are evaluated.
2026-11-25 22:11:42 +11:00
sam c9ed3b1ae2 feat(connectors): version packages and pin installations
A package is now a set of immutable versions with declared grants and a
default version that installations run unless they pin another. Adopting a
version is what accepts its grants, replacing the per-extension lifecycle
actions with version, pin and update-policy commands.
2026-11-25 22:10:06 +11:00
sam afdb0a0c97 fix(ui): improve contrast across shared surfaces 2026-11-24 08:50:30 +11:00
sam d1e85c6e2a fix(ui): use dashboard typography in traces 2026-11-24 08:36:30 +11:00
sam 16f17f702c fix(ui): unify dashboard surfaces and selection 2026-11-24 08:33:07 +11:00
sam ba077f3779 fix(events): route webhooks by source UUID (#2127) 2026-11-24 08:07:09 +11:00
sam 58f1f9ce57 fix(ui): consolidate webhook source management 2026-11-24 07:59:24 +11:00
sam 19b273a87b fix(ui): label the add source form 2026-11-24 07:50:57 +11:00
sam ef3b5f98ea chore: cleanup spotnote 2026-11-24 07:50:13 +11:00
sam 26e19f3de4 feat(governance,connectors,ui): identify model providers and keys by UUID (#2129) 2026-11-24 06:52:58 +11:00
sam c5591d95da feat(judgement,approvals): link decisions and approval requests by action_type_id (#2130) 2026-11-24 06:23:19 +11:00
sam 1c10378a40 refactor(events,proposals,runs,ui): rename declared event type fields to declared_event_type (#2128) 2026-11-24 06:19:35 +11:00
sam efe7069bc1 feat(events,proposals,ui): identify triggers by immutable UUID (#2126) 2026-11-24 05:36:52 +11:00
sam 67ce2901a5 feat(runs,events,ui): identify workflows by immutable UUID (#2125) 2026-11-24 05:20:18 +11:00
sam 21d1d2e8bf docs: add design system and product specs
- Add DESIGN.md and .impeccable tokens/config for the Archie design system
- Add PRODUCT.md capturing platform, users and positioning
2026-11-24 04:52:58 +11:00
sam dd57e6563a docs: use active voice across rules, docs and prompts
Fix every Google.Passive finding in the tracked tree: 161 reports across 24 files, including the AGENTS.md symlink duplicate. Vale at suggestion level now reports none. Every rule, invariant, prompt instruction, placeholder and technical claim is preserved.
2026-11-24 03:42:29 +11:00
sam da941f05aa docs(ui): use active voice in the UI rules
Vale suggestion level is now clean for the file. The same pass replaced the e.g. abbreviations, removed the first-person asides, and replaced the anthropomorphic 'sees'.
2026-11-24 03:34:52 +11:00
sam 9c04b74e6f docs: fix Vale prose findings across comments, docs and prompts
Run Vale over every tracked Go, Markdown and template file and fix the remaining findings: long sentences, repetition, UI verbs, identifiers that should be backticked, and migration narration in comments.

AGENTS.md and CLAUDE.md keep their absolute rules; the prompt heuristic against repeated absolutes is disabled for rule files.
2026-11-24 03:26:16 +11:00
sam 152e7b4d2f chore(ui): add proposals to the page catalogue (#1995) 2026-11-24 03:11:35 +11:00
sam 911152c9d1 merge: proposals module (#1995)
# Conflicts:
#	internal/platform/pg/migrations/00008_drafts.sql
#	modules/drafts/drafts.go
#	modules/drafts/internal/store/store.go
2026-11-24 03:11:07 +11:00
sam 0d25c93ea0 merge: event source IDs and scopes (#2127, #2027)
# Conflicts:
#	api/openapi.yaml
#	modules/events/events.go
2026-11-24 03:09:12 +11:00
sam bed51c4bd1 merge: connector packages and scoped installations (#2027) 2026-11-24 03:08:52 +11:00
sam f24c2b4455 feat(connectors): separate packages from scoped installations (#2027)
Packages are accepted once by the instance. Installations configure them at the instance, an organisation or a person; bindings and credentials resolve the person's, then their organisation's, then the instance's. Decisions, approval requests and held chat actions record the installation and scope that acted.

The dashboard lists packages separately from installations, shows every installation's scope, and creates, edits and disables installations at their scope.
2026-11-24 03:05:27 +11:00
sam 2ae793cc94 feat(ui): replace the drafts page with proposals (#1995) 2026-11-24 02:44:31 +11:00
sam b47e98e25f feat(proposals): add the proposals module and fold drafts and memory proposals into it (#1995) 2026-11-24 02:44:31 +11:00
sam 8265e99466 feat(runs): run an approved proposal's actions in a durable workflow step (#1995) 2026-11-24 02:44:31 +11:00
sam 30aa351eb6 feat(events,drafts): give sources an immutable id and a scope (#2127, #2027)
A source is keyed by a uuid, owned by the organisation or one person, and
labelled within that scope. The webhook path is a separate unique column, so
renaming either leaves stored events, event types, triggers, groups, mappings
and drafts alone. Delivery policies, sealed secrets and group keys use the id.
2026-11-24 02:43:51 +11:00
sam 7e701f9a50 feat(pg): add alerts, proposals, audit log, invites, chat limits and connector installations to the baselines (#2025, #1995, #2019, #2110, #2074, #2075, #2124, #2027) 2026-11-24 02:28:56 +11:00
sam 4a9f30ef04 fix(judgement,runs,approvals): record immutable identity IDs for attribution (#2122) 2026-11-24 02:23:23 +11:00