test(scenarios): eliminate actionCalled-only checks - #11708
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
2c257b8 to
7183228
Compare
|
Review pass on #11708 (left draft, not merging). Validated locally after rebasing the branch onto current origin/develop (e59ddaf):
I reviewed the new calendar assertion helper and the converted scenarios; the checks are using observed action/result payloads rather than only action-called markers, which matches the paydown goal. No blocking issue found in this pass. CI was still queued/unstable on GitHub, and the PR is draft, so I did not merge or mark ready. |
7183228 to
e395226
Compare
e395226 to
ca93160
Compare
|
Fresh review/validation after rebase onto current
I attempted to rerun the deterministic evidence subset ( Keeping draft: ratchet/formats are green, but live trajectory evidence is still absent and deterministic rerun is blocked by local workspace dependency resolution rather than scenario failures. |
ca93160 to
88bff0f
Compare
…ide effect predicate deterministic-action-coverage.test.ts derives scenario action coverage from actionName fields on loaded finalChecks; dropping the actionCalled entry made GIT_PATHOLOGY read as uncovered (2 red tests). Restore it as a structural marker next to the custom effect predicate, which remains the real gate. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Review (revw2) — verified locally, one defect found and fixed on the branchVerdict: fix pushed, then merge. Adversarial pass on head What checks out
Defect found → fixed and pushed (
|
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
LifeOps Benchmark —
|
Summary
finalChecksarrays away from actionCalled-only checks across calendar, deterministic fixtures, cross-cutting/social/reminder, self-control, lifeops habits/hygiene, relationships, remote, and cloud-apps scenariosRelates to #11381.
Evidence
origin/developb17e23500c8491e3191abfb0d1cf8f000959de6e; pushed head88bff0f884e19772ee899a1684c036ff2f0024d2.bun test packages/scenario-runner/src/action-effect-ratchet.test.ts-> 2 pass, baseline 0.bunx @biomejs/biome check --config-path biome.json --vcs-enabled=false --files-ignore-unknown=true --no-errors-on-unmatched $(git diff --name-only origin/develop...HEAD | rg '\.ts$')-> checked all 32 changed TypeScript files, no fixes applied.git diff --check-> clean..github/issue-evidence/11381-actioncalled-paydown-2/deterministic-runs*..github/issue-evidence/11381-actioncalled-paydown-2/README.md.Deterministic Runs Reviewed
deterministic-browser-computeruse-progress-> run52c3d174-9ae6-4208-8f10-7d6816ce6566, passed 1/1; report includes BROWSER screenshot data, COMPUTER_USE_AGENT finish trajectory, and COMPUTER_USE click result.deterministic-computeruse-progress-approvals-> run1b48981e-2407-4b9a-93ba-65c4d9a4beef, passed 1/1; report includes approval prompt result and approval resolution payload.deterministic-computeruse-parity-verbs-> run29392477-7ee9-48ef-b2da-0ee1da4766ff, passed 1/1; report includes set_value, kill_app killed=true, and WINDOW bounds.deterministic-gitpathology-actions-> runc5edf5de-23bb-4c75-9ef2-cef395592f6d, passed 1/1; report includes empty-cachereports: []and finished trajectory JSON artifacts.Remaining actionCalled-only scenarios
None found by
packages/scenario-runner/src/action-effect-ratchet.test.tsat baseline 0.Verification gaps
bun run verifyfails before typecheck/lint inaudit:type-safety-ratchet:as unknown as: 79 / 75(unrelated repo-wide baseline).bun run --cwd packages/scenario-runner typecheckfails before isolating this change on unrelated workspace package/export prerequisites, including@elizaos/plugin-blocker/services/website-blocker/index,@elizaos/plugin-personal-assistant/lifeops/service,@elizaos/plugin-scheduling,@elizaos/shared/steward-session-client,@elizaos/shared/transcripts,@elizaos/shared/local-inference, and@elizaos/capacitor-bun-runtime.OPENAI_API_KEY,ANTHROPIC_API_KEY,GROQ_API_KEY,GOOGLE_GENERATIVE_AI_API_KEY,CEREBRAS_API_KEY,EVAL_MODEL_PROVIDERall missing).UI
N/A - no UI changes.