Skip to content

Evidence: lint, type-check, format and schema validation (T4, T5)

Work item: issue-163. Converted from .txt to markdown in PR #168, when textual evidence became markdown by rule. The recorded output below is unchanged.

console
$ make lint       # ruff check cli hooks + markdownlint-cli2 '**/*.md'
uv run ruff check cli hooks
All checks passed!
npx --yes markdownlint-cli2@0.18.1 "**/*.md"
markdownlint-cli2 v0.18.1 (markdownlint v0.38.0)
Finding: **/*.md !**/node_modules/** !cli/node_modules/** !**/.venv/** !docs/.vitepress/dist/** !docs/.vitepress/cache/** !docs/operating-model/reference/**
Linting: 409 file(s)
Summary: 0 error(s)

$ make typecheck  # pyright cli
uv run pyright cli
0 errors, 0 warnings, 0 informations

$ make format-check
uv run ruff format --check cli hooks
165 files already formatted

$ make validate   # harness/collaborators/cli configs against their schemas
uv run python scripts/validate_config.py
VALID   .the-loop/harness-config.yaml
VALID   skills/the-loop/templates/harness-config.yaml
VALID   .the-loop/collaborators.yaml
VALID   skills/the-loop/templates/collaborators.yaml
VALID   .the-loop/cli-config.yaml
VALID   skills/the-loop/templates/cli-config.yaml

Released under the MIT License.