You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Agent UX: pm test --run with --only-last (or any selector) still prints every linked test record #1630
pm test <id> --run --only-last (and the other selectors) runs one linked test, but the receipt still prints every linked test record in tests[N]. Agents read this receipt after each focused run, so a selective run costs as many tokens as listing the item's whole test collection. On a real fleet item with 58 linked tests, an agent reported that every --only-last run printed all 58 records.
When a selector narrows the run, the default receipt contains only the selected tests (or no tests[] at all, since run_results already names the command), plus count and the selection block for the skipped ones. The full collection stays available with an explicit flag such as --full/--include-linked, as other read commands do with budgets.
The same selection facts are also repeated as a warnings[] string, which is redundant for a successful, explicitly requested selection.
Why it matters
pm's job for agents is context management. A focused run is the moment an agent wants the smallest receipt, and today it gets the largest one. This is the same class as the budgeted reads elsewhere in the CLI: omitted collections should be summarized, not dumped.
Selective linked-test receipt budgeting, restoration of full evidence, and nonredundant selection facts. The item is open and unclaimed, with duplicate-check, planning and relationship evidence recorded.
Activity
fix(sdk): validate serialized output and contain extension fault data
unbraind commentedon Oct 30, 2026
Tracked in pm-gh1630.
Selective linked-test receipt budgeting, restoration of full evidence, and nonredundant selection facts. The item is open and unclaimed, with duplicate-check, planning and relationship evidence recorded.
feat(cli): bound selective test receipts and preserve dash-leading va…