-
Notifications
You must be signed in to change notification settings - Fork 0
fix(qa): #1036 — structural_completeness WARN (not FATAL-cap) for authored campaigns #1037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
qa/gate_corpus/cases/structural_completeness_authored_warn/run.jsonl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| {"type": "assistant", "message": {"content": [{"type": "tool_use", "id": "t_roll", "name": "mcp__engine__roll", "input": {"sides": 20}}]}} | ||
| {"type": "user", "message": {"content": [{"type": "tool_result", "tool_use_id": "t_roll", "content": [{"type": "text", "text": "{\"total\": 14}"}], "is_error": false}]}} | ||
| {"type": "assistant", "message": {"content": [{"type": "tool_use", "id": "t_adv", "name": "mcp__engine__start_adventure", "input": {"adventure_id": "embergloom-pact"}}]}} | ||
| {"type": "assistant", "message": {"content": [{"type": "tool_use", "id": "t_camp", "name": "mcp__engine__camp_scene", "input": {}}]}} | ||
| {"type": "user", "message": {"content": [{"type": "tool_result", "tool_use_id": "t_camp", "content": [{"type": "text", "text": "{\"ok\": true}"}], "is_error": false}]}} | ||
| {"type": "assistant", "message": {"content": [{"type": "text", "text": "The scene unfolds, beat 0."}]}} | ||
| {"type": "assistant", "message": {"content": [{"type": "text", "text": "The scene unfolds, beat 1."}]}} | ||
| {"type": "assistant", "message": {"content": [{"type": "text", "text": "The scene unfolds, beat 2."}]}} | ||
| {"type": "assistant", "message": {"content": [{"type": "text", "text": "The scene unfolds, beat 3."}]}} | ||
| {"type": "assistant", "message": {"content": [{"type": "text", "text": "The scene unfolds, beat 4."}]}} | ||
| {"type": "assistant", "message": {"content": [{"type": "text", "text": "The scene unfolds, beat 5."}]}} | ||
| {"type": "assistant", "message": {"content": [{"type": "text", "text": "The scene unfolds, beat 6."}]}} | ||
| {"type": "assistant", "message": {"content": [{"type": "text", "text": "The scene unfolds, beat 7."}]}} | ||
| {"type": "assistant", "message": {"content": [{"type": "text", "text": "The scene unfolds, beat 8."}]}} | ||
| {"type": "assistant", "message": {"content": [{"type": "text", "text": "The scene unfolds, beat 9."}]}} | ||
| {"type": "assistant", "message": {"content": [{"type": "text", "text": "The scene unfolds, beat 10."}]}} | ||
| {"type": "assistant", "message": {"content": [{"type": "text", "text": "The scene unfolds, beat 11."}]}} |
53 changes: 53 additions & 0 deletions
53
qa/gate_corpus/cases/structural_completeness_authored_warn/state.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| { | ||
| "party": [ | ||
| "pc1", | ||
| "cmp1" | ||
| ], | ||
| "leveling_mode": "xp", | ||
| "day": 2, | ||
| "time_of_day": "evening", | ||
| "current_location_id": "loc_camp", | ||
| "characters": { | ||
| "pc1": { | ||
| "name": "Dal", | ||
| "kind": "player", | ||
| "xp": 300, | ||
| "location_id": "loc_camp" | ||
| }, | ||
| "cmp1": { | ||
| "name": "Brother Toll", | ||
| "kind": "companion", | ||
| "attitude_value": 0, | ||
| "location_id": "loc_camp", | ||
| "xp": 300 | ||
| } | ||
| }, | ||
| "locations": { | ||
| "loc_start": { | ||
| "name": "Tavern", | ||
| "visited": true | ||
| }, | ||
| "loc_camp": { | ||
| "name": "Camp", | ||
| "visited": true | ||
| } | ||
| }, | ||
| "scenes": [ | ||
| { | ||
| "id": "s1", | ||
| "name": "The Embergloom Gate", | ||
| "location_id": "loc_start" | ||
| } | ||
| ], | ||
| "quests": { | ||
| "q1": { | ||
| "id": "q1", | ||
| "title": "The Embergloom Pact", | ||
| "status": "active", | ||
| "objectives": [ | ||
| "free the prisoners" | ||
| ], | ||
| "completed_objectives": [] | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For resumed authored campaigns,
state["scenes"]remains true but the current transcript may not include the earlieradd_questcall that created an active side quest. In that casedm_added_questis false, so this line demotesunresolved_arcto a WARN for every active quest in the state, even when the open quest was a DM-created thread from a prior session rather than the hook-seeded campaign arc. That creates a false-green on the exact dropped-thread scenario the comment says should remain fatal; the demotion needs to verify the open quest is the single seeded hook (or otherwise track quest provenance), not just rely on this run’s tool counts.Useful? React with 👍 / 👎.