railyard/policy/test/fixtures/denylist-3-new-phrases.json
caelum0x 71336987dd feat(bridge): Scribase bridge creates the bound Railyard org, one-time CLI claims and slot proofs; denylist 2026-09-29.3 (PY1.0)
PY1.0 acceptance (C8 delta check on main f919636; Wave E Y-0 to Y-5 merged):
1. Denylist .3 (gtm/policy, published by this package) adds portfolio-ott-drm
   and portfolio-ott-comparison (DRM, Netflix-style, your own Netflix beyond
   Menivor), addon-unlaunched (ADDON_LIVE), rally-capacity-purchase
   (RALLY_CAPACITY_PURCHASE_LIVE) and at-cost (allowed only next to a live
   price source). Re-vendored byte for byte; every new rule has failing
   fixtures (policy/test/fixtures/denylist-3-new-phrases.json); .2 fixtures kept.
2. apps/console/app/api/v1/bridge/scribase/{orgs,claims,proof}: signed
   (Standard Webhooks, RAILYARD_SCRIBASE_BRIDGE_SECRET), replay-proof calls from
   Scribase control-api. The first call creates the Railyard org bound to the
   Scribase org id (deterministic owner id, no second sign-up) and mirrors the
   add-on into the entitlement (plan "addon"); a lapsed add-on pauses the org
   and keeps its data. Keys go only to the Scribase CLI: a claim is a one-time,
   pre-approved device code (120 s) exchanged at /api/v1/device/token; a grep
   test keeps every bridge handler free of stdout, stderr and log writes.
3. proof answers {slot, state, live, proof:{kind,id,at}, next}; slots whose
   package has not landed answer "arriving".
Contract: tests/contract/fixtures/scribase-bridge/contract.json, run by
tests/contract/scribase-bridge.test.ts; the Scribase carve-out tests the same file.

Migration: apps/console/db/migrations/0002_scribase_bridge.sql (idempotent;
applied twice to a scratch local cluster only by test/migration.test.ts).
Env: RAILYARD_SCRIBASE_BRIDGE_SECRET (secret; unset keeps the bridge off).

Tests: console npm test 48/48, tests/contract 2/2, policy 11/11, cli 9/9, mcp 9/9,
tsc --noEmit clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 18:39:24 +03:00

25 lines
2.3 KiB
JSON

{
"version": "2026-09-29.3",
"note": "One or more failing fixtures per rule added in 2026-09-29.3 (Wave P, PY1.0). Each string must fail the lint for its rule, on the surface and product given, with no flag on.",
"fixtures": [
{"rule": "portfolio-ott-drm", "product": "railyard", "surface": "marketing", "text": "DRM for every video you ship"},
{"rule": "portfolio-ott-drm", "product": "scribase", "surface": "docs", "text": "Widevine keys stored in your project"},
{"rule": "portfolio-ott-drm", "product": "rally", "surface": "outbound", "text": "DRM-protected demo videos"},
{"rule": "menivor-ott-drm", "product": "menivor", "surface": "marketing", "text": "DRM on every title"},
{"rule": "portfolio-ott-comparison", "product": "railyard", "surface": "marketing", "text": "A Netflix-style launch for your app"},
{"rule": "portfolio-ott-comparison", "product": "scribase", "surface": "outbound", "text": "Build your own Netflix on Postgres"},
{"rule": "menivor-ott-comparison", "product": "menivor", "surface": "outbound", "text": "your own Netflix in a weekend"},
{"rule": "addon-unlaunched", "product": "scribase", "surface": "marketing", "text": "Add the portfolio add-on to Pro"},
{"rule": "addon-unlaunched", "product": "scribase", "surface": "docs", "text": "Run scribase add analytics"},
{"rule": "addon-unlaunched", "product": "railyard", "surface": "outbound", "text": "One add-on bundle for deploy and analytics"},
{"rule": "addon-unlaunched", "product": "menivor", "surface": "marketing", "text": "A launch reel comes with the portfolio add-on"},
{"rule": "addon-unlaunched", "product": "rally", "surface": "api-public", "text": "Mail allowance from the portfolio add-on"},
{"rule": "rally-capacity-purchase", "product": "rally", "surface": "marketing", "text": "Buy domains and mailboxes in one click"},
{"rule": "rally-capacity-purchase", "product": "rally", "surface": "outbound", "text": "We set up your mailboxes"},
{"rule": "at-cost", "product": "rally", "surface": "marketing", "text": "Domains at cost"},
{"rule": "at-cost", "product": "railyard", "surface": "app-ui", "text": "Priced at cost, no markup"},
{"rule": "at-cost", "product": "scribase", "surface": "docs", "text": "SMS at-cost pricing"},
{"rule": "at-cost", "product": "menivor", "surface": "outbound", "text": "Renders at cost price"}
]
}