Skip to content

Add opt-in Decision mode for crossword automation - #3223

Merged
Hillary Mutisya (hillary-mutisya) merged 2 commits into
mainfrom
dev/hillarym/crosswordDecision
Oct 25, 2026
Merged

Hillary Mutisya (hillary-mutisya) merged 2 commits into
mainfrom
dev/hillarym/crosswordDecision

Conversation

@hillary-mutisya

Copy link
Copy Markdown
Collaborator

Summary

Add on-demand crossword automation using native Decision models as an alternative to generating a complete page schema. Users can select Decision in the extension’s crossword-mode setting; Generative remains the default.

Changes

  • Add native Azure and Copilot Decision clients with typed configuration, response validation, cancellation and request deadlines.
  • Discover visible crossword regions and select clues from bounded candidates, with token-aware batching and smaller-batch recovery for Azure 422 responses.
  • Connect Decision mode through the browser agent, extension and frame-routing layers.
  • Support enterText with verified grid writes and getClue with literal clue-body selection only when requested.
  • Cache discovered regions and resolved clues, reuse cached body reads without additional model calls, and invalidate cached state when puzzle content changes.
  • Add self-contained licensed fixtures, explicit test dependencies, automated coverage and documented setup commands.

Validation performed

  • Full repository build passed.
  • 1,038 targeted tests passed across the Decision client, configuration, browser and extension surfaces, including offline Chromium coverage.
  • Live installed-extension scenarios passed
    • Six independently verified grid entries.
    • Six exact clue-body reads.
    • Six repeated reads with zero additional model calls.

Add native Azure and Copilot Decision clients with typed provider configuration, validated answers, cancellation, deadlines and request accounting.

Wire opt-in crossword Decision mode through browser RPC and extension frame routing. Discover visible clue regions, cache selections, extract literal clue bodies on demand, and invalidate cached puzzles using clue sentinels. Support verified clue entry while keeping Generative mode as the default.

Add unit, transport and browser integration tests with self-contained licensed fixtures, explicit test dependencies and documented setup commands.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@hillary-mutisya
Hillary Mutisya (hillary-mutisya) merged commit 8b92819 into main Oct 25, 2026
30 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