Metadata-Version: 2.4
Name: readystack-age-gate-lint
Version: 1.0.3
Summary: 8 rules for Ofcom's highly effective age assurance duty, in force since 25 July 2025, where the penalty ceiling is £18m (£18 million) or 10% of qualifying worldwide revenue. One sample vape storefront (bundled Node.js runtime)
Author-email: ReadyStack <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/tools/age-gate-lint?ref=pypi
Project-URL: Documentation, https://getreadystack.com/tools/age-gate-lint?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: age verification,age assurance,online safety act,ofcom,html lint,age gate
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: nodejs-wheel-binaries>=20
Dynamic: license-file

# Age Gate Lint — UK Online Safety Act

> Runs the same checker as the npm package `@readystack/age-gate-lint` on a Node.js runtime that pip installs for you (`nodejs-wheel-binaries`) - no system Node.js needed. Your files are checked locally.

8 rules for Ofcom's highly effective age assurance duty, in force since 25 July 2025, where the penalty ceiling is £18m (£18 million) or 10% of qualifying worldwide revenue. One sample vape storefront page returned 13 findings, 10 of them high severity.

## Install

```
age-gate-lint file
```

Node 18+. The same 8 rules as the VS Code extension, from a terminal or CI.

## Free

- Reads the HTML file you have open and names every weak point in its age gate — all 8 rules, line numbers, Ofcom clause, severity — no key asked.
- `--rules` lists every rule

## With a licence ($29 once)

- Runs the same 8 rules across every HTML file in the workspace in one pass and writes a dated evidence report you keep and can hand to a client or to Ofcom.

```
@readystack/age-gate-lint --dir ./templates --report html --out report.html
```

A freelance web developer bills about $60/hour; a manual pass over one storefront's gate plus the written note is roughly half a day, near $240.

## Use from an AI agent (MCP)

Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:

```json
{ "mcpServers": { "age-gate-lint": { "command": "npx", "args": ["-y", "@readystack/age-gate-lint", "--mcp"] } } }
```

Tools: `check_text` and `check_file` (free) · `check_dir` (licence). The agent gets every finding with the line number.

## Use in CI

```yaml
- name: Age Gate Lint — UK Online Safety Act
  run: npx -y @readystack/age-gate-lint --dir . --ci
```

(container: `docker run --rm -v "$PWD:/work" getreadystack/age-gate-lint --dir /work --ci`)

The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set `READYSTACK_LICENSE=<key>` or run `--license <key>` once.

[Get a licence](https://buy.polar.sh/polar_cl_GknOiuCJgINiCOFYgKw1rgbS8bdYvuQ2meGB82nNkkS)


<!-- age gate lint -->


## Install (PyPI)

```
pip install readystack-age-gate-lint
age-gate-lint --help
```
