Skip to content

Align Deep Scan worker draft guidance with the MCP input schema #668

Description

@soyeon-oai

Deep Scan workers construct draft payloads using persisted-artifact fields such as scope.includePaths, scope.excludePaths, coverage.scanId, coverage.mode, and coverage.inventoryStrategy. The MCP tool rejects these fields, requiring the worker to retry before it can save progress.

Reproduction: run a Deep Scan against a small repository and inspect the first record_codex_security_scan_draft invocation.

Expected: worker instructions and examples produce a valid semantic draft on the first attempt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions