rules
Evaluate project architecture assertions against a codebase and report each violation with its witness and derivation.
Instructions
The project's architecture rules judged (ce.rules-report schema): every assert in the rules file with its violations, each carrying its witness and derivation. The CLI exits on counts.violations; here it is a report.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | carry every answer's derivation | |
| file | No | a rules file (path relative to the root; default `[rules] file`, else ce.rules) | |
| path | No | subpath (default: project root) |