feat(harness): add Lint() diagnostic method (ADR-0045 Phase 3 PR 1) - #2322
Conversation
Site previewPreview: https://b853c3ed-site.fullsend-ai.workers.dev Commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
🤖 Finished Review · ✅ Success · Started 11:43 AM UTC · Completed 11:53 AM UTC |
|
Looks good to me Previous runReviewFindingsLow
Info
Previous run (2)ReviewFindingsLow
Info
Previous run (3)ReviewFindingsHigh
Low
Info
Previous run (4)ReviewFindingsLow
Info
Previous run (5)ReviewFindingsLow
Info
Previous run (6)ReviewFindingsLow
Info
Previous run (7)ReviewFindingsInfo
Previous run (8)ReviewFindingsHigh
Low
Info
Previous run (9)ReviewFindingsLow
Info
Previous run (10)ReviewFindingsInfo
Previous run (11)ReviewFindingsHigh
Low
Info
|
84ce820 to
2856f29
Compare
|
🤖 Finished Review · ✅ Success · Started 12:21 PM UTC · Completed 12:29 PM UTC |
2856f29 to
4e2f544
Compare
|
🤖 Finished Review · ✅ Success · Started 12:42 PM UTC · Completed 12:53 PM UTC |
4e2f544 to
b46ee0a
Compare
|
🤖 Finished Review · ✅ Success · Started 1:04 PM UTC · Completed 1:14 PM UTC |
b46ee0a to
07ca307
Compare
|
🤖 Finished Review · ✅ Success · Started 1:26 PM UTC · Completed 1:40 PM UTC |
|
🤖 Finished Review · ✅ Success · Started 1:59 PM UTC · Completed 2:11 PM UTC |
cf654fa to
59062a6
Compare
|
🤖 Finished Review · ✅ Success · Started 2:29 PM UTC · Completed 2:40 PM UTC |
59062a6 to
de9ccd1
Compare
|
🤖 Finished Review · ✅ Success · Started 2:51 PM UTC · Completed 3:01 PM UTC |
…nings (ADR-0045 Phase 3 PR 1) Part of fullsend-ai#2326 Signed-off-by: Claude <noreply@anthropic.com> Signed-off-by: Greg Allen <gallen@redhat.com>
de9ccd1 to
3305c1a
Compare
|
🤖 Finished Review · ✅ Success · Started 3:10 PM UTC · Completed 3:20 PM UTC |
|
🤖 Finished Retro · ✅ Success · Started 7:23 PM UTC · Completed 7:31 PM UTC |
Retro: PR #2322 —
|
Part of #2326
Summary
Lint()method to theHarnessstruct returning[]Diagnostic— non-fatal warnings separate fromValidate()(which returns hard errors)rolefield is missing, preparing for Phase 4 which will make it requireddocs/plans/adr-0045-forge-portable-harness-phase3.md)Details
New files:
internal/harness/lint.go—DiagnosticSeveritytype,Diagnosticstruct withString(), andHarness.Lint()methodinternal/harness/lint_test.go— 6 subtests covering role presence/absence, severity formatting, and unknown severity fallbackNo existing files modified.
Validate()is unchanged. No callers ofLint()are added yet — that is Phase 3 PR 3.100% code coverage on
lint.go. All existing tests pass.Test plan
go test -v -run TestLint ./internal/harness/— all 6 subtests passgo test -coverprofile=cover.out ./internal/harness/ && go tool cover -func=cover.out | grep lint.go— 100% coverage on lint.gomake go-test— all existing tests passmake lint— passesmake go-vet— passes🤖 Generated with Claude Code