feat(miner-packaging): add laptop-mode init command - #3622
Conversation
Bootstrap local SQLite state with gittensory-miner init, extend doctor with sqlite and Docker checks, and document the zero-infra quickstart. 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 20:39:16 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 7 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 #3622 +/- ##
=======================================
Coverage 93.20% 93.20%
=======================================
Files 313 313
Lines 31910 31910
Branches 11677 11677
=======================================
Hits 29741 29741
Misses 1517 1517
Partials 652 652 🚀 New features to boost your workflow:
|
Summary
gittensory-miner initto bootstrap~/.config/gittensory-miner/(respectingGITTENSORY_MINER_CONFIG_DIR/XDG_CONFIG_HOME) and a locallaptop-state.sqlite3file; re-running is idempotent.gittensory-miner doctorwith SQLite readiness and informational Docker presence checks (Docker never required).Closes #2329
Test plan
test/unit/miner-laptop-init.test.ts— init, idempotency, doctor sqlite/docker checks, no networktest/unit/miner-status.test.ts— doctor passes after init with expanded checksnpm run build --workspace @jsonbored/gittensory-minerMade with Cursor