Skip to content

Retire the R numbering that the matcher rename orphaned - #8

Merged
ptr727 merged 2 commits into
developfrom
feature/retire-r-numbering
Aug 1, 2026
Merged

Retire the R numbering that the matcher rename orphaned#8
ptr727 merged 2 commits into
developfrom
feature/retire-r-numbering

Conversation

@ptr727

Copy link
Copy Markdown
Owner

Re-deriving the redirect table in #6 replaced the R1 to R11 numbering with Caddy matcher names, but only in the table. Two references survived elsewhere, pointing at labels now defined nowhere in the repo. Both found by review on the promotion, #7.

  • checks/check-url-parity.py printed resolve after the R8 rewrite and named the R8 rewrite prefix in its failure text. That script is the source of the line quoted in the audit, so it was the origin of the orphan rather than a second copy of it. Both strings now name @uploads.
  • reports/Blog/audit.md quotes that output, and the quote is updated from a real run rather than edited to match.
  • TODO.md described an open decision as "a one-line change to rule R3", now the @date_archive rule.

Matcher names were chosen precisely because they can be grepped against the Caddyfile, and that only holds if nothing still refers to the numbering they replaced.

Verified after the change: 514 pages, 328/328 render, 778/778 media, 1012/1012 assets.

Once this reaches develop, the promotion #7 picks it up automatically, since its head is develop.

Re-deriving the redirect table replaced the R1 to R11 numbering with the
Caddy matcher names, but only in the table. Two references to the old
scheme survived elsewhere, pointing at labels that are now defined
nowhere in the repo. Both found by review on the promotion.
`checks/check-url-parity.py` printed "resolve after the R8 rewrite" and
named "the R8 rewrite prefix" in its failure text. That script is the
source of the line quoted in the audit, so it was the actual origin of
the orphan rather than a second copy of it. Both strings now name
`@uploads`, and the quoted output in `reports/Blog/audit.md` is updated
from a real run rather than edited to match.
`TODO.md` described an open decision as "a one-line change to rule R3",
which is now the `@date_archive` rule.
Matcher names were chosen precisely because they can be grepped against
the Caddyfile, and that only holds if nothing still refers to the
numbering they replaced.
Verified: 514 pages, 328/328 render, 778/778 media, 1012/1012 assets.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
CopilotAI review requested due to automatic review settings August 1, 2026 19:05

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR completes the repo-wide transition from legacy redirect “R#” identifiers to Caddy matcher names by removing orphaned references left behind after the redirect-table rewrite, keeping diagnostics and documentation grep-aligned with the live Caddyfile.

Changes:

  • Updated checks/check-url-parity.py media-gate output to refer to @uploads instead of the retired R8 label.
  • Refreshed the audit report quote to match the updated script output (@uploads).
  • Updated TODO.md to reference the @date_archive matcher instead of the retired R3 label.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

FileDescription
TODO.mdReplaces the retired R3 reference with the @date_archive matcher name.
reports/Blog/audit.mdUpdates the embedded output snippet to match the current checker output (@uploads).
checks/check-url-parity.pyRenames human-facing diagnostics from R8 to @uploads to match the Caddyfile matcher.

Comment threadTODO.md Outdated
The item asked whether the legacy date archives should redirect to `/all/`
rather than `/`. The Caddyfile already does exactly that, in
`redir @date_archive /all/ 301`, and the redirect table documents the
class as landing on `/all/`.
So the entry was not an open decision but a record of one already made,
which is worse than no entry: it sends a reader hunting for a change that
is in effect, and it contradicts the config and the table.
Raised by review, which noticed the config and the backlog disagreed.
Rewording it to name `@date_archive` in the previous commit made the
contradiction easier to see, since it now pointed at the exact rule that
already behaved the way the item was asking for.
The remaining decisions were checked against the config for the same
defect. The `/robots.txt/` and `/osd.xml/` entry is genuinely open, since
both still resolve to `/` in `slugs.map`.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
CopilotAI review requested due to automatic review settings August 1, 2026 19:09

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@ptr727
ptr727 merged commit 407219c into developAug 1, 2026
3 checks passed
@ptr727
ptr727 deleted the feature/retire-r-numbering branch August 1, 2026 19:21
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@ptr727