Reference
Release gates keep claims, counts, and command docs aligned.
Run gates before publishing or pushing public support changes.
Minimum command
npm run test:release-gatesNamed gates
| Gate | Purpose |
|---|---|
gate:all | Run every named gate in sequence. |
gate:typecheck | node --check + structure drift check. |
gate:tests | Unit + MCP + source-audit + trace-policy. |
gate:truth-table-fresh | CAPABILITY_TRUTH_TABLE.md must be ≤7 days old. |
gate:mcp-scope-frozen | Only the 2 frozen browser_* MCP tools may be registered. |
gate:no-experimental-in-readme-ready-section | Prevents experimental claims in README ready section. |
gate:no-cloud-claims | Claim audit for hosted/cloud/stealth wording in repo docs. |
gate:browser-primitives-complete | All 22 local-CDP primitives have wired CLI handlers. |
gate:observation-bundle-fixtures | ObservationBundleV1 offline fixture tests. |
gate:observe-actions-fixtures | ActionCandidate ranking offline fixtures. |
gate:extract-schema-fixtures | Schema-bound page extraction validator. |
gate:action-memory-safe-replay | Action memory signature-validated lookup. |
gate:planner-loop-local | Local autonomous planner loop contract. |
gate:eval-adapters-no-score-claims | Benchmark adapters enforce scoreClaim: null. |
gate:model-adapter-frozen | No provider SDK deps or API-key env vars. |
gate:trace-browser-actions | Action timeline trace correlation. |
gate:mcp-deferred-metadata | Deferred MCP tools return structured not-implemented envelopes. |
What it covers
- Source-of-truth drift checks in
structure/check-doc-drift.sh. - Known-stale ChatGPT model, effort, and timeout contract tokens outside the explicitly scoped legacy UI and Deep Research exceptions.
- Line and file count checks in
structure/verify-counts.sh. - Named release gates from
scripts/release-gates.mjs. - Claim audit for hosted/cloud/stealth wording (
gate:no-cloud-claims). - SSRF DNS pinning and validated redirect security checks.
- Capability registry consistency.
Baseline checks
npm run check:strict-baseline
npm run check:module-graph
npm run smoke:bins
npm run typecheckDocs changes
When adding files under docs/, update structure/str_func.md after the final file set is stable. GitHub Pages validation also checks dev docs entrypoints, local links, language pairs, and quickstart ordering.