Commit 7fca698
fix(mcp): correct stale tier numbers in create_cache/nosql/deploy descriptions (#38)
Three agent-facing tool descriptions carried tier limits that the
strict-≥80%-margin redesign (common/api, 2026-06-05) made factually wrong.
Agents read these verbatim to advise users, so each was a live mis-statement.
- create_cache: "team unlimited" → "team 1536 MB". The redesign retired every
"unlimited" (-1) limit; Team's redis cap is a finite 1536 MB (plans.yaml).
- create_nosql: "pro 2 GB / team unlimited" → "hobby 100 MB / hobby_plus 1 GB /
pro 5 GB / growth 20 GB / team 40 GB". Pro was wrong (mongodb_storage_mb pro
= 5120 MB = 5 GB, not 2 GB) and Team is now a finite 40 GB. Also fills in the
previously-omitted hobby_plus/growth rows.
- create_deploy: the opening line said "Requires Pro tier or higher", conflating
the base-deploy gate with the PRIVATE-deploy gate. Hobby CAN deploy
(deployments_apps: hobby=1). The fix states the base gate is Hobby+ (with the
per-tier app counts) and reserves the Pro requirement for private deploys.
Adds registry-honesty regression guards mirroring the existing FINDING-12
create_cache test: each asserts the live finite number AND that the word
"unlimited" never reappears in the cache/nosql descriptions, plus a deploy
guard that Hobby is named as deploy-capable. All 393 tests pass; coverage
99.86% line / 96.13% branch (≥95% floor); patch lines covered by the new tests.
Rule 22 surface: api/plans.yaml + common/plans defaultYAML already shipped the
strict-80 numbers; this syncs the MCP agent-facing surface to match.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 42f5313 commit 7fca698
2 files changed
Lines changed: 72 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
| 446 | + | |
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | | - | |
| 490 | + | |
| 491 | + | |
491 | 492 | | |
492 | 493 | | |
493 | 494 | | |
| |||
966 | 967 | | |
967 | 968 | | |
968 | 969 | | |
969 | | - | |
| 970 | + | |
970 | 971 | | |
971 | 972 | | |
972 | 973 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1505 | 1505 | | |
1506 | 1506 | | |
1507 | 1507 | | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
1508 | 1576 | | |
1509 | 1577 | | |
1510 | 1578 | | |
| |||
0 commit comments