spec(0.10.0): §3.5 — param_index is the ordinal among the template's whole-token wildcards; a producer MUST bind one param to each - #18
Merged
coderoast-dev merged 1 commit intoOct 4, 2026
Conversation
…whole-token wildcards, and a producer MUST emit exactly one param for each, in token order, and none for a wildcard inside a token Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
SPEC.md§3.5 calledparam_indexa "0-based wildcard position". This PR makes the binding between a template's wildcards and its params exact:followed by two worked readings (
"GET <*> -> <*>";"fetch cache/<*> took <*> ms", whose only param is the duration).CHANGELOG.mdrecords it under 0.10.0 (still unreleased) › Changed, and the 0.10.0 headline lists it among the breaking items.Why
(template_id, param_index)names one column on every document.Change class
Breaking: a producer emitting a param for a wildcard inside a token, or none for a whole-token wildcard, becomes non-conformant. Under
GOVERNANCE.md§2's 0.x rule, the editor merges it with norfc:issue. No schema change: the rule relates a template's text to its params, which no keyword can see.conformance/metalog_validate.py --selftest: 31/31 fixtures pass.The reference implementation (insight-metalog over its canonicalizer) conforms in the same release: template text and template ids do not move; only templates carrying a whole-token wildcard with no param gain one (measured on three private CI-log views: 63, 62 and 132 such templates, every one a whole dashed UUID).
🤖 Generated with Claude Code