diff --git a/docs/problems/applied/README.md b/docs/problems/applied/README.md index 72f20d34a2..de34a162e6 100644 --- a/docs/problems/applied/README.md +++ b/docs/problems/applied/README.md @@ -5,6 +5,7 @@ This directory contains organization-specific considerations for applying fullse ## Current consumers - **[konflux-ci](konflux-ci/)** — Kubernetes-native CI/CD platform. The original proving ground for fullsend. +- **[agent-eval-tools](agent-eval-tools/)** — Agent setup evaluation tools. How fullsend's problem areas appear in tools that lint and security-scan agent configurations. ## Adding a new consumer diff --git a/docs/problems/applied/agent-eval-tools/README.md b/docs/problems/applied/agent-eval-tools/README.md new file mode 100644 index 0000000000..77e6fc9735 --- /dev/null +++ b/docs/problems/applied/agent-eval-tools/README.md @@ -0,0 +1,37 @@ +# Agent Setup Evaluation Tools + +How fullsend's own problem areas appear in tools that evaluate agent configurations. + +## Context + +Agent setup evaluation tools (linters, security scanners for skills/commands/agents/hooks) face a subset of the same challenges fullsend faces, viewed from the tooling side rather than the platform side. Their core mechanism is deterministic static analysis; some optionally offer LLM-based review modes. + +An example is [harness-eval](https://github.com/redhat-community-ai-tools/harness-eval), an open-source linter and security scanner for AI agent configurations (not to be confused with agent-eval-harness, the dynamic test-execution framework adopted in [ADR 0051](../../../ADRs/0051-agent-eval-harness-for-test-infrastructure.md); harness-eval performs static analysis and does not execute agents). It runs deterministic rules against skills, commands, agents, hooks, and MCP configs, with optional LLM-based review. Notably, harness-eval is itself a fullsend consumer: its repo includes a `.fullsend/config.yaml` installation config, and fullsend's own coding bot authored [PR #8](https://github.com/redhat-community-ai-tools/harness-eval/pull/8) (merged June 2026). + +## Technology landscape + +These tools typically operate as CLI utilities or CI integrations (GitHub Actions, Tekton tasks). They parse agent configuration files (markdown with YAML frontmatter, JSON schemas, shell scripts) and run pattern-based or AST-based analysis without executing the agent. The evaluation happens at the configuration layer, not the runtime layer, which means they complement behavioral testing rather than replacing it. + +## Relevant problem areas + +### [Testing agents](../../testing-agents.md) + +An evaluation tool's own agent setup (skills, commands, hooks) needs the same static analysis it provides to others. The tool must dogfood its own checks, and its CI must gate on its own lint and security rules. Failure to do this means the tool's own configuration can drift into the patterns it flags for others. + +### [MCP configuration drift](../../mcp-config-drift.md) + +Evaluation tools that consume `.mcp.json` or similar MCP configs as analysis targets face config drift when servers are added or removed. Static analysis can catch structural mismatches (e.g., a skill references an MCP server not declared in the config), but runtime drift (servers configured but never used in practice) requires observability beyond what a linter provides. + +### [Tool call risk assessment](../../tool-call-risk-assessment.md) + +Evaluation tools that run security scans must not themselves become attack vectors. A malicious skill under evaluation could contain patterns designed to influence the evaluator's behavior (jailbreak patterns, evaluator-targeted prompt injection). The tool needs its own defense against adversarial inputs, which is distinct from the defenses it provides to users. + +### [Trustworthiness evidence](../../trustworthiness-evidence.md) + +For an evaluation tool, trustworthiness evidence takes a specific form: false positive rate, false negative rate, and rule accuracy over time. If the tool flags too many false positives, teams disable it. If it misses real issues, teams lose trust. Tracking these metrics is how the tool earns continued adoption. + +## Unique considerations + +- **Recursive evaluation:** the tool must be able to evaluate its own setup without circular dependency issues +- **Rule accuracy feedback loop:** users who suppress findings or override verdicts generate signal about rule quality +- **Multi-assistant support:** an evaluation tool aiming for broad adoption may need to support multiple AI coding-agent runtimes (Claude Code, Cursor, Copilot, Gemini, OpenCode) with different configuration formats, unlike fullsend, which defaults production orgs to a single runtime (Claude Code) today despite having a pluggable `runtime.Runtime` interface ([runtimes.md](../../../runtimes.md)), with OpenCode noted as another candidate backend