From c1eea4cdc244a64a4c725bf3298a61f045508043 Mon Sep 17 00:00:00 2001 From: garrytan Date: Mon, 2 Nov 2026 00:42:46 +0000 Subject: [PATCH] GST-850: choice A, drop the allowlist docs paths (UI text and SVGs stay code); repin under GST-850 Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- changelog.d/gst-850-allowlist-docs-paths.md | 10 +- docs/review-policy.md | 42 +--- lib/review-allowlist.ts | 229 -------------------- lib/review-depth.ts | 26 +-- test/review-allowlist.test.ts | 78 ------- test/review-depth.test.ts | 2 - test/review-packets-removed.test.ts | 7 +- test/review-risk-linear.test.ts | 58 +++++ test/review-risk-routing.test.ts | 22 +- 9 files changed, 90 insertions(+), 384 deletions(-) delete mode 100644 lib/review-allowlist.ts delete mode 100644 test/review-allowlist.test.ts create mode 100644 test/review-risk-linear.test.ts diff --git a/changelog.d/gst-850-allowlist-docs-paths.md b/changelog.d/gst-850-allowlist-docs-paths.md index 1ac0c926a..8893842a4 100644 --- a/changelog.d/gst-850-allowlist-docs-paths.md +++ b/changelog.d/gst-850-allowlist-docs-paths.md @@ -1,5 +1,5 @@ -- **A write-up with one clean chart now gets one reader, and a translation fix gets the docs tier** (GST-850). `lib/review-allowlist.ts` adds two allowlisted docs paths to `/ship`'s review depth: a new SVG whose whole file is built from presentational elements and attributes (no prefixes, handlers, bindings, entities, doctype, scripts or outside references), and a locale resource edit (JSON, ARB, YAML, PO, `.strings`, XLIFF, Fluent or `.properties` under a locale directory) that changes only literal string values with the same keys and placeholders. Both read the whole input in linear time and keep anything they cannot parse as code. Every bypass the R51 review rounds found (string-concat HTML, i18n `.ts`, edits inside `