---
title: Scope every game path seat to its current context
type: task
status: completed
description: >-
  Compile each measure's producing conditions into the one admission source, scope the defense, head
  coach, kicker and special teams to their current context, and detect caller, starting quarterback
  and group changes, in-game included.
base_uri: user:task/league/scope-game-path-seats-to-current-context.md
created_at: '2026-11-03T16:34:43.523Z'
entity_id: 7dff58de-864f-4a82-9e36-818bba59319a
finished_at: '2026-11-04T02:21:31.068Z'
observations:
  - ████████████████████████████████████████████████
  - ████████████████████████████████████████████████
  - ████████████████████████████████████████████████
  - ████████████████████████████████████████████████
  - ████████████████████████████████████████████████
  - ████████████████████████████████████████████████
owner_identity_uri: █████████████████████████
priority: High
public_read: true
relations:
  - subtask_of [[user:task/league/build-game-path-owner-profile-foundation.md]]
  - blocked_by [[user:task/league/build-game-path-engine-stage-modules-and-streams.md]]
started_at: '2026-11-03T20:52:20.395Z'
tags:
  - user:tag/league-xo-football.md
  - user:tag/nfl-betting.md
updated_at: '2026-11-04T02:21:34.873Z'
visibility_analyzed_at: '2026-11-05T23:50:20.293Z'
---

# Scope every game path seat to its current context

A phase of [[user:task/league/build-game-path-owner-profile-foundation.md]], which holds the overview, background, design, assumptions and notes this plan relies on; read its Design and Notes first. Paths are relative to `repository/active/league/` unless they start with a user-base directory.

## Plan

### Seats and context

- [x] **One admission source; every seat in its current context**
  - File: `libs-server/nfl-game-path-simulation/build-game-path-pool.mjs`, `build-game-path-context.mjs`, `audit-game-path-context-admissions.mjs`; `libs-server/game-sample/resolve-game-regime.mjs`
  - Purpose: the registry's producing conditions become the only admission definition, and each seat reads its current context.
  - Changes: compile producing conditions into the game-sample documents; replace `GAME_PATH_ADMISSION_SEATS` and `GAME_PATH_QUARTERBACK_ADMISSION_SEATS`; defense, head coach and kicker follow their measures in the target season; special teams admit per seat; a thin backup quarterback refuses; the audit reads the registry.
  - Verify: an independent query over each run's admitted esbids, joined to `nfl_game_coaches` and the starting quarterback from `resolve-game-regime`, finds no game outside its seat's context; replay gate; forward comparison at both seeds.

- [x] **Context-break detection**
  - File: `libs-shared/nfl-game-path-profiles/detect-owner-context-breaks.mjs` (new), `libs-server/nfl-game-path-simulation/load-game-path-quarterback-changes.mjs`, the runner
  - Purpose: a new caller, starting quarterback or group membership starts a fresh context; an in-game quarterback change applies in forecasts.
  - Changes: reuse `resolve-game-regime` for callers and starting quarterback; detect group membership changes from charted roles; forecasts apply a quarterback change the way reviews do.
  - Verify: week 8's benched starters each start a fresh quarterback context; a caller change in 2026 is detected; BAL @ BUF week 8 shows the change applied.
