grok-writable-probe

command
v0.0.240 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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