Commit 6edab1b
committed
test(copilot): catch a tool silently dropping its query from the chip
The "has an intentional display title for every visible catalog tool"
assertion only checks that a title exists. A bare fallback label satisfies
it exactly as well as the useful one, so a tool that DID show its query can
lose that behavior with the suite still green — a coarse check contented by
a degraded state.
Adds a subset ratchet: any catalog tool that takes a `query` must show it,
unless it is in a documented allowlist. The set may shrink, never grow, so
removing a tool or teaching one to show its query needs no update here.
Baselines the three tools that ignore their query today rather than
changing their chips — making the rule true everywhere is a UX change and
does not belong in a test-hardening commit.
Verified by removing an entry from the allowlist: the assertion fails with
the offending tool named.1 parent f43b52c commit 6edab1b
1 file changed
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
87 | 126 | | |
88 | 127 | | |
89 | 128 | | |
| |||
0 commit comments