Skip to content

Switch compiled detection jobs to bundled JavaScript and remove detector release pins #79610

Todo

Description

@davidslater

Switch the default compiled detection job to the JS detector shipped with gh-aw’s setup action. The sandbox runs detection; the host consumes the staged verdict with JS conclude. Retain the current effective engine selection for this cutover.

Implementation

  • Make Node, the detector modules and reporting tool available at their actual paths inside AWF. Preserve network, credential, model-routing and AI-credit isolation, input mounts, result staging, custom pre/post steps, redaction and artifact publication.
  • Cover hosted runners and ARC DinD, including fresh result directories, collection after execution and skipped/failed runs. Keep the full diagnostic result within its current publication boundary.
  • Remove detector-specific release downloads, install-step outputs, version and digest pins, version overrides and update/dependency machinery where applicable. Update docs, diagnostic text and tests; regenerate affected workflow locks. Preserve the existing legacy inline opt-out.

Acceptance

  • Compile representative workflows with the flag absent, true and false. Default/true use bundled JS and contain no external detector download or checksum step. False retains its existing inline behavior.
  • Exercise detector → mounted result → host conclude → downstream gate on standard and ARC DinD paths. Prove a stale verdict cannot survive a skipped/failed run.
  • Run eligibility fixtures against the staged inputs, including empty safe outputs, comment memory and an expected-but-unstaged patch. The sandbox must see the same channel evidence and degraded-input warnings used in the parity suite.
  • Use the existing Copilot, Claude and Codex smoke scenarios for cutover evidence. Verify the detection engine actually ran and the host consumed its recorded verdict; a green warn-mode job alone is insufficient.

Current job assembly · ARC DinD round-trip tests.

Metadata

Metadata

Assignees

Labels

backlog:securitythreat-detection

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions