mirror of
https://github.com/Comfy-Org/comfy-typescript-sdk.git
synced 2026-11-04 23:47:27 +00:00
[PR #60] [MERGED] docs: add AGENTS.md covering codegen drift and public-repo hygiene #63
Labels
No labels
audit:ai-readiness
audit:community
audit:github
audit:health-scoring
audit:policy
audit:release
audit:supply-chain
bug
cursor-review-pin
effort:medium
effort:small
effort:trivial
priority:nice-to-have
priority:recommended
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-typescript-sdk#63
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/comfy-typescript-sdk/pull/60
Author: @christian-byrne
Created: 8/19/2026
Status: ✅ Merged
Merged: 8/23/2026
Merged by: @christian-byrne
Base:
main← Head:docs/agents-md📝 Commits (2)
f2cb14fdocs: add AGENTS.md covering codegen drift and public-repo hygieneca84f06docs: satisfy oxfmt markdown formatting and note the docs format gate📊 Changes
1 file changed (+150 additions, -0 deletions)
View changed files
➕
AGENTS.md(+150 -0)📄 Description
Adds the contributor-facing scaffolding this repo was missing. Docs and config only — no source or workflow changes.
Closes #54
Closes #55
Closes #56
Closes #57
What's here
CONTRIBUTING.md(#54) — written for someone who has never seen the repo. Prereqs (Node >= 22, pnpm via Corepack), setup, and a table of the six checks CI runs with the exact commands, in CI's order. The section that matters most is Generated code (do not hand-edit):src/low/generated/{types.gen.ts,zod.gen.ts,index.ts}is produced fromspec/openapi.yamlbypnpm generate,scripts/check-spec-drift.mjsis a required CI step that regenerates and diffs, and the fix for a drift failure is alwayspnpm generate && git add src/low/generated. It also covers why generated files must not be reformatted (the drift check compares bytes), whyspec/openapi.yamlitself is not hand-editable (one-way sync, internal ops stripped), and the distinction between the hand-writtensrc/low/index.tsand the generatedsrc/low/generated/index.ts. Plus thepublic-repo-hygienejob — the three categories it flags and that extending the allowlist is the intended fix for a false positive — thebuild-checkpublish dry run, test conventions, Conventional Commits, CLA, CODEOWNERS review, and the tag-driven release flow (do not bumpversionin a PR)..github/ISSUE_TEMPLATE/(#55) — bug report and feature request, adapted fromComfy-Org/comfy-cli's templates rather than invented, so the shape is familiar across the org. Both add an Environment block asking for SDK version, Node version, and which surface (Cloud / serverless / self-hosted); the bug template asks for a minimal repro as a code block, and the feature template asks whether the request actually needs a contract change..github/dependabot.yml(#56) —npmandgithub-actions, weekly on Monday. Minor/patch bumps are grouped per ecosystem so a small repo with a small review pool gets one PR a week instead of one per dependency; majors stay individual, since those are the ones that need a real read. Commit prefixes match the repo's Conventional Commits (chore/ci).CHANGELOG.md(#57) — keep-a-changelog. Seeded from the actual published release notes for v0.1.0 through v0.1.7, not fabricated: the two breaking changes (COMFY_BASE_URLin 0.1.6, thecloud.comfy.orgmove in 0.1.4) keep their upgrade snippets, and 0.1.7'sassets.delete()keeps its proxy-version caveat. A header note says the historical entries were reconstructed and that the releases remain authoritative for those versions.Unreleasedis empty with a comment explaining what belongs there.Also adds a three-line pointer from the README's Development section to both new files.
Notes for review
public-repo-hygienescanner reads this file too.node scripts/check-public-repo-hygiene.mjspasses on the branch..github/dependabot.ymland both templates' front matter were parsed to confirm they are valid YAML.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.