docs(miner): document miner_claims schema in claim ledger#3642
docs(miner): document miner_claims schema in claim ledger#3642kiannidev wants to merge 1 commit into
Conversation
…3352) Record the foundation-phase table columns, status CHECK, and UNIQUE constraint with a regression test so the schema cannot drift silently. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - fixes requiredReview updated: 2026-07-05 21:32:22 UTC
🛑 Suggested Action - Fix Blockers Review summary Nits — 5 non-blocking
CI checks failing
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.
|
|
Gittensory is closing this pull request on the maintainer's behalf (CI is failing (validate, validate-code)). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Summary
miner_claimsschema inline above theCREATE TABLE:repo_full_name,issue_number,claimed_at,statusCHECK (active/released/expired), andUNIQUE (repo_full_name, issue_number).released_atcolumn (the shipped schema extends the original sketch withexpiredfor TTL expiry).Closes #3352
Test plan
test/unit/miner-claim-ledger.test.ts— Schema:repo_full_name TEXT NOT NULL, issue_number INTEGER NOT NULL, status TEXT NOT NULL CHECK(status IN ('active','released')), claimed_at TEXT NOT NULL, released_at TEXT, PRIMARY KEY (repo_full_name, issue_number). #3352 schema doc assertion (15 tests total)npm run build --workspace @jsonbored/gittensory-minerMade with Cursor