Skip to main content

M8ven Score

dotslot: let agents fill the blanks, and prove they touched nothing else.

Owner: `<./owner:____________>`   Status: `<./status~:____________>`

$ dotslot fill release.md --set owner=Adam --set status="ready for tag" -i
$ dotslot check release.md --git-base HEAD
release.md: fill-safe (2 slot(s) changed)

CLI · pre-commit · GitHub Action · MCP server (Claude Code, Cursor, aider)

ci · MIT · v0.3.0 · Spec · Experiments · Changelog

What it is

Mark the parts of a file that may change with <./________>. An agent or script fills those blanks and nothing else. dotslot check proves the diff touched only the blanks, and that each blank kept its width, so columns and line wraps stay put. It works in docs, configs and code comments.

A file with slots is fill-only. That turns "don't touch the rest" into a rule a machine can check.

Install

Install from PyPI:

pip install dotslot
dotslot --help

Requires Python 3.10+ and wcwidth.

Use

dotslot new notes --width 26 --lines 3 --comment '# '   # generate a slot or block
dotslot scan FILE                                         # list slots, widths, capacity
dotslot fill FILE --set name=value -i                     # fill in place, width kept
dotslot check FILE --git-base HEAD [--allow a,b]          # prove only slots changed
dotslot check FILE --git-base HEAD --ignore-whitespace    # ...ignoring trailing whitespace outside slots
dotslot repad FILE --base OLD -i                          # restore padding after a hand edit
dotslot fit FILE --targets 80,100,120                     # where will lines wrap?

Slot forms: <./______> (unnamed), <./owner:____> (named), <./status~:____> (ellipsis on overflow). In Markdown, put slots in backticks. Full grammar: SPEC.md.

Integrations

tool files what it does
MCP server dotslot-mcp --root . [--allow a,b] dotslot_scan, dotslot_fill, dotslot_check over stdio; schema-validated arguments; dry_run diffs; per-call allow; fill verifies before writing; paths confined to root
Claude Code integrations/claude-code/ .mcp.json, a PostToolUse hook that exits 2 on a violation, and a skill
Cursor integrations/cursor/.cursor/ mcp.json and a fill-only rule
aider integrations/aider/ lint-cmd: dotslot check --git-base HEAD with auto-lint
any agent integrations/AGENTS.md snippet to paste into your AGENTS.md
pre-commit .pre-commit-hooks.yaml dotslot-check, dotslot-lint
GitHub Action action.yml checks PR files against the base SHA, writes a JSON report to the step summary

Setup for each agent: integrations/README.md.

pre-commit (run dotslot after formatters):

- repo: https://github.com/ao3575911/dotslot
  rev: v0.3.1
  hooks:
    - id: dotslot-check
    - id: dotslot-lint

GitHub Action:

- uses: actions/checkout@v5
  with: { fetch-depth: 0 }
- uses: ao3575911/dotslot@v0.3.1
  with: { files: "docs/**/*.md config/*.yaml", allow: "status,owner" }

Inputs: files (required), allow, base (default: the PR base SHA), ignore-whitespace, report (default dotslot-report.json). The step summary lists violations and the JSON report (one array, one entry per file). No matched files is a pass; a missing base revision is a failure.

Limits

dotslot is a check, not a sandbox. The comment finder is a heuristic until tree-sitter lands; formatters such as gofmt can move columns, so run dotslot after them; trailing whitespace counts as a change unless you pass --ignore-whitespace. See CHANGELOG.md for open items and PLAN.md for the roadmap.

Repository layout

  • dotslot/: the package (CLI, MCP server).
  • slot/, bin/slot: the v0.1 reference, kept only so experiments/run.sh reproduces findings (a)–(g). Not installed.
  • tests/: 70 tests (12 v0.1, 33 v0.2, 25 v0.3 including the h1–h9 exit gate). Run pip install -e ".[test]" && pytest -q.
  • experiments/: run.sh (a–g) and run_v02.sh (v02, h, i), with recorded output in out/.

Licence

MIT. See LICENSE. Releases are GPG-signed in CI and carry SHA256SUMS and build provenance; see RELEASING.md.

Metadata

Release files for dotslot 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dotslot 0.4.0
File Size Uploaded
dotslot-0.4.0.tar.gz 27.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dotslot 0.4.0
File Interpreter ABI Platform
dotslot-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 47.9 kB

Release files / dotslot-0.4.0.tar.gz

Download URL dotslot-0.4.0.tar.gz
Size 27.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d93e293be882c4184c87d57399cea4d7a4c6d4e309281ca7d2e8fb4efd2ee862
BLAKE2b-256 checksum
How to use checksums
c8d359ec274d3c319f9c59d2f26d0ad5fa27cb9cd3a092e761b3dc3cbfac0465
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Release files / dotslot-0.4.0-py3-none-any.whl

Download URL dotslot-0.4.0-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ade201a1f19617b981d1fa44931bfd16121f1972e192d7add6edd32a53653dee
BLAKE2b-256 checksum
How to use checksums
78ec58fa6f951db40668bae81c2f0b8ee10f409524b2ba3aeae4f5b515ad1844
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Release history Release notifications | RSS feed

0.8.1

2 release files

0.8.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

This release

0.4.0 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page