Repository navigation
Commit 773bb03
committed
fix(test): the stdin gate's DeusData#1359 guards survive a registry with no zero-argument tool
DeusData#1181 gave list_projects pagination parameters, retiring the last
empty-properties schema — and the two DeusData#1359 regression tests leaned on
list_projects as their live zero-argument example, so main went red the
moment the merge train composed (the PR was green on its July base, which
predated these tests).
The gate's schema→decision core is split behind a CBM_CLI_ENABLE_TEST_API
seam, so the zero-argument branch stays pinned directly (empty properties,
absent properties, populated properties) regardless of what the registry
ships; list_projects now asserts its NEW truth (piped args accepted, TTY
still refused); and the schema↔gate parity sweep keeps running over every
tool without the impossible >=1 zero-argument floor. Production behavior
is unchanged — this is the tests catching up with an intended schema
change, plus a seam so they never again depend on a shipped example.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent 4d7d9f1 commit 773bb03
2 files changed
Lines changed: 41 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12561 | 12561 | | |
12562 | 12562 | | |
12563 | 12563 | | |
| 12564 | + | |
| 12565 | + | |
12564 | 12566 | | |
12565 | 12567 | | |
12566 | 12568 | | |
| |||
12589 | 12591 | | |
12590 | 12592 | | |
12591 | 12593 | | |
| 12594 | + | |
| 12595 | + | |
| 12596 | + | |
| 12597 | + | |
| 12598 | + | |
| 12599 | + | |
| 12600 | + | |
| 12601 | + | |
| 12602 | + | |
| 12603 | + | |
| 12604 | + | |
12592 | 12605 | | |
12593 | 12606 | | |
12594 | 12607 | | |
| |||
12604 | 12617 | | |
12605 | 12618 | | |
12606 | 12619 | | |
| 12620 | + | |
| 12621 | + | |
| 12622 | + | |
| 12623 | + | |
| 12624 | + | |
| 12625 | + | |
12607 | 12626 | | |
12608 | 12627 | | |
12609 | 12628 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
12453 | 12454 | | |
12454 | 12455 | | |
12455 | 12456 | | |
12456 | | - | |
12457 | | - | |
12458 | | - | |
12459 | | - | |
12460 | | - | |
12461 | | - | |
12462 | | - | |
12463 | | - | |
12464 | | - | |
12465 | | - | |
| 12457 | + | |
| 12458 | + | |
| 12459 | + | |
| 12460 | + | |
| 12461 | + | |
| 12462 | + | |
| 12463 | + | |
| 12464 | + | |
| 12465 | + | |
| 12466 | + | |
| 12467 | + | |
| 12468 | + | |
| 12469 | + | |
| 12470 | + | |
| 12471 | + | |
12466 | 12472 | | |
12467 | | - | |
12468 | | - | |
12469 | | - | |
12470 | | - | |
12471 | | - | |
12472 | 12473 | | |
12473 | 12474 | | |
12474 | 12475 | | |
| |||
12496 | 12497 | | |
12497 | 12498 | | |
12498 | 12499 | | |
12499 | | - | |
12500 | | - | |
| 12500 | + | |
| 12501 | + | |
| 12502 | + | |
| 12503 | + | |
| 12504 | + | |
| 12505 | + | |
12501 | 12506 | | |
12502 | 12507 | | |
12503 | 12508 | | |
| |||
0 commit comments