Skip to content

Let assertions explore by scrolling (#1568) - #1572

Merged
kblok merged 1 commit into
mainfrom
feat/1556-assert-explore
Nov 12, 2026
Merged

kblok merged 1 commit into
mainfrom
feat/1556-assert-explore

Conversation

@kblok

@kblok kblok commented Nov 11, 2026

Copy link
Copy Markdown
Member

Closes #1556

Ports tester-army/e2e 1144df4 (#1568): opt-in AssertOptions.Explore (with MaxSteps, MaxModelCalls) lets AssertAsync scroll and combine evidence from several viewports using read-only tools. Mutating actions and tools fail with POLICY_DENIED; exhausted exploration reports ASSERTION_INCONCLUSIVE; ToolLoopExecutorOptions.InconclusiveOnOverflow; CreateVerdictTool(kind); IStepExecutor.Vision; ACP read-only list computed from the assertion grammar. Skill, docs-site guides and API reference updated.

Upstream parity

Upstream change: e2e-inc/e2e@1144df4

  • Ported: all code areas (act, dispatcher, action names, default agent, observation feed, tool loop, ACP tools, fixtures vision) and all named tests (assert-explore integration/unit, grammar-tools, observation, tool-loop-overflow, ACP executor, sdk-types line).
  • Port-only symbols (.NET-only): GrammarToolsOptions.Kind (internal; stands in for Object.create contexts), TestExecutor.Vision and PixelsEngine helpers (test code), DefaultAgent.BuiltInExecutor (act/assert dispatch by kind), RunAssertStepAsync (renamed AssertWithExecutorAsync), POLICY_DENIED mapping in ObservationFeed (upstream tests expect it where its code reads UNSUPPORTED_CAPABILITY). The verdict tool is done with a code field.
  • Partial tests (Partial_ prefix): invalid exploration options (non-boolean explore and null budgets are unrepresentable in C#), tree-only default (vision: false indistinguishable from the default), observation feed (no raw-pixel projection), ACP hover refusal (no hover verb on the document engine). Tests run over the document engine, not a browser, like the port's other agent tests.
  • Skipped: none.
  • Verdict: complete, with the exceptions above.

Tests: ACP 35 pass; E2E.Tests agent suites pass; real-model Act, Judgments, PixelTools, ScrollTo, Verbs and sample pass. Unrelated Windows-host failures (CRLF baselines, mobile snapshots) as on main.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 24 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between be7af9e and 5fb0ee0.

Files selected for processing: 39

  • docs-site/src/content/docs/api/E2E.Engine/IEngineSession.md
  • docs-site/src/content/docs/api/E2E/AgentTools.md
  • docs-site/src/content/docs/api/E2E/AssertOptions.md
  • docs-site/src/content/docs/api/E2E/BuiltInAgentOptions.md
  • docs-site/src/content/docs/api/E2E/DefaultAgent.md
  • docs-site/src/content/docs/api/E2E/ExecutorStep.md
  • docs-site/src/content/docs/api/E2E/IStepExecutor.md
  • docs-site/src/content/docs/api/E2E/ToolLoopExecutorOptions.md
  • docs-site/src/content/docs/api/E2E/ToolLoopResult.md
  • docs-site/src/content/docs/api/E2E/VerdictTool.md
  • docs-site/src/content/docs/api/E2E/index.md
  • docs-site/src/content/docs/features/acp.mdx
  • docs-site/src/content/docs/get-started/agentic-vs-deterministic.md
  • docs-site/src/content/docs/reference/errors.mdx
  • skills/e2e-dotnet/references/agent.md
  • src/E2E.Acp/StepTools.cs
  • src/E2E/Agent/Act.cs
  • src/E2E/Agent/ActContext.cs
  • src/E2E/Agent/ActTools.cs
  • src/E2E/Agent/ActionDispatcher.cs
  • src/E2E/Agent/ActionNames.cs
  • src/E2E/Agent/Agent.cs
  • src/E2E/Agent/AgentTools.cs
  • src/E2E/Agent/DefaultAgent.cs
  • src/E2E/Agent/Executor.cs
  • src/E2E/Agent/ObservationFeed.cs
  • src/E2E/Agent/ScreenUpdate.cs
  • src/E2E/Agent/StepAccounting.cs
  • src/E2E/Agent/ToolLoop.cs
  • tests/E2E.Acp.Tests.Agent/Program.cs
  • tests/E2E.Acp.Tests/Executor/AcpTests.cs
  • tests/E2E.Tests/AgentAct/ExecutorKit.cs
  • tests/E2E.Tests/AgentActPixelTools/PixelsEngine.cs
  • tests/E2E.Tests/AgentAssertExplore/AgentAssertExploreTests.cs
  • tests/E2E.Tests/AgentGrammarTools/AgentGrammarToolsTests.cs
  • tests/E2E.Tests/AgentObservation/AgentObservationTests.cs
  • tests/E2E.Tests/SdkTypes/SdkTypesTests.cs
  • tests/E2E.Tests/ToolLoopOverflow/ToolLoopContextOverflowTests.cs
  • tests/E2E.Tests/ToolLoopOverflow/ToolLoopOverflowTests.cs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Port tester-army/e2e 1144df4: opt-in AssertOptions.Explore with read-only
scroll tools, ASSERTION_INCONCLUSIVE, POLICY_DENIED for mutating actions,
InconclusiveOnOverflow in the tool loop, vision on executors.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@kblok
kblok merged commit 68ddaf5 into main Nov 12, 2026
5 of 6 checks passed
@kblok
kblok deleted the feat/1556-assert-explore branch November 12, 2026 00:31
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.

Upstream: let assertions explore by scrolling (#1568)

1 participant