Document deterministic staging targets for testing the install gate#101
Merged
Conversation
Add a 'Testing the gate' subsection to the corgea skill: staging vuln-api URL, known-vulnerable npm/PyPI targets with their fixes, a verified copy-paste command with real observed output, and the recent-CVEs-only caveat for the staging PyPI seed.
There was a problem hiding this comment.
No actionable findings.
Verified the PR diff against origin/install-vuln-gate: the only change is the new skills/corgea/SKILL.md gate-testing section. I cross-checked the documented assumptions against the implementation and live staging service:
CORGEA_TOKENis the install-gate token source (src/config.rs,src/main.rs), and a trimmed non-empty value enables vuln verdict mode.- The staging worker currently returns the documented vulnerable verdicts for
axios@0.21.0,minimist@0.0.8,node-fetch@2.6.0, andmezzanine==6.0.0; it also returns the axios verdict without an auth header, matching the “ignores auth” note. - The documented axios example’s tree count matches live npm lockfile resolution:
axios@0.21.0plusfollow-redirects, with one transitive package. - The output text in the example matches the renderer paths for precheck summary, tree summary, vulnerable advisory lines, safe-version selection, and refusal wording in
src/precheck/mod.rs. - The “nothing is installed” claim is supported by the blocking path returning before
exec(), and by existing tests that assert the package manager is not invoked for vulnerable verdicts plus that npm resolution does not touch the project lockfile.
I attempted to run the documented CLI example end-to-end, but this cloud image only has Cargo 1.83 and the current dependency set requires edition2024 support, so the binary could not be built locally. That environment issue did not reveal a PR-specific merge blocker.
Sent by Cursor Automation: pr-flow
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
Adds a "Testing the gate" subsection to
skills/corgea/SKILL.md(Unit 7, docs-only), placed after the install-wrapper flag table and env-overrides sentence.CORGEA_VULN_API_URL=https://cve-worker-staging.corgea.workers.dev) and the note that it ignores auth — any non-emptyCORGEA_TOKENenables full-gate mode.axios@0.21.0(fix 0.21.2),minimist@0.0.8(fix 1.2.2),node-fetch@2.6.0(fix 2.6.7); PyPImezzanine==6.0.0(no fixed version).pyyaml==5.1anddjango==2.2return clean by design.Verification
CORGEA_TOKEN=dogfood-dummy; the expected output in the doc is the real observed output (exit 1, nothing installed).curl …/v1/packages/<eco>/<pkg>/versions/<v>/check: axios/minimist/node-fetch vulnerable with the listed fixes, mezzanine vulnerable with no fixed version, pyyaml 5.1 and django 2.2 clean../harness checkpasses (clippy, fmt, 252 tests, deps-skill drift).