mrmrs-0a9c5c
mrmrs-0a9c5cClosedinto main
3 commits · 6 files · ~6 modified
Description
Measure bounded end-to-end agent task costs without production mutations.
Adds a successful owned-loopback Oak task cell: seed oak serve, acquire a fresh
full clone, inspect/edit/commit/push, acquire a second independent fresh clone,
repeat, then verify exact file bytes and selected-branch head from a third fresh
clone and the server branch endpoint. Every process and command is bounded and
owned; local CI/review remain explicit unmeasured rows. The cell does not claim
shared-object warmth, known OS-cache state, network-byte measurement, hosted
semantics, or a latency comparison with local-file Git.
Independent QA correction: interruption evidence certifies a request only when one strict ASCII-decimal, bounded Content-Length (with valid HTTP OWS) exactly matches observed bytes. Signed/duplicate lengths are rejected. Deadline coverage handles partial senders, and owned POSIX groups are killed even when the leader exits but a descendant ignores SIGTERM. Fixture delivery knowledge stays separate from the CLI's own reported outcome. Exact worktree payload hash, local head, and unpublished state must all survive; a generic CLI error is unreported rather than inferred unknown.
Negative fixtures cover truncated, missing, invalid, signed, duplicate, oversized, and stalled request bodies, timed-out children and POSIX descendants, outcome separation, and payload mismatch. Call counts are explicitly scripted command equivalents, not model-observed calls. A corrected n=10 matrix for released 0.102.1 and preserved 0.103.0 passed request/head/payload/unpublished state/no-replay gates. A quiet-window n=10 successful local Oak cell passed exact payload/head/server-cleanup gates; local CI/review remain unconfigured.
Extends the existing task-loop lane with a local-file Git cold full clone plus warm shared-object worktree scenario, explicit unmeasured hosted-CI rows, per-phase/tool/output/setup/cleanup/cache/storage accounting, and remote payload oracles. Adds an actual Oak loopback interrupted-publication scenario that reads exactly one complete push request, drops the response, and verifies the client preserves local head/work without blind replay. Fixes the local bare remote HEAD seed that previously broke the second worktree acquisition.
Reuses parallel_contention.py for concurrent isolation rather than adding a second worker framework. Documents evidence limits: local Git is not a network comparison; the fault fixture is not accepted-then-lost durability; hosted CI, network bytes, OS cache state, partial clone, and Oak shared-cache warmth stay unmeasured.
Verification: full 896 unittest cases pass with two intentional skips; focused actual-Oak task/instrument tests 51 pass; n=10 successful local Oak, n=10 Git task, n=10 each released/current Oak interruption, and n=10 Git workspace isolation at workers 2 and 4 all passed their applicable oracles. Independent review of this final amendment remains required.
Commits3
- 25881039a2bb mrmrs 2 months ago
- 54b9920be8df mrmrs 2 months ago
- dc75e12cb299 mrmrs 2 months ago
README.mdmodifiedView file
| Scripted workflows | `scripts/workflow_ab.py` | Implemented for deterministic bugfix, wide refactor, large asset, history archaeology, error recovery, and sync/divergence recovery workflows. || Real agents | `scripts/agent_workflow.py` | Implemented for mock plus local Codex, Claude, and Cursor Agent stream adapters. Use real rows only when the installed CLI stream has campaign evidence. || Parallel contention | `scripts/parallel_contention.py` | Implemented for Git shared/workspace modes; Oak workspace-per-task rows require a disposable Oak remote and otherwise skip honestly. || End-to-end task loop | `scripts/task_loop.py` | Git local-file cold-clone/warm-worktree rows, successful Oak two-fresh-checkout work against owned loopback `oak serve`, and actual Oak loopback interrupted-publication evidence are runnable without production writes. Local Oak CI/review and transport-matched hosted phases remain unmeasured. || Mount/lazy hydration | `scripts/mount_probe.py`, `scripts/mount_vs_clone.py` | Dry probe and partial remote-backed coverage. Real mount timing needs `OAK_BENCH_MOUNT_REPO`; large-mirror Oak-vs-Git acquisition is not publishable yet. || Platform lifecycle | `scripts/platform_lifecycle.py` | Implemented for capability probes, hosted integration anatomy, poll-until-merged, race scenarios, and fake-provider branch triage. Real hosted rows need credentials and disposable repos. Excluded from devloop. || Netshape | `scripts/netshape_bench.py` | Implemented where Linux network namespaces and `tc` are available. Cross-subject latency claims require the same shaped pipe and server identity. |- Workspace-per-agent fleets: Git worktree contention is implemented. Oak workspace-per-task needs real disposable remotes, high-concurrency mount/push behavior, branch cleanup, and merge/integration plumbing.- Full Oak task loop: the roadmap is mount -> edit -> commit -> push -> desc -> finish/clean -> remount follow-up, compared with Git's clone/worktree, branch, commit, push, cleanup, and follow-up flow.- Full hosted task loop: local Git cold-clone/warm-worktree and Oak interrupted-publication cells are implemented. A transport-matched Oak/GitHub acquisition -> publish -> exact-CI -> review comparison still needs disposable provider fixtures; missing provider phases stay explicit skip rows.- Hosted workflow evidence: platform rows need GitHub org assets, PATs or app credentials, webhooks, disposable repos, and real Oak/GitHub provider wiring before public hosted-branch claims. --workers 2,8,32 --commits-per-worker 5```End-to-end task cost without production writes:```bash# Fresh full clone followed by a shared-object Git worktree. Hosted CI remains# an explicit unmeasured phase on the local-file transport.python3 scripts/task_loop.py --subjects git --git-remote local \ --scenarios agent_task_baseline_v1 --runs 10# Successful Oak clone/edit/commit/push in two independent fresh checkouts,# backed by an owned loopback `oak serve`. Hosted CI/review remain explicit skips.python3 scripts/task_loop.py --subjects oak_local \ --oak-local-bin /path/to/current-oak \ --scenarios agent_task_oak_local_v1 --runs 10# Actual Oak HTTP publication attempt whose loopback fixture verifies the# declared request bytes, then drops the reply. Use pinned released/current# binaries; no live remote is used.python3 scripts/task_loop.py --subjects oak_installed,oak_local \ --oak-installed-bin /path/to/released-oak \ --oak-local-bin /path/to/current-oak \ --scenarios interrupted_publication_after_request_v1 \ --runs 10 --randomize-subject-order```These cells are different evidence classes. Local Git wall time is not anetwork comparison, and the Oak local-server row is loopback-only. Its secondcheckout is fresh and does not claim shared-object or OS-cache warmth. Theinterruption fixture reports framed-request deliveryknowledge separately from the CLI's own outcome claim and verifies exact localhead, unpublished state, and payload preservation; it does not measuresuccessful publication latency. Its call counts are scripted commandequivalents, not model-observed tool calls. Local Oak CI/review are unconfiguredand stay explicit skips rather than synthetic passes. Use`parallel_contention.py --modes workspace_per_task` for concurrent isolatedtasks instead of duplicating its worker implementation here.Mount and acquisition probes:```bashdocs/benchmark-coverage.mdmodifiedView file
Loading diff…
scripts/oakbench/execution.pymodifiedView file
Loading diff…
scripts/task_loop.pymodifiedView file
Loading diff…
tests/test_new_instruments.pymodifiedView file
Loading diff…
tests/test_task_loop.pymodifiedView file
Loading diff…