Pane Filter Rules
164 words1 min read5 subsectionsFrom the README at ft 0.15.21
[ingest.panes] lets you control which panes the watcher observes. Filter rules are deterministic; ft list --json and ft robot state report each pane's observed flag and, for an excluded pane, its ignore_reason.
Rule shape
Each rule is a PaneFilterRule:
[[ingest.panes.exclude]]
id = "exclude_htop" # stable, machine-readable ID for the rule itself
title = "htop" # substring match on pane title (default)
# title = "re:^(htop|btop)$" # regex match (use re: prefix)
# domain = "SSH:*" # match SSH-backed panes
# cwd = "/secret" # match panes with a particular CWD prefix
Evaluation order
- Excludes win. If any exclude rule matches, the pane is ignored.
- Includes filter. If the include list is non-empty, the pane must match one to be observed.
- Default include. Empty include list means "observe everything not excluded."
Priority overrides
[ingest.priorities] works similarly:
[ingest.priorities]
default_priority = 100
[[ingest.priorities.rules]]
id = "critical_codex"
priority = 10 # lower number = higher priority
title = "codex"
[[ingest.priorities.rules]]
id = "deprioritize_ssh"
priority = 200
domain = "SSH:*"
Priority directly affects the watcher's round-robin scheduling; high-priority panes get more capture cycles per tick under pressure.
Live override
ft panes priority <pane_id> --weight 10 --ttl-secs 600 applies a runtime-only priority override (cleared at watcher restart unless persisted to config).
Bookmarks
ft panes bookmark add <pane_id> --alias build stores a stable alias in the pane_bookmarks table; aliases persist across restarts. Pass one with --bookmark <alias> to ft search and ft status; other commands take numeric pane IDs.