Repository navigation
Worktree audit reads T3's configured worktree roots; runtime names the new preview tools - #68
Merged
Merged
Conversation
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.
Follow-ups from T3 Code nightly 0.0.46-nightly.20261006.2735.
What changes
worktree-audit.shreadsworktreesDirectoryandpreviousWorktreesDirectoriesfrom T3's settings file at<T3 home>/userdata/settings.json, where<T3 home>isT3CODE_HOMEor~/.t3. It still counts the default<T3 home>/worktrees. It matches T3's handling. Values are trimmed with JavaScript's whitespace set, and relative paths and filesystem roots are ignored. Roots and candidates resolve physically, so a symlinked root still matches.previousWorktreesDirectoriescounts only when it is an array of strings, and jq and the Python fallback agree.--t3-worktreesorT3_WORKTREESreplaces the settings roots for one run. The script still deletes nothing.t3/runtime.mdaddspreview_hover,preview_drag,preview_select,preview_upload, andpreview_dialogto the control-ui mapping and the web verification step, with when to use each.How it was verified
python3 -m unittest discover -s testspasses.python3 scripts/build.pyleaves no diff.