Skip to content

Derived-repo carry friction from #192: non-portable anchor in verbatim PR Review Etiquette + demo-coupled determinism bullet #193

Closed

Description

@ptr727

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:

See Files and Sections Derived Repos Must Carry Verbatim.

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

  1. added a commit that references this issue on Jun 23, 2026
  2. added a commit that references this issue on Jun 23, 2026
    8a701a9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions