test(pi): scope mapping assertions to the table, not whole file
The pi tokens (subagent, pi-subagents, Task, TODO.md) also appear in the surrounding prose, so matching the whole file passed even with the mapping table deleted — the exact regression this test exists to catch. Filter to table rows (lines starting with '|') so the assertion fails when the table is gone and passes on dev. Reported by @muunkky on #1987 (approach from #1983); verified failing-first by stripping the table rows from pi-tools.md.
G
Gaurav Dubey committed
a60dc2ffe5c5c4b0a833f52cdc8d531f8d09bedc
Parent: a80b7b6
Committed by Drew Ritter <drew@ritter.dev>
on 7/24/2026, 12:27:16 AM