Repository navigation
Preregister a head-to-head of six agent skill packs and plain Claude Code on real bug fixes - #349
Merged
Merged
Conversation
… frozen values and the lane's shared types Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ead lane Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ryable reservation-bound refusal at the proxy Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…s frozen from each pack at its pin Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ecks Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…er simulation The O frame at MultiLang eb09c2e5 (still the Hugging Face head on 2026-11-15) with the exclusion list, the frozen licence read, the harness screen and the told-mode screen; its seeded order with draw_seed; one draw module for O, B1 and B2; the h2h dispatcher and rerun; and power.py on numpy's own stream, which reproduces power.txt. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…econdary and lines The scorer extracts the main checkout's change against base in a scratch git dir that reads the arm's objects and refs but none of its index, hooks, filters or config, leaves nested worktree dirs out, drops arm files at the fix's new test paths, runs the reused first-stage scorer with one retry on an infra gap, and records the reading without the new-test rule, the worktree secondary and the lines secondary. Sessions may carry an optional base_head. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…and hidden test names Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…nd add the install, pins and contain-home commands Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…rsers for the skill-pack head-to-head The B2 miner reads the pinned GitHub Advisory Database and the B1 miner searches permissive TypeScript and JavaScript repositories with a root real-browser test runner. Recipes build each candidate's image at the fix's parent with a pinned toolchain; the store keeps images by digest; the parsers read JUnit, TRX, go test -json, cargo test, Jest and Vitest reports. The state machines test container gains optional run arguments (shm size, read-only mounts, env), unchanged when absent. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…et and the B fallbacks Discovery runs in the stored image with no network; the first runner whose plan finds fail-to-pass and pass-to-pass tests over the fix's tests is the unit's runner. B1 units must show a real browser engine in the runner's own report and must not also be collected under node or jsdom. The oracle is the state machines oracle from the stored digest, 5 and 5 runs with the browser conditions for B1, 3 and 3 for B2. The label step builds the frozen two-model packet and reports agreement; it makes no model call. Seven commands expose the steps. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…st one Go candidate end to end in Docker GOPROXY=off and CARGO_NET_OFFLINE were set before the dependency fetch, so go mod download could not reach the module proxy. They now bind only the runs. The Docker test serves a small Go repository from a local git daemon and takes it through the recipe build, the local registry store, discovery, the derived tests and the unit dir. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… and drive them keylessly against a stub upstream Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…sitory list to the head-to-head bundle b2-frame.json is the B2 miner's one run over github/advisory-database at a91f5a5: 1,508 eligible advisories in the primary window (839 at 3 a repository) and 419 more in the widened window, with every drop counted by rule. b2-licences.json is the one GraphQL licence read it used. b1-repos.json is the frozen B1 repository search. The files hold ids, links, counts and digests only, no advisory or issue text. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…e sealed stage 1 readout and COST Section 9's family of 12 with Obuchowski's clustered McNemar test, exact McNemar, Holm, the repository-clustered bootstrap on bootstrap_seed and the MDD at each contrast's discordant share and Holm step; the row states, exposure, secondaries, strata, piece G and the section 10 rows that fire. The stage 1 readout prints only the release list and seals per-arm outcomes with AES-256-GCM. COST re-prices the stage 2 items from stage 1 costs against the post's A2 caps, with allowance doubling and the frozen n cut, and the ledger dry run settles one lease per item. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Planted cases for the O gates, the seeded order, positions, the repository cap, pending and short walks, B's shrink and infeasible paths and reserves; the dispatcher and rerun's exit codes with a stand-in runner. PART-C.md records how this build reads the post where it leaves a detail open. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…checks trees do Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Two small repositories from a local git daemon go through the frozen recipe, a local registry store by digest and preparation from the stored digest. The Go unit is kept over 3 base and 3 fixed runs. The Playwright unit passes the browser-engine check and is kept over 5 base and 5 fixed runs in the hardened container with a 2 GB /dev/shm and the launcher wrapper. Gated by GSTACK_EVALS_DOCKER=1. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…-to-head-prereg Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # docs/errors.md
…-to-head-prereg Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # docs/errors.md # lanes/outcome-skills/h2h/types.ts # wiki/plans/2026-11-15-geva-538-skill-pack-h2h-prereg/README.md
…n plugins, second licence read and browser-unit positions Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…into h2h-part-b Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # docs/errors.md # wiki/plans/2026-11-15-geva-538-skill-pack-h2h-prereg/README.md
…ence read, and search B1 without a licence filter The licence rule now keeps a repository whose GraphQL licence is missing or NOASSERTION, marks it second_read_pending with its raw spdxId, and leaves the root licence-file read to the ordinary-unit code. MIT-0 is on the list. GitHub's licence search cannot find a repository whose licence it does not detect, so the B1 repository search now runs once per language with no licence qualifier and probes only repositories whose licence is listed or pending. The B fallbacks follow the new B1 floor (20 units in stage 2, so 32 usable) and leave positions to the draw. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…hole frame The O frame's licence gate now reads the root LICENSE, LICENCE and COPYING files of any repository GitHub's GraphQL calls NOASSERTION or names no licence for, once on the freeze date. A frozen keyless rule matches each file against the pinned SPDX templates of the listed licences (MIT-0 is now listed). The repository passes only when it has such a file and every one matches. classifyLicenceFiles is exported for part B. o-licences.json records each file's name, blob id, size, sha256 and match, never its text. The matcher visits each (template step, text position) pair once. A regular expression with the same slots backtracked for over 20 minutes on one near miss. B1 now walks its whole frame before it places anything. With N usable units, stage 1 takes round(k*N/7) for k = 1 to 6, stage 0 takes N, the reserves are the last 5 free positions before N, and stage 2 the rest up to half of B's n. Under 20 stage 2 units the draw stops with E_H2H_DRAW_SHORT until the widened frame is drawn with --b1-fallbacks-done; still short, B reads on B2 alone. The draw gains --full-size: added units take the next positions after stage 0's units, and no unit lands in two stages. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
o-licences.json gains the second read of 76 repositories (15 pass). The O frame now holds 642 eligible units, 394 of them from 2026-03-01, and o-order.json is redrawn from it. The post's attachments block carries the new digests. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
b2-frame.json and b2-licences.json now keep repositories whose GitHub licence is missing or NOASSERTION, marked second_read_pending. b1-repos.json is the new repository search with no licence qualifier (1,959 repositories, 456 kept), and b1-frame.json is the first frozen B1 frame: 1,600 eligible fix pull requests in the primary window, 315 at 3 a repository. Rows hold ids, URLs and digests only. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…not be followed Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…d-to-head-prereg Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> # Conflicts: # wiki/plans/2026-11-15-geva-538-skill-pack-h2h-prereg/README.md
…frozen frame counts in the post Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Scoring commands for runners that take a file list (Playwright, Vitest, Jest, Mocha, node:test, Web Test Runner and Cypress) passed only the fix's test files, so a failing test file the arm added never ran and the new-test rule could not mark the session broken. Each command now also passes every file new to the base commit that the scorer's own test-file classifier calls a test. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
mine-b1, mine-b2, image-build, image-store, oracle-b, browser-check and label-packet were unknown commands because the dispatcher did not load their module. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…e arm's home before any spend A whole-session retry now gets only what the first attempt left of the session allowance, and opens only while at least half is left; otherwise the first upstream or infra end is the gap. The session record sums spend and tokens over every attempt and keeps each attempt's own slot and usage. Every session checks the arm's installed home against its pinned hash before anything is built or any slot opens, on the planned path and the rerun path. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… frame against the post draw --class B and analysis --frame expected every frame to hold a units list, but the committed B1 and B2 frames hold pull_requests and advisories, so both commands refused them before the gate walk. A new shared reader, h2h/frames.ts, reads the three frozen frame schemas and turns each B row into a unit under the id breadth's candidateOf gives it, the id image preparation already uses, keeping its window. The draw takes primary rows; --b1-fallbacks-done adds B1's widened rows and the new --b2-widened adds B2's, the frozen fallbacks. A keyless test reads each committed frame through the reader, checks that its rows reproduce the frame's own counts, and checks those counts against the numbers the post publishes. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…p when it cannot cover one A whole-session retry runs on a full allowance slot again, as the plan's retry rule reads. It opens only while the money cap above the session covers one more allowance: rerun checks its remaining spend cap, and the driver's item lease refuses the slot on the planned path. Otherwise the session ends as a cap stop, never as a gap, and rerun still counts its spend. The record sums spend and tokens over attempts and adds the scored attempt's own spend for the allowance doubling rule. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ET tasks These runners filter by package, class or project, so a failing test file the arm added outside the fix's filter never ran. Each scoring command now adds the Go package, Maven class and module, Cargo package or .NET project that owns each new test file the scorer's classifier finds. A file no Maven module, Cargo package or .NET project owns is listed as uncollected, and Maven and Cargo then run without their module or package filter. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
A retried session's cost_usd sums its attempts, which is right for pricing and dollars per verified fix. The doubling rule asks whether the allowance binds one attempt, so it now reads scored_attempt_cost_usd and falls back to cost_usd for a session with one attempt. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
The frozen rule doubles the allowance when stage 1's 95th-percentile session cost is above half of it. A retried session's cost is its attempts summed, as cost_usd records them, so the rule reads cost_usd again and the last-attempt field nothing else read is gone. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
capy-ai Bot
added a commit
that referenced
this pull request
Nov 15, 2026
Model reviewers in /ship no longer read a preregistration's frozen data files: the `*-frame.json`, `*-repos.json` and `*-licences.json` files directly inside a wiki/plans post folder. These data files leave model review because a CI test recounts every published count from them; the first such files and their recount test arrive with the skill-pack head-to-head preregistration (#349), whose 4.8 MB diff is over the 2 MB gstack hands one reviewer. Nothing to do: reviewers still read the code that writes and reads these files, the post and its prereg.json, and a later post that adds such files should add the same kind of recount test. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…marked temp root fixtureRepo() and the eng-review unit tests made git repos in the temp dir with an https://example.invalid remote. gstack's review sweep counted them as fetched clones whenever a reviewer ran those tests. Each repo now sits under a temp root that carries .gstack-test-fixture, and the eng-review test removes its roots after the run. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Score B1 units under the same browser conditions as their sessions and oracle, count GSD planning files from the session's tree.tar, and stop gating piece G's less-code and more-correct reads on ponystack's exposure, as the post says. Review-Finding: p2/red-team#1 reader=red-team Review-Finding: p2/red-team#2 reader=red-team Review-Finding: p2/red-team#3 reader=red-team Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…nning files readExposure now raises E_H2H_EXPOSURE with tar's error when the session's tree.tar exists but tar cannot list it, so a GSD session is never read as not exercised for want of its planning files. E_H2H_EXPOSURE documents the case, is no longer retry-safe, and says the attempt has already spent. From Capy's review finding 01M7FB6YGZXF4G12S9F5XWBK3N, fixed in fix round 1 by the Captain's ruling. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ad-prereg Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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 changed
Adds the preregistration and the keyless harness for a head-to-head of six agent skill packs (gstack, Superpowers, agent-skills, GSD, pstack and tstack) against plain Claude Code, all on Claude Opus 5.5, on real bug fixes that each project's own hidden tests score.
It serves the repo's goal of measuring whether gstack helps, built so gstack can lose: the result is published whichever way it lands, and a gstack tie with plain Claude Code on ordinary bugs takes the generic-coding gain claims out of gstack's README and docs.
Nothing for readers to do. No model call runs until this merges and each spend item has a recorded cap.
What the preregistration freezes
The post is wiki/plans/2026-11-15-geva-538-skill-pack-h2h-prereg/README.md, with every frozen value in its prereg.json.
What the harness adds (lanes/outcome-skills/h2h)
arms/: the install recipe for every arm, pin checks against each pack's git tree, the home hash rule, containment over each installed home, and arms-pins.json.sessions/: the turns and the DONE rule, the session runner on the real Agent SDK, the stage on the outcome driver, the runtime volume (node, bun, python3 and gh) every arm mounts, the exposure detectors frozen from the pinned packs, the read audit, and the keyless driven launch.breadth/: the advisory and pull-request miners and their frozen frames, per-ecosystem image recipes, report parsers, the image store by digest, the browser-engine check, the 5+5 browser oracle with the shared Chromium launcher, and the browser-only label packet.ordinary/,score/,analysis/: the ordinary frame and the seeded draw, the scoring additions (main checkout only, arm tests at hidden-test paths, the new-test reading), the analysis, the sealed pilot readout, the ledger dry run, andgstack-evals h2h rerunfor pack authors.Checks
Agent notes
Approvals
Approved: yes (record r-7ed3dd5a2009). The full approval record stays private.
Plan: approved (record r-292cc8599e3d)
Plan check: approved (record r-292cc8599e3d)
Pre-Landing Review
REVIEW_LOOP: passes=2 blocking_found=1 deferred=0 noted=1 fixed=3 scope=frozen unbound=1 ledgers_read=3 dispatches=6
Gate edits: none detected (53 listed, 11 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Outside review: clean (second-model review on openai/gpt-6.1-sol)
Review deviation: accepted by GEVA-2 2026-11-15 via Captain ruling A relayed by the lead in this /ship thread: b047e71 is a base-merge-only head (the PR's own lines match 135b431's apart from the shared PLANNED registry line), so pass 2 reads the cc32129..135b431 fix range against cc32129 with main b5eb82f merged in.
The unbound entry is a naming artifact: the second review pass wrote its ledger under p3 because an earlier pass was abandoned before judging, so the summary looks for a third review row that does not exist.
Findings and dispositions:
score/score.ts:93: scoring for browser-only units ran without the browser setup. Fixed in 03f8fce, with a test that is red at cc32129 and green now.sessions/run.ts:175: the exposure read did not list tree.tar. Fixed in 03f8fce.analysis/analyze.ts:241: the less-code and more-correct contrasts were gated on exercised sessions. Fixed in 03f8fce.sessions/run.ts:178: tree.tar lists tracked base files, so a repo that already commits .planning/quick or .planning/debug counts for GSD. Noted; deferred to the results branch below.Deferred to the results branch (Captain ruling B1)
.planning/quickand.planning/debugpaths that are absent from the unit's base tree.Condition: the results branch's first commit fixes both, each with a two-way test. The Captain's go for any paid call waits for that commit's sha with green CI and no prereg digest or frozen number changed.
Documentation
Status: blocked under the Captain's exception. Scope: the h2h lane docs (README.md, PART-A/S/B/C.md, sessions/e2e-2026-11-15.md), the preregistration post (README.md, terms.md) and the generated docs/errors.md.
Documentation exception: accepted by GEVA-2 2026-11-15 via Captain ruling A1 relayed by the lead in this /ship thread: three stale build-history notes in the h2h lane's PART-S.md and PART-A.md describe findings later resolved in code; no frozen rule or post text changes; they are corrected in the results PR
The stale notes: PART-S.md near line 111 (copy, not link) and near lines 136 to 138 (the .last_inuse_sweep hash rule); PART-A.md near line 152 (the chrome-devtools-mcp Not-tested item).
Test plan
Tests ran: test 489
Tests ran: typecheck 1
Tests ran: errors 1
Tests ran: wiki 1