Metadata-Version: 2.4
Name: rulestamp-tdm-reservation-lint
Version: 1.0.8
Summary: Finds the robots.txt lines that reserve nothing — retired crawler tokens, shadowed groups, rules above the first User-agent. (bundled Node.js runtime)
Author-email: Rulestamp <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/tools/tdm-reservation-lint?ref=pypi
Project-URL: Documentation, https://getreadystack.com/tools/tdm-reservation-lint?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: robots.txt,GPTBot,ClaudeBot,TDM reservation,AI crawler,opt-out,copyright,AI Act
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

# TDM Reservation Lint

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

![TDM Reservation Lint — finds the line](https://getreadystack.com/img/promo/tdm-reservation-lint_demo.gif)

Finds the robots.txt lines that reserve nothing — retired crawler tokens, shadowed groups, rules above the first User-agent.

## Install

```
tdm-reservation-lint file
```

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

## Free

- Lints the robots.txt you have open against all 15 rules and 9 tracked training crawlers, naming every line that reserves nothing with its exact replacement line.
- `--rules` lists every rule

## With a licence ($29 once)

- Scans every robots.txt in the workspace and writes files you keep: the corrected robots.txt, a matching /.well-known/tdmrep.json, and a dated Markdown evidence report.

```
tdm-reservation-lint --dir ./templates --report html --out report.html
```

A media and IP lawyer reviewing a TDM reservation bills from €200 an hour; this reads the file in about a second.

## Use from an AI agent (MCP)

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

```json
{ "mcpServers": { "tdm-reservation-lint": { "command": "tdm-reservation-lint", "args": ["--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: TDM Reservation Lint
  run: pip install rulestamp-tdm-reservation-lint && tdm-reservation-lint --dir . --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://getreadystack.com/api/buy/cl/polar_cl_GWWqGdsgkMU8DtX6kLrbb3vtkdLTWkz82XqUr09YevL)


<!-- tdm reservation lint -->


## Install (PyPI)

```
pip install rulestamp-tdm-reservation-lint
tdm-reservation-lint --help
```
