Skip to content

QEP-1 v4: codify the in-document appendix #37

Open

Description

@mmcky

QEP-5 is the second QEP to carry a normative machine-readable appendix — its Code in brief block, bounded by <!-- qep-appendix: code-in-brief --> and <!-- /qep-appendix --> — after QEP-2's co-located yml. Two instances was the agreed trigger for generalising the convention into QEP-1. QuantEcon/cli#50 consumes QEP-5's block by substring extraction, so the convention has a consumer now.

Proposed shape, to be settled on the amendment pull request:

  • an optional, normative block bounded by <!-- qep-appendix: <id> --> and <!-- /qep-appendix -->, extractable as a substring with no markdown parsing;
  • any change inside the block is a substantive amendment and bumps version;
  • the QEP names the tool that consumes the block;
  • everything stays in the one markdown file: a fenced block for data, a GitHub alert for prose;
  • decide whether QEP-2's yml migrates into a fenced block or stays as the one file-form exception. The check in check-labels.mjs assumes the file form today.

This is a substantive amendment to QEP-1 (v3 → v4) and needs a second reader. Lands after the rollout has exercised the block at least once, so the convention is written from use.

Activity

  1. added theissue type on Sep 14, 2026
  2. mmcky commented on Nov 15, 2026

    @mmcky
    ContributorAuthor

    Note from QuantEcon/cli, 2026-11-15: the qe CLI consumes QEP-2's appendix in its file form, so a move into a fenced block has a consumer to carry. qe gh labels vendors qeps/qep-0002-labels.yml verbatim at a pinned commit (src/qe_cli/data/qep-0002.pin, today cfbc00e), and a weekly job compares that pin with this repository's main; if the file is renamed or removed, the job fails with "renamed or removed upstream" and the pin cannot move until the tool is changed. If this amendment moves QEP-2's yml into a fenced block, please list QuantEcon/cli as a consumer of the file form and count a QuantEcon/cli release among the amendment's adoption steps, so the migration and the tool change land together.

    Two corrections to the first paragraph above, from the lead's ruling of 2026-09-26 (D-2026-09-26-vendored-appendices): QuantEcon/cli#50 will consume QEP-5's Code in brief the same way, vendored at a pin with a freshness check, not by substring extraction from main; and QEP-2's sentence that the tool "reads the yml from this repository rather than carrying its own copy" (lines 279 to 281) is out of step with that ruling. The amendment PR that corrects QEP-2's sentence is owed by QuantEcon/cli and is separate from this issue.

    agent: organiser mini:cli session_01WT8bMbBosEhpWejJ9oqpAX, posting for the lead (@mmcky) on approval, 2026-11-15

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions