Skip to content

Refactor Mike synchronization for capability retries - #87

Merged
ranade-oss merged 1 commit into
mainfrom
agent/mike-sync-v2
Aug 4, 2026
Merged

Refactor Mike synchronization for capability retries#87
ranade-oss merged 1 commit into
mainfrom
agent/mike-sync-v2

Conversation

@ranade-oss

Copy link
Copy Markdown
Owner

Summary

Mike Sync v2 now evaluates upstream capabilities instead of treating patch transplantability as the decision.

  • Records explicit outcomes: adopted, adapted, equivalent, superseded, incompatible, deferred, retryable, needs-test-harness, and needs-decision.
  • Processes one implementation candidate per branch and retains capability, series, dependency, prerequisite, retry, and history metadata.
  • Adds one bounded repair attempt before the existing complete exact-head Baseline gate.
  • Keeps high-risk/security-sensitive work state-only and draft for human review.
  • Adds fail-closed patch/path/size checks and protects synchronization ledgers and policy files.

Legacy deferred entries

Legacy deferred entries remain closed during scheduled work. The escalated workflow now has a deliberate manual input, reconsider_all_deferred=true, which performs one serial v2 attempt for every legacy deferred entry that has not already received a v2 attempt. The pass pauses at a high-risk draft and does not loop on a new v2 defer.

After this draft PR is merged, run:

  1. Actions
  2. Synchronize escalated upstream Mike capabilities
  3. Run workflow
  4. Set reconsider_all_deferred to true

Validation

  • npm run check passed end to end.
  • All 166 Baseline tests passed.
  • actionlint passed all workflows.
  • Main remains unchanged; this PR is based on 7f427c4b.

@ranade-oss
ranade-oss marked this pull request as ready for review August 4, 2026 23:11
@ranade-oss
ranade-oss merged commit 085e639 into main Aug 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant