Repository navigation
Allow a dict key line in the published harness mechanics counting script past the secret scan - #354
Merged
Merged
Conversation
…ipt past the secret scan The pre-merge secret scan reads line 62 of the harness mechanics results' published counting script, key = (short.get(...), arm), as a secret-named assignment. It is a dict key tuple. The new allowlist row covers that one file, anchored at the flagged value, the way the existing row covers laneb_agent.py. 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.
The secret scan that runs before merge now accepts one line in the harness mechanics results' published counting script:
key = (short.get(kw.get("upstream_model"), kw.get("upstream_model")), arm), a dict key tuple that the scanner reads as a secret-named assignment.Why: the harness mechanics results pull request (#300) publishes that script as it ran, so the line shouldn't be rewritten, and the scan can't be told a finding is harmless any other way.
Nothing to do: the new allowlist row covers only that one file and is anchored at the flagged value, like the existing row for
laneb_agent.py. The pattern matches nothing on main until #300 lands.What changed
.gstack/pregate.jsonadds oneallowlistrow: findingenv.kv, pathwiki/board/2026-11-15-geva-503-harness-mechanics-results/counts.py.txt, and a pattern for the tuple from its opening bracket to the end of the line.Checks
key = ...) misses, which is why the row starts at the value..gstack/pregate.jsonpass.Agent notes
Plan: exempt: bug fix
Approved by GSTA-2 2026-11-15 via GEVA-503: a policy-only PR from main whose only change adds one allowlist row for the published counting script's dict key line.
Harness mechanics eval and results: a stop rule as hook or prose, best-of-2 at equal spend, and Jev behind a judgment hook #300 at dbe86e4 has its receipt and green CI, but
gstack-ship-queue readyrefuses on the local pre-merge check's secrets scan: MEDIUMenv.kvat that line. The scanner reports no other secret-category finding on Harness mechanics eval and results: a stop rule as hook or prose, best-of-2 at equal spend, and Jev behind a judgment hook #300.Review: gate class, full depth, one pass at 5e0a367. The batched specialist reader (testing, security, state machines), the red team and the second-model review (GPT-6.1 Sol) found nothing. The native adversarial reader found nothing blocking and left the notes below. Test results come from CI run 43751475975.
Review notes, below the blocking floor and not fixed here: the row's path exists only on Harness mechanics eval and results: a stop rule as hook or prose, best-of-2 at equal spend, and Jev behind a judgment hook #300, so it does nothing until Harness mechanics eval and results: a stop rule as hook or prose, best-of-2 at equal spend, and Jev behind a judgment hook #300 lands, and a renamed file would fail closed. The scanner skips its Python dict-key exemption for
.py.txtfiles, which is a question for gstack, not a defect here.Documentation: current. The audit read AGENTS.md in full and searched README.md, AGENTS.md and docs/ for pregate, allowlist and env.kv. No doc lists individual allowlist rows.