Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- file: .github/copilot-instructions.md -->
<!-- version: 2.4.0 -->
<!-- version: 2.5.0 -->
<!-- guid: 4d5e6f7a-8b9c-0d1e-2f3a-4b5c6d7e8f9a -->
<!-- last-edited: 2026-06-13 -->
<!-- last-edited: 2026-07-21 -->

# github-common — Additional Context

Expand All @@ -27,3 +27,19 @@ Reusable GitHub Actions workflows, scripts, and multi-repo automation. Language:
- `scripts/intelligent_sync_to_repos.py` — propagates changes to target repos; use `--dry-run` first
- `scripts/workflow-debugger.py` — analyzes workflow failures; outputs to `workflow-debug-output/fix-tasks/`
- All commits must use conventional commit format: `type(scope): description`

## 📝 Changelog & TODO — Use the Fragment System (MANDATORY)

**Do not hand-edit `CHANGELOG.md`, and do not add new tasks straight into the
`TODO.md` inbox.** Both files are assembled from per-change fragments so that
parallel PRs never collide on them.

- **`CHANGELOG.md` is assembled, not hand-edited.** Add a fragment under
`changelog.d/` (run `scriv create`, or write the Markdown file by hand). The
fragments are folded into `CHANGELOG.md` at release time by `scriv`, and a CI
check (`changelog-check.yml`) requires one on each PR. See `changelog.d/README.md`.
- **New `TODO.md` tasks are added via fragments.** Drop a Markdown fragment in
`todo.d/` (see `todo.d/README.md`) instead of editing the `## 📥 Inbox`
section. `scripts/assemble_todo.py` folds fragments in daily. This is
**add-only**: checking a task off or removing it is a normal direct edit of
`TODO.md`.
6 changes: 3 additions & 3 deletions .github/guid-index.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"path": ".github/copilot-instructions.md",
"guid": "4d5e6f7a-8b9c-0d1e-2f3a-4b5c6d7e8f9a",
"title": "github-common \u2014 Additional Context",
"version": "2.4.0",
"version": "2.5.0",
"header_path": ".github/copilot-instructions.md",
"path_mismatch": false
},
Expand Down Expand Up @@ -91,7 +91,7 @@
"path": ".github/instructions/copilot-instructions.md",
"guid": "4d5e6f7a-8b9c-0d1e-2f3a-4b5c6d7e8f9a",
"title": "github-common \u2014 Additional Context",
"version": "2.4.0",
"version": "2.5.0",
"header_path": ".github/copilot-instructions.md",
"path_mismatch": true
},
Expand Down Expand Up @@ -979,7 +979,7 @@
"path": ".github/workflows/reusable-ci.yml",
"guid": "reusable-ci-2025-09-24-core-workflow",
"title": "Reusable CI Workflow",
"version": "1.13.0",
"version": "1.14.0",
"header_path": ".github/workflows/reusable-ci.yml",
"path_mismatch": false
},
Expand Down
8 changes: 8 additions & 0 deletions changelog.d/document-fragment-system-for-agents.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### Changed

#### Document the changelog/TODO fragment system for AI agents

`CLAUDE.md` and `.github/copilot-instructions.md` now instruct AI agents to use
the `changelog.d/` and `todo.d/` fragment systems instead of editing
`CHANGELOG.md` or the `TODO.md` inbox directly, preventing parallel-PR
collisions on those files.
Loading