feat(miner): add claimIssue and listActiveClaims ledger aliases - #3640
Conversation
…bored#3351) Expose the foundation-phase claim ledger API names with full idempotent claimIssue coverage (JSONbored#3353). Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 21:24:29 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 5 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 #3640 +/- ##
=======================================
Coverage 93.13% 93.13%
=======================================
Files 314 314
Lines 32002 32002
Branches 11723 11723
=======================================
Hits 29804 29804
Misses 1552 1552
Partials 646 646 🚀 New features to boost your workflow:
|
Summary
claimIssue(repoFullName, issueNumber, note?)andlistActiveClaims(repoFullName?)aliases on the claim ledger (module exports +openClaimLedger()instance methods).releaseClaimwas already present; this completes the Aclaim-ledgermodule exposingclaimIssue(repoFullName, issueNumber): ClaimEntry,releaseClaim(repoFullName, issueNumber),listActiveClaims(repoFullName?). #3351 API surface without breakingrecordClaim/listClaims.claimIssue(claimIssueon an already-activeclaim for the same repo+issue is idempotent (returns the existing entry, does not error or duplicate). #3353).Closes #3351
Closes #3353
Test plan
test/unit/miner-claim-ledger.test.ts— Aclaim-ledgermodule exposingclaimIssue(repoFullName, issueNumber): ClaimEntry,releaseClaim(repoFullName, issueNumber),listActiveClaims(repoFullName?). #3351/claimIssueon an already-activeclaim for the same repo+issue is idempotent (returns the existing entry, does not error or duplicate). #3353 cases (14 tests total)npm run build --workspace @jsonbored/gittensory-minerMade with Cursor