Commit Graph
2852 Commits
Author SHA1 Message Date
sam c7191cc618 fix(archied): bound task titles in chat notifications 2026-10-26 18:32:25 +11:00
sam 418c62c6d5 fix(ui): keep the chat dock open across navigation
Clicking any navigation control counted as an outside click, so the dock
collapsed on every route change and the conversation disappeared. Hide and
Escape remain the only ways to collapse it.

The e2e accessibility check referenced the removed outside-click launcher and
the old Close chat label; both now use the dock's real controls.
2026-10-26 18:28:32 +11:00
sam c14c71d784 fix(gateway): require a remote check before claiming branch or PR state
The chat agent read only its local checkout, so an unfetched workspace made it report that no task branch or PR existed and that shipped UI code did not exist. Add a core rule: refresh from the remote or check the forge before describing branches, commits, pull requests or the default branch, and say the answer is local-only when it cannot.
2026-10-26 18:28:32 +11:00
sam 24dd288df9 fix(workflow): report a parked run's outcome as the task's status
A run that parked left tc.Outcome empty, so the taskrun response carried an
empty status and the daemon logged 'taskrun run recorded no outcome' for a run
that had recorded one, then retried the park it could not apply.

Record the outcome once the parked transition lands, so a budget stop and every
other park surface with the reason the run parked.
2026-10-26 18:28:32 +11:00
sam a551c7d15e fix(gateway): cap task_spawn titles and carry instructions into the body 2026-10-26 18:24:47 +11:00
sam d5770987a2 fix(taskactions): let the operator chat act on every task, like the dashboard
A chat profile bound to the operator identity passed a strict scope to the
action gate, so it refused root-owned tasks whose identity is the daemon's
empty sentinel (task 22: belongs to "", not "d898c8c8-..."). The dashboard
acts with a nil scope and the chat read paths already treat the operator as
acting across identities, so the write gate was the only surface that disagreed.

Exempt the operator identity from the scope comparison and share that rule with
the chat adapters that had their own copy.
2026-10-26 18:24:47 +11:00
sam 98e631202e fix(controlplanerpc): attribute chat workflow drafts so saves succeed 2026-10-26 18:24:46 +11:00
sam c39d6a5200 fix(container): report a crashed container's panic line and log its stderr 2026-10-26 18:24:46 +11:00
sam a40ff52bd4 fix(workflow): record the own-PR flag after the review stages that allocate it
StagePRReviewAndOpenPR set tc.prReview.ownPR before the decision stages ran,
but intake allocates tc.prReview, so every implement run dereferenced a nil
state at repo.open-pr and the agent container panicked with exit code 2
before opening the pull request.
2026-10-26 18:07:01 +11:00
sam 46477b8e26 fix(daemon): issue poll and PR passes report failed items to the scheduler 2026-10-26 17:24:55 +11:00
sam d4e563a19c feat(ui): schedules table, runs page and Schedule trigger
Schedules list as a table with enable, run now, edit, duplicate, delete and
view runs; built-ins only enable, retime and run. The runs page links each
run's tasks through its capture's dispatches. The Start node gains a Schedule
trigger that picks or creates a schedule and binds the schedule source to the
workflow. Times show in a per-browser display zone set under Appearance; the
cron time zone and run retention are edited on the Schedules page.
2026-10-26 00:57:52 +11:00
sam 12dd3084e5 feat(workflow): message.send step delivers text through archied's messaging client 2026-10-26 00:56:07 +11:00
sam 67fa78736b feat(archied): run daemon maintenance as built-in schedules 2026-10-26 00:51:53 +11:00
sam 5815c383c6 feat(scheduling): schedules and runs in the State Store with grid timing and run history
Schedules leave the schedules control-plane resource for State Store tables
behind a ScheduleService contract. A run is claimed per schedule slot, missed
slots fire once, the next run stays on the schedule's grid, cron is read in the
schedule-settings time zone, and failed runs are recorded and advance. Three
failures in a row raise a schedule.failing alert. A fired run records a
schedule-fired capture. Run history is pruned by age and count.

