Browse Source
Tcl 9 removed tilde expansion: kettle_call's lib-mode 'file mkdir ~/.kettle' created a literal ./~/.kettle dir in the cwd - littering every tcl9-driven 'dev project.new' target via the kettledoc step (found during the modpod checkout structure refresh). Home is now resolved explicitly ([file home] on 8.7+/9, native ~ expansion on 8.6); no resolvable home skips the optional dotfile config; the mkdir is catch-guarded. Same-shape local patch in src/vendorlib/kettle1/app.tcl (kettle's own dotfile read silently ignored ~/.kettle/config under tcl9), comment-marked for reapply-on-vendor-upgrade. Verified by scratch-cwd repro: kit cli 0.6.0 creates ./~ (TILDEDIR=1), working-tree 0.6.1 does not (TILDEDIR=0), real HOME/.kettle used. Propagated bootsupport + vfscommon (modules cli-0.6.1, lib kettle1). No bake in this commit - the tree carries unrelated in-flight work, so kits keep the litter behaviour until the next bake. Project-version bullet left to fold into the pending 0.48.0 CHANGELOG entry. Claude-Session: https://claude.ai/code/session_0156PuejSCGjgeGb7jiABrDU Assisted-by: harness=claude; primary-model=claude-fable-5; api-location=anthropic.commaster
6 changed files with 79 additions and 28 deletions
Loading…
Reference in new issue