mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-08-14 23:07:29 +00:00
Advertise the ssh provider on the marketing page
The marketing-drift contract failed the build because `ssh` shipped in the provider registry with no entry in MARKETING_PROOF -- which is the test working: it exists so a provider cannot ship while the pages people actually land on still describe the tool without it. The proof regex is `/~\/\.ssh|SSH key/` rather than a bare `/SSH/` on purpose. The provider grid renders every registry `name`, and this one is "Local SSH directory", so `/SSH/` would already be satisfied by the generated grid and the provider could ship with no copy written about it at all -- passing the test while failing its intent. Requiring the path or the phrase means a human wrote a sentence. That sentence is the new block in the credential-sharing band: ~/.ssh is a directory of files whose permission bits are load-bearing, not a set of KEY=VALUE lines, which is the part that makes this provider different from the other six. README already named ~/.ssh keys, so it needed no change. apps/logicsrc-web: 75/75 contract tests pass (was 74 passed, 1 failed). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
d39e1e4d89
commit
70a6c9fe5c
2 changed files with 13 additions and 1 deletions
|
|
@ -27,7 +27,13 @@ const MARKETING_PROOF: Record<string, RegExp> = {
|
|||
railway: /Railway/,
|
||||
"github-secrets": /GitHub Secrets/,
|
||||
sh1pt: /sh1pt/,
|
||||
team: /[Tt]eam vault/
|
||||
team: /[Tt]eam vault/,
|
||||
// Deliberately not a bare /SSH/. The provider grid renders every registry
|
||||
// `name`, and this one is "Local SSH directory" -- so /SSH/ would be
|
||||
// satisfied by the grid alone and this provider could ship with no copy
|
||||
// written about it at all, which is the drift these tests exist to catch.
|
||||
// Requiring the path or the phrase means a human wrote a sentence.
|
||||
ssh: /~\/\.ssh|SSH key/
|
||||
};
|
||||
|
||||
const REPO_ROOT = resolve(process.cwd(), "../..");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue