Skip to content

v1.3.0

Choose a tag to compare

@Scrates1 Scrates1 released this 02 Dec 04:10
· 1 commit to main since this release

What's New in v1.3.0

Architecture & Security

  • Modular C# engine (Tri/Engine/*.cs, namespace TriV2): Split monolithic Engine.cs into six focused source files (Models.cs, FileSystem.cs, FuzzyRanker.cs, ProjectValidator.cs, AnsiRenderer.cs, Picker.cs) with single-source validation (ProjectValidator), fast single-scan stale visit pruning (FindStaleVisitKeys), and Win32 extended/device path (\\?\ / \\.\) + rooted tilde suffix protection.
  • Deduplicated relocation & safe cross-volume moves: Extracted shared Invoke-TriDirectoryRelocation in PowerShell core and hardened MoveDirectorySafe / CopyDirectoryNoReparse.

CLI & TUI Improvements

  • Unambiguous slug/fuzzy CLI resolution: tri delete/rm, tri rename/mv, and tri graduate/grad now resolve full names, unique date-stripped slugs, or unique fuzzy matches without typing YYYY-MM-DD-.
  • Native PowerShell Tab completion: Added Register-ArgumentCompleter for tri subcommands and experiment directories (excluding dot-prefixed folders and quoting special characters).
  • Safe CLI deletion confirmation: tri delete/rm prompts [y/N] interactively, requires -Force in non-interactive scripts, and prints Deleted <path>.
  • Unquoted multi-word arguments across rename, graduate, clone, worktree, and ..
  • Collision-safe GitHub PR naming: GitHub PR URLs now default to YYYY-MM-DD-<owner>-<repo>-pr-<id>.
  • TUI polish: Separator-aware Ctrl-W, Ctrl-R slug pre-fill with live -> YYYY-MM-DD-<slug> preview, preserved selection/scroll position across inline actions, friendly empty-state guidance, [wt] Git worktree badge, and semantic green/red/yellow status bar.

Docs, Playground & QA

  • Shared docs/ranker.js module: Extracted UMD/CommonJS DP ranker powering the interactive browser playground with automated golden-vector parity against TriV2.Engine.Rank.
  • Expanded dual-shell test suite (54 checks) passing 100% on both PowerShell 7 and Windows PowerShell 5.1, plus CI JS syntax/parity validation.