Commit 7c67c6e
authored
chore: ignore the local live-provider probes (#1007)
Seven probe scripts sat untracked in `tool/` through the whole 2.2.0
release: `live_model_compare`, `live_openai`, `live_openai_client_check`,
`live_openrouter`, `live_own_server`, `live_routing_policy` and
`verify_openai_key`. They take a key as a file-path argument rather than
embedding one, so the exposure was never the key. The risk is a `git add
-A` sweeping an ad-hoc script into a release branch, and `git status`
listing seven files that are neither wanted nor ignored makes that
easier, not harder.
`tool/policy_snapshot.dart` is a committed tool and stays tracked; the
pattern is scoped to the probes.
`docs/ai-model-candidates.md` listed `tool/live_routing_policy.dart`
under "In-repo files cited" as a link, which resolved to a 404 on
github.com and now would not even be a file the repo could contain. It
is named there instead, with a line saying why it is not committed. The
two other references to these scripts are code spans in command
examples, which were never links.1 parent 33030ac commit 7c67c6e
2 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
69 | 78 | | |
70 | 79 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | | - | |
572 | | - | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
0 commit comments