D1.3 + D1.4: affix-pool condition exposure (F7 union) + part tags vocabulary - #24
Merged
Merged
Conversation
D1.3 (F7 half-union closure): sidecar serializes imported affix pools (read-only — id, display name, entry condition ids) to a new SidecarProject field with fromSidecar mapping; the synergy condition picker's vocabulary is SYNERGY_CONDITION_TYPES unioned with observed pool condition ids, deduped by canonical identity, foreign spellings preserved. D1.4: parts gain a tags list (PartPanel editor, non-empty deduped strings validated); the withPartTag tag picker offers the project-wide observed-tag union plus free entry; save_part carries tags through the established wire path. Docs: PLAN ledger rows, GUNRNG_CHANGES D1.3/D1.4 status; Arms-side DESIGNRNG_CHANGES mirror edit reported separately. Gates: sidecar pytest 715 passed / 4 skipped (baseline 709); renderer vitest 615/615 (baseline 588); typecheck/lint/build green. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… HIGH-1) _synergy_modifiers_to_camel stripped the local namespace BEFORE the catalog-map lookup and passed misses through bare: gunrng:always (real pool vocabulary the D1.3 picker offers verbatim) served as 'always', armsng:custom_thing as 'custom_thing'. The new D1.3 validateLibrary rule then hard-flagged the tool's own output after one authoring round-trip and blocked export, and a re-save mis-prefixed armsng:* back as gunrng:*. Now camel-map ONLY catalog vocabulary; every other id keeps its STORED spelling verbatim - the exact mirror of the ':' guard in _synergy_modifiers_to_snake (ADR 0008 rule 1 / Arms ADR 0004 preserved- spelling law). Pin: test_synergy_condition_non_catalog_namespaced_ids_round_trip_verbatim (serve-side verbatim + stash spelling + re-save fixpoint for catalog, gunrng:-non-catalog, and armsng: addon ids). Ledger: grill outcome + LOW/INFO dispositions recorded; gate label corrected to repo-root pytest (INFO-2). Gates after fold: repo-root pytest 716/4 skipped, vitest 615, build exit 0. Co-Authored-By: Claude Fable 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.
Summary
project_to_design_jsonemits a read-onlyaffixPoolssummary (condition-picker fuel, not affix authoring); the E6 condition picker's vocabulary is now catalog ∪ observed pool condition ids, deduped by canonical LOCAL identity (ADR 0008), foreign ids offered exactly as observed;validateLibraryaccepts well-formed namespaced condition ids and hard-flags bare unknown spellings.GunPartDoc.tags, TSGunPart.tags+ PartPanel tags editor with observed-vocabulary suggestions (exact case-sensitive dedup per Arms ADR 0004 §4 — tags are NOT identifiers),withPartTagsub-field datalist. Unblocksgunrng:with_part_tagproduction activation.5e5bc2a): the sidecar→TS serializer now camel-maps ONLY catalog vocabulary — non-catalog namespaced condition ids (gunrng:always,armsng:*) are served verbatim instead of namespace-stripped, so the D1.3 validator no longer blocks export on the tool's own output after an authoring round-trip. Pinned bytest_synergy_condition_non_catalog_namespaced_ids_round_trip_verbatim.Evidence