AI Docs Toolkit
AI Docs Toolkit is a documentation toolkit for AI-assisted software development.
It treats documentation as an engineering interface between humans, AI agents, code, tests and change management. It provides versioned CLI and MCP tools, reusable agent instructions and project-owned documentation workflows.
Purpose
The toolkit is intended for projects where:
- AI agents participate in implementation;
- system knowledge must stay readable for humans and usable by automation;
- documentation should define constraints, expected behavior and validation rules;
- changes should be traceable across business rules, architecture, contracts, modules, acceptance criteria and code.
The core idea is that documentation should not be a secondary artifact created after implementation. It should guide implementation, validation and review.
Current Status
Version 0.33.1 delivers scenario design and delivery evidence forms, run profiles,
trigger and parallel-run records, and reviewed contract-scope guidance. See the
packaged agent-installation.md, Migration to 0.33.1.
Version 0.32.0 adds optional test-maintenance tools: literal pytest marker
indexing, dated review reminders, explicit per-test coverage-line overlap and
advisory lint. Index diagnostics expose unsupported/dynamic declarations and
read errors. Counts describe declarations, not native collection. Overlap is a
review candidate, never proof that tests detect the same failures.
Portable decision and schema-support forms are delivered with the agent profile.
AI Project Blueprints separately supplies explicitly adopted engineering guidance.
Neither package changes consumer support promises or verification profiles.
See packaged agent-installation.md, Migration to 0.32.0.
External Work: local execution and feedback
Schema2 connects external intake to an existing local plan. Explicit checkpoints
receive new/edited comments; exact-version review records accepted decisions.
Offline deterministic reports consume real verification evidence. Explicit sync
posts one comment with durable intent, receipts and reconciliation after unknown
outcomes. No task/status/label/Git mutation is implied. Schema1 remains read-only
and compatible. Both modes require explicit config; credentials stay at runtime.
Installation
Install 0.35.0 with Python 3.14 or newer:
python -m pip install ai-docs-toolkit==0.35.0
ai-docs --version
For ephemeral execution with uvx:
uvx --python 3.14 --from ai-docs-toolkit==0.35.0 ai-docs --version
For the optional local MCP runtime:
python -m pip install "ai-docs-toolkit[mcp]==0.35.0"
ai-docs-mcp --project-root .
For the latest stable release, use python -m pip install --upgrade ai-docs-toolkit
without an exact version pin.
Release 0.26.0
Bundles versioned Grafana/Loki assets in Python and native delivery, with shared
catalog/quality/settings, current and signed event-time projection, exact replay
outbox, explicit legacy0 adoption and non-destructive managed sync. Tested pair:
Grafana13.2.1/Loki3.7.7. Core works without Dashboard. Metadata gaps remain visible;
receiver ACK and ledger readback do not prove full producer coverage or billing.
TASK assessment timing errors include bounded field/code diagnostics.
Preserve profiles, domain, cutover, ledger, cursors, first assessments, bindings
and pending deliveries. No init-managed target or project-document migration is
introduced by the kit. Existing legacy Dashboard adoption is explicit and needs
one writer, backup and independent current/cold history checks. Existing opt-in
follow-native collector policy from native0.25.0 is preserved; plugin startup can
upgrade an already enabled collector without activating Dashboard.
Release 0.24.0
Intermediate block completion alone does not require the full test suite.
Project-required regression must cover final task inputs; applicable earlier
successful runs can satisfy closure. Additional full runs need a concrete risk,
invalidated coverage requiring that scope or an independent mandatory gate.
Preview and refresh managed planning workflow and execution skill, then review
the project-owned AGENTS wording. Existing CI/release gates stay independent.
The runtime scope from 0.24.0b1 remains opt-in; upgrading does not enable pair
dispatch or replace monitoring profiles, ledgers or native runtime pins.
Older stable users also review the intervening migration instructions.
Release 0.23.0
Adds explicit automatic Codex App/JetBrains collection through a Linux user timer:
approved source discovery, new-only baseline, persistent cursors, deduplication and
bounded OTLP queue retry. The collector does not call a model. Installation or
settings Save does not enable the timer. Existing monitoring ledgers remain readable;
upgrading an active timer preserves its cutoff and pending queue. Categories/SP and
bindings stay explicit. See packaged agent-installation.md, Migration 0.22.0 To 0.23.0.
Project templates, managed-file lists, dependencies and read-only MCP tools are unchanged.
Release 0.22.0
Adds opt-in Codex usage/work monitoring, project-owned classification and story-point
profiles, exact response bindings and bounded OTLP/HTTP metadata export. Toolkit
plugin settings and CLI share a private per-user profile with credential references,
atomic revision-guarded save and explicit test/collect/export. Seven model-facing
project tools stay read-only. No continuous collector, automatic classification or
dashboard is enabled. Modular change-context guidance ships in six existing managed
agent resources; a reviewed refresh and manual AGENTS merge preserve local policy.
See packaged agent-installation.md, Migration 0.21.2 To 0.22.0. Adapter updates
preserve project-native pins; adopting the target runtime is a separate explicit
migration. Python3.14 and dependencies are unchanged.
Release 0.21.2
Selective planning context preserves mandatory task/parent context, authority and
validation gates. The optional QMD BM25 reference remains opt-in. Existing users
also review Migration 0.21.1 To 0.21.2 when upgrading from that baseline.
Release 0.21.1
Captures material human corrections during work, clarifies unknown reasons and
scope before generalization, and checks existing rules before proposing new ones.
Closure review reconciles decisions with durable documentation and authorized
instruction updates. Clear local fixes can continue; accepted answers and authority
are reused. CLI, schemas, dependencies and lifecycle evidence gates are unchanged.
Refresh the five changed managed instruction files after reviewing the preview.
Existing AGENTS.md is preserved: manually merge the short human-correction link
from the new template while retaining local policy. No historical task backfill
is required. See packaged agent-installation.md, Migration 0.21.0 To 0.21.1, for
Python and pinned native commands, validation, recovery and rollback.
Release 0.21.0
Requires reviewed readiness/intake before start and shared closure evidence before
completion. CLI commands do not generate positive review claims; exact legacy
history can be retained through an explicitly reviewed project manifest. Repair
preserves archives and completed-plan history. Existing None-list readiness is
compatible. Decision rationale and review triggers move to current owner docs.
Migration is required for scripts relying on automatic readiness/closure approval.
Refresh eight existing managed resources after preview, preserving project files,
IDs, local policy and history. See packaged agent-installation.md, Migration
0.20.x To 0.21.0, for Python and pinned native commands, validation and recovery.
Linux native is a separately built artifact; updating a Python environment or an
adapter does not change a project's native pin. Python is published through PyPI;
the separately verified native bundle is available through the GitLab release.
Channel-specific artifact hashes and publication evidence are recorded in the
source release notes.
Release 0.20.2
Adds proportional performance evidence guidance to existing Test Plan/Validation
and review instructions: comparable baseline/candidate, CPU/memory boundaries,
raw results and limitations. No new schema, mandatory benchmark or project-document
migration. Review and apply the normal managed-file refresh after upgrading.
See packaged agent-installation.md, Migration 0.20.1 To 0.20.2, for exact commands.
This release targets Python wheel/sdist; it does not update an installed native
adapter or project-bound native runtime.
Release 0.20.1
The native Codex plugin now includes AI Docs projects settings. Each project-folder
row can open a new chat with a prepared Toolkit update prompt; the user sends it
explicitly. The panel keeps a copyable prompt when navigation is unavailable.
Projects are discovered from the local App profile, without a separate registry.
Python delivery and the seven read-only project tools remain supported. Updating
the adapter preserves project pins and instructions. No schema, document-layout
or required managed-content migration is introduced from 0.19.0. Review normal
init preview/provenance, keep Native + Python versions aligned when adopted, and
run Toolkit and owner checks. Packaged agent-installation.md contains exact
Migration 0.19.0 To 0.20.1 commands, preservation and recovery instructions.
Release 0.19.0
The Python package remains a supported distribution channel. The native Codex
plugin is an additional option; replacing Python package delivery is not planned.
Adds explicit complete project releases for the experimental native Codex adapter:
local verified import/cache, tracked pin, exact versioned resources, per-project
read-only MCP routing and target init/validation migration with pending recovery.
Adapter updates preserve project pins. Native Linux checks need no consumer Python;
external artifact delivery remains separate from this Python package.
Python CLI/MCP semantics and private runtime config remain supported. Review normal
init preflight to refresh the existing release-state ignore rules; no new managed
path or project-document migration is introduced. Native adoption is explicit and
requires a trusted full release plus matching provenance or target migration.
See packaged agent-installation.md, Migration0.18.1 To0.19.0, for commands/recovery.
Release 0.17.1
Strict bounded xUnit discovery accepts explicit parallel or serial collections,
with the same positive integer cap, conservative algorithm and copied-JSON checks.
No report/config format migration; regenerate discovery after the tool upgrade.
Preview ordinary init to refresh the existing agent-profile evidence reference.
The source-only Codex plugin prototype remains experimental: this Python release
contains no native plugin binary and does not activate it. See “Migration 0.17.0
To 0.17.1” in the installed agent instructions.
Release 0.17.0
External issue intake, authoritative local planning, checkpoint/review and comment
reports are opt-in schema2 operations. Existing schema1 sessions are not converted.
Refresh the existing external-work reference in both profiles after init preview;
there is no new managed path or automatic data migration. See “Migration 0.16.0 To
0.17.0” and “External Work: local planning migration” in installed agent instructions.
Release 0.16.0
context --id ID --intent document selects one owned document plus its owner,
ancestors and transitive required constraints, without expanding peers. Mandatory
bodies survive soft budgets. Existing intents remain compatible. Optional prospective
knowledge and per-document protection/byte diagnostics make implementation, intent and
history easier to distinguish. Dated/stage headings are advisory review candidates,
never automatic history. Unsupported impact source types produce coverage warnings.
Refresh the existing common schema in both init profiles and the module-documentation
reference in the agent profile after preview; preserve project-owned bootstrap and
private JSON. New features are opt-in, and init does not restructure product docs.
See “Migration 0.15.1 To 0.16.0” in the packaged installation guide for exact checks,
manual adoption, MCP reconnect and rollback.
Release 0.15.1
Corrects the0.14.0 migration inventory: the agent profile refreshes the update
skill; the packaged init-contract reference is not an init-managed consumer target.
Launcher behavior and the four managed assets are unchanged. Existing0.15.0 users
need no data migration; verify the selected runtime and reconnect MCP after upgrade.
See “Migration 0.15.0 To 0.15.1” in the packaged installation guide.
Release 0.15.0
Both init profiles now deliver .ai-docs/bin/ai-docs.py, a tracked JSON template,
a narrow Git ignore rule and the runtime-launcher reference. The launcher chooses
an explicit per-checkout executable, forwards arguments/cwd/exit status and never
falls back to PATH. It needs only Python 3.10+; the Toolkit package needs Python3.14+.
Personal .ai-docs/local/runtime.json is outside init ownership, including force.
Existing bootstrap/config/document IDs and CLI/MCP entrypoints are preserved.
Review managed target conflicts before normal refresh. Existing projects can opt
in without changing their runtime selection; custom launchers migrate by updating
callers and removing the redundant implementation after owner verification.
See “Migration 0.14.0 To 0.15.0” in the packaged agent-installation guide.
Release 0.14.0
Native pytest collection uses explicit config/interpreter selection and exact
parameter nodeids. Python AST and xUnit-only v1 reports retain compatibility;
pytest/mixed discovery uses v2. Separate test-run-capture / test-run-check
commands capture pytest JUnit XML with provenance and reuse current results
without rerunning tests. Skipped, failed, error and missing cases remain visible.
Raw historical XML cannot establish current inputs; Git fingerprints exclude
external dependencies/environment, which need owner review.
Testing methodology and scoped .NET/Python/TypeScript skills belong to explicitly
adopted AI Project Blueprints sets. Refresh the existing agent-profile evidence
reference and routing index with reviewed ordinary init. No new managed path,
project-data migration or automatic runner/CI activation is introduced. See
“Migration 0.13.0 To 0.14.0” in the packaged agent-installation guide.
Release 0.13.0
The additive ai-docs ownership-report --format json command reports Git-visible
file mappings, document owners and declared dependencies. Optional cross-owner
references are review candidates, not inferred requirements; missing coverage
stays visible. It reads project files without importing or executing project code.
Internal loading and capability/CLI boundaries are clearer; existing commands,
JSON formats and legacy core imports remain compatible. Source module entrypoints,
current/history separation, runnable examples and delivery inventory are improved.
Consumer documents are not relocated. Refresh the existing agent-profile module
reference with normal doctor/init preflight; no schema/config/data migration or
new managed target is required. See “Migration 0.12.0 To 0.13.0” in the packaged
agent-installation guide and retain independent project checks.
Release 0.12.0
Routine check excludes historical source documents by default; deliberate
historical analysis uses --history include. Links from current documents into
history still validate targets and anchors. Doctor reports bounded capabilities
of the configured common schema, without modifying it. Explicit trusted local
--discovery-report input reuses fresh xUnit identities without running projects;
missing or stale evidence never establishes coverage. Refresh the managed module
documentation and test-evidence references after diff review. No document move,
ID/type change or new config is required. See Migration 0.11.0 To 0.12.0 in the
packaged agent-installation guide; restart long-lived MCP clients after upgrade.
Release 0.9.0