Commit Graph
1679 Commits
Author SHA1 Message Date
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 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 83f333876f fix(audit): harden export, scope history and derive feed targets 2026-10-25 22:39:22 +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 9d751c208a fix(webui): link audit task targets to task detail 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 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
sam d0890327d9 fix(storage): mount a task's object mirror read-only into its container 2026-10-25 21:58:25 +11:00
sam 6ffbf0e2a2 perf(worktree): clone tasks from a shared per-repository mirror 2026-10-25 21:55:20 +11:00
sam 8a96fd6fd6 feat(state): audit retention resource and observability sweep 2026-10-25 21:53:29 +11:00
sam 84c1b2517e fix(state): retain product-read events and normalise audit retention 2026-10-25 21:53:19 +11:00
sam 2aa6ad18fb fix(archied): drop a cached extension binary when its start fails 2026-10-25 21:47:31 +11:00
sam c24a8a58ce perf(archied): reuse running forge extension instances and materialized binaries 2026-10-25 21:46:51 +11:00
sam bcbac8b89c fix(daemon): drain tasks in their own loop, not on the poll tick 2026-10-25 21:45:57 +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
sam deb136652e fix(state): harden the audit feed against audit findings 2026-10-25 21:23:52 +11:00
sam f873368080 feat(state): org-scoped audit feed contract and read model 2026-10-25 21:23:52 +11:00
sam 99b1f8a2d9 feat(state): audit access resets, org and EDA writes 2026-10-25 21:10:38 +11:00
sam e7f828a6cf feat(state): audit package and harness secret writes 2026-10-25 21:10:08 +11:00
sam 4319298868 fix(postgres): skip unchanged authority in package audit 2026-10-25 21:10:02 +11:00
sam 36cd4b09b4 fix(postgres): correct package and secret audit coverage 2026-10-25 21:03:00 +11:00
sam f7caf2c40e feat(postgres): audit package and harness secret writes 2026-10-25 21:00:27 +11:00
sam 0cccef6bb7 refactor(staterpc): one file per State Store service 2026-10-25 21:00:19 +11:00
sam 6120c38e7f fix(state): correct audit backfill scoping and policy write races 2026-10-25 20:59:04 +11:00
sam 3e9948960e feat(state): shared audit write helper for domain tables 2026-10-25 20:49:47 +11:00
sam 5816c5cc53 feat(state): org-scoped audit trail and complete policy write audit 2026-10-25 20:49:20 +11:00
sam 1e1a055f98 fix(messaging): read a voice clip's container instead of believing its type
The dashboard upload names its own attachment type, so the check that ran on
it only compared two declarations the sender wrote. A browser can label any
bytes audio/ogg, and the transcriber keys on the attachment type alone, so the
bytes went to the operator's provider regardless.

When the bytes are present the container decides: Ogg, WebM/Matroska, mp4/m4a,
wav, flac and mp3 are the containers a clip is recorded in, and anything else
claimed to be speech is refused before it reaches a transcriber. Magic numbers
rather than http.DetectContentType, which reports application/octet-stream for
the WebM every browser but Safari records.
2026-10-25 20:17:30 +11:00
sam a2f4b8ef1b refactor(state)!: split StateStoreService into per-domain services
One gRPC service per domain in state.v1 (tasks, executions, accounts, identities, packages, captures, bindings, access, orgs, alerts and so on), each with its own server type in staterpc. RPC and message names and numbers are unchanged.
2026-10-25 19:54:27 +11:00
sam 360da3058f fix(messaging): say what the inbound media check actually checks
The check compares two declarations; it never reads the bytes, so it cannot
tell whether a file is what its content type says. The comment and the test
row claiming otherwise have gone, and so has an allowance letting a video
carry an image type, which no producer emits.

A caller that named the attachment type itself -- a browser upload -- must now
also state a content type, since the previous empty-type escape made the check
optional there. The Telegram declared-size rule is deleted: the shared check
runs first with the same ceiling, so only the rule on the bytes actually
received can still fire.
2026-10-25 18:13:30 +11:00
sam 08c3225542 fix(messaging): refuse an inbound attachment whose type contradicts its content
A declared MIME type decides what the Gateway does with a file: a voice note is
transcribed, an image goes to a model. Both acceptance points took that claim
from the caller unchecked -- the dashboard's voice upload and every Telegram
attachment -- so a file could be used as something it is not.

ValidateInbound refuses a type outside the shared vocabulary, content over the
size ceiling, and a MIME type that contradicts the attachment type, with an
error the caller sees: a dashboard upload is a 400, a Telegram file gets a
chat reply instead of a silent drop.
2026-10-25 18:05:34 +11:00
sam 465c7184d1 fix(workflow): review a task's own pull request as a comment
GitHub refuses REQUEST_CHANGES from a pull request's author, so a blocking
finding on the PR a task opened lost every finding. The retry's identical
refusal is now reported once, and forge errors drop the gRPC framing.
2026-10-25 17:57:20 +11:00
sam 4de8b67ba8 refactor(workflow): stop assuming a human decides
An approval, ask or park can be resolved by an operator, a rule, a
classifier or automatically, so the vocabulary stops naming a person:

- step type human.approve -> workflow.approve
- park class needs_human -> needs_decision (ParkNeedsDecision)
- event kinds human_* -> operator_*
- alert kind task.needs_human -> task.needs_decision
- status grouping "needs you" -> "needs attention"

0061 rewrites the stored values, including the approval step type in the
workflow-definitions resource and each task's pinned definition, with the
digest recomputed so resumed tasks still match.
2026-10-25 17:31:16 +11:00
sam b72053a57e docs: clarify reviewer in implement finish summary 2026-10-25 17:20:13 +11:00
sam 6cb83c7c4c docs(workflow): name no human approver in the plan document 2026-10-25 17:19:06 +11:00
sam 3915441cdf feat(workflow): approve a PRD as one structured document
The prd step returns the PRD as structured fields and human.approve takes
them as its document. The plan text every surface reads and the approval
card's layout are both rendered from that one document, so what the human
approves is what the implement workflow is handed. Replaces the separately
generated OpenUI view, which could drift from the plan.
2026-10-25 16:53:17 +11:00