Skip to content

docs: refresh the README, CLAUDE.md and the .claude tooling - #58

Merged
arifintahu merged 1 commit into
mainfrom
docs/refresh-readme-and-claude-md
Nov 23, 2026
Merged

arifintahu merged 1 commit into
mainfrom
docs/refresh-readme-and-claude-md

Conversation

@arifintahu

Copy link
Copy Markdown
Member

What and why

The README, CLAUDE.md and the .claude tooling had drifted from the app. This brings them back in line. Docs and tooling only; no app code changes.

  • README: the tagline "A fast, simple terminal for Windows" is now "A light terminal for Windows and macOS that brings your tabs back", and the intro is plainer. Features now cover command restore, duplicate and drag tabs, Ctrl+click links, the Markdown preview, safe defaults and the load handling. Install covers Windows (-setup.exe, .msi) and macOS (.dmg, one app for Apple silicon and Intel, Gatekeeper note). The installer path was wrong (target/release/bundle/, not packages/desktop/target/...).
  • Screenshot: retaken in the real app (two tabs, a busy background tab, git status in the bar, a README rendered beside the terminal), from a neutral demo project with a clean prompt so it shows no username or machine name.
  • CLAUDE.md: macOS and the dialog plugin; the files and modules it never mentioned (git.rs, terminal/output.rs, terminal/flow.rs, the tab menu, drag, nonces, history, WebGL renderer, menu helpers); sessionAck and the real sessionCreate signature; the batching, flow-control and command-history flow; new conventions (visibility: hidden for tab panes, additive serde(default) fields, opt-in settings); the release assets; and a short "Driving the running app" section (WebView2 debug port).
  • .claude/hooks/post-edit-check.sh: it read CLAUDE_TOOL_INPUT, which Claude Code does not set, so it never checked anything. It now reads the tool call JSON from stdin, stays silent when the check passes, and exits 2 with the error lines when it fails. It skips tmp/, build folders and non-code files.
  • .claude/settings.json: the hook path no longer depends on the working directory, and the permission list uses pnpm instead of npm.
  • /build: says where binaries really land (repo-root target/) and no longer claims LTO. /lint: the over-300-lines check now excludes test files, and the example offenders match today.

How you checked it

  • Hook: run by hand with JSON on stdin. Silent and exit 0 for a passing .ts and .rs, for a path under tmp/, and for a non-code file. Exit 2 with just the error lines after adding a deliberate type error to a .ts file and a .rs file (both reverted afterwards).
  • /lint size check: run as written; it lists the seven files that are over 300 lines today.
  • Screenshot: taken from the running app (dev build) and looked at before committing; no personal paths in it.
  • Docs claims: checked against the code where they are specific (tab menu items, rename by double-click, flush constants, the ignored [profile.release] Cargo warning, release asset names).
  • The Rust and frontend checks were not re-run: no source code changed.

Known gaps

  • [profile.release] in packages/desktop/Cargo.toml is ignored by Cargo (profiles belong in the workspace root), so releases use the defaults. CLAUDE.md and /build now say so; fixing it changes the shipped binary and deserves its own PR.

  • .claude/settings.local.json is the author's local file (gitignored) and is not touched.

  • cargo fmt --check, cargo clippy -- -D warnings and cargo test pass (no Rust changes)

  • pnpm turbo check test build and pnpm version:check pass (no frontend changes)

  • Bug fixes have a test that failed before the fix (the hook was checked against a deliberately broken file)

  • No secrets, personal paths or machine names in the diff

  • Docs and CHANGELOG.md updated if behaviour changed (docs only; no user-facing behaviour changed)

Simpler tagline for Windows and macOS, current features and install steps, a new screenshot from the real app, and CLAUDE.md brought in line with the code. The post-edit hook now reads the tool JSON from stdin (it read an unset variable and never ran), settings use pnpm, and /build and /lint stop claiming things that are not true.
@arifintahu arifintahu added the documentation Improvements or additions to documentation label Nov 23, 2026
@arifintahu
arifintahu merged commit 493ca15 into main Nov 23, 2026
4 checks passed
@arifintahu
arifintahu deleted the docs/refresh-readme-and-claude-md branch November 23, 2026 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant