fix: accept unlimited AMRAP reps for finite routine leases - #715
Conversation
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Code Review Roast 🔥Verdict: No Issues Found | Recommendation: Merge The Codex P2 landed. Commit e881fd4 cleanly binds the AMRAP exemption to the active command's unlimited-rep intent: a new 📊 Overall: Like a chef fixing a recipe mid-service — saw the order was wrong, didn't burn the dish, refired it. Fine follow-up. Files Reviewed (3 incremental files)
Ponytail ReviewTwo optional, non-blocking notes for future cleanup:
Ponytail net: -2 lines. VerdictApprove — P2 resolved, regression test in place, plumbing complete. Optional Ponytail cleanups are not blockers. Previous Review Summaries (2 snapshots, latest commit 026db9e)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 026db9e)Verdict: No Issues Found | Recommendation: Merge Oh wait, this incremental commit is also clean. I need to sit down again. I had my flamethrower warming up for round two and you hit me with a five-line Kotlin Native portability patch. The follow-up commit swaps 📊 Overall: Like a good prequel — short, necessary, and entirely uninterested in stealing the spotlight from the main feature. Files Reviewed (2 from the original review; 3 incremental files)
Previous review (commit 483c400)Verdict: No Issues Found | Recommendation: Merge Oh wait, this PR is actually clean. I need to sit down. I had my flamethrower warmed up and everything. A surgical bug fix that swaps a broken lease-side discriminator ( 📊 Overall: Like finding a unicorn in production — a tiny, well-scoped fix that targets the real root cause instead of papering over it. Ship. Files Reviewed (2 files)
Reviewed by minimax-m3 · Input: 60.6K · Output: 7.5K · Cached: 333.3K Review guidance: REVIEW.md from base branch |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 026db9ecc3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
CI follow-upThe first PR run exposed two pre-existing Kotlin/Native common-test portability failures on current main:
Commit
The full Android host suite also remains green. No production behavior changed in this follow-up. |
Summary
Fixes #712.
Routine AMRAP commands send the unlimited
0xFFtarget, which the machine reports asrepsSetTotal=252. The execution lease retains the routine's finite UI fallback target (for example10). PR #701 only exempted AMRAP whenworkingRepTarget == 0, so every valid warmup and working rep was rejected asTARGET_MISMATCH.The lease now records whether the current machine command uses the unlimited target. The freshness gate accepts sentinel
252only when the active AMRAP command is explicitly unlimited. Finite variable-warmup executions remain protected from delayed stale unlimited packets.Runtime evidence
Corrected Android Phantom production path:
isAMRAP=true, warmup target3, lease target10, current command unlimited1/3 → 2/3 → 3/3, then working reps1..3TARGET_MISMATCH; UI remained0/3Regression coverage
0to10252CI portability follow-up
The first CI run exposed unrelated current-main common-test portability failures. Test-only fixes:
Dispatchers.IOreferences with portableDispatchers.Default.Verification
No version bump, schema change, firmware change, portal change, or unrelated production refactor.