Repository navigation
v1.91.25.0 feat(cso): private two-architecture release scoring + self-checking runtime release gates - #3036
Merged
Conversation
…lf-checking runtime release gates
|
😎 This pull request was merged. |
garrytan
added a commit
that referenced
this pull request
Oct 5, 2026
BenjaminDSmithy
added a commit
to BenjaminDSmithy/gstack
that referenced
this pull request
Oct 5, 2026
Upstream main moved to f97aefe (v1.91.22.0). Only the release files conflicted: VERSION, package.json, the agents digest and CHANGELOG.md. Resolved by taking main's side of each and re-versioning this PR from 1.91.21.0 to 1.91.25.0: bin/gstack-next-version against garrytan/gstack main reported 1.91.23.0 claimed by garrytan#3036 and 1.91.24.0 by garrytan#3031. bin/gstack-version-bump wrote VERSION, package.json (1.91.25) and the digest; the PR's CHANGELOG entry sits above main's 1.91.22.0 entry, renamed to 1.91.25.0, with nothing of main's entries changed. Checked on the merged tree: the gate reports 158 checked, exit 0; the agents-digest, ship-version-sync, version-source, skill-validation, context-budget, catalog-budget and team-mode tests pass, 415 pass, 0 fail. Co-Authored-By: Claude Opus 5.5 <[email protected]>
5 tasks done
…growing the shard list
…rs independent of cwd
Producer inputs are {schemaVersion: 2, cellRef, skill, source, execution} and
receipts bind cellRef + inputHash; collection rebuilds the cell from the
matrix, so a cell VM never learns its case or variant. requalificationTriggers
resolves Bun's cwd-relative metafile inputs against the repository root.
# Conflicts: # CHANGELOG.md # VERSION # agents-digest/gstack-AGENTS.md # package.json # test/cso-docker-integration.test.ts
Contributor
E2E Evals: ✅ PASS121 executed, 0 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $89.12 rule/judge cost | reconcile exit: 0 Profile: pr / mode Derived dependents (scripts/pr-dependencies.ts):
Rule and judge shards
Fail-closed reconciliationSliced lane: planner → duration-packed executors → fail-closed report. Behavior cases run a pre-registered 3-trial panel (PASS at 2/3 with no contract violation); a PASS 2/3 is shown with its failed trial, never as a clean pass. Reused results retain their original provenance and expiry. |
…up is not a probe review/SKILL.md workflow: the ~64k-token bundle let default-effort thinking spend all 8192 output tokens without an answer in CI. Medium effort with a 64k streaming cap kept 24/24 measured samples under 5k tokens and 63 s with the same gating scores (as ship already does). qa-only-no-fix: the fixture prompt routes browser cleanup through the deadline guard, but the checkpoint detector treated every guarded run as a probe that needs a checkpoint. A child that only closes the tab with the supplied browse binary, after the last probe, is cleanup; anything else stays a probe. The captured CI transcript (run 37252022510) now passes and new scenarios pin the negative controls.
…utput cap Truncation was the defect: thinking and the answer share max_tokens, and the ~64k-token review bundle once spent all 8192. The registration keeps default effort and response format and gets ship's 64k streaming cap; the guard test pins exactly that.
BenjaminDSmithy
added a commit
to BenjaminDSmithy/gstack
that referenced
this pull request
Oct 5, 2026
Upstream main moved to 857466f, which released 1.91.25.0 itself, the version this PR carried; CHANGELOG.md conflicted. Resolved by taking main's side of the release files and re-versioning this PR to 1.91.27.0: bin/gstack-next-version against garrytan/gstack main reported 1.91.26.0 claimed by garrytan#3033. bin/gstack-version-bump rewrote VERSION, package.json (1.91.27) and the digest; the PR's CHANGELOG entry, renamed to 1.91.27.0, sits above main's 1.91.25.0 entry, with nothing of main's entries changed. Checked on the merged tree: the gate reports 158 checked, exit 0; the agents-digest, ship-version-sync, version-source, skill-validation, context-budget, catalog-budget and team-mode tests pass, 415 pass, 0 fail. Co-Authored-By: Claude Opus 5.5 <[email protected]>
levi85
pushed a commit
to levi85/gstack
that referenced
this pull request
Oct 14, 2026
…-checking runtime release gates (garrytan#3036) * v1.91.23.0 feat(cso): private two-architecture release scoring and self-checking runtime release gates * Keep the Linux-only native-evidence and requalification tests out of the Windows lane * Skip the two Linux-release-only checks on Windows in-file instead of growing the shard list * fix(cso): opaque producer inputs and receipts; requalification triggers independent of cwd Producer inputs are {schemaVersion: 2, cellRef, skill, source, execution} and receipts bind cellRef + inputHash; collection rebuilds the cell from the matrix, so a cell VM never learns its case or variant. requalificationTriggers resolves Bun's cwd-relative metafile inputs against the repository root. * test(evals): bound the review judge's thinking; guarded browser cleanup is not a probe review/SKILL.md workflow: the ~64k-token bundle let default-effort thinking spend all 8192 output tokens without an answer in CI. Medium effort with a 64k streaming cap kept 24/24 measured samples under 5k tokens and 63 s with the same gating scores (as ship already does). qa-only-no-fix: the fixture prompt routes browser cleanup through the deadline guard, but the checkpoint detector treated every guarded run as a probe that needs a checkpoint. A child that only closes the tab with the supplied browse binary, after the last probe, is cleanup; anything else stays a probe. The captured CI transcript (run 37252022510) now passes and new scenarios pin the negative controls. * test(evals): keep the review judge at default effort; only lift its output cap Truncation was the defect: thinking and the answer share max_tokens, and the ~64k-token review bundle once spent all 8192. The registration keeps default effort and response format and gets ship's 64k streaming cap; the guard test pins exactly that.
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.
These are the gstack-side changes the approved private CSO runtime evaluator needs before it can qualify the Node, Bun, Python and Rails runtimes. They implement gaps G1–G6 and G9–G11 from the evaluator plan. A user's audit behaves the same as before until a qualified runtime catalog merges.
G12 (opaque producer inputs). The producer input is
{schemaVersion: 2, cellRef, skill, source, execution}and the receipt bindscellRef+inputHashwith nocellfield.collectProducerReceiptsrebuilds the trusted cell from the matrix, so a cell agent can no longer learn its case or variant from its own bundle.requalificationTriggers()also now resolves paths correctly from any working directory.Scoring a private release run (G1)
defineEvalCorpus(manifest, sourceFiles)injects a private corpus that uses the public layout. Every source hash is checked, unsafe paths are rejected, and the public corpus version can't be reused. Materialize, matrix, collect, score and baseline all accept it, and the CLI takes--corpus-manifest.linux/amd64/linux/arm64platform. Each platform needs exactly one producer installation and one provider identity, with shared catalogs and provider policy, and the producer refuses a cell whose platform doesn't match its host.releaseruns v3 with one repetition.baselineproduces v2 comprehensive cells forcreateEvalBaseline, which binds a complete adjudicated run by hash;score --baselineuses it, and without a pinned baseline the regression gate reportsunmeasured.fullprofile is unchanged. Its matrix hash,a0f20a12…, is the same on main and on this branch.Evaluation-only helper builds (G2)
cso-runtime-promotion.ts evaluation-candidateturns staged records into acso-eval-<runId>-<sha12>catalog whose runtimes areevaluation_candidate.bun run build:cso -- --evaluation-candidate <catalog> --output <dir>builds the five-artifact unit outside the checkout, plus a.gstack-cso-evaluationmarker. The helper reportsevaluationOnly: true.Runtime release workflows (G3–G6, G10, G11)
workflow_dispatchrun onmainatsourceCommit, with tenqualify-native <runtimeId>jobs that all succeeded.scripts/cso-native-evidence.tsderives them from Bun's JUnit executed-and-passed counts. Skipped Docker tests now report as skipped instead of passing. The pending list isrequiredChecks(stack)minus the native keys, which fixes the PostgreSQL rows.free-tests.ymlon the new branch, because pushes made withGITHUB_TOKENdon't trigger it.evaluationRef. An unprotecteddispatch-summaryjob shows the approver the claimed images before approval. Tests prove the reference never reaches statements, evidence or the catalog.test/cso-requalification.test.tsfails when the committed catalog no longer matches the code.selectRuntimerefuses runtimes qualified under a different isolation policy.Multi-payload security proofs (G9)
VerificationRequest.securityaccepts one assertion, or 1–8 assertions with distinct names, judged in a single before/after pair.inconclusivewhen given an array.Validation
bun run test:ubicloud) passes: 17/17 shards.bun run typecheckis clean,typecheck:testadds no new diagnostics,format:cso:checkpasses, and actionlint passes on the whole repo.Two paid-gate flakes fixed at the root
This PR touches
setup, so it runs the whole paid gate, and two unrelated cases went red. Each was measured on its own, then fixed:review/SKILL.md workflowjudge. The ~64k-token review bundle let the judge's thinking and its answer exhaust the shared 8,192-token cap (Judge response truncated). This one registration now uses ship's 64k streaming output cap, with effort and thresholds unchanged. Measured at default effort: 9/10 before the fix (one low sample) and 10/10 after, so 19/20 overall, with no truncation.qa-only-no-fix. The checker counted the agent's guarded"$B" closetabcleanup after its last probe as a probe that needed a checkpoint. A guarded run now counts as cleanup only when it is exactly a tab close with the supplied browse binary, after the last probe. Replaying the captured CI transcript reproduces the old failure and passes with the fix. Five new free scenarios cover it, including negative controls.