Skip to content

fix(AC-333): verify discovery path returns correct scenario_type for all families#449

Merged
jayscambler merged 2 commits intomainfrom
fix/ac-333-discovery-scenario-type
Mar 18, 2026
Merged

fix(AC-333): verify discovery path returns correct scenario_type for all families#449
jayscambler merged 2 commits intomainfrom
fix/ac-333-discovery-scenario-type

Conversation

@jayscambler
Copy link
Contributor

Summary

Verifies that the in-repo discovery path (_build_scenario_info) returns the correct scenario_type for negotiation and all other families.

Finding

The in-repo code is already correct — _build_scenario_info uses family.scenario_type_marker which returns "negotiation" for negotiation scenarios. The L9 failure is in the external escalation_l9.py script which has a hardcoded allowlist instead of using get_valid_scenario_types().

Tests Added

  • Negotiation mock scenario → scenario_type="negotiation" from discovery path
  • All families' scenario_type_marker values are in get_valid_scenario_types()
  • Marker/name consistency check (catches drift)

Test plan

  • 3 verification tests, full suite 4396 passed

…all families

The in-repo discovery path already returns the correct scenario_type
for negotiation scenarios via family.scenario_type_marker. AC-333's
L9 failure is in the external escalation_l9.py which uses a hardcoded
allowlist instead of get_valid_scenario_types().

Added 3 verification tests:
- Negotiation scenario returns scenario_type="negotiation" from discovery
- All families' scenario_type_marker values are in get_valid_scenario_types()
- Marker/name consistency check (catches drift between family name and marker)
@linear
Copy link

linear bot commented Mar 18, 2026

@jayscambler jayscambler merged commit 65709f6 into main Mar 18, 2026
4 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