fix(preflight): redact private rerun hints from PR packet - #907
Conversation
|
Note Gittensory Gate skippedPR closed before full evaluation. No late first comment was created.
💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers. |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #907 +/- ##
=======================================
Coverage 96.71% 96.71%
=======================================
Files 108 108
Lines 14641 14643 +2
Branches 5298 5298
=======================================
+ Hits 14160 14162 +2
Misses 102 102
Partials 379 379 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
gittensory · advisory review Reviewed 2 changed file(s) — two independent AI reviewers. Changed files: Suggested action: ✅ Safe to merge — both reviewers found no blocking issues. Reviewer A · Suggestions
Worth double-checking
Reviewer B · Worth double-checking
|
Motivation
Description
publicSafeRerunConditioninsrc/signals/local-branch.tsto map account/queue, pending-PR, open-PR-count, projected-score, threshold, eligibility, multiplier, and score-derived phrases to a generic public-safe instruction.Rerun after any branch, base, or PR state changes before opening/submitting.so private signals do not surface in the PR packet markdown.test/unit/local-branch.test.tsthat the producedprPacket.markdowndoes not contain account/queue maturity, account-state, score, credibility, or open PR count terms and that theNext Stepssection contains the generic rerun line.Testing
npx vitest run test/unit/local-branch.test.ts test/unit/redaction.test.tsand all tests passed (2 files passed,45 tests passed).npm run typecheckandtsc --noEmitcompleted without errors.Codex Task