bob capture-related¶
List existing tasks that a new capture may duplicate
bob capture-related --help
List existing tasks that each new task in a capture draft may duplicate or relate to.
The command is read-only and never writes the vault. Draft mode accepts capture text after --, checks task-creating items, and emits the additive schema_version 1 contract without scores. The --query evaluation harness ranks TEXT as one task title and includes scores in JSON. Use --exclude NOTE:LINE to leave one existing task out of calibration.
Usage: bob capture-related [OPTIONS] [DRAFT]...
Arguments:
[DRAFT]...
Capture draft to check after --; multiple args are joined with spaces
Options:
-b, --bob-dir <DIR>
Bob vault root; defaults to BOB_DIR or ~/bob
-d, --days <N>
Also match tasks closed in the last N days
[default: 30]
-e, --exclude <NOTE:LINE>
Exclude one vault-relative note:line before query scoring (calibration only)
-f, --format <FORMAT>
Output format: human or json
[default: human]
[possible values: human, json]
-h, --help
Show help
-l, --limit <N>
Matches per item
[default: 5]
-q, --query <TEXT>
Rank TEXT as one new task title (evaluation harness)
Examples:
bob capture-related --query "Install UPS battery"
bob capture-related -q "Install UPS battery" -f json
bob capture-related -q "Install UPS battery" -d 14 -l 3
bob capture-related -b ~/bob -q "Install UPS battery"
Environment:
BOB_DIR Bob vault root when --bob-dir is omitted
BOB_NOW Local datetime override for the closed-task window