Andrew Ridgway bec1eaac87
Some checks failed
Test / test (push) Has been cancelled
first pass at the newspaper builder
2026-09-14 11:57:22 +10:00

1.3 KiB

id, kind, command, default_severity, description, category, matches, input_schema, output_schema, timeout_seconds
id kind command default_severity description category matches input_schema output_schema timeout_seconds
linter deterministic aidlc engine sensor-linter advisory Wraps the project's configured linter (eslint by default for v0.5.0); fires on TS/JS code outputs code-quality **/*.{ts,js}
file_path
string
pass violations
boolean
file line rule message
string number string string
30

linter sensor

Wraps the project's configured linter. v0.5.0 defaults to eslint; multi-language auto-detection (ruff, golangci-lint, clippy) is deferred to v0.6.0+.

Echoes Fowler's "Eslint, Semgrep" examples from the harness-engineering article.

Failure mode

Emits SENSOR_FAILED and writes detail to aidlc/spaces/<active-space>/intents/<active-intent>/.aidlc-sensors/<stage-slug>/linter-<fire-id>.md, where the space and intent come from the active cursors. The fire id is the 8-hex correlator from the SENSOR_FIRED row in the active record's audit/<host>-<clone-id>.md shard. The detail contains the linter's structured output (file, line, rule, message per violation).

v0.6.0 carry-forward

Multi-language detection at framework boundary (read project type from practices ## Tech Stack section, dispatch appropriate linter).