bugbot rubric candidate: scratch-file gate failures are false signal — delete the scratch, never weaken the gate

Open Beginner friendly
#762 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
git, github-actions, typescript
Domain
ci-cd, tooling

Research direction

The proposed rubric line belongs in references/bugbot-triage.md. Read the surrounding triage guidance and check how it handles CI gate failures and accidental artifacts. Add the rule to delete scratch artifacts and pair gitignore patterns with the scrub list without weakening the gate; done when the rubric clearly captures that decision.

Written by the indexing model from the issue text.

Description

Class

A CI gate (public-scrub / diff-hygiene / lint-style) fails on a PR whose only offending diff content is agent/runtime-created scratch that a blanket git add -A swept in (e.g. leftover crash directories from test TemporaryDirectories, rerun-shim scratch). The gate is right; the commit habit is wrong.

Proposed rubric line (references/bugbot-triage.md)

Gate-check failures whose diff is only accidentally-committed scratch/test artifacts: dismiss as false signal; fix by deleting the scratch and gitignoring + scrub-listing the pattern — never by weakening the gate.

Evidence (production, private repo, reproducible class)

  • PR run: gates 4/8 shards fail with SCRUB FAILED — non-guard private-string hits in copied files: tests/.routing-test-*/run/logs/child.*.prompt.md; unit tests inside the shards pass (TOTAL 43 FAIL 0).
  • Root cause: crashed temp-dir cleanup left the scratch on disk; git add -A committed it.
  • Resolution: removal commit + gitignore/SCRUB_LIST pairing for both scratch patterns (.routing-test-*/, .wf-rerun-*/); all shards green on first fresh build, zero retrigger budget spent.
  • Companion hygiene PR on our side: https://github.com/jacobhausler/hermes-workflows/pull/524
Dominant language
TypeScript
Stars
18.2k
Forks
2k
Avg merge
3h 56m
Merged PRs (30d)
96

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cursor/plugins

All issues in cursor/plugins

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.