Commit graph

46 commits

Author SHA1 Message Date
Virgil
7b0f800e08 fix(lint): skip hidden configured file paths
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 13:06:47 +00:00
Virgil
6ee67362ca refactor(lint): expand adapter helper names
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 12:59:22 +00:00
Virgil
d1264dd88a fix(lint): exclude infra tools from language shortcuts
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 12:52:49 +00:00
Virgil
85dc5f75d0 refactor(lint): align naming with AX principles
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 12:48:12 +00:00
Virgil
a567b72b18 docs(lint): add AX usage examples
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 12:24:29 +00:00
Virgil
602ea8bec0 docs(lint): add AX usage examples to orchestration types
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 12:19:35 +00:00
Virgil
63c4c51f21 fix(lint): skip hidden dirs in scanner
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 12:14:51 +00:00
Virgil
86ec27ca03 refactor(lint): expand service names for AX clarity
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 12:10:57 +00:00
Virgil
19f098cf43 fix(lint): preserve explicit empty file scopes
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 11:53:19 +00:00
Virgil
b24021b8f8 refactor(lint): short-circuit explicit output resolution
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 11:47:18 +00:00
Virgil
5da4a1dbd1 fix(lint): preserve explicit empty file scopes
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 11:43:25 +00:00
Virgil
71529076b3 refactor(lint): centralise run output resolution
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 11:37:01 +00:00
Virgil
a26a4e1301 refactor(lint): clarify orchestration names
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 11:30:49 +00:00
Virgil
48acea0ef4 refactor(lint): add semantic tracked comment API
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 11:18:16 +00:00
Virgil
1e1ed30d04 fix(lint): honour lang precedence over ci and sbom groups
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 11:14:33 +00:00
Virgil
7e32c0c21c fix(lint): normalise report output levels
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 11:07:50 +00:00
Virgil
e7b41af939 feat(lint): detect cpp source files
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 10:58:09 +00:00
Virgil
ebc2c04c3d fix(lint): normalise empty orchestration outputs
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 10:53:06 +00:00
Virgil
23c5d20b1b feat(lint): add named schedule presets
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 10:46:41 +00:00
Virgil
3db0553082 feat(lint): honour configured exclude paths
Co-authored-by: Virgil <virgil@lethean.io>
2026-04-01 10:38:57 +00:00
Virgil
54a82bfe1a feat(lint): honour configured scan paths
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 10:34:40 +00:00
Virgil
7c92d313a6 Fix hook mode with no staged files 2026-04-01 09:54:32 +00:00
Virgil
0f5648aba9 Improve lint API usage examples 2026-04-01 07:04:18 +00:00
Virgil
4500d5eb80 Fix catalog scanner language detection 2026-04-01 06:49:10 +00:00
Virgil
7a86afbc65 Improve lint command AX ergonomics 2026-04-01 06:43:30 +00:00
Virgil
877a757d8c Preserve hook content on removal 2026-04-01 06:36:55 +00:00
Virgil
b8ee543bae Populate adapter versions in lint reports 2026-04-01 06:28:04 +00:00
Virgil
20875bc066 Deduplicate merged lint findings 2026-04-01 05:41:25 +00:00
Virgil
8798210a4d Add prettier lint adapter 2026-04-01 05:13:43 +00:00
Virgil
7ab634bcd2 feat(ax): implement RFC lint orchestration CLI 2026-03-30 13:50:39 +00:00
Virgil
eec45af6cc fix(ax): harden structured output paths 2026-03-30 12:28:42 +00:00
Virgil
1660fe025f test(ax): sync health and security coverage 2026-03-30 12:20:10 +00:00
Virgil
7b2bb529e1 fix(ax): honour php security flags 2026-03-30 12:11:28 +00:00
Virgil
364b4b96de fix(ax): normalise audit and health machine output 2026-03-30 11:59:38 +00:00
Virgil
d5bc922325 fix(ax): stabilise map-derived ordering 2026-03-30 10:46:52 +00:00
Virgil
8c8c6a9d2e fix(ax): clean php structured output modes 2026-03-30 08:14:46 +00:00
Snider
9681b062ac refactor: replace all remaining fmt.Errorf with coreerr.E from go-log
Replaces ~46 fmt.Errorf and errors.New calls in production code across
pkg/lint, pkg/php, cmd/core-lint, and cmd/qa with structured coreerr.E()
calls using the forge.lthn.ai/core/go-log convention.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 21:48:58 +00:00
Snider
a36f835fe0 refactor: replace os.* and fmt.Errorf with go-io/go-log conventions
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 19:44:45 +00:00
Snider
af5c792da8 feat(lint): add pkg/detect + pkg/php — project detection and PHP QA toolchain
Add project type detection (pkg/detect) and complete PHP quality assurance
package (pkg/php) with formatter, analyser, audit, security, refactor,
mutation testing, test runner, pipeline stages, and QA runner that builds
process.RunSpec for orchestrated execution.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 13:13:30 +00:00
Snider
15c9fe85c8 feat: extract devkit from go-devops into core/lint
Add Toolkit subprocess wrappers (go vet, gocyclo, govulncheck, gitleaks,
race detector, coverage, git log/diff/perms), native AST cyclomatic
complexity analyser, coverage snapshot/regression tracking with JSON
store, and govulncheck JSON parser.

89 tests passing (up from 51).

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 11:30:38 +00:00
Snider
bc159163e8 feat: seed catalog with 18 patterns from ecosystem sweep
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 10:59:33 +00:00
Snider
e5419c85c4 feat: add Scanner with directory walking and language detection
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 10:57:43 +00:00
Snider
4309e17cde feat: add report output (JSON, JSONL, text, summary)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 10:56:46 +00:00
Snider
d33d7056f1 feat: add regex Matcher with exclude pattern support
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 10:56:07 +00:00
Snider
3bf8585943 feat: add Catalog loader with dir/embed/filter support
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 10:55:13 +00:00
Snider
34d77e2216 feat: add Rule struct with YAML parsing and validation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 10:54:15 +00:00