Repository navigation
Agent-driven traffic capture (SOCKS5, transparent TCP and raw UDP), operator tampering hooks with their admin panel, the agentic injection and proof hardening from the #124 audit, LLM context telemetry and the worker cache-prefix split, capture-proxy rewrite rules, HAR import and export, and a large security batch across the interception gate, sessions, logs, the workspace file API and the model endpoint probe.
Added
- Traffic > Hooks admin panel: the Traffic page gains an operator-only Hooks tab for the constrained Go tampering hooks: list, create (always created disabled), edit, delete, toggle, version history with rollback, and a dry-run against a captured exchange or a synthetic input. A dry-run shows the mutated request or response, the fields the hook changed, and the per-line trace, with masked fields shown as their keyed HMAC. Binary and compressed bodies are flagged and skipped, bodies over 1 MiB are flagged, and the UI never renders hook or exchange text as HTML (#435).
- Concurrent multi-LLM worker rotation (#270): a task can rotate several bound LLM profiles across its workers, with per-lane exhaustion tracked and shown on the task controls.
- Encrypted S3 archive storage (#285, #318): an optional S3 backend stores task archives encrypted, connects with the existing archive lifecycle, and lets an interrupted archive job be recovered on the next start.
- Turkish and Simplified Chinese UI, optional Neon theme (#346, #413, #401): the web console gains a translation layer with a Turkish and a Simplified Chinese locale, and an opt-in Neon theme preset in Settings.
- Readiness probe (#363):
GET /api/readychecks PostgreSQL and reports readiness separately from the health route. - Operator console browser protections (#349): the embedded console restricts framing to the same origin and keeps referrer information on the same origin.
- Target noise governor: one shared egress governor paces ARTEX's own HTTP requests (WebFetch, the http custom tools and the enrich probe) against a noise profile (
offby default,quiet,balanced,aggressive): a per-host token bucket with jitter, per-host and global in-flight caps, 429/503 backoff, GET deduplication with a short cache, and a configurable target User-Agent (ARTEX_TARGET_USER_AGENT). Off is a strict passthrough (#205). - Low-and-slow prompt block: when a noise profile is set, the planner, worker, main agent and chat prompts carry the per-host limits of the profile and the exact rate or delay flags for nmap, nuclei, httpx, katana, ffuf, dalfox and sqlmap; with the profile off the prompts are unchanged (#212).
- Noise profile at runtime: System settings has a Target noise card. It sets the profile (
off,quiet,balanced,aggressive) through thenoise_profilesetting, which takes precedence overARTEX_NOISE_PROFILE. The change applies to the next WebFetch, http custom tool and enrich request, and to the next agent prompt, without a restart. The card also shows the per-host counters, whichGET /api/settings/noisereturns (#233). - Bash requests paced through the capture proxy: with traffic capture on, the Bash proxy URL carries a marker userinfo. The recording proxy paces each request of a marked connection by the noise profile's per-host rate and jitter, and counts it, before it goes upstream. This applies inside CONNECT tunnels too. WebFetch, the http custom tools and enrich keep the unmarked URL and are not paced twice. The proxy now drops
Proxy-Authorizationfrom every request it forwards or records. This is best effort: only clients that honour the proxy are covered, with capture on (#234). - Hierarchical budgets, off by default: a task budget and a per-intent budget take the minimum of their own budget and the parent's remaining budget above the wrap-up reserve, planner calls count inside the task, and reaching the reserve forces a wrap-up (#206).
- Coverage ledger: the worker records what it examined, ruled out or left open for each surface and risk class with
record_coverage; gaps, unexamined classes and completeness appear in the planner context,GET /api/tasks/{id}/coverage, the coverage card and the Markdown report (#207). - Closed-question judge: the LLM fallback judge answers eight fixed questions that the code owns and the code takes the decision; every failure now leads to ask instead of allow, and the previous behaviour stays available as
llm_judge_mode = freeform(#208). - argv interception rules: a new
match_type = argvmatches the parsed prefix of a Bash command exactly, and a pending Bash approval can create such a rule in one click; a code-owned denylist refuses programs where a prefix would allow arbitrary code (#210, #211). - Scanner output ingestion:
ingest_scan_outputparses nmap XML, nuclei JSONL, httpx JSONL and ffuf JSON, and writes assets and facts deterministically, so the model never reads the raw output (#214, #215). - bbot ingestion: a typed parser splits bbot JSONL events by
scope_distance, only in-scope events go throughinsert_assets, andingest_bbotreads the file line by line with a 64 KiB cap (#199, #200). - Tool RAG, off by default: when the bound tool list of an agent is large, only the subset relevant to the current intent is injected, as a projection that never adds or edits a tool (
ARTEX_TOOL_RAG) (#204). - Fact provenance:
record_facttakes a closedsourceenum (defaultinference) and every fact carries the server-setorigin, both shown inrecent_facts,list_factsandexpand_digest(#194). - Per-message nonce envelope: agent- and target-derived fields reach the planner and worker user messages inside a code-owned data envelope with a random nonce per message; operator input stays outside it (#195).
- Intercept risk score and batch approval: a deterministic risk score (low, medium, high) is shown on each pending approval, and up to 100 pending decisions can be settled in one call, each through the existing single-decision path (#232).
ask_operatortarget warning: a request whose question names a host or URL outside the goal targets is tagged as containing target-derived text (#197).- Opt-in update banner:
ARTEX_UPDATE_CHECKmakes the backend check the latest GitHub release at most once per 24 hours and the UI show a banner; off by default (#202). - Release provenance: release archives carry GitHub build provenance attestations and a CycloneDX SBOM (
gh attestation verify <zip> --repo BaaRai/ARTEX); release notes are the matchingCHANGELOG.mdsection (#219, #201). - Opt-in constrained Go tampering hooks — backend, API & trace: opt-in behind
ARTEX_TAMPER_HOOKS_ENABLED=1(off by default; flag off loads zero hooks and keeps the no-hook baseline unchanged). Adds a small, deterministic, zero-dependency Go-subset evaluator (traffic/hookvm, parsed viago/parserwith sorted map iteration, hard 100k step / 25 ms per-hook / 100 ms per-phase / 4 MiB memory bounds, and AST rejection of FS/network/exec/env/time/rand/goroutine/channel/defer/goto/global-var/pointer/switch constructs). Operator-only hooks (never an agent tool) are stored sealed at rest intraffic_tamper_hooksandtraffic_tamper_hook_versions(migration0011_traffic_tamper_hooks.sql), managed via/api/traffic/hooks*(CRUD, toggle, version history, rollback, dry-run), prefiltered withtraffic/rewritematchers, executed after declarative rewrite rules per phase (fail-open only in 0.7; binary/compressed/>1 MiB bodies skipped; tainted sensitive fields stay HMAC-masked), and traced in SQLiteexchange_rewrites(source_kind,hook_id,hook_version). Seedocs/traffic-tamper-hooks.md. - Opt-in SOCKS5 UDP ASSOCIATE & raw UDP recording: when traffic capture is enabled, setting
ARTEX_SOCKS5_UDP_ENABLED=1enables RFC 1928UDP ASSOCIATE(0x03, IPv4 first) on the SOCKS5 listener (off by default: with flags off no listener starts; with SOCKS5 TCP on and UDP off,UDP ASSOCIATEreturns0x07and no UDP socket is opened). Enforces per-datagram destination policy before forwarding using the existing target gate (intercept.Interceptor.ResolveUDP4/intercept.PinnedUDP4Resolver) and egress governor (egress.Do), dropping denied datagrams without passthrough; bounds associations (UDPMaxDatagrams,UDPMaxBytes,UDPIdleTimeout) and tears them down with the TCP control connection; dropsFRAG != 0with no fragmentation reassembly; and records each forwarded datagram individually in SQLiteraw_udp_datagramswith capped previews and atomic_blobsrefs without writing HTTPexchangesrows or PG migrations. Transparent UDP (IP_RECVORIGDSTADDR) is deferred to C2. Seedocs/traffic-socks5-udp.md. - Opt-in Linux transparent TCP inbound & raw TCP recording: on Linux when traffic capture is enabled, setting
ARTEX_TRANSPARENT_TCP_ENABLED=1(loopback127.0.0.1:1081by default) orARTEX_TRANSPARENT_TCP_ADDR=<ipv4:port>starts an IPv4 transparent TCP listener fed by operator-managediptables/nftablesREDIRECTrules (off by default; ARTEX never touches the host firewall; root/CAP_NET_ADMINis required only for the operator's redirect rules; IPv6 is not covered). Recovers original IPv4 destinations viaSO_ORIGINAL_DSTwith self-redirect loop protection, reuses the P4.1a target gate (intercept.Interceptor.DialSOCKS5), egress governor (egress.Do), half-close relay bounds, and SQLiteraw_tcp_streamsstore (atomic_blobsspill, no HTTPexchangesrow, no PostgreSQL migration). Seedocs/traffic-transparent.md. - Opt-in SOCKS5 inbound proxy & raw TCP recording: when traffic capture is enabled, setting
ARTEX_SOCKS5_ENABLED=1(loopback127.0.0.1:1080by default) orARTEX_SOCKS5_ADDR=<addr>starts an RFC 1928 SOCKS5CONNECTlistener alongside the HTTP recording proxy (off by default; HTTP proxy and agent proxy env vars are unchanged; listener does not start if traffic recording is disabled). Accepts loopback no-auth and RFC 1929 username/password without verifying credentials (carryingartex-pacein the username; binding to a non-loopback address therefore exposes an unauthenticated proxy, though the target gate and governor still apply), rejectsBIND/UDP ASSOCIATEwith0x07, enforces the existing target gate (intercept.Interceptor.DialSOCKS5/intercept.PinnedDialer) and egress governor (egress.Do) before dialing, relays half-close-aware TCP with concurrency/byte/idle/handshake bounds, and records one row per connection in SQLiteraw_tcp_streamswith capped directional previews and atomic (temp+rename)_blobsrefs without writing HTTPexchangesrows. Seedocs/traffic-socks5.md. - Opt-in worker cache-prefix split: setting
ARTEX_CACHE_PREFIX=1(off by default) splits theworkersystem prompt atDynamicBoundary = 1into a sibling-shareable static prefix (body + untrustedContentTail + workerTrafficBlock) and a per-intent dynamic suffix (workerArtifactSpec(runDir)through<available-deferred-tools>) without reordering sections or altering the visible joined prompt text. Planner, mainagent, chat, and goals are unchanged; custom worker prompts referencing{{.Now}}remain volatile in the static segment. Seedocs/context-telemetry.md. - Opt-in LLM context size telemetry: setting
ARTEX_CONTEXT_TELEMETRY=1(off by default) records per-call request section byte sizes (system_static/system_dynamicsplit atDynamicBoundary, serializedtools,messagesby role,tool_resultsubset, andlast_message_bytes), tool/message counts, and token/cache usage in the newllm_contexttable (migration0009_llm_context.sql), with zero prompt/behavior change and zero content stored, independent ofllm_record.GET /api/llm/context/summaryaggregates input percentiles (p50/p90/p99), pro-rata section shares over realinput_tokens,cache_read/inputratios by(worker, model), and top tasks. Seedocs/context-telemetry.md. - HAR 1.2 traffic import and export:
POST /api/traffic/import/harimports raw HAR 1.2 JSON captures (up to 32 MiB / 2,000 entries / 32 MiB decoded bodies) with deterministichar-<sha256>IDs (and_artexExchangeIdpreservation for ARTEX exports so distinct same-second exchanges round-trip without collapsing), base64 decoding,postData.paramsandcookiesarray fallbacks, URL userinfo stripping, blob spilling above 256 KiB, and full-text indexing, without applying capture rewrite rules (exchange_rewritesstays empty); per-entry errors are reported alongsideimported/skipped/failedcounts.GET /api/traffic/export/harexports filtered traffic (reusing theGET /api/trafficfilters) as a compliant HAR 1.2 document (with explicit unknown placeholders for unrecorded timings and header sizes) in stable(ts, id)order, encoding UTF-8 bodies as text and binary bodies as base64, capped at 1,000 entries / 20 MiB raw headers+bodies (31 MiB JSON backstop, guaranteed under the 32 MiB import limit) with explicit truncation reporting viaX-ARTEX-HAR-*headers and_truncated/_truncatedReason/_totalMatchedfields. The Traffic page adds Import HAR and Export HAR controls. Seedocs/traffic-har.md. - Capture-proxy rewrite rules, storage and API:
GET,POST,PUTandDELETE /api/traffic/rewrite-rulesandPOST /api/traffic/rewrite-rules/{id}/togglemanage rules that match a request or a response (method, host, URL, headers, body, status) and describe a rewrite (method, path and query, headers, body, status). Rules are validated on save, limited to 100 of which 50 enabled, created disabled, and stored in the new tabletraffic_rewrite_rules(migration0005_traffic_rewrite_rules.sql) withmatchersandactionsencrypted at rest. The value of an action markedsensitiveis never returned, and an update sent without it keeps the stored one. The server compiles the enabled rules at startup and after every change and hands the snapshot to the proxy. The proxy applies them from the next entry. Seedocs/traffic-rewrite-rules.md. - Capture-proxy rewrite rules applied: the capture proxy applies enabled rules to each HTTP request before it is sent to the target and to each response before it reaches the client. Each action that ran is recorded in the new table
exchange_rewritesin the same transaction as the exchange,traffic_getshows aREWRITTENline, andtraffic_searchnever finds a value a rule wrote. SSE status and headers are rewritten at the start of the stream. WebSocket handshakes are not rewritten: the capture library runs its hook after the upgrade, so the status and headers cannot be changed, and frames pass unchanged. Responses of 5 MiB or more are forwarded unchanged and not recorded in full, because the library does not call the response hook for them. Snapshots of original requests are capped at 1024 entries and 64 MiB. Replays (POST /api/traffic/replay) bypass capture rewrite rules by default via an internalX-ARTEX-Replay-Nonceheader stripped unconditionally by the proxy, and apply the rules when opted in withapply_rules: true(the Apply capture rewrite rules checkbox in the Replay panel).GET /api/trafficexposes the proxy'srewritecounters (large_responses,capacity_refusals,tombstone_drops,conversions,sweeps), flags each exchange row withrewritten, and filters withrewritten=all|rewritten|original(also acceptingtrue/false), surfaced with a filter control and row badge on the Traffic page. Traffic archives export version 2 with per-exchangerewrittenand sorted distinct appliedrewrite_rule_idswhile remaining deterministic and backward-compatible with version 1 archives. The rule-management web UI comes later. - Bulk finding status (#298): select findings in the findings table and apply one disposition to all of them, up to 500 per call, in one transaction; each row still goes through the single-decision notification semantics and the change is mirrored onto its exploration node (#289).
- Stream message direction filter (#379):
GET /api/traffic/streamand thetraffic_messagesagent tool take an optionaldirection(c2sors2c) that lists only one side of a WebSocket or SSE conversation.totalandoffsetapply to the filtered list, each row keeps itsseqin the whole stream, and themetarow (messages dropped past the recorder limits) stays in a filtered page. Any other value is a 400 (API) or a tool error. - Traffic replay (#266): replay a recorded request from the traffic detail with its method, URL, headers and stored body; replay is disabled when only the body preview is loaded.
- Finding proof strength in reports (#268): the Markdown report and the export show each finding's proof strength next to its verification status.
- Opt-in Keenable web search backend (#295): the search tool gains Keenable alongside Brave and Tavily; the key is stored encrypted and can be cleared independently.
- Durable activity outbox (#300): activity rows that cannot be stored are written to the new
activity_outboxtable (migration0006_activity_outbox.sql) and replayed once on the next start. The server stops admitting new work before the drain, and a shutdown cancel leaves an in-flight intent claim running so the next start can reset it to open instead of recording it as done or blocked. - LLM model search (#284): the System → LLM model picker can search the model list, and the API-key field opts out of password-manager autofill.
- Finding report state (#308): findings carry a
report_state(none,submitted,accepted,rejected,duplicate) for what was sent to a bug bounty program, separate from the triage status; the bulk update accepts both fields, and restoring an older archive fillsnone(migration0007_finding_report_state.sql).
Changed
record_factis facts-only (#410, #282): the tool publishes and accepts facts only; asset writes go throughinsert_assets.- Web dependency lockfile (#438):
source-map-js1.2.4 andbaseline-browser-mapping2.11.39, past their denial-of-service advisories;npm audit --omit=devis clean. - Build and supply-chain hardening (#408, #416, #419, #420): tool and Node digests are pinned instead of fetching their checksums,
npm ciruns with--ignore-scriptsin the build, install and update stages, the web build disables Next.js telemetry, and the api-recon skill lockfile points at the public npm registry. - Password changes revoke sessions: a password change stores a monotonic
auth.password_versionin the same transaction as the hash. Tokens carry that version, so a token from an older version is rejected, including when two changes land in the same second.reset-password.shwrites the same counter and requires an ARTEX restart, because the process reads the version at startup. A failed write leaves the previous session valid. Log, activity, and side-question streams re-check the token and close after the version moves. If the version cannot be read at startup, sessions are rejected until the next login reads it. - Task budgets survive a restart: planner, worker, judge, and compactor rows in
llm_usageare counted back intoARTEX_TASK_BUDGET_*. A restored task already inside the wrap-up reserve only has that reserve left, so the run wraps up instead of starting another worker. The per-worker estimate is not restored and starts from the defaults (50,000 tokens and 10 turns) until a worker finishes in this process. Chat, goal decomposition, and side questions stay outside the cap. - Untrusted-output boundary is now on by default: Norma frames tool results for the worker, planner, chat and main agent unless
ARTEX_UNTRUSTED_BOUNDARYis set to0,false,offorno. It was opt-in viaARTEX_UNTRUSTED_BOUNDARY=1in 0.6.0 (#166); the default flips here (#203). - Versioned migrations: the
dbpackage applies numbereddb/migrations/NNNN_slug.sqlfiles once, in order, under the schema advisory lock, and records a SHA-256 checksum inschema_migrations; missing, renamed, changed or out-of-order migrations fail closed (#226). - Coverage graph performance: the coverage graph batches its connector lookups (three queries instead of one per root and per company) and adds the partial index
idx_ts_icp; on a task of about 3,000 assets the p50 dropped from 126 ms to 27 ms and the queries per call from 221 to 3 (#230). - Request body bounds (#305): JSON request bodies decode at most 32 MiB, every non-multipart body is capped, and an oversized body answers 413 instead of a generic bad request.
ReadTimeoutbounds how long headers and the body may take to arrive without cutting a handler that is already running. - Chat attachments up to 512 MiB (#252): the client, server, compose file and reverse-proxy sample agree on a 512 MiB combined multipart limit.
- MITM passthrough TTL (#306): a host that cannot be intercepted is tunnelled for one minute, then interception is tried again; an expired mark counts as intercepted.
- Norma v0.4.11 (#294).
- CI: the suite also runs on the latest Go release as an advisory job, the rewrite-rule engine runs under the race detector, and the gzip/compression fixtures no longer depend on the local Go version (#279, #278).
- Repository hygiene (#275):
docs/is no longer ignored, and contributing documents the 7-open-pull-request cap (#307).
Fixed
- Compose private model endpoints (#406):
ARTEX_LLM_PRIVATE_ENDPOINTSis passed to the artex container, so the private endpoint allow-list works in the Compose deployment. - Bash exit 127 in transcripts (#398): the session transcript explains a 127 exit as a missing command and shows the matching hint.
- LLM usage status on early stream exit: when a consumer stops reading a stream before
message_stop, the recorder now stores thellm_usagerow aserrorat that point, whether or not the context was cancelled, instead of inferring the status fromctx.Err()in a deferred call.TestSideUsageRecordedOnceOnConsumerCancellationruns again (follow-up to #9). - RSI lesson trust: the planner overview carries each finding's triage status, and
prove_goalrefuses afalse_positive,duplicate, orignoredfinding. A lesson with no company is visible only to tasks that also have no company. Retracted evidence stays on the row withwithdrawn_atset, extraction runs when a disposition changes or a retest completes, and it still withdraws evidence after a task gains a second company. The rendered lesson block is capped in characters, not bytes. - Workspace and skill symlink confinement: workspace file operations, the skill file APIs and the skill loader resolve symlinks in every path component and refuse a target outside their root, so a link planted in the workspace or a skill directory cannot expose another file.
- Target gate behind proxies: a target approval is name-only whenever a proxy is in the path, including the recording proxy, the global egress proxy and a custom tool's own proxy, so the gate never claims an IP binding the proxy does not enforce.
- Remote MCP response bound: Streamable HTTP JSON-RPC bodies and SSE data payloads are refused above 8 MiB, so a remote MCP server cannot force an unbounded decode.
- LLM response capture bound: each recorded provider attempt keeps at most 1 MiB, and a call keeps at most 8 attempts, so a large or retrying stream cannot grow the recorder without bound. The live stream is unchanged.
- Intercept audit ring:
preToolUserecords allow only after intercept and the target gate decide, so a blocked call no longer leaves a leftover allow row inGuard.Audit(). - DSN password redaction:
config.Redactnow masks libpqpassword=keywords and?password=query values as well as URL userinfo, so a ping-failure log cannot print the database password. - Asset DSL nesting:
ParseDSLrefuses queries longer than 4 KiB or nested more than 32 parentheses deep, so a crafteddslcannot grow the goroutine stack without bound. - Retry-After overflow: a 429/503
Retry-Afterof huge seconds no longer wrapstime.Durationinto a tiny delay. Values aboveMaxDelayare not retried. - Conversation message pages:
GET /api/conversations/{id}/messagesclampslimit(200 for history, 1000 for?since=), so a huge query cannot load the whole transcript in one response. - Findings CSV formula cells:
FindingsCSVprefixes name, class, summary, task, and other text fields that start with=,+,-,@, tab, or CR so Excel/LibreOffice do not evaluate them as formulas when the export is opened. - Asset service links: the Services tab only uses an asset URL as
hrefwhen it ishttp:orhttps:.javascript:,data:, and other schemes render as text. - Chat session directories:
ChatAgent.Chataccepts only[A-Za-z0-9_-]session ids (at most 64 bytes) before joining them under<workDir>/sessions, so..and path separators cannot escape that directory. - Change-password rate limit:
POST /api/auth/change-passworduses the same limiter as login, keyed by client IP and by the session token, so a stolen session cannot guess the current password without backoff. - Ingested traffic headers:
RecordExternalrejects a method that is not an HTTP token and header names or values that contain CR, LF, or NUL, matching Replay, so ingested exchanges cannot inject extra header lines into stored evidence. - Browser MCP starts offline (#329): the seeded
browserMCP rannpx @playwright/mcp, which contacts the npm registry on every start even with the package installed globally, and Playwright MCP defaulted to a Chrome channel the image does not ship. It now runs the image'splaywright-mcpbinary with--headless --browser chromium. Existing databases that still have a stocknpx @playwright/mcprow (including the common-yform) or aplaywright-mcprow with no--browserare rewritten once; any other command or package is left alone. The image also installs the Chromium build@playwright/mcpand@playwright/cliexpect, which is not the same buildplaywright installputs in the cache. - CREATE DATABASE identifiers:
ensureDatabasenow builds the statement withpgx.Identifier, which quotes the DSN database name and doubles any embedded quote, so the name cannot close the identifier. No database name PostgreSQL accepts is refused, so existing installs with a hyphen, a dot or non-ASCII characters keep starting. - ask_operator image_path: the screenshot path must resolve inside the run directory of the agent that asks (
<data>/tasks/<id>/i<N>for a worker,<data>/tasks/<id>/mainfor the main agent). A relative path resolves from that directory and an absolute path must be inside it;..segments and symlinks that leave it are refused, so the tool cannot copy an arbitrary server image into the operator transcript. The copy is staged in<data>/tasks/<id>/uploads. - ask_operator image_path, behavior change: a worker that passed
i<N>/shot.pngrelative to the task directory must now passshot.pngfrom its working directory, or an absolute path inside its run directory. - insert_assets fail-closed: when intercept or task allow/block rules cannot be loaded,
insert_assetsrefuses the whole call instead of evaluating an empty rule set (which allowed every asset). The tool result does not include the underlying database error. - BlobRange length no longer wraps int64:
offset+length > sizeoverflowed when length was near MaxInt64, so the cap was skipped andmake([]byte, length)could exhaust memory. The bound is nowlength > size-offset. - PostgreSQL text[] literals escape backslashes:
marshalStringArrayquoted double quotes but not backslashes, so a value ending in\"could close the current array element and inject another. It now doubles backslashes before quotes, matchingmarshalJSONBArray. - Browser MCP env null no longer crashes startup: a stored MCP
envof JSONnullunmarshaled into a nil map, andsyncBrowserMCPProxythen assignedNODE_EXTRA_CA_CERTSwhen traffic capture was on, panicking the process on every start.decodeStrMapnow always returns a writable map. - Provider refusals reported as refusals: a turn the provider's safety system declined (Anthropic
stop_reason: "refusal", OpenAI-compatiblefinish_reason: "content_filter") has no text and no tool calls, so it ended ascompletedwith "the model ended this turn normally", and the idle-turn rerun resent the same conversation up to the empty-response retry count, where it is expected to be refused again. The LLM recorder now hands each call's stop reason to the run (llmrec.WithStopSink,agent.WithStopTracker). After a refusal the idle-turn rerun is skipped, and the run summary says the provider refused the turn and the intent was not completed. - LLM health badge on every task path:
/system/llm/read a breaker state that only the failover Pool wrote, so a profile used by an explicit task chain, by a bound agent with failover off, or as the global provider stayed "Healthy" through a real outage. Every task LLM attempt now records its outcome through the same policy the Pool uses, keyed by the profile that served it. The LLM recording page also explains an empty list when thellm_recordtoggle is off instead of looking broken. - LLM health persistence (#304): persisted breaker rows are applied in sequence at startup and written before the database closes, and a slow write no longer holds the registry lock while it runs.
- Skill visibility survives restarts: turning a skill off now writes an explicit disabled row instead of deleting it, so the startup seed, which only inserts missing rows, can no longer bring the skill back. Skills that were turned off before this version have no row to keep, so they come back once after the upgrade and must be turned off again.
- Browser extension traffic capture: CDP delivers
Network.responseReceivedresponse headers as an object, not an array of{name, value}records, so the extension threw on every response and never queued an exchange. It now accepts both shapes and lower-cases names before the body-capture gate, so captures work again andcontent-typecorrectly controls body capture. - bbot on arm64: the image now builds on arm64 hosts such as Apple Silicon. bbot's
gowitnessdownloaded an x86-64 Chrome andretirejsan x86-64 Node, which can't run there, so the build failed. On arm64 the image uses Debian'schromiumfor gowitness and an arm64 Node for retirejs, and the build check now coversretirejstoo. amd64 builds are unchanged. - Auto-scope hygiene: auto
task_scoperows count for coverage and untested assets only under a declared root, and direct coverage counts anchored assets through fact anchors only; the scope is described as "coverage scope, not enforced" (#196). - Enrich HTTP probe: it now dials through
intercept.PinnedDialer, so the target gate applies and a probe without a target scope is refused (#198). - Agent hook data races: the eight package-level hooks are synchronised, so a second wire-up no longer races tasks that already read them (#227).
- Coverage flag read failure (#303): asset-coverage tools stay available when the coverage flag cannot be read, and a failed read no longer disables coverage for the task.
- RSI lesson correctness (#287, #290): lessons are scoped from
task_scope, UTF-8 is no longer split mid-character, caution lessons are looked up by cue, lesson evidence and every retest are retracted when a finding's disposition reverses, and extraction is skipped on a task with more than one company. - Finding disposition mirror (#289): finding triage is mirrored onto its exploration node, so the graph and the findings table agree.
- RSI lessons in the data envelope (#288): lesson text reaches the planner and worker inside the same nonce-framed envelope as other target-derived content.
- Intent summaries framed (#311): the intent summary on the worker-finished and finding lines, and the summaries in
graph_overview, now reach the planner inside the nonce frame; the structured intent fields stay in the plain JSON, and the operator-typed deletion reason stays outside. - LLM pool context window (#286): the pool and side-question paths use the model's real context window instead of a default when computing compression thresholds.
- Sensitive rewrite values (#273 follow-ups): a kept sensitive value is matched on action type, header name and regex, and a host change is refused while a stored sensitive value is kept.
- Triage bot context (#274): the PR triage bot receives a directory map instead of a truncated file list.
Security
- Secrets at rest: the credential-bearing columns and settings (LLM API keys and proxy, task credentials, MCP server env, notification channel config, search and proxy settings), the exec spec of custom tools and the evidence snapshot heads are encrypted in PostgreSQL with AES-256-GCM (
enc:v1:) usingARTEX_SECRET_KEY, elsekeys/secret.key; existing plaintext rows are backfilled once at startup, and a missing or wrong key while encrypted data exists refuses to start. This protects database dumps and backups, not a running instance (#213, #216, #217, #218). - URL credentials are dropped before storage: scan and bbot ingestion, the asset store and archive restore strip URL userinfo, so
https://user:pass@host/appis stored and matched ashttps://host/app(#222, #223, #224). - Agentic injection and proof hardening (#437): the four surfaces that still carried target or agent text outside the per-message data envelope now go through it: the worker intent assets move out of the system prompt into the framed user message, and the planner stagnation warning, agent-written task credentials and planner todos are framed. Scanner output is opened with
os.Rootand every symlink and hard-linked file is refused.prove_goalcloses a goal with a finding only when a boundtraffic_refstill exists in the live capture and its host matches the finding's linked asset, and refuses fail-closed when that check is unavailable, so a planted or unbound finding stays recorded but cannot close a goal. An agent scope addition outside the declared scope, or one whose classification read fails, is recorded asexpandedwith its source and reason. A deterministic adversarial bench runs in CI against a hostile local target. - Interception, session, log and endpoint hardening (#436): when the interception rules cannot be read, tool calls are blocked instead of allowed, and a rule whose pattern does not compile blocks the calls it would target. A cookie-authenticated POST, PUT, PATCH or DELETE must carry a same-origin
OriginorSec-Fetch-Site, otherwise it answers 403; bearer tokens, GET and HEAD are unaffected. The one-time setup token is no longer written to the log the API exposes, and proxy credentials are masked at write time, on stderr and on read-back. The workspace refuses the capture CA, index and blob store for read and write, and refuses a delete that would remove them.POST /api/llm/modelsrefuses carrier-grade NAT, benchmark, IETF protocol and reserved ranges for literal hosts, resolved names, redirects and at dial time, judges NAT64 and 6to4 addresses by the IPv4 they embed, and no longer echoes an upstream error body.
Thanks
Thanks to the contributors whose work is in this release:
- Security and core reliability: @Coff0xc, @Protonmatter, @liuxiaobo0920, @cyberd4ch, @Dev-next-gen, @Michael-JRead, @anqorithm, @renaesop, @tglemser, @adam-33-pixel
- Features, UI and locales: @Toys0125, @cocodedk, @BlackGownQ, @Amineharrabi, @chetanvhsk-wq, @YunzhouLi-hub, @mervedalgin
- Build, packaging and tests: @ldevbr, @Lusitaniae, @mp-web3, @Alexandre200-lab, @maheshBawa
- Documentation: @err0rgod, @yeting1107, @henefesto, @mathkartel