Removes the chat and spawn-task runners, the dangerous-payload guard and the
old schedules settings page.
2026-10-26 00:49:24 +11:00
sam 0ef73d8f0e feat(eda): capture schedule firings on a reserved source for bindings 2026-10-26 00:38:55 +11:00
sam 423df0320f feat(daemon): built-in maintenance jobs and idle mirror pruning
Cycle's maintenance passes become a BuiltinJobs list for the scheduler to
seed as locked schedules. Mirrors use a file lock shared by every Manager
and held across refresh and clone, so pruning cannot race a clone.
2026-10-26 00:37:25 +11:00
sam 999c8aaa3d fix(extension): log go-plugin output through the service slog logger 2026-10-26 00:25:37 +11:00
sam dd916b5a8b fix(logging): route ui, messaging and playbook logs through the service log 2026-10-26 00:18:39 +11:00
sam 84f85c570d build(deps): bump ai-sdk to v0.6.0, nats.go, oras-go, go-jose and indirect deps 2026-10-26 00:18:39 +11:00
sam 1470027f54 fix(webui): name API spans after their route 2026-10-25 23:42:44 +11:00
sam aa6de6eb86 refactor(logging): log with the caller's context so records carry trace ids 2026-10-25 23:30:01 +11:00
sam 18101af821 feat(llm): trace model and tool calls via ai-sdk v0.5.0 2026-10-25 23:19:40 +11:00
sam 8524c38892 feat(agent): export container spans over NATS through archied 2026-10-25 23:17:34 +11:00
sam bc41094b14 feat(servicekit): OpenTelemetry tracer provider and RPC propagation 2026-10-25 23:11:03 +11:00
sam b30cb0b1db fix(memory): rotate a full section's oldest records to history 2026-10-25 23:10:15 +11:00
sam e6019c9f29 test(e2e): wait for audit dialogs to close 2026-10-25 23:05:27 +11:00
sam afc63fcf87 test(e2e): wait for audit dialogs to close 2026-10-25 23:04:56 +11:00
sam 960171622f feat(natsrpc): propagate trace context across NATS and into task runs 2026-10-25 23:03:55 +11:00
sam 20da81a384 test(e2e): audit page browser check 2026-10-25 23:00:44 +11:00
sam c23f92802e fix(audit): filter count aliases outside the projection and clean identity detail 2026-10-25 23:00:44 +11:00
sam e86c54e6a5 test(e2e): browser check for the audit page 2026-10-25 22:56:18 +11:00
sam 082fbd416b feat(logging): stamp trace and span ids on log records 2026-10-25 22:55:57 +11:00
sam a24eadee8e refactor(controlplane): move the store-backed server out of internal/app 2026-10-25 22:49:27 +11:00
sam b7c22c5002 fix(channelext): bound the extension broker server with service limits 2026-10-25 22:46:47 +11:00
sam edffc529dd fix(audit): close the feed union and repair denied and retention controls 2026-10-25 22:42:00 +11:00
sam 44e751537c fix(audit): gate resource history, harden export, scope legacy keys and catalog 2026-10-25 22:39:34 +11:00
sam 83f333876f fix(audit): harden export, scope history and derive feed targets 2026-10-25 22:39:22 +11:00
sam a2224551bb fix(ui): gate audit retention, resolve export time on click, merge live updates 2026-10-25 22:33:31 +11:00
sam a44a2f026e fix(ui): gate audit retention, resolve export at click, merge live updates 2026-10-25 22:32:59 +11:00
sam 1086511f1f feat(ui): audit page with server filters, live tail, export and revert 2026-10-25 22:14:53 +11:00
sam 9d8156790e fix(ui): address audit page review findings 2026-10-25 22:14:33 +11:00
sam 3e36281ba3 fix(webui): link audit task targets to the task detail 2026-10-25 22:09:31 +11:00
sam d28aa2184b fix(ui): enforce the retention minimum beside the hours field 2026-10-25 22:09:25 +11:00
sam 9d751c208a fix(webui): link audit task targets to task detail 2026-10-25 22:09:25 +11:00
sam 6e1e41a829 fix(ui): send explicit export range and whole-hour retention 2026-10-25 22:09:25 +11:00
sam 2ce773f5a5 feat(ui): unified audit page with server filters and live tail 2026-10-25 22:09:25 +11:00
sam 2caab17461 fix(webui): allow an all-time audit export 2026-10-25 22:05:40 +11:00
sam d4ccbc983c fix(webui): treat the epoch export start as any time 2026-10-25 22:05:34 +11:00
sam 8fdece4a4e feat(webui): audit feed API, export and read_audit grant 2026-10-25 22:02:03 +11:00
sam 717f9d5219 feat(webui): audit feed API, export and read_audit grant 2026-10-25 22:01:02 +11:00