Skip to content

docs: sync stale references with the current codebase#246

Merged
Fullstop000 merged 4 commits into
masterfrom
docs/sync-stale-references
Jul 8, 2026
Merged

docs: sync stale references with the current codebase#246
Fullstop000 merged 4 commits into
masterfrom
docs/sync-stale-references

Conversation

@Fullstop000

Copy link
Copy Markdown
Owner

Summary

CLAUDE.md, the top-level README.md, and docs/ had drifted from the code. This brings them back in line — every change was verified against source + CHANGELOG, not guessed.

What was stale, and the fix

File Was Now Evidence
CLAUDE.md cargo run -- --tui (explicit TUI) removed — --tui deleted in v0.15.0; no-arg is the TUI cli/mod.rs:140 + test assert!(!rendered.contains("--tui"))
CLAUDE.md color palette in src/tui.rs src/console/colors.rs (Catppuccin Mocha) no tui.rs in tree; repl → console rename
CLAUDE.md color-coded borders color-coded bullet render/tool_block.rs:128, render/blocks.rs:550
CLAUDE.md "single binary, no runtime deps" Ink default (Node ≥18) + ratatui fallback main.rs:175-200; CHANGELOG v0.40.0 (#192)
CLAUDE.md (no subcommands/flags; no architecture) subcommands + flags + Architecture section cli/mod.rs, lib.rs
docs/usage/hooks.md "v1 ships two events" all 4 events (PreToolUse/PostToolUse added v0.41.0 #206) hooks/protocol.rs HookEvent::ALL (test len()==4)
docs/usage/hooks.md Landlock ABI V1 / Linux 5.13+ ABI V2 / Linux 5.19+ sandbox/mod.rs:120 let abi = ABI::V2;; v0.41.3 #221
docs/configure/permissions.md bash sandbox "on the roadmap" documented as shipped (v0.41–v0.43) bash.rs, tools/mod.rs:105, settings.rs
docs/configure/telemetry.md "Anthropic emits no token usage" limitation removed (fixed #175) anthropic.rs parses message_deltaUsage
docs/usage/commands.md missing /connect /hooks /settings added; /telemetry now toggles; Ctrl+D = double press console/slash.rs SLASH_COMMANDS; app.rs:1146
docs/configure/mcp.md "per-tool rules not supported" per-tool exact names work; only server-globs don't permissions/rule.rs matches_liberal
docs/README.md hooks page orphaned indexed; commands list updated docs/usage/hooks.md
README.md Ctrl+D exits; "experimental" Ink Ctrl+D twice; Ink is default matches commands.md

Verification

  • Doc-only PR — no Rust code touched, so no build/test impact.
  • Final grep across docs/ confirms no lingering two events / ABI V1 / on the roadmap / not yet supported / does not emit token phrases.
  • The /hooks listing example was checked against format_list in hooks/mod.rs (it does not render matcher, so the example omits it).

Test plan

  • Read every modified doc section against the cited source.
  • Human review of the new docs/configure/permissions.md "Bash sandbox" section and the docs/usage/hooks.md PreToolUse/PostToolUse subsections for clarity.

CLAUDE.md, the top-level README, and docs/ had drifted from the code.
Every change below was verified against source + CHANGELOG.

CLAUDE.md:
- Drop the removed `--tui` flag (v0.15.0); no-arg is the TUI.
- Fix the TUI module path: `src/tui.rs` -> `src/console/` (colors in
  `src/console/colors.rs`).
- Color-coded *borders* -> *bullets* for tool-call status.
- Reframe "single binary" for the Ink-default / ratatui-fallback split
  (Ink became default in v0.40.0).
- Document subcommands (mcp/upgrade/sessions) and flags (-r/--afk/-v).
- Add an Architecture section mapping the ignis/src/ module layout.

docs/usage/hooks.md:
- Document all 4 hook events; PreToolUse/PostToolUse were missing
  (added in v0.41.0). Add their envelope fields, matcher, and
  block/rewrite semantics.
- Landlock ABI V1 / Linux 5.13+ -> ABI V2 / Linux 5.19+ (v0.41.3).

docs/configure/permissions.md:
- The bash sandbox shipped (v0.41-v0.43). Document it (opt-in, /settings
  toggle, write/read confinement, sandbox_{read,write}_paths) and drop
  it from the roadmap.

docs/configure/telemetry.md:
- Remove the "Anthropic emits no token usage" limitation (fixed in #175;
  anthropic.rs parses message_delta into a Usage delta).

docs/usage/commands.md:
- Add /connect, /hooks, /settings (present in slash.rs SLASH_COMMANDS).
- /telemetry now toggles, not read-only.
- Ctrl+D exits on a double press (Ink + native TUI).

docs/configure/mcp.md:
- Per-tool permission rules ARE supported (exact mcp__server__tool
  names); only per-server globs are not (rule.rs matches_liberal).

docs/README.md + README.md:
- Index the hooks page (it was orphaned). README: Ctrl+D note and drop
  the stale "experimental" label on the now-default Ink frontend.
@cursor

cursor Bot commented Jul 7, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

The built-in ratatui TUI is deprecated and no longer actively developed;
the Ink frontend is the only actively-maintained UI. IGNIS_FRONTEND=native
still works and remains the automatic fallback when Node >=18 is missing.

- CLAUDE.md: deprecate ratatui in Build/Run and R2 (TUI Design); reframe
  the "single binary" note.
- README.md: deprecate ratatui in the Install paragraph, the TUI+CLI and
  Single-binary feature bullets.
- CHANGELOG.md: record the deprecation under [Unreleased] -> Deprecated.
@cursor

cursor Bot commented Jul 7, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@Fullstop000
Fullstop000 merged commit 16b099b into master Jul 8, 2026
5 checks passed
@Fullstop000
Fullstop000 deleted the docs/sync-stale-references branch July 8, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(llm): Anthropic protocol drops token usage — context meter & telemetry read zero on the default provider

1 participant