feat(security): autonomous no-fix VEX + documenting PR - #83
Merged
Conversation
β¦-003) Closes the gap where alerts with no upstream fix were only VEX'd `affected` after a 3-sweep hard-stop, and the no-fix VEX script was manual (keytar-only) and never created a repo-visible artifact. vex-no-fix.mjs now: - dual-auth (GH_TOKEN in CI, keytar locally), so it runs unattended; - still records OpenVEX `under_investigation` to git-steer-state; and - opens/refreshes a documenting PR in each affected repo committing an OpenVEX 0.2.0 doc at `.well-known/openvex/no-fix.openvex.json` β visible, machine-consumable proof that no fix is currently available. Doc-only, so it's merged directly (no functional-integrity gate); if branch protection blocks, it's labeled needs-human-merge. Idempotent: skips when the doc already matches; clears as fixes land. Wired into the daily heartbeat after the escalation sweep, so it's autonomous. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.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 & why
You asked: VEX is state, but a PR still needs to be created to identify the no-fix state and document that a dependency has no available fix β and
vex-no-fix.mjsshould run autonomously. This does both.Before
affectedafter a 3-sweep ADR-006 hard-stop.vex-no-fix.mjs(which writes the honestunder_investigationstate) was manual β keytar-only auth, never in the heartbeat β and produced no artifact in the target repo.Now
vex-no-fix.mjs:GH_TOKENin CI, keytar locally) β runs unattended.under_investigationtogit-steer-state(_vex+vex.jsonl) β unchanged..well-known/openvex/no-fix.openvex.jsonβ a visible, machine-consumable artifact stating no fix is available, plus a human-readable PR body table.needs-human-merge.under_investigationis the honest automated state; a maintainer later promotes each tonot_affected(+justification) oraffected(+action_statement) viavex_set.Verified
toOpenVexproduces valid OpenVEX 0.2.0 (tested with real DriveIQ no-fix advisories: nltk, torch).π€ Generated with Claude Code