Semantic cache and PII guardrails were already fully coded and tested
since Oct 6 (apps/relay/crates/relay-semantic-cache,
apps/relay/crates/relay-guardrails) and wired into gateway/src/router.rs,
but the production Relay image on railyard-box was built from a checkout
87 commits behind main (predating both features). Rebuilt and deployed
relay from current main, enabled RELAY_SEMANTIC_CACHE=memory and
RELAY_GUARDRAILS_JSON={"pii":"redact"} in /etc/products/relay.env, and
verified both live end-to-end with a real throwaway API key (a request
with a fake email got x-relay-guardrails: email=1; the identical repeat
got x-relay-cache: hit, similarity 1.0000).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
89 lines
9.4 KiB
Plaintext
89 lines
9.4 KiB
Plaintext
== infra
|
|
I1 DONE Relay OpenAI-compatible API, streaming, tools and batch [apps/relay/crates/tensorzero-core/src/endpoints/inference.rs]
|
|
I2 DONE Provider fallback, spend caps, rate limits and response cache [apps/relay/crates/tensorzero-core/src/db/cache.rs]
|
|
I3 DONE Price catalog with refresh and per-key usage export [apps/relay/crates/relay-catalog/src/openrouter.rs]
|
|
I4 DONE Portfolio add-on entitlement [30-portfolio-addon.test.mjs]
|
|
I5 DONE Ship on push with PR previews [apps/console/lib/ship/ship.test.ts] (QY1.1: P-Y10 session-bound link/go and Cloudflare step; P-Y11 finish by stored repo_id)
|
|
I6 PARTIAL Custom domains for shipped apps [packages/cli/test/domains.test.mjs] (QY1.5: CLI, console and Scribase Deploy tab tested against a mocked Cloudflare API; the owner-run proof on a real domain is still open)
|
|
I7 DONE Speed insights and deploy markers [apps/insights-edge/test/vitals.test.mjs] (QY1.2: /s.js sends LCP, INP and CLS (P-Y12))
|
|
I8 DONE Deploy slot [31-deploy.test.mjs]
|
|
I9 DONE Analytics slot (Insights) [32-analytics.test.mjs]
|
|
I10 DONE Flag targeting and % rollout [packages/openfeature-railyard/test/targeting.test.mjs] (QY1.3: property, cohort and segment rules; stable-hash % rollout; local and /flags agree)
|
|
I11 DONE Flags slot [34-flags.test.mjs]
|
|
I12 DONE AI slot (Relay BYOK per project) [33-ai.test.mjs]
|
|
I13 DONE Uptime slot and status page [35-uptime.test.mjs]
|
|
I14 DONE Errors slot (GlitchTip) [apps/console/lib/watch]
|
|
I15 DONE Consent slot [37-consent.test.mjs]
|
|
I16 DONE Add-on grants and usage [apps/rago/seeds/portfolio/grants.json]
|
|
I17 PARTIAL Embeddings route [apps/relay/config/tensorzero.toml] (embedding model at line 212; no test of our own)
|
|
I18 DONE Semantic cache [apps/relay/crates/relay-semantic-cache] (coded+tested since b340956e-era Oct 6, deployed+enabled live 2026-10-21: RELAY_SEMANTIC_CACHE=memory, verified with a real cache hit)
|
|
I19 DONE Guardrails and PII redaction [apps/relay/crates/relay-guardrails] (coded+tested since Oct 6, deployed+enabled live 2026-10-21: RELAY_GUARDRAILS_JSON={"pii":"redact"}, verified with a real redacted request)
|
|
I20 PARTIAL Maintained engine and OTel export [docs/adr/RY-0001-relay-engine.md] (RY-RL1 and RY-RL2 landed; otlp exists but is not configured)
|
|
I21 DONE Per-key trace view [apps/relay/crates/relay-traces]
|
|
I22 PARTIAL Billing slot (seller-own payments) [apps/mint/crates/mint-payments/src/seller] (P-X4; CA/adapters/railyard/billing.rs is in the Scribase repo)
|
|
I23 DONE Rago event ingest, aggregations and charge models [apps/rago/crates/rago-billing/src/aggregation.rs]
|
|
I24 DONE Rago usage, entitlements, wallets and portal [apps/rago/crates/rago-api/src/lib.rs]
|
|
I25 DONE Shadow metering and relay spend into Rago [apps/relay/crates/relay-cost-feed]
|
|
I26 DONE Portfolio meters (bundle seeds) [apps/rago/seeds/portfolio]
|
|
I27 DONE Host metrics, exporters and alert rules [docs/analytics/CAPACITY.md] (RY-OB1 and RY-OB4 landed in infra-box, not this repo)
|
|
I28 PARTIAL Rago load test and per-org ingest limit [none] (RY-RG2; recount evidence is none)
|
|
I29 DONE Mint card, IAP webhooks, ledger and receipts [apps/mint/crates/mint-payments/src/card]
|
|
I30 DONE Mint shadow deploy and outbound signed events [apps/mint/crates/mint-server/src/shadow.rs]
|
|
I31 MISSING Direct ASSN v2 and Play RTDN in Mint [none] (RY-MT3)
|
|
I32 PARTIAL Stripe Connect onboarding [apps/mint/crates/mint-payments/src/seller/stripe.rs] (gated on OD-9)
|
|
I33 DONE Forge repos, PRs, reviews and git transport [apps/rithub/README.md]
|
|
I34 PARTIAL Forge CI checks and runners [apps/rithub/crates/rithub-server/src/ci.rs] (no runner (RY-RH1))
|
|
I35 MISSING Forge packages, LFS, wikis [none]
|
|
I36 DONE Metrics store (VictoriaMetrics) [docs/analytics/CAPACITY.md] (IB/stacks/victoriametrics is in infra-box)
|
|
I37 PARTIAL Log store (VictoriaLogs) [docs/analytics/CAPACITY.md] (IB/stacks/victorialogs; P-Y13 is in infra-box)
|
|
I38 DONE Error tracking (GlitchTip) and journey canaries [apps/console/app/(app)/watch]
|
|
I39 DONE Public status page and nightly backups with box 2 PITR [apps/console/app/status]
|
|
I40 PARTIAL Restore drills with measured RTO [infra-box/backup/restore-drill.sh] (recount names restore-drill.sh; RY-BK2; the script is in infra-box, not this repo)
|
|
I41 PARTIAL CI and supply chain [.github/workflows/ci.yml] (ci, ship, audit (gitleaks, cargo-audit); image scan RY-CI2 open)
|
|
I42 DONE Secrets source of truth [.gitleaks.toml] (RY-SEC1 landed in infra-box)
|
|
I43 DONE Edge WAF as code [policy/copy-denylist.json] (RY-WAF1 landed in infra-box)
|
|
I44 MISSING Origin rate limit and bad-IP blocking [none] (RY-WAF2)
|
|
infra: 29 / 10 / 5 (DONE / PARTIAL / MISSING)
|
|
== analytics
|
|
A1 DONE Capture, batch, identify, groups and autocapture [apps/product-analytics/test/a1/protocol.test.ts]
|
|
A2 DONE Person merge rules and GDPR delete [apps/product-analytics/test/a1/identity.test.ts]
|
|
A3 DONE React Native and Node SDK clients [apps/product-analytics/test/a1/sdk-node.test.ts]
|
|
A4 DONE Native iOS, Android, Flutter SDKs [packages/analytics-swift/Tests/RailyardAnalyticsTests/AnalyticsTests.swift] (2026-10-15: native Swift (iOS/macOS/tvOS/watchOS), Kotlin (JVM/Android) and Flutter/Dart wrapper SDKs landed 2026-10-06 (fba4dba7, 8cd06952); each has its own unit test suite. Swift suite verified green here (swift test, 6/6); Kotlin and Flutter suites were not re-run in this environment (no kotlinc or flutter toolchain) but their test files are real, not stubs. No sample/example app end-to-end proof yet.)
|
|
A5 DONE Trends [apps/product-analytics/test/a2/trends.test.ts]
|
|
A6 DONE Funnels [apps/product-analytics/test/a2/funnels.test.ts]
|
|
A7 DONE Retention [apps/product-analytics/test/a2/grids.test.ts]
|
|
A8 DONE Paths [apps/product-analytics/test/a2/grids.test.ts]
|
|
A9 DONE Stickiness and lifecycle [apps/product-analytics/test/a2/grids.test.ts]
|
|
A10 DONE Actions [apps/product-analytics/test/a2/actions-cohorts.test.ts]
|
|
A11 DONE Cohorts [apps/product-analytics/test/a2/actions-cohorts.test.ts]
|
|
A12 DONE Dashboards and saved insights [apps/product-analytics/test/a2/dashboards.test.ts]
|
|
A13 DONE SQL over events [apps/product-analytics/test/a2/sandbox.test.ts]
|
|
A14 DONE Session replay [apps/product-analytics/test/a3/replay.test.ts]
|
|
A15 DONE Heatmaps [apps/product-analytics/test/a3/heatmaps.test.ts]
|
|
A16 DONE Surveys [apps/product-analytics/test/a3/surveys.test.ts]
|
|
A17 DONE Experiments [apps/product-analytics/test/a3/experiments.test.ts]
|
|
A18 DONE Web analytics [apps/product-analytics/test/qy/web.test.ts] (QY1.2: pageviews, top pages, referrers, UTM and vitals p75 from the product-analytics store)
|
|
A19 DONE Feature flags at PostHog depth [apps/product-analytics/test/qy/flags-targeting.test.ts] (QY1.3: targeting rules and % rollout (I10))
|
|
A20 DONE Remote config [apps/product-analytics/test/a1/protocol.test.ts]
|
|
A21 DONE Group analytics [apps/product-analytics/src/groups]
|
|
A22 DONE Data export and warehouse sync [apps/product-analytics/test/qy/warehouse.test.ts] (2026-10-15: ClickHouse and BigQuery (0e611a19) and Snowflake (aa25b536) destinations next to the S3/webhook export, all landed 2026-10-06. test/qy/warehouse.test.ts and test/qy/snowflake.test.ts both green in the 2026-10-15 full run.)
|
|
A23 DONE CDP destinations [apps/product-analytics/test/qy/transforms.test.ts] (2026-10-15: Slack, Discord and HubSpot catalogue destinations (b4612a4f) plus where/keep-drop/rename/set transforms (41653aeb), all landed 2026-10-05/06. test/qy/destinations.test.ts and test/qy/transforms.test.ts both green in the 2026-10-15 full run.)
|
|
A24 DONE Retention limits and plan caps [apps/product-analytics/test/a1/retention.test.ts]
|
|
A25 DONE Alerts and subscriptions [apps/product-analytics/test/qy/alerts.test.ts] (QY1.4: threshold and anomaly alerts, weekly subscriptions, unsubscribe)
|
|
A26 DONE scribase add analytics reaches product analytics [apps/product-analytics/test/qy/first-product-event.test.ts] (QY1.2: bridge product_analytics case; first product event proof)
|
|
L1 MISSING Per-resource MCP URL (G1) [none]
|
|
L2 PARTIAL Signed share links (G2) [apps/product-analytics/src/replay/shared/signed-link.ts] (no shared contract; no branch or deploy links)
|
|
L3 MISSING Labels and reuse-if-exists (G3) [none]
|
|
L4 PARTIAL TTL and idle timeout (G4) [SB/crates/policy/src/preview.rs] (recount: previews ttl_hours; no idle timeout; P-S18. The file is in the Scribase repo, not this one)
|
|
L5 MISSING Jurisdiction placement (G5) [none] (owner decision)
|
|
L6 PARTIAL Python, Go and Java SDKs (G6) [apps/product-analytics/test/a1/sdk-node.test.ts] (upstream-compatible clients; no compat result published)
|
|
L7 MISSING /openapi.json (G7) [none]
|
|
L8 MISSING Embeddable replay (G8) [none]
|
|
L9 MISSING Cloud simulators (G9) [none] (belongs to Recoder)
|
|
L10 MISSING Build assets with scoped tokens (G10) [none]
|
|
L12 DONE logs.tail MCP tool (G12) [docs/analytics/LIMRUN-GAPS.md] (DONE in SB/crates/mcp/src/control.rs:908 (a01da6f); that file is not in this repo)
|
|
analytics: 27 / 3 / 7 (DONE / PARTIAL / MISSING)
|
|
== limrun n/a
|
|
L11 DONE Idle and build-time billing units (G11) [docs/analytics/LIMRUN-GAPS.md] (n/a in the recount; not counted in 20/9/8)
|
|
baseline 2026-09-30: infra 26 / 12 / 6, analytics 20 / 9 / 8
|