doc.haus Atlas Legal-document workflows on OpenCode, bound to their code
219 documents
dochaus/command/lint-legal-runtime.md

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.


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 $ARGUMENTS is 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-blocking when calling from a running matter or automation task unless you are explicitly validating commit readiness.

Return:

  • PASS when clean.
  • Each violation as - <file>: <issue> with enough detail to fix quickly.