Skip to content

phase-M M51: apply generic-scrape tokens before Name tokens#168

Merged
dcasota merged 1 commit into
masterfrom
sdd/phase-m-m51-token-order
May 23, 2026
Merged

phase-M M51: apply generic-scrape tokens before Name tokens#168
dcasota merged 1 commit into
masterfrom
sdd/phase-m-m51-token-order

Conversation

@dcasota
Copy link
Copy Markdown
Owner

@dcasota dcasota commented May 23, 2026

proto candidate 'xproto-7.0.31' + Name='proto' → Name-token strips the 'proto' in 'xproto-' → 'x-7.0.31' → dropped on 'x'. PS strips 'xproto-' first ( order). Reordered apply_generic_scrape_tokens before apply_name_replace_augmentations. Verified locally: proto = PS warning (7.7>7.0.31); grub2/freetype2/xorg-fonts unaffected. build+ctest green.

FRD: FRD-011 · ADR: ADR-0001 · PS-source: L3346 vs L4193 · Parity: strict

🤖 Generated with Claude Code

proto's candidate is "xproto-7.0.31"; with Name="proto" the Name-token
step stripped the bare "proto" inside "xproto-" -> "x-7.0.31", which the
no-alpha filter then dropped (and the M42 "xproto-" token ran too late).
PS adds these prefix tokens to $replace BEFORE the Name tokens, so it
strips "xproto-" first. Reordered apply_generic_scrape_tokens to run
before apply_name_replace_augmentations. Verified locally: proto now
emits PS's exact warning (7.7 > 7.0.31); grub2/freetype2/xorg-fonts
unaffected (their tokens don't collide with the Name).

FRD: FRD-011
ADR: ADR-0001
PS-source: photonos-package-report.ps1 L 3346 vs L 4193-4196
Parity: strict

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@dcasota dcasota merged commit 546df96 into master May 23, 2026
2 checks passed
@dcasota dcasota deleted the sdd/phase-m-m51-token-order branch May 23, 2026 05:00
Sign up for free to 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.

1 participant