Commit a572d36
docs(v0.9): file R-v0.9-NEW-16 — no User-Agent header on outbound requests
Surfaced by a user inspection of the transport layer at v0.10
candidate-selection close-out (post-handoff). src/api/transport.ts:
102-107 (JSON) and src/api/multipart-transport.ts (multipart) set
exactly three headers — Authorization, API-Version, Content-Type —
with zero hits across src/ for user-agent. Node's global fetch
(undici) therefore sends the default literal `User-Agent: node`
(live-confirmed via httpbin probe at Node v24.10.0), indistinguishable
from any other Node script hitting Monday's API.
Filed LOW-priority because no shipped bug — Monday accepts requests
fine, agents see no failure mode. But the gap is real: Monday's
ops/abuse teams can't correlate traffic to monday-cli, can't
selectively rate-limit by UA, can't whitelist us; an issue report
carrying "monday-cli sent these calls" can't be cross-referenced
against Monday-side logs. Lift adds a `monday-cli/<version>
(node/<node-version>)` header on both transports + extends the
reservedHeaderLowerNames set (matches the existing header-lockdown
discipline at transport.ts:90-94 + security.md "Header lockdown").
Trigger: any session touching transport headers, a Monday ops
request, a debugging session needing UA correlation, or a ride-along
on an unrelated milestone already in src/api/transport.ts.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 317ae04 commit a572d36
1 file changed
Lines changed: 52 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1450 | 1450 | | |
1451 | 1451 | | |
1452 | 1452 | | |
| 1453 | + | |
| 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 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
0 commit comments