Commit Graph
6 Commits
Author SHA1 Message Date
Marius Ciepluch 1721b58f93 test(search-with-proof): the probe test prints its whole record when the status is not ok
The CI run on d68280b (run 46182501224) failed one test of the checks job whose
cause its output does not name:
tests/test_search_probe.py::test_task_boundary_probe_executes_packaged_pairs[real],
with status instrument_failure. The assertion showed the record through pytest's
short repr, which cuts it after a few keys. The test passes here in both
environments, so the cause on the runner is still unknown.

What changed
- When the probe's status is not ok, the test prints the whole record as JSON
  before it asserts. A failed test shows what it printed, so the next run on
  GitHub names the cause.
- The assertion message is the status. The record is in the printed output.
- Nothing else: a passing run prints nothing, and the test skips on nothing new.

Checks
- s10_ci2_pytest.out: tests/test_search_probe.py, 16 passed in the project
  environment and 16 passed in a fresh environment from the lockfile
  (s10_lock_venv_sync.out).
- s10_ci2_exits.txt: the gates with label ci2, ten zeros. s10_ci2_diffcheck.out:
  one file, +4 -1; git diff --check exits 0.
- The s10 files are under /tmp/opencode, outside the repository.

Not verified
- The cause on the runner. The two refusals that CI met before (c4720ba) cannot
  come from the probe's own commands at the task boundary: the browser starts
  with --no-sandbox and without bwrap (oracles.py:210, 253-254, 261;
  verify.py:646), and the ssrf oracle starts no unshare (oracles.py:149-150;
  verify.py:404-405).
- Why the test fails on the runner now: the search package is unchanged since
  d26fbcb, where the test was not among the failures of run 45352669096.

Review.
Review, two rounds, read-only, 2026-11-28: tree approved. Round one removed its skip: it
could neither fire in this test nor be trusted, since it matched the whole record while
the exception names only the first mismatch. Round two is one hunk. Checked: nothing else
in the file moved against HEAD; with the status ok nothing is printed (16 passed here, in
both environments); in plain pytest a failing test shows the record under Captured stdout
call and fails with the status (the same block on a record of the real probe.probe with a
stubbed side task). The commands of the task boundary, captured without launching them:
the browser starts with --no-sandbox and no bwrap (oracles.py:253-254 clears the list; the
shorter list of :233 belongs to a root container), and the ssrf oracle starts no unshare
(oracles.py:149-150). So the two old refusals cannot come from the probe's own commands
there. Not verified: the run id and the cause on the runner.
2026-11-28 22:27:17 +01:00
Marius CiepluchandClaude Fable 5.1 17194b3df9 ci: pytest runs with the hunt and semantic extras kept; sandbox tests skip by cause where no bwrap exists
CI's first full pytest run since 2836b78 showed 65 failures in three classes. uv run re-synced the environment
to the lockfile's default extras before pytest, removing dspy again (UV_NO_SYNC=1 now). The learn slice, pair
corpus and hunt producer tests need tree-sitter (semantic extra installed). Thirty-two tests need bubblewrap
isolation, which CI's container cannot provide: they carry a sandbox marker and skip where the isolation
preflight fails, with the cause's type in the reason; proven locally by hiding bwrap (7 skipped, 23 passed).
The partial-clone extraction test now probes one lazy fetch through git itself first, so git's own stderr
reaches the next CI log instead of git_exit_128.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-14 07:54:09 +02:00
Marius Ciepluch 007415c151 Merge branch 'main' into probe-task-boundary
# Conflicts:
#	src/openultrasast/search/probe.py
2026-10-05 21:14:55 +02:00
Marius CiepluchandClaude Fable 5.1 2d3c94e33b search probe: task-boundary mode runs the oracle self-tests in-process
On kube-ax the probe detected task-boundary and then failed the bwrap preflight it
no longer needs; now it skips the preflight, runs every oracle pair through the
verifier path a task uses, and reports ok only if every real demo is
demonstrated and no gaming demo is. Fixes a double fixture-path translation.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-05 21:11:26 +02:00
Marius CiepluchandClaude Opus 5.5 85f4f0b3d4 search-with-proof: declarative demos, brain/executor split, kube-ax constraints
Demos are data the verifier executes (fixed build recipes, runtime+path start,
HTTP/CLI steps with captures; the canary is never referable). The agent loop with
the key never runs repository code: executor tasks without a key exchange commands
and results through presigned objects. AX capacity errors are back-pressure with at
most 2 tasks in flight; caches and builds under /workspace with a 2 GiB guard;
verifiers take one presigned archive per side. Launcher fix: private /dev in bwrap.
190 tests on the host; probe 5/5 demonstrated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-05 17:12:46 +02:00
Marius CiepluchandClaude Opus 5.5 0f74767db9 search-with-proof: probe harness (3.2) and agent worker (group 5)
Probe runs each oracle toy pair with a real demo and two gaming demos, records
image facts, RSS and disk, fails loudly if isolation is unavailable; dispatchable
as an AX task. Worker: reason step without tools, explore tool loop whose run tool
goes through the sandbox with a scrubbed env (model key absent), spend reserved
before each call. Host probe: 5/5 real demos demonstrated, 10/10 gaming demos
inconclusive. 89 tests.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-05 14:45:48 +02:00