Add model metadata to Agent Feedback (#100806)
## Summary Agent Feedback currently records the coding harness but not the model that produced a report. In a recent sample, 61 of 108 reports named only a harness such as Claude Code, opencode, or Codex. That prevents us from comparing production friction with eval results by model, harness version, or reasoning effort. This updates the Agent Feedback protocol to schema version 6 and asks reporting agents to include structured: - harness version - model identifier - reasoning effort Agents use `unknown` when their environment does not expose a value instead of inferring it. Existing schema v4 and v5 report links remain valid. ## Companion changes - https://github.com/vercel-labs/next-maintainer-agent/pull/635 accepts and stores v6 metadata while retaining v4 and v5 compatibility. This is merged. - https://github.com/vercel/front/pull/94097 updates the nextjs.org review UI to parse v6 reports and show the harness, harness version, model, and reasoning effort under **Attached to this report**. The receiver must support v6 before this protocol change lands. The Front change makes the added metadata visible during report review but does not block receipt of v6 reports. ## Verification - `pnpm exec jest --runInBand --runTestsByPath packages/next/src/cli/internal/agent-feedback-instructions.test.ts` - `pnpm --filter=next build` <!-- NEXT_JS_LLM -->
Showing
Please
register
or
sign in
to comment