Track B: networkless shell, context metrics, freeze, journal

- Claude Code and OpenCode: system shells replaced inside the sandbox by
  wrappers that run every command in a nested bubblewrap with an empty
  network namespace and no resolver socket; the CLI keeps its backend
  connection. dev-netprobe (new dev task) passes for all three agents:
  no network, no DNS from the shell
- context metrics for both tracks: provider input (cached/uncached),
  cumulative context through the tool loop, unique reference tokens and
  bundle coverage; report shows them; no dollar cost for Track B
- ajieval freeze: frozen state (clean Aji commit, binary, bundle,
  toolchains, docs, CLI versions and config fingerprints, tasks,
  evaluator, limits) and a shuffled cell order; matrix verifies it and
  runs cells sequentially in that order; ajieval journal
- docs: benchmark-authoring.md (roles, clean-context brief, E-G
  checklist); harness.md, protocol §39b, plan updated
This commit is contained in:
dev committed 2026-10-04 17:58:32 +03:00
1 parent 00cbb65447
commit 8b7911669d
16 files changed
+574 -43

No files matched your search

+3 -1
View File
@@ -9,7 +9,7 @@ import subprocess
import sys
import time
from . import __version__, agent, languages, providers, sandbox, task as task_mod, util
from . import __version__, agent, context, languages, providers, sandbox, task as task_mod, util
class Recorder:
@@ -104,6 +104,8 @@ def run_one(task_dir, lang_name, provider_name, model, out_dir, model_class=None
for key in ("files_opened",):
metrics[key + "_count"] = len(metrics[key])
metrics["documentation_tokens_estimate"] = util.estimate_tokens(metrics["documentation_bytes_read"])
metrics["context"] = context.metrics(context.tool_events_track_a(os.path.join(run_dir, "events.jsonl")), message, docs,
{"input": metrics["input_tokens"], "output": metrics["output_tokens"], "cached_input": metrics["cached_input_tokens"]})
metrics["repository_tokens_estimate"] = util.estimate_tokens(metrics["repository_bytes_read"])
verdict = first_verdict = None