Skip to content

refactor: type navigation pattern context - #1084

Merged
chubes4 merged 1 commit into
trunkfrom
refactor/typed-navigation-context
Aug 23, 2026
Merged

refactor: type navigation pattern context#1084
chubes4 merged 1 commit into
trunkfrom
refactor/typed-navigation-context

Conversation

@chubes4

@chubes4 chubes4 commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • move Navigation-only evidence and policy callbacks into typed NavigationPatternContext
  • replace five mixed fields and five callback getters in generic PatternContext with one typed dependency
  • preserve separate normal, runtime-DOM-restricted, and probe context composition

This is the next bounded PatternContext simplification slice from #242. It establishes an explicit Navigation seam without rewriting Navigation's behavior-dense lowering internals.

Stability proof

  • 31 brand-anchor hoist assertions
  • 41 brand-cue carrier assertions
  • 12 staged-dispatch and probe assertions
  • reused-transformer session parity
  • full canonical and parity suites

Verification

  • composer test
  • 280 parity fixtures
  • package install proof

AI assistance

OpenAI GPT-5.6 Sol via OpenCode was used to trace Navigation-only dependencies, introduce the typed context boundary, preserve normal/restricted/probe policy composition, and run verification. Chris Huber is responsible for every line.

@chubes4
chubes4 merged commit 4996abb into trunk Aug 23, 2026
4 checks passed
@chubes4
chubes4 deleted the refactor/typed-navigation-context branch August 23, 2026 03:38
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