Repository navigation
#454 Rationalize tsh — remove Workbench-superseded UI/diagnostics, reposition as automation-first CLI - #462
Merged
Merged
Conversation
This was referenced Jul 4, 2026
Closed
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.
Closes #454 (Feature) and its tasks #455–#460.
Why
tshpredates the Workbench and was framed "diagnostic-first". That charter is obsolete: the Workbench's Open mode now hosts the same engine in-process with a GUI, so deep-internals viewing belongs there. This PR repositionstshto automation-first — the scriptable, mutating, CI-facingsqlite3-analog — by removing UI/diagnostics the Workbench supersedes and keeping only what a GUI can't do (scripting, CI, mutation).Guiding test for each command: does its output feed another program (keep) or a pair of human eyes (cut)?
What changed
Removed (superseded by shipped Workbench panels):
resourcesTUI (ResourceExplorer.cs) and theTerminal.Guipackage dependency.page-dump,cache-pages,segments,segment-detail,list-archetypes,entity-info.src → testproject reference; relocatedtest/Typhon.ARPG.Shell→examples/Typhon.ARPG.Shell(kept as the canonical extension-command sample). The extension mechanism andTyphon.ARPG.Schema(used by the benchmark) are untouched.Demoted to JSON/CI probes (
--format json→ clean,jq-parseable output;transactionscarries atruncatedflag):db-stats,cache-stats,memory,transactions.Kept + hardened (no Workbench equivalent — provisional, retire on parity):
btree,mvcc-statsgained JSON;revisions,stats-show,btree-dumpkept as clean scriptable text;btree-validate,stats-rebuildunchanged.Docs: help catalog/detail + autocomplete cleaned; tsh design docs repositioned "diagnostic-first → automation-first" with a supersession banner on the phase-2 diagnostics doc (docs land in the
claude/sub-repo branch of the same name).Verification
tshsmoke: the 4 demoted commands emit valid JSON under--format json; all 6 removed commands now error "Unknown command".using, dead params, missingtruncatedflag) fixed.Follow-up (not in this PR)
The JSON field names are now the CI/jq contract with nothing guarding them (a silent rename compiles clean). Recommend a
Typhon.Shell.Testsproject with JSON-contract snapshot tests as a separate task.🤖 Generated with Claude Code