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:
1 parent
00cbb65447
commit
8b7911669d
16 files changed
+574
-43
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
# Reports whether this shell can reach the network.
|
||||
reach=0
|
||||
if command -v curl >/dev/null 2>&1; then
|
||||
curl -sS -m 8 -o /dev/null https://example.com 2>/dev/null && reach=1
|
||||
fi
|
||||
python3 - <<'PY' && reach=1
|
||||
import socket, sys
|
||||
try:
|
||||
socket.create_connection(("1.1.1.1", 443), 5).close()
|
||||
except OSError:
|
||||
sys.exit(1)
|
||||
PY
|
||||
getent hosts example.com >/dev/null 2>&1 && echo "DNS_RESOLVES"
|
||||
if [ "$reach" = 1 ]; then echo "NETWORK_REACHABLE"; else echo "NETWORK_BLOCKED"; fi
|
||||
Reference in new issue
Block a user