Skip to content

feat(dispatch): port prioritize to harness CEL trigger #2901

Description

@ifireball

What is missing

prioritize routing logic lives in bash in reusable-dispatch.yml. It is not expressed as a CEL trigger: on the harness file, so routing cannot be customized without editing shared dispatch bash.

What should happen

One vertical PR ports prioritize only:

Harness

  • Add trigger: CEL expressing today's bash routing for: /fs-prioritize, schedule
  • CEL lint/type-check in the same PR

Gating

  • Decide prioritize-specific gates (may differ from GCD): what moves into fullsend dispatch, what stays in workflow, whether new ADR or harness format extension is needed
  • Decide whether roles: config check still applies for prioritize in a custom-agents world

Workflow

  • harness-dispatch handles prioritize when CEL matches
  • Bash route still runs in parallel for shadow/diff until cutover epic child
  • Do not remove bash routing for prioritize in this PR

Tests (same PR)

Prerequisites

Merge criterion

prioritize behaviour scenarios green on harness-dispatch; shadow diff shows parity with bash for its trigger set.

Related

Part of epic #2888

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/prioritizePrioritize agentblockedBlocked by another issue or external dependencycomponent/dispatchWorkflow dispatch and triggerscomponent/e2eEnd-to-end testscomponent/harnessAgent harness, config, and skills loadingtype/featureNew capability request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions