Commit graph

2055 commits

Author SHA1 Message Date
BaaRai
0885bdd720
Merge pull request #780 from thecorporatetractor/feat/k8s-sandbox-backend
Some checks are pending
ci / changes (push) Waiting to run
ci / go (push) Blocked by required conditions
ci / go-stable (push) Blocked by required conditions
ci / govulncheck (push) Blocked by required conditions
ci / shell (push) Blocked by required conditions
ci / web (push) Blocked by required conditions
ci / python (push) Blocked by required conditions
feat(sandbox): Kubernetes backend for artex-runner
2026-12-03 14:00:28 +01:00
BaaRai
4fda8db604
Merge pull request #895 from thecorporatetractor/fix/sandbox-reserved-env
fix(sandbox): refuse exec env names that override the proxy, PATH or the loader
2026-12-03 14:00:01 +01:00
BaaRai
972219f887
Merge pull request #868 from sisantaChhatoi/split/task-detail-tabs
refactor(web): useReducer for the task assets, credentials, retests and coverage tabs
2026-12-03 13:55:35 +01:00
BaaRai
443cf894da
Merge pull request #916 from sisantaChhatoi/split/chat-dashboard
refactor(web): useReducer for chat, dashboard, shared browser and auth pages
2026-12-03 13:55:28 +01:00
BaaRai
e724364da7
Merge pull request #915 from sisantaChhatoi/split/system-settings-skills
refactor(web): useReducer for the system skills, settings, logs, MCP and chat bridge pages
2026-12-03 13:55:22 +01:00
BaaRai
953c361f80
Merge pull request #914 from sisantaChhatoi/split/system-intercept-notify
refactor(web): useReducer for the system intercept and notify pages
2026-12-03 13:55:17 +01:00
BaaRai
2bc5baebbb
Merge pull request #913 from sisantaChhatoi/split/system-llm-tools
refactor(web): useReducer for the system LLM, tools and agents pages
2026-12-03 13:55:11 +01:00
BaaRai
f3c961db36 test(web): cover the failed-search guard with unchanged data
A successful load after a failed search must clear the error even when
the rows, total and counts match the state the failed search left
behind. Without the !dslError check the reducer returns that state and
the error stays visible.
2026-12-03 13:46:04 +01:00
Marco Azarmaneche
3eedbdc326 fix(sandbox): pass scope entries on in canonical form and refuse IPv6 zones
Review of the scope filter:
- netip.ParseAddr accepts any text after % as an IPv6 zone, commas
  included, so "fe80::1%eth0,10.0.0.0/8" was kept and the comma join
  added 10.0.0.0/8. Zoned addresses are now dropped, and every kept
  entry is passed on in canonical form (p.Masked().String(),
  a.String()), which never holds a comma or space. IPv4-mapped entries
  become the IPv4 range they map.
- The cap was 1,024 entries; a company scope can be larger. It is now
  8,192 entries and 120 KiB per list (the proxy gets each list as one
  environment string, limited to 128 KiB).
- The runner logs dropped entries with the task ID and their values (up
  to 20), so an operator can see why an approved target is refused.
- More names that make a shell or interpreter run extra code are
  refused: SHELLOPTS, BASHOPTS, PS4, IFS, PROMPT_COMMAND, GLIBC_TUNABLES,
  PYTHONSTARTUP, PYTHONHOME, NODE_OPTIONS, PERL5OPT, PERL5LIB, RUBYOPT,
  JAVA_TOOL_OPTIONS, GIT_SSH_COMMAND, GIT_CONFIG_PARAMETERS.
2026-12-03 14:38:15 +02:00
Marco Azarmaneche
3666be70e8 fix(sandbox): refuse exec env names that override the proxy, PATH or the loader
ValidateEnv refused secret-looking names only. An exec request could set
HTTP_PROXY, HTTPS_PROXY, ALL_PROXY or NO_PROXY (any case) and send the
command around the egress proxy, or set PATH, LD_* (LD_PRELOAD,
LD_LIBRARY_PATH, LD_AUDIT, ...), BASH_ENV, ENV, GCONV_PATH or PYTHONPATH
and run code before the command. In the Docker backend the exec Env
overrides the worker container's env, so this applied there.

- ValidateEnv refuses these names with 400. FilterPanelEnv drops them, so
  the panel does not send a request the runner refuses.
- ValidateExecRequest checks every scope entry: a domain must be a host
  name (optionally "*."), a CIDR entry a valid prefix or address. Both
  backends join the entries with commas into the egress proxy
  environment, so "1.2.3.4/32,10.0.0.0/8" added an entry nobody
  approved. Invalid entries (including any with a comma or a space) are
  dropped whole, never split, and the valid ones are kept: the panel
  builds scope from free-text fields, and a narrower scope fails closed
  at the deny-by-default proxy. The runner logs how many entries it
  dropped. More than 1,024 entries in either list is still a 400.
2026-12-03 14:37:44 +02:00
BaaRai
2b3ed3829c
Merge pull request #701 from renaesop/codex/allow-constraints-additive
fix(agent): preserve target allowlists and prevent scope evasion
2026-12-03 13:36:53 +01:00
BaaRai
9dd540f188
Merge pull request #880 from Hop89/feat/proxy-pool-store
feat(db): store proxy pool entries behind a masked API (part 1 of 4, #545)
2026-12-03 13:01:18 +01:00
BaaRai
de80783e16
Merge pull request #706 from jedrzejsieracki/fix/prompt-cache
fix(agent): cache the goal decomposer's system prompt
2026-12-03 13:01:10 +01:00
sisantaChhatoi
8379522e4c refactor(web): useReducer for chat, dashboard, shared browser and auth pages
Converts the chat page, chat view and draft chat, the dashboard, the
shared browser page, and the login and setup pages to typed reducers in
_state/. The selected conversation and approval focus stay in the URL.

The chat list poll (2 s) and the dashboard live (5 s) and system (15 s)
polls return the same state when the data is unchanged.

Part of #546.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 14:47:14 +05:30
sisantaChhatoi
f8c639565a refactor(web): useReducer for the system skills, settings, logs, MCP and chat bridge pages
Converts these pages to typed reducers in _state/, on the shared list
and request slices. The chat bridge status poll returns the same state
when the bridge is unchanged.

Part of #546.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 14:43:02 +05:30
sisantaChhatoi
a4f031c852 refactor(web): useReducer for the system intercept and notify pages
Converts the intercept rules page and judge card, the asset intercept
page, and the notify page and its delivery list to typed reducers in
_state/, on the shared list, request and pagination slices.

InterceptPage's regexErr state is removed: it was only ever set to "",
so its error message could never render.

Part of #546.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 14:40:17 +05:30
sisantaChhatoi
bdc762854f refactor(web): useReducer for the system LLM, tools and agents pages
Converts the LLM page and profile sheet, the tools page, tool editor and
custom tool dialog, and the create-agent dialog to typed reducers in
_state/, on the shared request slice.

Part of #546.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 14:38:02 +05:30
sisantaChhatoi
7dd9fcfa32 fix(web): correct assets/credentials reducer comments; add review tests
The unchanged-poll comments now say what the code guarantees: the same
state object is returned, so React can bail out of the update. The
assets list comment now says when loaded is reset (first load and a
manual refresh, not tab, page or query changes).

Tests, as requested in review: a poll that changes one nested field of
one row updates that row (assets and credentials), and a successful load
after a failed search clears the error and shows the rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 14:28:42 +05:30
Jędrzej Sieracki
7a07c64118 fix(agent): cache the goal decomposer's system prompt
DecomposeGoalsWithProvider built its session without a DynamicBoundary,
and Norma reads 0 as "no cache breakpoint", so every turn of goal
decomposition resent its tools and system prompt uncached on Anthropic
profiles. It now sets 1 for its single static segment, the breakpoint

docs/context-telemetry.md still said deferredSystem returns 0 without
a global deferred-MCP block. It now describes the always-on boundary
and what system_dynamic holds on each lane.

Tests: TestDecomposeGoalsValidStructuredToolCallAccepted checks the
boundary on every request (needs Postgres); it fails with the fix
reverted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 08:40:43 +01:00
Codex
832cdda1e4 fix(agent): preserve target allowlists and prevent scope evasion 2026-12-03 14:32:30 +08:00
Grady May
a383e5bcb2 feat(db): store proxy pool entries behind a masked API
Part 1 of 4 of the proxy pool design in #545: storage and a CRUD API.
Nothing activates an entry yet, so the global proxy is unchanged.

- Migration 0028 adds proxy_pool: a unique keyed address hash, at most
  one active entry (partial unique index), a CHECK that the active entry
  is enabled, and nullable egress_ip, last_check_at and last_check_ok for
  the health check.
- Addresses are normalized, sealed at rest (AAD proxy_pool.address) and
  covered by the startup key check and key rotation. Uniqueness uses an
  HMAC under a sub-key kept on secretBox; RotateSecretKey locks the table
  and rehashes in its transaction, and pool writes seal under that lock.
- GET/POST /api/proxy-pool and PATCH/DELETE /api/proxy-pool/{id} never
  return an address; a masked address on update keeps the stored one.
2026-12-02 22:05:05 -05:00
Marco Azarmaneche
2e516c5125 fix(sandbox): unique pod names per generation and stricter probes in the Kubernetes backend
- Each worker and proxy pod gets a new name per generation
  (artex-w-<hash>-<6 hex>). Exec targets the exact pod of the task state,
  so an exec delayed at the API server fails with 404 instead of running
  in a replacement pod before that pod passed its network probes.
- setupTask lists the task's pods by label and deletes every pod except
  the ones it keeps, with a UID precondition, before it creates new ones.
  Same-named pods are no longer deleted without an ownership check.
- Recover adopts only pods whose name matches artex-[wp]-<32 hex>-<6 hex>
  and whose name, labels and task annotation agree.
- podAlive returns an error for API failures. Only 404, a UID mismatch, a
  deletion timestamp, or a pod that is not running and ready count as
  dead. On other errors (a cancelled request too) the exec fails and the
  task's pods and policies stay.
- waitPodReady fails fast on CrashLoopBackOff and on exited containers.
- The deny probes print one token per outcome. Only timed out, refused or
  unroutable connections count as blocked. Any other result (missing
  timeout binary, failed fork, no API env) fails setup at once.
- Probe output, stderr and HTTP client errors go to the runner log only.
  The returned errors are generic. A cancelled API request returns a
  cancellation error, not "runner unavailable".
- Add fd20:ce::254/128 (GCE IPv6 metadata) to the never-reachable ranges.
- Document that ARTEX_KUBE_CLUSTER_CIDRS must also list the API server
  endpoint addresses when they lie outside the cluster ranges (managed
  clusters).
- Exec, Kill and Delete reject task IDs with surrounding whitespace.
- go.mod: gopkg.in/yaml.v3 back to indirect (go mod tidy).
- Test: a cancelled exec keeps the task. The scope and probe tests move to
  the test PR to stay inside the size limit.
2026-12-03 04:03:17 +02:00
BaaRai
507309c94d
Merge pull request #888 from BaaRai/fix/web-auth-401-followup
Some checks are pending
ci / changes (push) Waiting to run
ci / go (push) Blocked by required conditions
ci / go-stable (push) Blocked by required conditions
ci / govulncheck (push) Blocked by required conditions
ci / shell (push) Blocked by required conditions
ci / web (push) Blocked by required conditions
ci / python (push) Blocked by required conditions
fix(web): keep the session on auth 401s and pin the API tests
2026-12-03 02:28:46 +01:00
Marco Azarmaneche
d92a02faef fix(sandbox): close IPv4-mapped and unspecified ranges in the Kubernetes scope
From a second review of the backend:
- Scope CIDRs written as IPv4-mapped IPv6 (::ffff:10.0.0.0/104) are read
  as the IPv4 range they map, so the private-range filter and the
  never-reachable excepts apply to them. netip treats the two families as
  distinct, so such an entry skipped both.
- The never-reachable list adds 0.0.0.0/8 and :: (they reach the proxy's
  own host), ::ffff:0:0/96 and link-local through NAT64
  (64:ff9b::a9fe:0/112).
- ARTEX_KUBE_CLUSTER_CIDRS and ARTEX_KUBE_PROXY_DENIED_CIDRS refuse /0
  (an except equal to its block is rejected by the API server) and
  IPv4-mapped prefixes (they would never match).
2026-12-03 03:16:02 +02:00
BaaRai
2f065a958e
Merge pull request #882 from AdrianSantamariaR/claude/dropdown-close-form-focus-824957
fix(web): keep side-panel forms open when you close a dropdown
2026-12-03 02:11:27 +01:00
BaaRai
95afea7d5c
Merge pull request #878 from thecorporatetractor/refactor/route-permissions
refactor(server): register API routes with a permission
2026-12-03 02:04:04 +01:00
Marco Azarmaneche
1c262d3af6 feat(sandbox): Kubernetes backend for artex-runner
ARTEX_RUNNER_BACKEND=kubernetes runs each task in a worker pod behind its own
egress-proxy pod, created through the Kubernetes API (kube_client.go) with no
container runtime socket. Per-task NetworkPolicies are applied before the pods
and removed after them; the runner proves they are in effect before the first
command, runs commands through pods/exec under env -i and artex-exec-wrap, and
re-adopts task pods after a restart. Unit tests run against a fake API
server; this commit keeps the tests for the review items, and the other
unit tests and the live cluster test follow in a separate PR.

Changes since the first review (502e42d):

NetworkPolicies and scope:
- Delete and failed setups delete the task's pods and wait until they are
  gone before removing the service and, last, the policies. If a pod
  cannot be deleted, the policies stay and the task stays tracked. Pods
  get a 1s grace, not 0: a zero grace removes the API object before the
  kubelet has stopped the containers.
- applyPolicy replaces an existing policy only when it carries the
  runner's labels for the same task, and sends its resourceVersion.
- ARTEX_KUBE_PROXY_DENIED_CIDRS adds to DefaultProxyDeniedCIDRs instead
  of replacing it. An empty DNSPodLabels map falls back to k8s-app=kube-dns.
- No scope opens the cluster: ARTEX_KUBE_CLUSTER_CIDRS (pod, service and
  node CIDRs) plus metadata, loopback, link-local and the API server
  address form a never-reachable list. Each scope ipBlock gets them as
  except (a block inside one is dropped), the public rule excepts them,
  and the proxy refuses them through ARTEX_NEVER_CIDRS (new
  EgressPolicy.Never; Docker does not set it). Without
  ARTEX_KUBE_CLUSTER_CIDRS, scope CIDRs overlapping private, loopback or
  link-local ranges are dropped (logged), so the scope fails closed.
- Isolation does not rely on an outside default-deny policy: every task
  pod has its own Ingress+Egress policy, adopted tasks get theirs applied
  again, and before the first command the runner checks that the worker
  reaches neither the API server nor a public address directly and that
  the proxy cannot reach the API server; setup fails otherwise. A scope
  change replaces the worker too, so the checks run in a worker no
  command has used.
- The proxy pod uses ndots 1, so scope names are not first looked up as
  cluster names.

Exec:
- The worker base env comes after the request env in the env(1) argv.
  Refusing PATH, proxy and loader variables (LD_*, BASH_ENV, ...) in a
  request is a separate change to the shared ValidateEnv, which also
  covers the Docker backend.
- Any exec error after the stream started (cancel, broken stream, read
  limit) kills the worker's processes, and so does a wrapper timeout
  (exit 124 after at least timeout_ms, the Docker rule).
- Exec, Kill and Delete validate the task ID; Exec validates the request.

Concurrency and cleanup:
- Kill takes the task lock; stored tasks are copied, never changed in
  place. A Kill caused by an exec acts only on the worker pod UID that
  ran it; pod deletes carry a UID precondition.
- An exec queued behind a Delete returns ErrNotFound instead of creating
  the task again. Per-task locks are reference counted and removed.
- A failed setup removes what it created, found by label (a foreign
  object with the same name stays). Delete returns ErrNotFound only when
  no object of the task exists.
- Recover adopts only pods named artex-w-/artex-p-<hash> and services
  with a real ClusterIP; adopted tasks are re-checked on first use.
- Scope hash: full SHA-256; task object names use 128 bits.

Config: http:// API servers are refused, the tasks and audit sub paths
must not be ".", equal or nested, and NewKubernetesBackend documents what
the deployment must provide (PID limits, restricted namespace, quotas,
shared volume, shared Kill).
2026-12-03 03:03:09 +02:00
BaaRai
8881bbac45 test(auth): cover the login fallback and tighten the AST check
- Test the 401 login fallback when the body is not JSON.
- Flag bare sendBeacon calls and parse .js, .mjs and .cjs as JavaScript.
- Record the change-password 403 in the CHANGELOG.
2026-12-03 01:56:49 +01:00
BaaRai
15f1b1b845 fix(auth): separate a wrong current password from an expired session
- change-password returns 403 for a wrong current password and keeps 401
  for an invalid or expired session, like authInit's bad setup token.
- apiFetch only treats a 401 from /auth/login as bad credentials; every
  other 401 clears the session and returns to /login.
- Tests cover change-password with an expired session and with a wrong
  current password, and the direct-network check parses the AST so
  comments, strings and test files cannot produce false positives.
2026-12-03 01:19:55 +01:00
BaaRai
d685e58fbc fix(web): keep the session on auth 401s and pin the API tests
- apiFetch treats a 401 from /auth/* as bad credentials, not as an
  expired session: the session is kept and the server message is
  exposed instead of reloading /login.
- Test the openSSE constructor wiring, the login 401 path, the absence
  of Content-Type on the three FormData uploads, and broaden the direct
  network check to window/globalThis/self fetch, XMLHttpRequest,
  EventSource and sendBeacon in .js, .mjs, .cjs and .jsx files.
2026-12-03 01:04:15 +01:00
BaaRai
fdc6e5a614
Merge pull request #883 from thecorporatetractor/refactor/web-auth-errors
refactor(web): send every API call through one fetch helper
2026-12-03 00:54:33 +01:00
BaaRai
d597c156d7 fix(web): harden apiFetch and session cookie cleanup
- apiFetch forces credentials same-origin and redirect error after the
  caller init, so a caller cannot widen either and a future redirect is
  refused like in SSEStream.
- clearToken reuses the cookie deletion clearSession uses, including
  SameSite=Lax and Secure over HTTPS.
- loadOlderHistory catches the ForbiddenError and shows the server
  message instead of leaving an unhandled rejection.
2026-12-03 00:52:13 +01:00
AdrianSantamariaR
5b711855a1 fix(web): treat an open Base UI Combobox as an open popup; test the guard
With the category Combobox of the New task sheet open, an overlay click
closed the whole sheet: isRadixOverlayOpenNow did not match the Base UI
popup, whose open state is data-open, not data-state. Add
[data-slot='combobox-content'][data-open] to the selector.

Add web/src/lib/utils.test.mjs, run by test:reducers: a DOM-free test of
preventDismissUnlessOverlayClick with a stub document, covering Select,
popper content, Combobox, menu triggers, the open sheet/dialog trigger
and an expanded Collapsible. The alias loader now adds the JSON import
attribute so tests can import modules that depend on @/i18n.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 00:47:42 +01:00
Marco Azarmaneche
eb045647cf fix(server): apply the route permission and test the production chain
requirePerm now applies the recorded permission instead of only checking
that one exists: a perm.Authenticated pattern answers 401 without a valid
session. requireAuth exempts /api/auth/ by prefix, so a wildcard pattern
such as "GET /api/{kind}/items" would otherwise be public for
/api/auth/items.

Handler builds its chain with handlerFor, and TestUntaggedRouteIsForbidden
uses handlerFor, so removing requirePerm from the production chain fails
the test. A wildcard route is tested with a path under /api/auth/.

TestNoRawRouteRegistration allows only root.Handle("/api/", ...) and
root.HandleFunc("/", ...) in server.go; any other root route would skip
requireAuth.

TestHandlerDeniesAuthenticatedRoutesWithoutSession checks every
authenticated route through the real Handler.
2026-12-03 01:18:22 +02:00
Marco Azarmaneche
fe121a2cea refactor(server): register API routes with a permission
Every /api route is now added with s.handle(mux, pattern, perm, h), which
records the permission the route needs. There are two permissions for now:
perm.Public for the routes requireAuth already exempts (/api/auth/*,
/api/health, /api/ready) and perm.Authenticated for all others.

A new check runs after requireAuth and answers 403 when the matched pattern
has no recorded permission, so a route added with a plain HandleFunc call is
denied instead of served. requireAuth itself is unchanged.

Tests check that every route has a permission, that the public routes are
exactly the ones requireAuth exempts, that no file registers a route outside
s.handle, and that an untagged route returns 403.
2026-12-03 01:12:39 +02:00
BaaRai
c985c83085
Merge pull request #800 from 0451-software/agent/task-gate-ui
feat(web): expose the per-task target gate
2026-12-03 00:06:26 +01:00
BaaRai
0b10eb7d36
Merge pull request #875 from sisantaChhatoi/refactor/go-modernize-notify
refactor: use modern Go idioms in notify and the remaining small packages
2026-12-03 00:06:20 +01:00
BaaRai
029b631b58
Merge pull request #874 from sisantaChhatoi/refactor/go-modernize-traffic
refactor(traffic,intercept,guard,egress): use modern Go idioms
2026-12-03 00:06:15 +01:00
BaaRai
09de4486ef
Merge pull request #873 from sisantaChhatoi/refactor/go-modernize-server-tests
refactor(server): use modern Go idioms in tests
2026-12-03 00:06:08 +01:00
Barry
bd7d430158 Merge origin/main into agent/task-gate-ui (de-conflict)
The review asked for a rebase onto main. A rebase cannot be published to
this fork: ruleset "prevent-force-push-any" (id 13967828) applies
non_fast_forward to ~ALL branches, so every force-push is rejected. The
branch is therefore brought up to date by merge, which is a fast-forward
push and leaves the reviewed commits in place.

The merge result is byte-identical to the rebased result: the staged tree
hashes to 7d33b7fc, the same tree as the rebase I verified locally
(tsc, biome, test:i18n 11/11, test:reducers 59/59, build:static).

Conflict resolution:

- CHANGELOG.md: main's Added section grew (Slack channel, log rotation);
  this branch's target-gate entry is kept between them.
- overview-tab.tsx: main refactored TaskInterceptRulesCard onto
  useReducer (b9388fb7), so the gate was ported into the new shape rather
  than the reverse. The gate keeps its own local state beside the reducer
  and the rules read feeds the existing `rulesLoaded` action; the task-id
  and request-stamp guards from the review apply to both reads. Nothing
  from the refactor is reverted: the diff against main on this file is
  additions only, apart from the two lines the guards replace.
2026-12-02 17:48:05 -05:00
BaaRai
3fae067156
Merge pull request #704 from jedrzejsieracki/fix/dockerfile-build-cache
fix(docker): keep the runtime layers cached across updates
2026-12-02 23:34:57 +01:00
BaaRai
406153628c
Merge pull request #798 from 00xcyd/fix/742-configurable-docker-sock
sandbox: make the runner Docker socket configurable (rootless Podman, #742)
2026-12-02 23:34:44 +01:00
BaaRai
5dc4627209
Merge pull request #849 from c4nc/fix/bracket-slice-target
fix(intercept): read identifier subscripts as slice syntax, not bracketed IPv6
2026-12-02 23:34:39 +01:00
BaaRai
38d982d5de
Merge pull request #819 from 00xcyd/sandbox/artexpot-artifact-regression
sandbox: regression test for target-supplied artifact classes
2026-12-02 23:34:33 +01:00
BaaRai
27c0938bd8
Merge pull request #555 from renaesop/codex/managed-scope-audit-design-20261126
docs: reconcile execution and audit design with upstream Docker backend
2026-12-02 23:34:26 +01:00
Marco Azarmaneche
c86cee8853 refactor(web): send every API call through one fetch helper
http() and twelve calls that used fetch directly (uploads, downloads,
exports, the report, tool-config and the logs history) each built their own
Authorization header. Only http() and the HAR export handled a 401, with two
inline copies of the session clean-up, and openSSE had a third.

All of them now use apiFetch (src/lib/api-fetch.ts):
- 401: clearSession() (src/lib/auth.ts) drops the token and the cookie and
  goes to /login, then the call throws, as http() did before.
- 403: throws ForbiddenError, an ApiError with status 403 and the server's
  message, ready to show in a toast.

ApiError moves to api-fetch.ts and is still exported from api.ts. The SSE
client keeps its own fetch and now calls clearSession on a 401.
2026-12-03 00:08:52 +02:00
BaaRai
09aa564163
Merge pull request #877 from sisantaChhatoi/ci/path-filter-on-push
ci: skip unaffected jobs on pushes to main too
2026-12-02 23:05:32 +01:00
BaaRai
d058b7386d
Merge pull request #855 from chaitanya0305/fix/report-unknown-severity-order
fix(report): sort unknown severities after low, not as critical
2026-12-02 23:05:09 +01:00
BaaRai
89b7986338
Merge pull request #872 from AdrianSantamariaR/feat/slack-notify-channel
feat(notify): add a Slack notification channel (Incoming Webhooks)
2026-12-02 23:05:02 +01:00
AdrianSantamariaR
693825946e refactor(web): share the overlay-dismiss guard between Sheet and Dialog
SheetContent and DialogContent each carried a copy of the same
onInteractOutside guard, and losing one copy is how the Sheet guard
disappeared. Move it to preventDismissUnlessOverlayClick in lib/utils.ts
and call it from both. No behavior change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 22:25:56 +01:00