Skip to content

Commit e8b6cf5

Browse files
Programcodeclaude
andcommitted
Gate guide jargon in npm run verify; drop a repeated case sentence
npm run seo:jargon runs scripts/check_jargon.py --max 1, and verify runs it after the docs check. The case-writing guide no longer repeats its short answer's format sentence in "What a debate case is". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 5ee4af6 commit e8b6cf5

4 files changed

Lines changed: 13 additions & 11 deletions

File tree

‎docs/testing.md‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,15 @@ npm run verify
154154
The gate runs, in order:
155155

156156
1. documentation checks
157-
2. lint
158-
3. type checking
159-
4. unit tests
160-
5. collaboration service tests
161-
6. native Edge Function tests
162-
7. production build
163-
8. production service-worker offline smoke
164-
9. the desktop Chromium `@smoke` set (`npm run verify:full` adds the full desktop and mobile suite)
157+
2. the guide jargon check (`npm run seo:jargon`): no generated guide in `public/` other than `/lincoln-douglas-debate` and `/policy-debate` may use framework, contention, warrant or impact calculus more than once in its visible text or its JSON-LD ([`scripts/check_jargon.py`](../scripts/check_jargon.py))
158+
3. lint
159+
4. type checking
160+
5. unit tests
161+
6. collaboration service tests
162+
7. native Edge Function tests
163+
8. production build
164+
9. production service-worker offline smoke
165+
10. the desktop Chromium `@smoke` set (`npm run verify:full` adds the full desktop and mobile suite)
165166

166167
It does not start local Supabase, run pgTAP, run WebKit, or use protected staging.
167168

‎package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"preview": "vite preview",
2424
"smoke:jev": "node scripts/smoke-jev.mjs",
2525
"seo:indexnow": "python3 scripts/indexnow_submit.py",
26+
"seo:jargon": "python3 scripts/check_jargon.py --max 1",
2627
"test": "vitest run",
2728
"test:collaboration": "vitest run --config services/collaboration/vitest.config.ts",
2829
"start:collaboration": "tsx services/collaboration/src/index.ts",
@@ -35,7 +36,7 @@
3536
"test:sw": "node scripts/test-service-worker-offline.mjs",
3637
"test:e2e:staging": "playwright test --project=staging",
3738
"test:agentic": "bash .claude/skills/verify-debatelab/bin/verify.sh e2e run",
38-
"verify": "npm run docs:check && npm run lint && npm run typecheck && npm test && npm run test:collaboration && npm run test:edge && npm run build && npm run test:sw && P=$(bash .superset/e2e-port.sh) && CI=1 PORT=$P PLAYWRIGHT_BASE_URL=http://127.0.0.1:$P npm run test:e2e:smoke",
39+
"verify": "npm run docs:check && npm run seo:jargon && npm run lint && npm run typecheck && npm test && npm run test:collaboration && npm run test:edge && npm run build && npm run test:sw && P=$(bash .superset/e2e-port.sh) && CI=1 PORT=$P PLAYWRIGHT_BASE_URL=http://127.0.0.1:$P npm run test:e2e:smoke",
3940
"verify:full": "npm run verify && P=$(bash .superset/e2e-port.sh) && CI=1 PORT=$P PLAYWRIGHT_BASE_URL=http://127.0.0.1:$P npm run test:e2e"
4041
},
4142
"dependencies": {

0 commit comments

Comments
 (0)