feat(miner): add manage-phase status CLI command#2871
Conversation
Aggregate local portfolio pr:* rows and manage_pr_update ledger events into a read-only status table or JSON output for contributor manage visibility. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Skip ledger events for PRs that are not currently queued or in progress so historical manage_pr_update rows do not appear in status output. Co-authored-by: Cursor <cursoragent@cursor.com>
Resolve miner CLI conflicts: foundation status stays top-level; manage portfolio status routes via manage status. Co-authored-by: Cursor <cursoragent@cursor.com>
The merge dropped the scripts wrapper and left invalid JSON, which caused npm ci to fail in CI. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2871 +/- ##
=======================================
Coverage 96.01% 96.01%
=======================================
Files 259 259
Lines 28304 28304
Branches 10291 10291
=======================================
Hits 27177 27177
Misses 491 491
Partials 636 636 🚀 New features to boost your workflow:
|
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - reject/close recommendedReview updated: 2026-07-04 02:44:54 UTC
🛑 Suggested Action - Reject/Close
Review summary Blockers
Nits — 5 non-blocking
Why this is blocked
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 (AI reviewers agree on a likely critical defect: packages/gittensory-miner/bin/gittensory-miner.js:31 starts `startUpdateCheck(...)` before the `manage status` dispatch at packages/gittensory-miner/bin/gittensory-miner.js:68, so `gittensory-miner manage status` can perform an npm-registry lookup despite the new command being documented as local/offline/read-only; move the manage-status dispatch above `startUpdateCheck`, matching the existing `status`/`doctor` pattern.). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs are re-reviewed automatically, so an inaccurate close may be reopened, but that does not guarantee it can merge (e.g. if conflicts or failing CI remain). |
Summary
gittensory-miner manage statuscommand that aggregates managed PR rows from the local portfolio queue and event ledger.manage_pr_updateevent vocabulary plus table/JSON renderers for CI state, gate verdict, outcome, and last-polled timestamp.--jsonoutput shape, and bin entrypoint wiring in unit tests.Closes #2325.
Scope
type(scope): short summaryConventional Commit format.CONTRIBUTING.md.Validation
npm run test:cilocally — Node.js is not installed on the contributor machine; CI will run the full gate on push.Safety
UI Evidence
Not applicable — miner CLI package only.
Notes
pr:<number>convention; manage rows merge latestmanage_pr_updatepayloads from the append-only event ledger.gittensory-miner statusis reserved for the foundation laptop-mode command (feat(miner-foundation): slim laptop-mode CLI entry point (status/doctor commands) #2288); manage-phase portfolio rendering lives atmanage status.