Documentation
¶
Overview ¶
grok-writable-probe captures grok TTY snapshots and compares writable heuristics.
Starts (or reuses) a detached grok session via tty-watch, polls snapshot text, and records how each heuristic classifies writable state. Use the JSONL output to find false positives (e.g. "working tree" in scrollback).
Run from repo root:
go run ./script/debug/grok-writable-probe go run ./script/debug/grok-writable-probe -reuse -duration=30s go run ./script/debug/grok-writable-probe -out=/tmp/grok-writable-capture go run ./script/debug/grok-writable-probe -export-fixtures=pkgs/agenttty/testdata/grok-writable -from=/tmp/capture
Requires tty-watch and grok on PATH (or set -tty-watch / -grok).
Click to show internal directories.
Click to hide internal directories.