Commit b0d1d9c
committed
fix(rules): close 3 Greptile findings on Tier 1 block rules
1. **Edit/MultiEdit bypass reachability documented and tested**
(block-standup-not-in-escritorio + block-goodnight-not-in-escritorio).
The dispatcher's bypass scan already runs against the full raw
tool_input JSON via `parse-input.sh INPUT_RAW`, so a marker in any
string-valued field (`new_string`, `old_string`, `edits[].new_string`)
short-circuits the rule. Add explicit `allows-bypass-marker-edit-tool`
and `allows-bypass-marker-multiedit-tool` tests for both rules and a
clarifying comment so a future maintainer doesn't reintroduce the
reachability concern. Renames `allows-bypass-marker` ->
`allows-bypass-marker-write-tool` to keep the tool-shape symmetry.
2. **Combined --force + --force-with-lease defense-in-depth tested**
(block-git-force-push-no-lease). Add
`allows-force-with-lease-and-force-combined` with the exact
pathological-ordering command the design doc calls out, locking in
the not_pattern safety net against future regex refactors.
3. **pnpm dlx / yarn dlx playwright invocations tested**
(block-playwright-headless). Add `blocks-pnpm-dlx-playwright-headless`,
`blocks-yarn-dlx-playwright-headless`, and
`allows-pnpm-dlx-playwright-headed`. The pattern already covers these
forms; the tests pin that behavior.
Tests: 128 -> 136 passing (+8).1 parent 940350d commit b0d1d9c
2 files changed
Lines changed: 146 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1452 | 1452 | | |
1453 | 1453 | | |
1454 | 1454 | | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
1455 | 1482 | | |
1456 | 1483 | | |
1457 | 1484 | | |
| |||
1520 | 1547 | | |
1521 | 1548 | | |
1522 | 1549 | | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
1523 | 1559 | | |
1524 | 1560 | | |
1525 | 1561 | | |
| |||
1666 | 1702 | | |
1667 | 1703 | | |
1668 | 1704 | | |
1669 | | - | |
| 1705 | + | |
1670 | 1706 | | |
1671 | 1707 | | |
1672 | 1708 | | |
1673 | 1709 | | |
1674 | 1710 | | |
1675 | 1711 | | |
1676 | 1712 | | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
1677 | 1739 | | |
1678 | 1740 | | |
1679 | 1741 | | |
| |||
1748 | 1810 | | |
1749 | 1811 | | |
1750 | 1812 | | |
1751 | | - | |
| 1813 | + | |
1752 | 1814 | | |
1753 | 1815 | | |
1754 | 1816 | | |
1755 | 1817 | | |
1756 | 1818 | | |
1757 | 1819 | | |
1758 | 1820 | | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
1759 | 1847 | | |
1760 | 1848 | | |
1761 | 1849 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1177 | 1177 | | |
1178 | 1178 | | |
1179 | 1179 | | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
1180 | 1195 | | |
1181 | 1196 | | |
1182 | 1197 | | |
| |||
1234 | 1249 | | |
1235 | 1250 | | |
1236 | 1251 | | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
1237 | 1257 | | |
1238 | 1258 | | |
1239 | 1259 | | |
| |||
1347 | 1367 | | |
1348 | 1368 | | |
1349 | 1369 | | |
1350 | | - | |
| 1370 | + | |
1351 | 1371 | | |
1352 | 1372 | | |
1353 | 1373 | | |
1354 | 1374 | | |
1355 | 1375 | | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
1356 | 1395 | | |
1357 | 1396 | | |
1358 | 1397 | | |
| |||
1407 | 1446 | | |
1408 | 1447 | | |
1409 | 1448 | | |
1410 | | - | |
| 1449 | + | |
1411 | 1450 | | |
1412 | 1451 | | |
1413 | 1452 | | |
1414 | 1453 | | |
1415 | 1454 | | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
0 commit comments