Skip to content

[Bug]:pr: evidence atom rejects all downstream-repo PRs — hardcoded required-workflow names (CI, Lockfile Check, Contracts Dep Lint) #1104

Description

@kryptobaseddev

Bug Report

Summary

cleo verify --gate testsPassed --evidence "pr:<n>" rejects EVERY merged PR in a downstream consumer repo because it requires GitHub workflows named CI, Lockfile Check, Contracts Dep Lint — names that only exist in the cleocode contract repo, not in downstream projects.

Repro

In a downstream repo (kodomeet) with merged PRs and NO .github/workflows/:

$ cleo verify T087 --gate testsPassed --evidence "pr:20"
E_EVIDENCE_TESTS_FAILED: Required workflows did not run for this PR: CI, Lockfile Check, Contracts Dep Lint. Cannot accept pr atom — required gates were skipped.
$ gh pr view 20 --json state,statusCheckRollup
{"state":"MERGED","statusCheckRollup":[]}

PR is MERGED with zero checks (no CI in this repo), yet the atom demands three specific workflow names.

Impact (Blocker)

Combined with tool:lint being red on pre-existing legacy debt and no test runner, this leaves NO way to satisfy testsPassed → no task in the repo can be cleo completed. ~24 PRs of shipped work are stuck pending.

Expected

The required-workflow set for the pr: atom should be project-configurable (e.g. via .cleo/project-context.json) or derived from the PR's actual required status checks — not hardcoded to the contract repo's workflow names. When a repo has no required checks, a MERGED PR should satisfy pr: (state=MERGED, checks SUCCESS/SKIPPED/empty).

Environment

cleo issue v2026.6.18; repo kryptobaseddev/kodomeet (downstream consumer, no CI workflows).

Severity: Blocker
Area: cli

Are you using an AI agent?

Yes - AI agent filed this issue


Environment

Component Version
CLEO 2026.6.18
Node.js v24.16.0
OS linux 7.0.12-201.fc44.x86_64 x64 (x64)
Shell /bin/bash
gh CLI gh version 2.94.0 (2026-06-11)
Install /home/keatonhoskins/.npm-global/bin/cleo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds triage and prioritization

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions