WIP: Windows Agent baseline, miner control, and task-preserving upgrades #2

Draft
lussierj wants to merge 3 commits from codex/review-02-windows-control into codex/review-01-system-health
pull from: codex/review-02-windows-control
Owner

Source: codex/review-02-windows-control
Target: codex/review-01-system-health

Summary

Adds the canonical Windows Agent source baseline, typed miner-control and authenticated command-transport infrastructure, migration 0015_miner_control_foundation, and installer behavior that preserves existing Scheduled Tasks and runtime data during upgrades.

Exact included commits

  • 6cd876b — chore: add Windows agent source baseline
  • f5965af — feat: add safe miner control foundation
  • d8cd7ad — fix: preserve Windows agent tasks during upgrades

Dependencies

Depends on PR 1. This comparison includes only the three commits above. PR 3 targets this source branch.

Available validation evidence

The commits include miner-control and command-transport tests, PostgreSQL concurrency/audit coverage, a migration lifecycle runner, Windows control tests, installer tests, and source-contract checks.

The Git comparison and commit scope were verified. No isolated passing test result for this endpoint is claimed.

Outstanding testing and security concerns

  • Run focused control, command-transport, installer, and migration tests against this endpoint.
  • Review physical-control permissions, safety interlocks, credential redaction, command claiming, result binding, and audit atomicity.
  • Migration 0015 can reject unsupported queue statuses or duplicate live miner-control commands. Validate production-shaped preflight failures and remediation without losing history.
  • Legacy control producers and scheduled command materialization remain in the full committed stack. Their permissions and routing require explicit review.
  • Verify task preservation, rollback, and stopped/running intent on native Windows.
  • Seven historical Windows baseline files produce “new blank line at EOF” warnings. They remain unchanged to preserve the original commits.
  • Baseline checksums describe historical source provenance; distinguish them from checksums of later modified runtime files.

Deployment status

This PR is not approved for production deployment. Real miner-control execution requires separate approval and validation.

Source: `codex/review-02-windows-control` Target: `codex/review-01-system-health` ### Summary Adds the canonical Windows Agent source baseline, typed miner-control and authenticated command-transport infrastructure, migration `0015_miner_control_foundation`, and installer behavior that preserves existing Scheduled Tasks and runtime data during upgrades. ### Exact included commits - `6cd876b` — chore: add Windows agent source baseline - `f5965af` — feat: add safe miner control foundation - `d8cd7ad` — fix: preserve Windows agent tasks during upgrades ### Dependencies Depends on PR 1. This comparison includes only the three commits above. PR 3 targets this source branch. ### Available validation evidence The commits include miner-control and command-transport tests, PostgreSQL concurrency/audit coverage, a migration lifecycle runner, Windows control tests, installer tests, and source-contract checks. The Git comparison and commit scope were verified. No isolated passing test result for this endpoint is claimed. ### Outstanding testing and security concerns - Run focused control, command-transport, installer, and migration tests against this endpoint. - Review physical-control permissions, safety interlocks, credential redaction, command claiming, result binding, and audit atomicity. - Migration `0015` can reject unsupported queue statuses or duplicate live miner-control commands. Validate production-shaped preflight failures and remediation without losing history. - Legacy control producers and scheduled command materialization remain in the full committed stack. Their permissions and routing require explicit review. - Verify task preservation, rollback, and stopped/running intent on native Windows. - Seven historical Windows baseline files produce “new blank line at EOF” warnings. They remain unchanged to preserve the original commits. - Baseline checksums describe historical source provenance; distinguish them from checksums of later modified runtime files. ### Deployment status This PR is not approved for production deployment. Real miner-control execution requires separate approval and validation.
lussierj added 3 commits 2026-10-14 10:54:40 -05:00
You are not authorized to merge this pull request.
This pull request can be merged automatically.
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin codex/review-02-windows-control:codex/review-02-windows-control
git checkout codex/review-02-windows-control
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lussierj/minerops#2