Files
openprose__prose/commands/prose-lint.md
irl-dan 677b1654b5 feat: update CLI commands, add environment to contract surface
- SKILL.md: route lint, preflight, inspect, status as sugar for std programs
- prose.md: add environment: as sixth contract section with VM verification
- forme.md: propagate environment declarations through wiring to manifest
- help.md: update command reference
- Replace prose-compile with prose-lint, add preflight/inspect/status commands
- Remove compile, wire, migrate, eval as top-level commands

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 20:06:20 -07:00

892 B

description, argument-hint
description argument-hint
Validate structure, schema, shapes, and contracts of an OpenProse program <file.md>

Lint and validate the OpenProse program at: $ARGUMENTS

This command is sugar for prose run std/ops/lint -- target: <file.md>. It validates:

  1. Structure — well-formed YAML frontmatter, correct kind declarations
  2. Schema — contract sections (requires, ensures, errors, invariants, strategies, environment) are syntactically valid
  3. Shapes — shape declarations (self, delegates, prohibited) are consistent with the services list
  4. Contracts — requires ↔ ensures relationships are resolvable across the dependency graph

Reports errors and warnings with file paths and section names. Does NOT execute the program.

If no file is specified, look for .md program files in the current directory and ask which one to lint.