Skip to main content
harbor lint checks task configuration, files, and common security risks without running a sandbox.
All rules except root-agent and unpinned-image run by default. Without file configuration:
  • --select A → A only
  • --extend-select A → defaults + A
  • --ignore A → defaults − A
Repeat these options to specify multiple exact rule names. --select and --extend-select also accept ALL, including rules added in future versions. Rule selection is inspired by Ruff. Configure the same options in task.toml or dataset.toml:
Precedence: CLI flags > task.toml > dataset.toml > defaults.

Task checks

Compose checks

Requires the Docker CLI. Tasks without Compose files do not run these checks. Harbor runtime variables use placeholder values; runtime host mounts are flagged as potentially external. Compose interpolation uses the applicable agent or verifier environment configuration; task values override shell values. Linting is optional. Use --ignore for rules that do not fit your task.
Static linting complements the rubric-based harbor check and harbor analyze and does not guarantee task or verifier correctness.