Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

docs(agents): require PR descriptions to follow the PR template

Josh Corbetta2ccc4f52b9a
diff --git a/.github/AGENTS.md b/.github/AGENTS.md
index c5871a9317..62d272874c 100644
--- a/.github/AGENTS.md
+++ b/.github/AGENTS.md
@@ -7,5 +7,5 @@
- Prefer package completion commands over reproducing their internals in YAML. Webv2's `pnpm check:release` includes architecture, tests, performance/build, project files, and accessibility; install Chromium and required Linux dependencies first.
- Preserve diagnostic artifacts on failure with `always()` where appropriate. Keep generated review/performance artifacts out of Git. Distinguish real checks from skipped or unavailable checks.
- Keep hooks aligned with CI's Ruff version/configuration. Do not add formatter rewrites to validation or silently relax failures/budgets to make a new gate green.
-- PR descriptions lead with the problem and resulting behavior. Include actual checks, material review findings resolved, and relevant UI evidence, compatibility details, or performance measurements. Keep summaries short; do not attach planning logs.
+- PR descriptions use `pull_request_template.md` in this directory as written. Summary leads with the problem and resulting behavior; QA Instructions list actual commands and results and state skipped, failing, or unavailable checks; Review summarizes material findings resolved and the final blocker-only result; Compatibility / Rollout appears only when applicable. Include relevant UI evidence or performance measurements. Keep summaries short; do not attach planning logs.
- Workflow files add checks but do not configure hosted branch protection or install local hooks. Do not claim either happened without verification.
diff --git a/AGENTS.md b/AGENTS.md
index 0b4333d898..127611c0d1 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -77,9 +77,10 @@ If the environment cannot spawn subagents, perform separate self-review passes w
- Ignore rules keep recognized scratch/planning paths out of ordinary staging; they do not prevent force-adds or remove files already tracked by Git.
- Inspect the staged diff and new files for planning material, including unexpected filenames. Never force-add planning artifacts or introduce `package-lock.json`/`yarn.lock`.
-## Commits
+## Commits and pull requests
- Commit readiness does not itself authorize committing or pushing. Follow the request's existing authorization; do not add an automatic commit/push step to each subtask.
- Use Conventional Commits with the shortest descriptive, skimmable subject that states the outcome.
- Follow the subject with one to three short, factual lines summarizing material changes; use bullets when useful. Omit implementation narration and details already clear from the subject.
- Leave authorship to the configured Git author. Do not add agent attribution or co-author trailers.
+- Pull request descriptions follow `.github/pull_request_template.md`: keep its headings in order, fill every applicable section per its inline guidance, and omit only the sections the template marks as conditional. Tick a checklist item only when it is true for the PR.