Skip to content

Open-source skills for designing and reviewing software with AI agents

chore(github): align issue types and approval labels (#139)

n3wthf0ba151b252c
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 0000000..520d969
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,18 @@
+---
+name: "Bug report"
+about: "Report incorrect behavior with steps to reproduce it"
+type: Bug
+license: "Copyright 2026 Google LLC. SPDX-License-Identifier: Apache-2.0"
+---
+
+## Expected Behavior
+<!-- Describe what should happen. -->
+
+## Actual Behavior
+<!-- Describe what happened instead. -->
+
+## Steps to Reproduce
+<!-- Include a minimal example and the affected skill or command. -->
+
+## Environment & Evidence
+<!-- Include the host, version, EGM commit or version, and relevant logs. Remove secrets and private project data. -->
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000..afb571d
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,2 @@
+# Copyright 2026 Google LLC. SPDX-License-Identifier: Apache-2.0
+blank_issues_enabled: false
diff --git a/.github/ISSUE_TEMPLATE/feature_proposal.md b/.github/ISSUE_TEMPLATE/feature_proposal.md
index 849271b..43f77af 100644
--- a/.github/ISSUE_TEMPLATE/feature_proposal.md
+++ b/.github/ISSUE_TEMPLATE/feature_proposal.md
@@ -1,8 +1,7 @@
---
name: "Feature / Architectural Inquiry"
about: "Reach out to maintainers to align on a new feature, skill, or large change (> 100 lines) before opening a Design Doc PR"
-title: "[Feature]: "
-labels: ["feature-inquiry", "needs-triage"]
+type: Feature
license: "Copyright 2026 Google LLC. SPDX-License-Identifier: Apache-2.0"
---
@@ -10,7 +9,7 @@ license: "Copyright 2026 Google LLC. SPDX-License-Identifier: Apache-2.0"
<!-- 1-2 plain-English paragraphs explaining the user need, problem, or motivation for reaching out. -->
## Proposed Scope (Goals vs. Non-Goals)
-<!-- High-level summary of what is in scope and out of scope (e.g., generated via `/egm-brainstorm`). Once maintainers apply `status: approved-for-design`, open a Stage-1 Design Doc PR (`Refs #<issue>`) adding `docs/designs/<name>.md`; when maintainers merge that PR, they will apply `status: approved-for-pr` for your Stage-2 Implementation PR (`Closes #<issue>`). -->
+<!-- High-level summary of what is in scope and out of scope (e.g., generated via `/egm-brainstorm`). Once maintainers apply `design-ready`, open a Stage-1 Design Doc PR (`Refs #<issue>`) adding `docs/designs/<name>.md`; when maintainers merge that PR, they will apply `pr-ready` for your Stage-2 Implementation PR (`Closes #<issue>`). -->
### 1. Proposed Overview
<!-- High-level summary of the proposed change. -->
diff --git a/.github/ISSUE_TEMPLATE/task.md b/.github/ISSUE_TEMPLATE/task.md
new file mode 100644
index 0000000..9fb72be
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/task.md
@@ -0,0 +1,15 @@
+---
+name: "Task"
+about: "Track maintenance, documentation, validation, or other scoped work"
+type: Task
+license: "Copyright 2026 Google LLC. SPDX-License-Identifier: Apache-2.0"
+---
+
+## Objective
+<!-- Describe the work and why it is needed. Use the Feature / Architectural Inquiry template for new features or architectural changes. -->
+
+## Scope
+<!-- State what is included and any relevant limits. -->
+
+## Completion Criteria
+<!-- List the observable results and validation needed to finish this task. -->
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 288485d..b53b2cb 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -1,10 +1,18 @@
+<!-- Title: Start with an action verb and use sentence case. Describe the change.
+Omit unnecessary words when the meaning stays clear. Keep articles when needed.
+Example: Explain ignored agents folder warning in Claude Code -->
+
+<!-- Labels: Add applicable labels: docs, site, ci, or deps.
+If you cannot apply labels, suggest them in the description.
+Maintainers control design-ready and pr-ready. Automation manages design-needed. -->
+
## Contribution Type
Please select the track that matches this pull request:
- [ ] **Bug Fix / Minor Patch** (Targeted fix, non-test diff <= 100 lines and < 3 core files in `skills/` or `agents/`; no design doc required)
-- [ ] **Feature / Architectural Change -- Stage 1: Design Doc PR** (`Refs #___` with `status: approved-for-design` | Adds `docs/designs/<name>.md` and updates `docs/designs/README.md`; use `Refs` instead of `Closes` so the issue stays open for Stage 2)
-- [ ] **Feature / Architectural Change -- Stage 2: Implementation PR** (`Closes #___` with `status: approved-for-pr` | Implements merged `docs/designs/<name>.md`)
+- [ ] **Feature / Architectural Change -- Stage 1: Design Doc PR** (`Refs #___` with `design-ready` | Adds `docs/designs/<name>.md` and updates `docs/designs/README.md`; use `Refs` instead of `Closes` so the issue stays open for Stage 2)
+- [ ] **Feature / Architectural Change -- Stage 2: Implementation PR** (`Closes #___` with `pr-ready` | Implements merged `docs/designs/<name>.md`)
## Summary of Key Changes
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index a96155f..dc5d3ee 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -15,6 +15,7 @@
version: 2
updates:
- package-ecosystem: npm
+ labels: ["deps"]
directory: /site
schedule:
interval: weekly
@@ -28,6 +29,7 @@ updates:
site:
patterns: ["*"]
- package-ecosystem: github-actions
+ labels: ["deps", "ci"]
directory: /
schedule:
interval: weekly
diff --git a/.github/workflows/pr-scope-advisory.yml b/.github/workflows/pr-scope-advisory.yml
index 1778c9b..652b1c4 100644
--- a/.github/workflows/pr-scope-advisory.yml
+++ b/.github/workflows/pr-scope-advisory.yml
@@ -77,7 +77,7 @@ jobs:
}
}
- const advisoryLabel = "advisory: design-doc-suggested";
+ const advisoryLabel = "design-needed";
const signature = "<!-- egm-scope-advisory -->";
const comments = await github.paginate(
@@ -95,7 +95,7 @@ jobs:
if (shouldAdvise) {
if (!existingComment) {
- const message = `${signature}\n### πŸ’‘ Contribution Scope Advisory\n\nThank you for your contribution! This PR is marked as a **Bug Fix**, but modifies **${nonTestChanges} non-test lines** across **${coreFilesCount} core definition files** (\`skills/\`, \`agents/\`).\n\nFor changes exceeding 100 non-test lines or touching 3+ core files, we recommend reaching out to maintainers first via a [Feature Inquiry Issue](https://github.com/${context.repo.owner}/${context.repo.repo}/issues/new?template=feature_proposal.md) (\`status: approved-for-design\`), merging a full EGM design document PR (\`docs/designs/<name>.md\`) authored with \`/egm-brainstorm\`, \`/egm-draft\`, and \`/egm-review\`, and then submitting the implementation PR (\`status: approved-for-pr\`).\n\n*Note: This is a non-blocking advisory; your PR remains open in the maintainer queue.*`;
+ const message = `${signature}\n### Contribution Scope Advisory\n\nThank you for your contribution! This PR is marked as a **Bug Fix**, but modifies **${nonTestChanges} non-test lines** across **${coreFilesCount} core definition files** (\`skills/\`, \`agents/\`).\n\nFor changes exceeding 100 non-test lines or touching 3+ core files, we recommend reaching out to maintainers first via a [Feature Inquiry Issue](https://github.com/${context.repo.owner}/${context.repo.repo}/issues/new?template=feature_proposal.md) (\`design-ready\`), merging a full EGM design document PR (\`docs/designs/<name>.md\`) authored with \`/egm-brainstorm\`, \`/egm-draft\`, and \`/egm-review\`, and then submitting the implementation PR (\`pr-ready\`).\n\n*Note: This is a non-blocking advisory; your PR remains open in the maintainer queue.*`;
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
diff --git a/AGENTS.md b/AGENTS.md
index dd8a662..90fcedf 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -12,10 +12,10 @@ You are assisting development in the EGM repository.
`skills/` or `agents/`; no design doc required, but please update an existing
design if appropriate).
* `Feature / Architectural Change β€” Stage 1: Design Doc PR` (requires an aligned
- issue with `status: approved-for-design`, uses `Refs #<issue>`, and adds
+ issue with `design-ready`, uses `Refs #<issue>`, and adds
`docs/designs/<name>.md` + updates `docs/designs/README.md`).
* `Feature / Architectural Change β€” Stage 2: Implementation PR` (requires an
- aligned issue with `status: approved-for-pr` and a merged
+ aligned issue with `pr-ready` and a merged
`docs/designs/<name>.md`).
* **No Artificial PR Splitting**: Never split a cohesive feature or refactoring across
multiple smaller pull requests to evade the 100-line scope threshold.
diff --git a/AI_POLICY.md b/AI_POLICY.md
index 878e4c0..3dd93cc 100644
--- a/AI_POLICY.md
+++ b/AI_POLICY.md
@@ -17,11 +17,11 @@ review, understand, and explain every submitted change.
* **a)** Reach out to maintainers first via a
[Feature Inquiry Issue](https://github.com/google/elephant-goldfish-model/issues/new?template=feature_proposal.md)
(`.github/ISSUE_TEMPLATE/feature_proposal.md`) to receive
- `status: approved-for-design`.
+ `design-ready`.
* **b)** Submit and merge a full EGM design document PR
(`docs/designs/<name>.md` authored via `/egm-brainstorm`, `/egm-draft`,
and `/egm-review`, referencing the issue with `Refs #<issue>`) so
- maintainers can apply `status: approved-for-pr` to the Feature Inquiry Issue.
+ maintainers can apply `pr-ready` to the Feature Inquiry Issue.
* **c)** Submit and merge an implementation PR of the approved design into
the codebase (`Closes #<issue>`).
4. **No Artificial PR Splitting**: Do not artificially split a single logical
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 62326a5..86ac533 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -16,6 +16,16 @@ These general principles guide development of the EGM framework:
## Contribution Tracks & Workflow
+Write a short PR title that starts with an action verb. Use sentence case and
+describe the change. Omit unnecessary words when the meaning stays clear.
+Keep articles such as "a" and "the" when needed for clarity.
+Example: `Explain ignored agents folder warning in Claude Code`.
+
+Add applicable labels: `docs` for documentation, `site` for the website,
+`ci` for GitHub Actions, or `deps` for dependencies. If you cannot apply labels,
+suggest them in the PR description. Maintainers control `design-ready` and
+`pr-ready`. Automation manages `design-needed`.
+
All contributions must comply with our [AI & Automated Contribution Policy](AI_POLICY.md):
every pull request requires a human author who has reviewed and tested the change. They
should be able to explain it themselves.
@@ -28,20 +38,20 @@ Targeted fixes, typo corrections, and test additions that do not alter core
agent behavior or touch 3+ core files (`skills/`, `agents/`) can be
submitted directly as a Pull Request without a prior issue or design document.
PRs exceeding these limits without an approved design doc receive an advisory label
-(`advisory: design-doc-suggested`) recommending two-stage alignment.
+(`design-needed`) recommending two-stage alignment.
### Track 2: Feature / Architectural Change (Two-Stage Alignment)
Any new skill, persona, or change exceeding `100` non-test
lines (or touching `>= 3` core files in `skills/` or `agents/`)
follows the EGM Spec-Driven Development process:
-1. **Reach Out & Align (`status: approved-for-design`)**:
+1. **Reach Out & Align (`design-ready`)**:
Before investing in a large implementation or full specification, open a
[Feature / Architectural Inquiry Issue](https://github.com/google/elephant-goldfish-model/issues/new?template=feature_proposal.md)
(`.github/ISSUE_TEMPLATE/feature_proposal.md`) outlining the problem
statement and proposed `Goals` vs. `Non-Goals`. We recommend using
`/egm-brainstorm` to complete this section. Maintainers will review and apply
- `status: approved-for-design` once aligned on direction.
+ `design-ready` once aligned on direction.
2. **Draft & Review Design Specification**:
Draft a technical design specification under `docs/designs/<name>.md`. We
@@ -49,17 +59,17 @@ follows the EGM Spec-Driven Development process:
We also recommend running `/egm-review docs/designs/<name>.md` to stress-test
the proposal.
-4. **Submit a Design Doc PR (`status: approved-for-pr`)**:
+4. **Submit a Design Doc PR (`pr-ready`)**:
Open a dedicated **Design Doc PR** containing `docs/designs/<name>.md`
and `docs/designs/README.md` (referencing your aligned issue with
`Refs #<issue>` rather than `Closes #<issue>` so the issue stays open).
When maintainers merge the Design Doc PR, the specification is checked into
the codebase and maintainers manually transition the issue label to
- `status: approved-for-pr`.
+ `pr-ready`.
5. **Submit the Implementation PR**:
Once the specification is merged and your issue is labeled
- `status: approved-for-pr`, open the implementation PR (`Closes #<issue>`)
+ `pr-ready`, open the implementation PR (`Closes #<issue>`)
referencing `docs/designs/<name>.md`.
## Automated Validation & Testing