ci(#5509): add harness-eval static analysis for agent configurations#5510
ci(#5509): add harness-eval static analysis for agent configurations#5510Benkapner wants to merge 1 commit into
Conversation
E2E tests did not runE2E tests run automatically for org/repo members and collaborators on pull requests. For other contributors, a maintainer must add the See E2E testing guide for details. |
1 similar comment
E2E tests did not runE2E tests run automatically for org/repo members and collaborators on pull requests. For other contributors, a maintainer must add the See E2E testing guide for details. |
PR Summary by QodoCI: add harness-eval checks for agent configuration changes
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Site previewPreview: https://089d1e8a-site.fullsend-ai.workers.dev Commit: |
Code Review by Qodo
1.
|
|
Agent files will disappear soon from this repository, is this still valid with that fact? |
|
@rh-hemartin and this repo will not have any harness files at all? agents, skills, commands, claude md hooks? if not so its not relevant but maybe in the new/other repo they will be? |
No, they were moved to github.com/fullsend-ai/agents. We will have skills, commands and claude.md hooks here, but for our development usage, not for agents. |
|
the main thing this tool does is lint + security checks if the user has committed any change to one of those harness files so could be relevant both here and the fullsend-ai/agents. wont hurt to add it to the CI. also it connects to docs/problems/trustworthiness-evidence.md @rh-hemartin |
|
Ah, for a moment I was confused as well regarding the concept of harness, for us is a specific thing. Then it could be useful here, yes. You need to pass |
rh-hemartin
left a comment
There was a problem hiding this comment.
Incorporate this as a step in the current lint.yaml workflow, as it contains all the CI checks. The file filter can be done within a step, or just run it against everything. Optionally, since this does not require LLM, you could add it as a pre-commit (however this is more involved than the current setup, so don't worry, maybe a followup).
|
moved harness-eval into lint.yml as a step in the test job instead of a separate workflow. uses the checkout v7.0.1 already pinned there. will look into pre-commit integration as a follow-up. |
|
You need to fix all the commits to |
Add harness-eval as a step in the existing lint.yml test job. Runs 74 deterministic lint rules against agent configurations (skills, commands, AGENTS.md, CLAUDE.md) in both repo root and internal/scaffold/fullsend-repo. Pinned to harness-eval==6.1.0 for renovate tracking. Signed-off-by: Benjamin Kapner <bkapner@redhat.com>
4d397b2 to
310f489
Compare
|
squashed into a single commit with ci(#5509) prefix. should pass commit-lint now. |
Summary
Adds a CI workflow that runs harness-eval static analysis on every PR touching agent configuration files.
CLAUDE.md,AGENTS.md,skills/,commands/) and scaffold (internal/scaffold/fullsend-repo/)recommendedpreset (structural errors block, quality warnings are advisory)No LLM calls, runs in seconds, fully deterministic. Uses the harness-eval GitHub Action with pinned checkout action SHA per repo convention.
Related Issue
#5509
Testing
Checklist