Repository navigation
Make #192 codegen docs carry cleanly into derived repos (#193) - #194
Merged
Merged
Conversation
Two derived-repo carry-friction items surfaced re-syncing LanguageTags: - Drop the dead intra-doc anchor from the mandated-verbatim "PR Review Etiquette" callout. Its target lives under the hub-only "Quick Start for Derived Projects", which derived repos don't carry, so a verbatim carry left a broken MD051 link in every derived repo. The hub registry still links to this section one-directionally. - Split the codegen-determinism bullet into a provider-agnostic principle (carry) and a clearly-marked "template demo only - drop when adopting" note (the API-Ninjas quote/day-boundary/--runtime specifics). The principle now describes the what/why - regenerate committed files, output deterministic from inputs, never per-run state - and leaves the how (what is generated, code or pure data, how the source is read) to the derived repo. Also stops naming sibling repos in carried text. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates AGENTS.md to make two pieces of mandated documentation carry cleanly into repos derived from this template, avoiding downstream-only anchors and separating a portable codegen determinism principle from template-specific demo details.
Changes:
- Removed a dead intra-doc anchor from the mandated-verbatim "PR Review Etiquette" callout so derived repos do not inherit a broken link.
- Rewrote the codegen determinism guidance to (a) state the carryable, repo-agnostic principle and (b) isolate the template's
CodeGen/demo details as explicitly droppable adoption guidance.
ptr727
added a commit
that referenced
this pull request
Jun 23, 2026
Promotes the current `develop` head to `main` for release. Contents: - **#192** — Make CodeGen deterministic-from-external-source; converge codegen/merge-bot workflows with downstream (drops the per-build timestamp + `get-runtime` state-sharing; merge-bot hardened to `pull_request_target`; periodic concurrency workflow-only group). - **#194** — Make the #192 codegen docs carry cleanly into derived repos (closes #193: dead-anchor removal + split codegen principle from demo specifics). Standard release promotion: merge (not squash). A separate `publish-release.yml` dispatch performs the actual release after this lands. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #193. Two derived-repo carry-friction items surfaced by ptr727 while re-syncing LanguageTags against
developafter #192. Neither was wrong in the template, but each bit the verbatim/adapted carry. Both are the "describe what/why, not how" principle for a template repo.1. Dead intra-doc anchor in the mandated-verbatim "PR Review Etiquette" section
The callout ended with
See [Files and Sections Derived Repos Must Carry Verbatim](#...), whose target lives under the hub-only "Quick Start for Derived Projects" — which derived repos don't carry. So a verbatim carry dropped a broken MD051 link into every derived repo. Removed the trailing pointer; the hub's registry still links to this section one-directionally, so hub navigation is intact.2. Codegen-determinism bullet was welded to the API-Ninjas demo
The #192 rewrite mixed the carryable principle with demo specifics (daily-stable quote-of-the-day, day-boundary self-heal,
--runtime), which a derived repo reading static registries can't carry verbatim. Split into:CodeGen/quote-of-the-day example +--runtimelocal demo, clearly marked as droppable (mirroring how.editorconfig's EOL block is always-verbatim while[*.cs]is .NET-only).Also stopped naming sibling repos in the carried text (cross-repo references break in derived repos).
Note (not changed)
AGENTS.mdline ~115 (Line Endings) and line ~254 (Quick Start) also reference that registry anchor, but they sit in hub-context sections, not a mandated-verbatim prose contract, so they aren't the same dead-link-downstream problem. Flagging in case you want them normalized too.Docs-only; line endings preserved.
🤖 Generated with Claude Code