Runtime lint command: runs bun dochaus/script/lint-legal-runtime.ts (default --verbose, --non-blocking for in-run use), forwarding $ARGUMENTS as flags, reporting PASS or per-file violations. Read when validating drafting-runtime prompt files.
description: Validate drafting-runtime prompt files for legal workflow integrity.
Run the legal-runtime lint for this repo's prompt definitions and report hard failures only.
Use bun dochaus/script/lint-legal-runtime.ts with these rules:
- If
$ARGUMENTSis present, pass it as flags to the script. - If no args are provided, run:
bun dochaus/script/lint-legal-runtime.ts --verbose. - Prefer non-blocking checks during drafting. Add
--non-blockingwhen calling from a running matter or automation task unless you are explicitly validating commit readiness.
Return:
PASSwhen clean.- Each violation as
- <file>: <issue>with enough detail to fix quickly.