feat(miner): add manage-phase status CLI command - #2791
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2791 +/- ##
=======================================
Coverage 96.22% 96.22%
=======================================
Files 256 256
Lines 28023 28023
Branches 10182 10182
=======================================
Hits 26966 26966
Misses 433 433
Partials 624 624 🚀 New features to boost your workflow:
|
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - reject/close recommendedReview updated: 2026-07-04 00:57:06 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.
|
6dd18d1 to
52f94c8
Compare
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>
52f94c8 to
d21bd8a
Compare
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
|
JSONbored
left a comment
There was a problem hiding this comment.
Merge conflicts, please fix:
This branch has conflicts that must be resolved
Use the [web editor](https://github.com/JSONbored/gittensory/pull/2791/conflicts) or the command line to resolve conflicts before continuing.
packages/gittensory-miner/bin/gittensory-miner.js
packages/gittensory-miner/package.json
|
Gittensory is closing this pull request on the maintainer's behalf (conflicts with the base branch — resolve and open a fresh PR; AI reviewers agree on a likely critical defect: packages/gittensory-miner/lib/manage-status.js:70 creates a row from every `manage_pr_update` event missing from the portfolio map, so an append-only historical event for a PR that is no longer queued/in progress still appears in `gittensory-miner status` instead of being excluded from the local portfolio status view.). 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 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.