grok-writable-probe

command
v0.0.54 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2026 License: MIT Imports: 15 Imported by: 0

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).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL