sam
c3471128a9
fix(staterpc): make model usage writes durable through a State Store outage
...
A failed RecordUsage was logged and dropped, losing chat, title, sampling
and curator usage that cannot be rebuilt from events. The staterpc Client
now keeps a bounded local outbox: a failed write is queued and retried with
backoff (1s doubling to 1m, 10s per attempt) until the store accepts it, so
records land once the store recovers. The queue is capped at 1024 records;
an overflow is refused so the caller logs the drop. The sampling usage
write is bounded to 5s so a dead store cannot hold a model call.
2026-10-30 00:06:38 +11:00
sam
26d7c51608
fix(catalogue): sign an issue time and refuse a replayed older catalogue
2026-10-30 00:06:38 +11:00
sam
ebec2f3081
fix(forge): accept invitations only to configured repositories
...
The GitHub forge extension accepted every pending repository
invitation, so any GitHub user could add archie's account to a
repository by sending an invitation. AcceptInvitations now carries the
connection's configured repositories and the extension leaves an
invitation to anything else pending.
2026-10-28 23:57:44 +11:00
sam
b60ec06839
refactor(fsutil): consolidate nine copies of the atomic write helper
...
Nine packages each had their own write-temp-then-rename helper with
slightly different behaviour (some synced, some did not; some created
the parent directory, some did not; modes and temp-file patterns
varied). They are replaced by one fsutil.WriteFileAtomic that always
syncs before rename, creates the parent directory, and takes the file
mode as a parameter.
2026-10-28 00:48:59 +11:00
sam
34dfb8a3d3
fix(controlplane): reject userinfo and query in notify_webhook
...
A webhook URL with embedded credentials or a query string can leak
secrets through logs, proxies and referrer headers. The task policy
validator now refuses both.
2026-10-28 00:36:33 +11:00
sam
ba03022eba
fix(staterpc): log internal identity errors through the service logger with request context
2026-10-27 20:54:41 +11:00
sam
0006003f1d
fix(staterpc): record internal identity errors on the request span instead of slog
2026-10-27 20:51:46 +11:00
sam
a5ac3bbf74
fix(staterpc): give token revoke its own audit request ID and log internal identity errors
2026-10-27 20:50:18 +11:00
sam
c59f9336a5
feat(identity): name, lifetime and last-used on personal API tokens
2026-10-27 15:37:44 +11:00
sam
e5383b2129
fix(gatewayrpc): refuse an inbound attachment whose bytes contradict its declared type
2026-10-27 15:23:48 +11:00
sam
6c78358c7b
fix(postgres): carry org, park class and park blocker on task list rows so a parked task's recovery link shows
2026-10-27 11:44:23 +11:00
sam
0880f703d7
fix(webui): resolve a selected org's workspaces as the caller, wire selection into gateway and harness, and let a member start tasks in the org they selected
2026-10-27 11:06:18 +11:00
sam
1a8b442acd
feat(webui): park model credential failures with a recovery link, add Model setup step, readiness badges, and move audit to the organisation
2026-10-27 11:06:18 +11:00
sam
2fb0084d2c
feat(webui): act in a selected organisation the caller is a member of, enforced at the dashboard and the State Store
2026-10-27 11:06:18 +11:00
sam
8f6c010976
fix(orgs): layer only the fields an org document sets, retry alerts on a failed lookup, and key chat sessions by org
2026-10-27 10:38:00 +11:00
sam
361beecfd3
feat(messaging): run a channel per organisation and deliver only through the owner's
2026-10-27 10:38:00 +11:00
sam
b5aab5eaad
feat(alerts): send each organisation's alerts to its own webhook
2026-10-27 10:38:00 +11:00
sam
7982a336b7
feat(scheduling): resolve the issue discovery rule per organisation
2026-10-27 10:38:00 +11:00
sam
c465d58713
fix(postgres): let every org read a built-in mapping so a non-system org can arm a schedule trigger
2026-10-27 10:13:03 +11:00
sam
55161218c2
fix(applystatus): report only the instance's own copy so another org's read cannot overwrite it
2026-10-27 10:08:24 +11:00
sam
334bb8cc40
fix(scheduling): fire a schedule's capture into its owning organisation
2026-10-27 10:03:29 +11:00
sam
9855f5820e
fix(webui): report a workflow's running count and last status from its own runs
2026-10-27 02:52:38 +11:00
sam
e5d02d9980
test(orgs): hold the agent-assignment contract the Agents tab reads
2026-10-27 02:45:35 +11:00
sam
5ae176a516
fix(configuration): raise the default max uptime above the task limit
2026-10-26 18:32:25 +11:00
sam
98e631202e
fix(controlplanerpc): attribute chat workflow drafts so saves succeed
2026-10-26 18:24:46 +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
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
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
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
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
960171622f
feat(natsrpc): propagate trace context across NATS and into task runs
2026-10-25 23:03:55 +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
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
83f333876f
fix(audit): harden export, scope history and derive feed targets
2026-10-25 22:39:22 +11:00
sam
717f9d5219
feat(webui): audit feed API, export and read_audit grant
2026-10-25 22:01:02 +11:00
sam
045f8c427d
feat(state): apply audit retention to observability events
2026-10-25 21:42:38 +11:00
sam
655068db70
feat(state): unified org-scoped audit feed and AuditService
2026-10-25 21:37:56 +11:00
sam
9314b02eb1
fix(state): resolve identity audit org in one statement
2026-10-25 21:37:50 +11:00
sam
9a3060d4f7
fix(state): attribute identity events to the subject's single org
2026-10-25 21:35:19 +11:00
sam
bcdd4bb531
feat(state): audit access reset, org, membership and EDA writes
2026-10-25 21:33:28 +11:00
sam
135007b5f8
fix(state): serialise source writes and keep binding workspaces audited
2026-10-25 21:33:08 +11:00
sam
06da6a8334
fix(state): classify audit coverage rows and keep unknown identity orgs private
2026-10-25 21:25:55 +11:00
sam
82df7cee1a
fix(state): close residual audit coverage gaps
2026-10-25 21:24:50 +11:00