You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Derived-repo carry friction from #192: non-portable anchor in verbatim PR Review Etiquette + demo-coupled determinism bullet #193
Surfaced while re-syncing LanguageTags against develop after #192 ("Make CodeGen deterministic-from-external-source; converge with downstream"). Both items are about how cleanly the #192 changes carry into a derived repo — neither is wrong in the template itself, but each bites the verbatim/adapted carry.
1. The mandated-verbatim "PR Review Etiquette" section embeds a non-portable internal anchor
The "PR Review Etiquette" section is marked "must be carried verbatim into every repo derived from this template." Its opening callout ends with:
That target heading lives under "Quick Start for Derived Projects," which derived repos do not carry. So a literal verbatim carry drops a dead intra-doc link (markdownlint MD051) into every derived repo. In LanguageTags the equivalent list lives under a differently-named section ("Staying in Sync with the Template"), so I had to re-point the anchor to keep it lint-clean — i.e. the "verbatim" section can't actually be carried verbatim.
Suggestion: make the cross-reference survive a derived repo that names its sync section differently — e.g. drop the trailing See [...] sentence from the carried section, point it at a stable/always-carried anchor, or call out the anchor as an adapt-on-carry placeholder (like <owner>/<repo> in copilot-instructions.md).
2. The #192 codegen-determinism AGENTS.md bullet is welded to the API-Ninjas demo
The reworded bullet states the carryable principle ("codegen output must be deterministic from its inputs, never per-run state") but interleaves it with demo specifics — "a daily-stable value (the API Ninjas quote-of-the-day)," "the only divergence is the rare day-boundary case … self-heals," and the --runtime demo option. A derived repo whose codegen reads static registries (e.g. LanguageTags: ISO 639-2/3 + RFC 5646) can't carry that framing verbatim — there's no daily-stable source and no day-boundary self-heal. Principle and demo aren't separable for the carry.
Suggestion: split the bullet into (a) the one-line provider-agnostic principle that derived repos carry, and (b) a clearly marked "template demo only" elaboration (the quote-of-the-day specifics + --runtime) that they drop — mirroring how the .editorconfig EOL block is always-verbatim while the [*.cs] block is .NET-only-and-droppable.
Context / not blocking
LanguageTags already had the #192 mechanics (pull_request_target, single-dotnet run codegen, workflow-only concurrency) since it was the convergence reference, so the local re-sync is done except for item 2, which I left unchanged pending this. Happy to re-sync once these are addressed.
Activity
Make #192 codegen docs carry cleanly into derived repos (#193)
Release: promote develop to main (#195)