ENFR0.1.0-rc.3

Run in CI

Validate, build and gate documentation on every push.


.github/workflows/docs.yml
name: docs
on: [push, pull_request]
jobs:
  docs:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with: { node-version: 24 }
      - run: npm ci
      - run: npx specistry validate
      - run: npx specistry build
      - run: npx specistry check --json > quality.json

Exit codes

CodeMeaningCI should
0SuccessContinue
2Validation or project-policy errorFail — fix sources
3Quality-gate failureFail — fix or suppress with a reason
64Usage errorFix the command
70Internal failureRetry, then report
130CancelledRetry

TipMachine output

With --json, stdout holds exactly one JSON result and stderr stays empty. Consume codes and fields, never message prose.

Report an issue with this page on GitHub