Skip to content

Commit fe25344

Browse files
docs: remove remaining caveman references from README (#44)
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
1 parent e007c3b commit fe25344

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ Reproduce: `go build -o tok ./cmd/tok && TOK=./tok evals/bench.sh --no-rtk`
130130

131131
## Recent additions
132132

133-
Session 2026-06-01 closed the second round of gaps vs rtk 0.37.1 and caveman:
133+
Session 2026-06-01 closed the second round of gaps vs rtk 0.37.1 and prompt-compression:
134134

135-
- **`tok.CompressCaveman(text, intensity)`** caveman-style prompt compression (Lite / Full / Ultra) as a public Go API. ~150 phrase substitutions, drop-lists for articles / filler / pleasantries, and auto-clarity (security/destructive segments pass through verbatim). `intensity` is monotonic: `len(ultra) <= len(full) <= len(lite)`.
135+
- **`tok.PromptCompress(text, intensity)`** — prompt compression (Lite / Full / Ultra) as a public Go API. ~150 phrase substitutions, drop-lists for articles / filler / pleasantries, and auto-clarity (security/destructive segments pass through verbatim). `intensity` is monotonic: `len(ultra) <= len(full) <= len(lite)`.
136136
- **`tok.IsSensitiveFilename(path)`** — 3-layer filename detection (exact basename, sensitive directory, name token). Companion to the content-based `SecretDetector`. Catches `.env`, `id_rsa`, `~/.ssh/...`, `test_credentials.json`, etc. Returns the category that fired.
137137
- **`tok.SmartTruncate(content, maxLines, lang)`** — code truncation that preserves function signatures and **always reports the exact drop count** in the marker (`kept + dropped == total`, rtk invariant).
138138
- **`tok.ExtractJSON(text)` / `tok.ExtractJSONArray(text)` / `tok.ExtractAllJSON(text)`** — brace-balanced JSON extraction that handles LLM output with surrounding prose, markdown code fences, and unterminated objects. Apostrophes in English prose are not confused with string delimiters.
@@ -143,7 +143,7 @@ Session 2026-06-01 closed the second round of gaps vs rtk 0.37.1 and caveman:
143143

144144
### Earlier (2026-04-20)
145145

146-
Session 2026-04-20 closed the last gaps vs rtk 0.37.1 and caveman:
146+
Session 2026-04-20 closed the last gaps vs rtk 0.37.1 and prompt-compression:
147147

148148
- **`tok commit-msg`** — read staged diff, emit Conventional Commits subject. Rule-based, no LLM.
149149
- **`tok review-diff`** — scan diff, emit one-line review comments (`🔴 bug / 🟡 risk / 🔵 nit`). Rule-based, no LLM.

0 commit comments

Comments
 (0)