Skip to content

docs: reframe surfaces to "catches robotic writing", not AI detection #64

docs: reframe surfaces to "catches robotic writing", not AI detection

docs: reframe surfaces to "catches robotic writing", not AI detection #64

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
# Zero dependencies — nothing to install.
- name: Tests
run: npm test
# Dogfood the detector: the project's own docs must stay clean. Each step
# prints the score and fails if it exceeds the grade-A/clean threshold.
- name: Docs must stay clean
run: npm run check:docs
# Accuracy must not regress: recall and specificity stay above their floors.
- name: Detector accuracy holds
run: npm run bench:check
# The extension's detector is generated from deslop.mjs; fail if it's stale.
- name: Browser detector stays in sync
run: npm run build:extension && git diff --exit-code extension/detector.js
# The VS Code extension's detector is generated the same way; fail if stale.
- name: VS Code detector stays in sync
run: npm run build:vscode && git diff --exit-code integrations/vscode/detector.js