logicsrc/apps/logicsrc-web/contract
Anthony Ettinger 4c88155f08
Some checks are pending
CI / build (push) Waiting to run
test / test (push) Waiting to run
test(web): fail the build when marketing copy drifts from shipped providers (#126)
The last three PRs all fixed the same class of bug. /credential-sharing
and README.md are hand-written copy; the providers they advertise are a
real registry in @logicsrc/plugin-credential-sharing. Nothing connected
the two, so the `team` provider shipped on 2026-07-13 and three weeks
later both surfaces still described a five-provider tool with no mention
of teams. The docs were right the whole time -- only the pages people
actually land on had gone stale, which is worse, because it reads as
"the product cannot do this" rather than as a documentation gap.

Assert it instead. For every provider in the registry, the Credential
Sharing section and the README must say something that counts as
advertising it. The registry's own `name` cannot be the proof -- `env`
is "Local .env file" and `team` is "LogicSRC Team Vault", neither of
which is how the copy reads -- so each provider declares its own
pattern, and a provider with no declaration fails too. That way adding
a provider forces a deliberate answer about the customer-facing copy.

Verified against the bug it is meant to catch: reverting the team copy
reproduces "These providers ship but /credential-sharing never mentions
them: team", and reverting the README line reproduces the same for
sh1pt and team.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-03 07:18:13 -07:00
..
apex-rewrites.contract.test.ts feat(web): serve the CLI login flow from the apex (#106) 2026-07-30 10:25:16 -07:00
html-sanitizer.test.ts Sanitize rendered web content (#77) 2026-06-15 01:34:44 -07:00
install-command.contract.test.ts feat(web): put the one-line install in front of everyone 2026-07-30 12:55:30 -07:00
logicsrc-web.contract.test.ts feat(web): move Hire Us pricing to $400/hour metered billing (PRD 0002) (#102) 2026-07-28 10:34:49 -07:00
marketing-drift.contract.test.ts test(web): fail the build when marketing copy drifts from shipped providers (#126) 2026-08-03 07:18:13 -07:00
ontology-api.contract.test.ts feat(openontology): Phase 2 + Phase 3 — storage, REST/SSE, MCP, RDF/SHACL, adapters, TUI, explorer (#101) 2026-07-28 05:10:33 -07:00