Skip to content

Auto-resolve CVE/scan release-blockers: route to a feedback-equipped frontier lane (no human in the loop) #988

Description

@joryirving

Goal (the contract)

CVE/scan failures block releases. dispatch auto-detects, grooms, and fixes them with no human in the loop. Any design that routes them to needs-human breaks that contract.

Status: umbrella / architecture

This is not a single coder task — the issueAsk rail correctly demoted a coder attempt on it, because it spans dispatch + foreman + the coder image. Decomposed:

Coder-actionable (filed)

The crux — needs an architecture decision (not a coder task)

  • Give the CVE-fixing lane a build + scan feedback loop (docker + grype/trivy available to the lane), so it reproduces the failing scan, iterates, and only pushes a change it has verified clears the gate — instead of guessing and letting CI reject. This is the load-bearing piece: without it, a stronger model just makes more expensive wrong guesses (evidence: feat: define harness-agnostic agent task contract #393/feat: add groomer next-task mode #406 were automated node-bumps that both failed; the real elixir-gate fix required building the image and running grype). This is foreman/coder-image infra and is the one part that genuinely needs a human (architectural) decision.

Gated on the feedback lane

  • Route scan/CVE-classified failures to the frontier lane. Deferred on purpose: routing CVEs to a stronger model without the build+scan loop above is net-negative (higher token cost, same guessing). Do this only once the lane can verify.

GPU backstop (in progress / done)

Why it matters

CVE scan gates block :rolling and every release behind it. #407 alone burned ~98 GPU-minutes on a coder that structurally could not fix it. The fix is a lane that can verify, plus the router and enrichment feeding it — never a human clearing the block.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-humanHuman input or decision is required.priority/p1High priority.status/backlogNot ready for worker pickup yet.type/bugSomething isn't workingumbrellaParent issue that may need decomposition.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions