Browse Source
punk::cap::handlers::templates 0.2.0: layout refs are fauxlink files (<alias>#<encodedtarget>.fauxlink|.fxlnk, target relative to <projectroot>/src/project_layouts, resolved via the fauxlink module). get_itemdict_projectlayoutrefs selects *#*.fauxlink/.fxlnk with fauxlink-derived names; get_itemdict_projectlayouts derives the layout folder from the resolved targetpath; the <alias>@<target>.ref parser is removed and .ref files are no longer recognised. Alias-less (leading-#) refs and unresolvable refs are skipped with a warning - punkcheck-based tooling excludes leading-# filenames, so layout refs must carry a non-empty nominal name. Also fixes the ignore* skip, which previously matched against the full glob path and never applied. All 7 live-tier refs renamed via a fauxlink::link_as-driven migration script (each generated name round-trip-verified through fauxlink::resolve before rename): decktemplates vendor/punk x4 (alias-less refs gained their target-tail aliases: basic, minimal, sample-0.1), custom/_project x2, and the module-shipped modpod ref (punk::mix::templates 0.1.5). Zero-byte property and all visible layout names unchanged. src/project_layouts/README.md ref-grammar section rewritten for fauxlink. Note: git's rename pairing crosses two of the zero-byte vendor/punk refs (sample-0.1 <-> project) - content-identical empty files; the true mapping is alias-preserving as described above. Verified: stage-2 scratch checks 7/7 (name parity incl exact punk.project, decoy alias-less ref warned+skipped, old-grammar decoy ignored); runtests prune/fossilmove/multishell/libsearch pass; end-to-end dev project.new materializes a full project from the default punk.project layout. Assisted-by: harness=claude; primary-model=claude-fable-5; api-location=anthropic.commaster
11 changed files with 53 additions and 37 deletions
@ -1,5 +1,6 @@
|
||||
0.1.1 |
||||
0.2.0 |
||||
#First line must be a semantic version number |
||||
#all other lines are ignored. |
||||
#0.2.0 - G-087 stage 2: layout refs are now fauxlink files (<alias>#<encodedtarget>.fauxlink|.fxlnk, resolved via the fauxlink module; target relative to <projectroot>/src/project_layouts). Bespoke <alias>@<target>.ref grammar removed - .ref files are no longer recognised. Alias-less (leading-#) refs and unresolvable refs are skipped with a warning (punkcheck excludes leading-# filenames). New dependency: fauxlink. Also fixes the ignore* skip (previously matched against the full glob path, so it never applied). |
||||
#0.1.1 - fix: pkg_register 'absolute' pathtype branch had a non-braced expr 'if {!file exists $normpath}' which raised an expr syntax error on any absolute-pathtype provider registration; now correctly tests ![file exists $normpath] |
||||
#0.1.1 - fix: pkg_register duplicate-registration guard did 'dict get $provider_info $pkg' without a dict exists check, erroring for any second provider package registering the same capability |
||||
|
||||
@ -1,4 +1,5 @@
|
||||
0.1.4 |
||||
0.1.5 |
||||
#First line must be a semantic version number |
||||
#all other lines are ignored. |
||||
#0.1.5 - G-087 stage 2: module-shipped layout ref migrated to fauxlink grammar (project#vendor+punk+project-0.1.fauxlink) |
||||
#0.1.4 - removed dead templates/layouts/project payload subtree (design-generation residue: no reader; layout payloads live in src/project_layouts, located via layout_refs - G-087 hygiene) |
||||
|
||||
Loading…
Reference in new issue