Skip to content

fix: Apply pause-point round 11 verification feedback#1985

Merged
hatayama merged 3 commits into
v3-betafrom
fix/pause-point-round11-feedback
Jul 25, 2026
Merged

fix: Apply pause-point round 11 verification feedback#1985
hatayama merged 3 commits into
v3-betafrom
fix/pause-point-round11-feedback

Conversation

@hatayama

@hatayama hatayama commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Summary

Round 11 verification feedback produced two severity-6 findings. Follow-up interviews with the reporting agents confirmed three improvements:

  • Fold fast-progressing / auto-advancing freeze guidance into the pause-point quick-check steps so agents see it at the moment of use
  • Add the early-return / alternate-branch pattern to timeout and expired non-firing hints
  • Warn that Rigidbody values captured on physics-callback pause points can be mid-solver intermediates (for example (0,0))

User Impact

  • Agents are less likely to miss freeze guidance for fast-progressing games when setting pause points
  • Timeout/expired failures now suggest checking early returns that skip the intended line
  • Physics-callback pause points surface a warning when captured Rigidbody velocity/position may not be the final post-solver values

Changes

  • Update pause-point skill quick-check guidance (source + regenerated copies)
  • Extend Go non-firing hint text for timeout/expired cases (tests updated for exact match)
  • Emit a mid-solver Rigidbody warning from the source pause-point patcher for physics message methods (constants, patcher, EditMode tests)

Verification

  • scripts/check-go-cli.sh — exit 0
  • dist/darwin-arm64/uloop compile — 0 errors / 0 warnings
  • SourcePausePointPatcherTests — 27/27 passed

Review in cubic

hatayama added 3 commits July 25, 2026 12:15
… check steps

Round 11 Tetris verification (severity 6/10) found the existing "freeze
first" note ineffective: placed as a standalone paragraph after the Quick
Check Template, it got read but not recalled at the moment it mattered —
the reporter only remembered the pitfall after gravity auto-landed pieces
mid-scenario and broke the test.

The follow-up interview confirmed a numbered decision step at the top of
the template would have prevented this. Restructure the template so the
freeze decision is step 1 (before any state is armed or arranged), the
one-command arm/fire/wait becomes step 2, later steps renumber, and the
now-redundant standalone paragraph is removed — net prose does not grow,
keeping the recently dieted skill (#1978) lean.

.claude/skills/uloop-pause-point/SKILL.md and
.agents/skills/uloop-pause-point/SKILL.md are regenerated copies produced
by `uloop skills install --claude --agents`, not hand edits.
Round 11 Tetris verification hit a rotation pause point that timed out
as PAUSE_POINT_EXPIRED because the method exited on its collision-
rejection early return (game state had auto-progressed and the board
was already blocked). Nothing in the error hinted at another branch,
so the reporter had to recompute Board.CanPlace() by hand to find out.
The follow-up interview confirmed adding this pattern to the hint would
have shortcut that investigation.

Add pattern (3) to the shared pausePointNonFiringPatternsHint constant
(used by both the timeout and expired hints): the method ran but exited
on an earlier branch, so arm a second marker on the early-return line to
see which path ran. Update the timeout and expired test expectations to
assert the new hint text.
… points

Round 11 block-breaker verification initially misread a captured
Rigidbody velocity of (0, 0) inside OnCollisionEnter2D as a physics bug;
the value was a mid-solver intermediate (a documented capture
constraint) that happened to coexist with a real project bug (missing
PhysicsMaterial2D). The follow-up interview showed the existing
enable-time physics-callback Warning only covers cached-dispatch hit
misses and says nothing about value reliability — what actually helps
is stating the discrimination rule in the response itself.

Add PhysicalCallbackMidSolverValuesWarning, appended in
BuildPatchWarning whenever a physics-callback (direct or one-hop
indirect) target is detected: re-read the velocity live after resuming;
still zero outside the callback means the game's own physics setup is
the suspect. Update existing warning-composition tests for the new
ordering (cached-dispatch, mid-solver, inlining) plus presence/absence
assertions on the ordinary-method and unrelated-helper cases.
@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: e5caae4c-b239-40d3-abf8-885cc3bd9d19

📥 Commits

Reviewing files that changed from the base of the PR and between 3907aae and 43dc76d.

📒 Files selected for processing (8)
  • .agents/skills/uloop-pause-point/SKILL.md
  • .claude/skills/uloop-pause-point/SKILL.md
  • Assets/Tests/Editor/SourcePausePointPatcher/SourcePausePointPatcherTests.cs
  • Packages/src/Editor/CliOnlyTools~/PausePoint/Skill/SKILL.md
  • Packages/src/Editor/FirstPartyTools/PausePoint/SourcePausePointConstants.cs
  • Packages/src/Editor/FirstPartyTools/PausePoint/SourcePausePointPatcher.cs
  • cli/project-runner/internal/projectrunner/pause_point_errors.go
  • cli/project-runner/internal/projectrunner/pause_point_wait_test.go

📝 Walkthrough

Walkthrough

The PR adds a physics callback mid-solver warning, expands pause-point non-firing diagnostics, and updates quick-check instructions for automatically progressing games, captured evidence, marker clearing, and resume behavior.

Changes

Pause-point updates

Layer / File(s) Summary
Physics callback warning pipeline
Packages/src/Editor/FirstPartyTools/PausePoint/*, Assets/Tests/Editor/SourcePausePointPatcher/*
Adds PhysicalCallbackMidSolverValuesWarning, emits it for detected physics callback cases, and updates warning composition tests.
Non-firing diagnostic guidance
cli/project-runner/internal/projectrunner/pause_point_errors.go, cli/project-runner/internal/projectrunner/pause_point_wait_test.go
Adds earlier-branch or guard exits as a diagnosed non-firing pattern and updates timeout and expired-marker hint tests.
Quick-check workflow guidance
.agents/skills/uloop-pause-point/SKILL.md, .claude/skills/uloop-pause-point/SKILL.md, Packages/src/Editor/CliOnlyTools~/PausePoint/Skill/SKILL.md
Documents immediate pausing, --resume-play, captured-variable inspection, evidence capture, marker lifecycle, and clearing behavior.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 66.67% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly refers to the pause-point verification feedback updates covered by this PR.
Description check ✅ Passed The description matches the changes, summarizing pause-point guidance, non-firing hints, and physics-callback warnings.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/pause-point-round11-feedback

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@hatayama
hatayama merged commit 43c4c67 into v3-beta Jul 25, 2026
13 checks passed
@hatayama
hatayama deleted the fix/pause-point-round11-feedback branch July 25, 2026 03:57
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