feat(miner-cli): claim-ledger commands (claim / release / list) - #4348
Conversation
|
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 #4348 +/- ##
=======================================
Coverage 93.96% 93.96%
=======================================
Files 401 401
Lines 36892 36892
Branches 13490 13490
=======================================
Hits 34667 34667
Misses 1569 1569
Partials 656 656 🚀 New features to boost your workflow:
|
Wire the local SQLite claim ledger into gittensory-miner with CLI subcommands mirroring the portfolio-queue pattern so miners can record, release, and inspect soft claims from the shell. Closes JSONbored#4290 Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
a518eba to
5519687
Compare
|
Tip 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 ✅ Gittensory review result - approve/merge recommendedReview updated: 2026-07-09 11:41:59 UTC
✅ Suggested Action - Approve/Merge
Review summary Nits — 5 non-blocking
Linked issue satisfactionAddressed 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.
|
Summary
packages/gittensory-miner/lib/claim-ledger-cli.jswithrunClaimClidispatchingclaim,release, andlistsubcommands against the existing SQLite claim ledger (claimIssue,releaseClaim,listClaims).gittensory-miner claim …intobin/gittensory-miner.jsand document usage inprintHelp.test/unit/miner-claim-ledger-cli.test.tscovering argv parsing, table/JSON rendering, success paths, and error handling.Closes #4290
Test plan
npm run build:minernpx vitest run test/unit/miner-claim-ledger-cli.test.tsvalidate,codecov/patch(100%),codecov/project, security