feat(miner): add reject render CLI for courtesy notes - #3278
Conversation
Wire the existing CoC-compliant rejection templates to `gittensory-miner reject render|reasons` so local harnesses can emit public-safe close notes without reimplementing validation. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Resolve bin, help, and build-script conflicts with the expanded miner CLI surface from main. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 00:49:14 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 6 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 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.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3278 +/- ##
=======================================
Coverage 94.13% 94.13%
=======================================
Files 276 276
Lines 30204 30204
Branches 11011 11011
=======================================
Hits 28432 28432
Misses 1127 1127
Partials 645 645 🚀 New features to boost your workflow:
|
JSONbored
left a comment
There was a problem hiding this comment.
Please focus on outstanding issues instead.
Summary
gittensory-miner reject renderto print CoC-compliant courtesy notes from the existingrejection-templatesmodule (feat(miner-manage): CoC-compliant rejection message templates #2324).gittensory-miner reject reasonsto list valid reason buckets for scripting (--jsonsupported on both).No-issue rationale
Follow-up wiring for the already-merged rejection template library (#2804): exposes the pure renderer as a shell command for local miner harnesses without adding GitHub write actions.
Test plan
npm test -- test/unit/miner-cli-rejection-render.test.ts test/unit/miner-rejection-templates.test.tsnpm run build --workspace @jsonbored/gittensory-minernpm run typecheck