Repository navigation
Land verified review fixes: #602, #621, #604, #616, #629 (extra_hosts), #619 bench-v2, #580 docs - #639
Merged
Conversation
…#602) Rebased onto main (5f5ec32), keeping migration 0017_legacy_fact_capture_provenance.sql, cross-task shared-capture isolation, repair_legacy_fact_captures, and digest retirement. Addresses review findings: - prove_goal resolves evidence strictly within this task (GetNode, not GetNodeWithSources), blocking linked-task facts/findings from closing this task's goals. - Facts with missing, empty, unverified, retired (captured_traffic), or non-matching provenance fail closed in prove_goal. - Preserves a task-scoped tool_output proof path for TCP/DNS/non-HTTP goals by tying tool_output facts strictly to this task's recorded tool_result activity (ToolResultActivityContainingEvidence + ActivityMatchesProvenance) without ever reading the shared proxy store. - For source=operator_input, prove_goal requires the whitespace/case-normalized summary to be contained in the verified operator evidence quote, preventing a benign real operator quote from smuggling an unrelated summary claim (tested in TestProveGoalOperatorInputSummaryMustMatchEvidencePG). Co-authored-by: James K <jamesKhor@users.noreply.github.com>
…rofiles, and configurable lock (#621) Rebased onto main (5f5ec32) and hardened per security review: - Opt-in only (-shared-browser / ARTEX_SHARED_BROWSER=true; default false); README and CHANGELOG accurately describe hardened behavior and document the residual risk of same-UID argv token visibility alongside per-message operator-hold/lease enforcement and immediate revocation. - Isolates CDP via --remote-debugging-pipe on Unix (no Chromium DevTools TCP port or DevToolsActivePort) fronted by a per-run 256-bit token-authenticated server CDP proxy enforcing operator hold and active lease on every HTTP request and WebSocket message. - Removes --ignore-certificate-errors from the capture path; trusts only ARTEX's capture CA SPKI pin (--ignore-certificate-errors-spki-list) and fails closed if unreadable. - Removes --disable-blink-features=AutomationControlled and the HeadlessChrome user-agent rewrite (policy: hand challenges off via ask_operator). - Isolates browser profiles per task or chat session under <data>/browser-profiles/<scope> using descriptor-relative openat(O_NOFOLLOW|O_DIRECTORY) + fchown + unlinkat with root-owned parent (no filepath.Walk over executor-owned trees), tested against root/scope/child symlinks. - Makes operator lock / ask_operator hold timeout configurable via -shared-browser-lock-timeout / ARTEX_SHARED_BROWSER_LOCK_TIMEOUT (default 15m), auto-expiring idle locks. Co-authored-by: Pranil Acharya <Pro-Nil@users.noreply.github.com>
#604) Rebased onto main after #611 (preserving web test:tamper-hooks). Fixes the go filter from !**/*.md to !*.md (root-only Markdown) while keeping !docs/** so changes under skills/*/SKILL.md still trigger Go tests (TestShippedSkillsParseCleanly, TestDiscoveryQualityGateTableDriven). Co-authored-by: Sisanta Chhatoi <sisantaChhatoi@users.noreply.github.com>
Split from PR #629 (docker-compose.yml extra_hosts only; skills/*/SKILL.md mcps: browser changes remain on HOLD pending maintainer decision on ScopeSentry/browser gating; base skill gating unchanged). Co-authored-by: Renato <renatomfn@gmail.com>
Co-authored-by: Owen Pierce <sresarehumantoo@users.noreply.github.com>
…ge/GT/Wilson contract (#619) Follow-up on top of C02 implementing the remaining bench-v2 rules: - R2: verify each credited finding has a bound traffic_ref present in this run's capture store with a timestamp inside [run_window_start, run_window_end] (excluding missing, unknown, or out-of-window captures from both detection and precision). - R5: bump METHOD_VERSION to bench-v2, pin judge model (PINNED_JUDGE_MODEL, explicit --allow-custom-judge-model override) and stamp JUDGE_PROMPT_VERSION + JUDGE_PROMPT_SHA256, compute and store canonical ground_truth_sha256, and report Wilson 95% confidence intervals for both detection rate and precision.
…2 /mnt/c, backups, and skills (#580) Docs-only follow-up to #580 (no code changes): - README & scripts/backup.sh comment: clarify that --with-data archives host ./data rather than the named volume; document docker compose ... cp artex:/app/data ./data and volume tar backup referencing the Compose project's data volume (via docker compose ... config --volumes / docker volume ls). - README: document pre-up migration of ./keys and ./data (docker compose ... create artex + cp, or ARTEX_SECRET_KEY) to avoid failing startup with sealed DB secrets and an empty keys volume. - README: clarify GHCR installs keep -f docker-compose.ghcr.yml -f docker-compose.desktop.yml across all commands. - README: qualify native Linux (Docker Engine in WSL2 with repo on /mnt/c hits the same 0777 bind-mount issue). - README: run docker compose ... down before docker volume rm on the project's skills volume. - README: document GHCR+overlay alternatives to checkout-based cp ./skills/. (volume removal after down or host skill bind-mount).
This was referenced Nov 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this lands
Seven reviewed commits, rebased onto main 5f5ec32 and verified together as one stack. Each one closes a review finding from the security and correctness pass.
GetNode), facts with missing, empty, unverified, retired (captured_traffic) or foreign provenance fail closed, and non-HTTP goals can close through a task-scopedtool_outputfact tied to a recordedtool_resultactivity.operator_inputfacts now require the normalized summary to be contained in the verified operator evidence quote.--remote-debugging-pipeon Unix (no Chromium TCP port orDevToolsActivePort) behind a per-run 256-bit token proxy that re-checks operator hold and lease on every HTTP request and WebSocket message. The capture CA is pinned with--ignore-certificate-errors-spki-listand the code fails closed instead of using--ignore-certificate-errors. No anti-bot stealth flags. Profiles are isolated per task or session under<data>/browser-profiles/<scope>with descriptor-relativeopenat(O_NOFOLLOW|O_DIRECTORY)+fchown+unlinkat, tested against root, scope and child symlinks. The operator lock timeout is configurable. The residual risk of same-UID argv token visibility is documented.!*.md(root-only Markdown) instead of!**/*.md, keeps!docs/**, soskills/*/SKILL.mdedits run the Go tests, and preservestest:tamper-hooks.docker-compose.ymlgainsextra_hosts: ["host.docker.internal:host-gateway"]. Theskills/*/SKILL.mdpart of compose: host.docker.internal + skills: gate mcps #629 (B08b) stays on hold.http,https,wsandwssso a URL quoted in a query string no longer matches, and host comparison is case-insensitive.traffic_refpresent in this run's capture store and inside the run window,METHOD_VERSIONbecomesbench-v2, the judge model and prompt are pinned and hashed, ground truth is hashed, and detection and precision carry Wilson 95 percent intervals.scripts/backup.shcomment only. Named-volume migration before the firstup, GHCR Compose flags, WSL2/mnt/cbind-mount behavior, backups from volumes,downbeforedocker volume rm, and skills refresh without a checkout. No code change.Migration
db/migrations/0017_legacy_fact_capture_provenance.sqlonly. #598 already owns 0016. No other schema change and no dependency change.Excluded on purpose
biome ci(211 errors), so the lint config is unenforced #612 (web reducers) stay on hold.skills/*/SKILL.mdbrowser gating) stays on hold.b7466cc,3b1b9a4,9e98daband0a6d47eare not merged; this stack contains their reviewed replacements.Tests
Run on this branch and on a clean worktree at 5f5ec32 with the same seven patches:
go build ./cmd/artexandgo vet ./agent ./db ./server ./traffic ./cmd/...pass.go test ./db ./agentagainst a disposable PostgreSQL 16 with scram-sha-256 pass (db 74.67s, agent 25.30s).go test -race ./servertargeted (TestSharedBrowser|TestPrepareSharedBrowser|TestProveGoal|TestRecordFact|TestTaskLLM|TestEngine|TestAskOperator|TestBrowser|TestAgentGate) passes.go test ./traffic ./intercept ./guardpasses.python3 -m unittest scripts/benchmark/test_run_bench.py scripts/benchmark/test_drost.pypasses 42/42.node web/scripts/check-i18n.mjspasses 2717/2717.!*.md,!docs/**, no!**/*.md,test:tamper-hookspresent andneeds: changeson every job.docker compose -f docker-compose.yml configpasses; the desktop overlay lists thedata,keys,skillsandpgdatavolumes.bash -n scripts/backup.shpasses and the R09 diff touches comments only.Credits
The commits carry
Co-authored-byfor the original PR authors: James K, Pranil Acharya, Sisanta Chhatoi, Owen Pierce and Renato. The fixes were rebased and verified together before landing.