Skip to content

Remove tracked promptfoo eval output from git (release hygiene, finding 15) - #130

Merged
mrubens merged 1 commit into
developfrom
claude/focused-euclid-e9df3b
Jul 10, 2026
Merged

Remove tracked promptfoo eval output from git (release hygiene, finding 15)#130
mrubens merged 1 commit into
developfrom
claude/focused-euclid-e9df3b

Conversation

@mrubens

@mrubens mrubens commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Removes the tracked generated file packages/cloud-agents/results/eval-followup-results.json (obsolete agent names and generated prompt transcripts), flagged as finding 15 (open-source release hygiene) in the pre-release architecture audit.

  • Delete packages/cloud-agents/results/eval-followup-results.json from git
  • Broaden the existing .gitignore rule from the single file packages/cloud-agents/results/eval-results.json to the whole packages/cloud-agents/results/ directory. The narrow rule is why this file slipped through: all three promptfoo configs (evals/authorship/promptfooconfig.ts, evals/router/promptfooconfig.ts, evals/router/promptfooconfig.followup.ts) write into ./results/, but only eval-results.json was ignored.

Reference check

The only code reference to the file is the outputPath in evals/router/promptfooconfig.followup.ts, which writes eval output to that path. It stays as-is: future eval runs will regenerate the file locally, and the directory is now ignored. Nothing reads the file.

Validation

  • pnpm lint:fast
  • pnpm check-types:fast
  • pnpm knip --no-gitignore ✅ (exit 0; plain pnpm knip fails in nested .agents/worktrees/ checkouts because knip picks up the parent repo's .gitignore, which ignores the whole worktree — verified byte-identical failure on clean HEAD, and knip passes on the same commit in a normal checkout)

The generated eval-followup-results.json (obsolete agent names and
prompt transcripts) was tracked because the ignore rule only covered
eval-results.json. Broaden the rule to the whole
packages/cloud-agents/results/ directory, matching all promptfoo
outputPath targets.

Flagged as finding 15 (open-source release hygiene) in the pre-release
architecture audit.
@roomote-roomote

roomote-roomote Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

No code issues found. See task

Verified the removed file (packages/cloud-agents/results/eval-followup-results.json) was the only tracked entry under packages/cloud-agents/results/, and the broadened .gitignore rule (packages/cloud-agents/results/) correctly covers the regenerated output of all three promptfoo configs (which run from the packages/cloud-agents/ cwd and write to ./results/). No code reads the file; the only reference is the outputPath write target. Change is minimal and safe.

@mrubens
mrubens merged commit 7b08211 into develop Jul 10, 2026
@mrubens
mrubens deleted the claude/focused-euclid-e9df3b branch July 10, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants