feat(icon-registry): add spelwork-pua asset status for shipped house-style art #163
No reviewers
Labels
No labels
build-dist
priority
P1
priority
P2
priority
P3
priority
P4
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Toilville/toilville-design!163
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/icon-registry-spelwork-pua-160"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #160.
assetStatuscould only say"openmoji"or"pending-pua", so the registryhad no way to mark the 45 delivered house-style icons as shipped. This adds
"spelwork-pua"and moves every token exceptspel.tribunal.pragmatic(theone token with no art) onto it.
What changed
types.ts— thirdassetStatusvalue:"spelwork-pua".registry.ts— 45 of 46 tokens moved to"spelwork-pua";spel.tribunal.pragmaticcorrected from"openmoji"(it was reusingspel.tribunal.frame-invariant's glyph, not really an OpenMoji choice) to"pending-pua". Attribution updated to"SPELWork Icon Registry"for thetokens moving off OpenMoji, so
attribution.ts's compliance report sortsthem correctly.
resolve.ts—isPlaceholdernow trustsassetStatusalone; dropped theisPlaceholderGlyphhex-string heuristic, which would have kept the 4 seedPUA tokens (
spel.guise,spel.bastia,spel.lineage,spel.drift)flagged as placeholders after their status moved, since they store
defaultGlyphas a literal hex string (e.g."E901").registry.test.ts,resolve.test.ts— updated expectations.resolve.test.ts's "returns placeholder for pending-pua tokens" test movesits subject from
spel.guise(now shipped) tospel.tribunal.pragmatic.artifact.py,README.md— kept in sync with the same status values.Deferred, not in this PR:
defaultGlyph's two encodings (hex string vs.literal character) — normalising that touches every reader of the field and
this PR removes the only place that needed it fixed. Separate issue.
Not in this PR
status, not what renders. Delivery is a separate step.
artifact.py's icon-card badges and the "0 final custom glyphs — allpending design" stats caption (~line 2331–2378) still assume only
"openmoji"/"pending-pua"exist, so the generated design-tool page willnow show a stale caption. Flagging, not fixing here — didn't want to make
a presentation call that isn't mine to make.
examples.tsstill usesspel.guiseas its "pending-pua" demo, sameproblem
resolve.test.tshad. Same reasoning: flagging rather thanchanging a file the decision comment didn't scope in.
Test status
Could not run
vitest— this checkout has no Node.js installed. Changes werereviewed by hand against every current caller of
assetStatus(grep -rnacross
src/); reasoning for each file is above.