Skip to content

AGENTS.md needs-rule for gated jobs omits the aggregate verification-step edits #1244

Backlog

Description

@jflowers

Found in review of PR #1240 (LOW — divisor-linguist).

AGENTS.md:81-83 tells agents to "add any new gated job in those workflows to their needs" — one of the three edits a new gated job needs. The aggregates enforce through the verification step PR #1240 introduces: CI OK maps each needs.<job>.result into an env var and loops over a closed job=result pair list (ci_local.yml:125-143; ci_checks.yml:48-67), and both aggregates keep if: always(). An agent that adds the job to needs and stops leaves it outside the loop — with if: always(), the new job can fail while the only required check stays green.

Suggested fix: extend the rule to name the env var and the loop pair, or point at the verification step as the checklist — e.g. "add any new gated job to their needs and to the aggregate's env mapping and result-pair list."

Review comment: #1240 (comment)

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions