mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #80] [MERGED] docs(callers): per-workflow setup guides, README restructure, public-repo hygiene (BE-4680) #88
Labels
No labels
cursor-review-catalog-drift
groom
groom
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/github-workflows#88
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/github-workflows/pull/80
Author: @mattmillerai
Created: 7/27/2026
Status: ✅ Merged
Merged: 8/4/2026
Merged by: @mattmillerai
Base:
main← Head:docs/caller-setup-guides-and-public-hygiene📝 Commits (8)
66b2189docs(callers): per-workflow setup guides, README restructure, public-repo hygiene (BE-4680)d194f2cdocs(callers): correct phantom capabilities in the setup guides (BE-4680)d1b6a51docs(callers): fix the blocking-gate regression trail + Dependabot guards (BE-4680)4fec27cdocs(callers): correct four input defaults + the concurrency and default_pool traps (BE-4680)2c18629Merge remote-tracking branch 'origin/main' into docs/caller-setup-guides-and-public-hygieneb440c9eMerge remote-tracking branch 'origin/main' into docs/caller-setup-guides-and-public-hygiene6c97df0docs(callers): address review round 2 — roster notes, Dependabot guard, workflows_ref emphasis (BE-4680)49d282cMerge remote-tracking branch 'origin/main' into docs/caller-setup-guides-and-public-hygiene📊 Changes
20 files changed (+1753 additions, -81 deletions)
View changed files
📝
.github/cursor-review/README.md(+27 -39)📝
.github/workflows/detect-unreviewed-merge.yml(+9 -1)📝
.gitignore(+10 -0)📝
AGENTS.md(+21 -5)➕
CONTRIBUTING.md(+101 -0)➕
LICENSE(+21 -0)📝
README.md(+106 -36)➕
SECURITY.md(+66 -0)➕
docs/callers/README.md(+236 -0)➕
docs/callers/agents-md-integrity.md(+88 -0)➕
docs/callers/assign-prs-to-author.md(+69 -0)➕
docs/callers/assign-reviewers.md(+139 -0)➕
docs/callers/cursor-review-auto-label.md(+104 -0)➕
docs/callers/cursor-review.md(+180 -0)➕
docs/callers/detect-unreviewed-merge.md(+89 -0)➕
docs/callers/groom.md(+189 -0)➕
docs/callers/pr-risk.md(+112 -0)➕
docs/callers/pr-size.md(+92 -0)➕
docs/callers/stale.md(+94 -0)➖
scripts/check-pr-size/check-pr-size(+0 -0)📄 Description
Prep for broadening groom adoption. The catalog documented what each workflow does very well and was near-silent on how to wire one up, deferring to "each workflow file's header comment" — which for
groom.ymlis a 105 KB YAML.Adoption in this repo tracks documentation quality almost exactly:
uses:)Measured gaps
The only copy-pasteable example was 9 lines of placeholders. Grep counts against the old README:
on:— 0 hits. No trigger block at all, so copy-pasting it produced a workflow that never fires.cronalso 0 — for the two schedule-driven workflows the README never showed the line that makes them run.concurrency— 0 hits.groom.ymldeclaresconcurrency: groom-${{ github.repository }}withcancel-in-progress: false. A caller that duplicates that group deadlocks the run until timeout — documented only inside a comment in a different file.CALLERS— 0 hits. Enrollment is two steps: the caller PR plus avars.<NAME>_CALLERSroster entry. The second was undocumented, and a repo absent from the roster keeps its original SHA forever.contents: read+pull-requests: read; groom needsissues: write. That is exactly the grant that yields a zero-jobstartup_failurewith no logs.Three phantom inputs
The README advertised
blocking,runs_on, andmodelsoncursor-review.yml. None are declared —blockingandruns_onhave zero occurrences in the file, andmodelsexists only as an internal step output (:310). GitHub rejects an unknown input at startup, so anyone following that row got an invalid workflow.AGENTS.mdrepeated theblocking:claim.(
runs_onis real — oncursor-review-auto-label.yml. The row conflated two workflows.)One path that 404s
detect-unreviewed-merge.yml's header example pointed atComfy-Org/unreviewed-merges/.github/workflows/detector.yml@v1, which does not exist. The live path — used by every real caller — is this repo's own. The same example showedpull_requestwhere all live callers usepushto the default branch.Changes
docs/callers/— a shared contract page (pinning, the startup-time permission rule,workflows_reflock-step, the concurrency deadlock, the roster step) plus one page per workflow. Each carries a complete caller includingon:and the exact permission grant, generated against each workflow's realworkflow_callinputs rather than from prose.README — restructured into a scannable index: one line and a setup link per workflow, with the essay-length cells relocated into the guides. Phantom inputs removed.
Public-repo hygiene
LICENSE— MIT. The repo had none, so despite the README inviting outside use, nobody outside the org legally had any. (Aside:gh repo list --json licenseInforeportsNONEfor all 64 public Comfy-Org repos and is unreliable — the license API shows GPL-3.0 on the core repos and MIT on Comfy-Desktop. GPL was considered and rejected as a poor fit for CI glue that private reposuses:.)SECURITY.md— disclosure path, scope, and the agent credential boundary written down as an explicit security property: model steps hold no write token, a separate job does the writing.CONTRIBUTING.md— the test commands, the "every change here is live-fire" framing, what counts as breaking (adding a required input/secret, or a new nested-job permission — breaking even though no caller YAML changes), and two-step enrollment.scripts/check-pr-size/check-pr-size). Mach-O arm64, swept in accidentally by #51. It was larger than every other file in the repo combined,pr-size.yml:201rebuilds it from source on every run, and it cannot execute on theubuntu-latestrunners all 31 jobs use. Now gitignored.AGENTS.md— phantomblockingremoved,docs/callers/added to layout + deeper docs, two cross-references fixed for the renamed README sections, and one new convention: document only inputs that exist.Deliberately not included
No CODEOWNERS.
agents-md-integrity.ymlships arequire_codeownersknob and this repo trips its own warn-only check. But adding one auto-requests review from named colleagues and stands up a second routing mechanism alongside the existingassign-reviewers.ymlassignee routing. That is a team decision, not a docs PR's — happy to add it in a follow-up if wanted.Verification
go vetandgo testcleancheck_agents_md.py --root .passes (1 warning: the CODEOWNERS DRI above). AGENTS.md is 141 lines, under the 200 ceiling it enforcesUnblocks the tier-1 groom rollout.
BE-4680
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.