feat(control-panel): complete the miner command center (#129) - #836
Merged
Conversation
Finishes the ~70% the discovery sweep flagged remaining on the miner control panel: - Refresh decision pack from the web (new POST /v1/app/miner-dashboard/ refresh): contributor-authed enqueue of the same decision-pack rebuild the MCP job runs, so a miner no longer has to run MCP locally. Async, so the panel re-fetches after it lands. - Export / download the decision pack as JSON. - Recommendation-changelog modal: the API already attaches per-row old-vs-new diffs + re-run reasons; the inline cards truncate, the modal shows the full old-vs-new diff and every re-run reason. Public-safe: deterministic signals only — no payout/reward language. The refresh endpoint is fully covered; cross-cutting loading/empty states remain tracked in #793. Closes #129.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
gittensory-ui | 67cefe4 | Commit Preview URL Branch Preview URL |
Jun 17 2026, 08:10 PM |
|
Note Gittensory Gate skippedPR closed before full evaluation. No late first comment was created.
💰 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. |
Contributor
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #836 +/- ##
=======================================
Coverage 96.56% 96.56%
=======================================
Files 98 98
Lines 14175 14184 +9
Branches 5169 5172 +3
=======================================
+ Hits 13688 13697 +9
Misses 105 105
Partials 382 382 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Closes #129.
Finishes the ~70%→100% the discovery sweep flagged remaining on the miner control panel.
What
POST /v1/app/miner-dashboard/refresh: contributor-authed enqueue of the same decision-pack rebuild the MCP job runs, so a miner no longer has to run MCP locally to refresh. The rebuild is async, so the panel re-fetches after it lands.decision-pack-<login>-<date>.json).Boundaries
Public-safe: deterministic signals only — no payout/reward/trust language. The refresh endpoint is contributor-authed (same gate as the dashboard read) and fully covered. Cross-cutting loading/empty/retry states stay tracked in #793 per the discovery sweep.
Verification
backend typecheck ✓ · UI lint ✓ · UI typecheck ✓ · UI build ✓ · backend suite 1995 passed / 1 skipped (pre-existing pngjs visual-agent skip) · UI suite 7 passed · new refresh-endpoint coverage clean (400 / 403 / 202 / session-actor paths).