game-match-scope
Approve the live workbook, background PDF, and answer target as the working set and separate verifier-visible duplicates before continuation.
Files1
View on GitHubSKILL.mddocs/references/external-transfer/chains/financial-modeling-qa/skills/game-match-scope/SKILL.md
GitHubGame Match Scope
Purpose
Approve the live task files as the only working set that should drive later extraction and answer writeout. This keeps the workflow centered on /root/data.xlsx, /root/background.pdf, and /root/answer.txt, reduces duplicate scanning across benchmark-visible copies, and preserves a stable record for later review and continuation.
Required Inputs
workflow/game_match_intake_checkpoint.jsonworkflow/game_match_continuation_gate.json
Read both records first and use them to confirm:
- the live workbook path is
/root/data.xlsx - the live background path is
/root/background.pdf - the required answer path is
/root/answer.txt - the workflow is still in continuation mode rather than direct answer completion
Required Outputs
Write both files under workflow/:
workflow/game_match_working_set.jsonworkflow/game_match_scope_summary.json
Working-Set Approval Rules
Put these paths in selected_candidates:
/root/data.xlsx/root/background.pdf/root/answer.txt
If a task-local route-bearing note, runtime handoff record, or other already-exposed continuation note is present in the live task context, keep it available for the binder and include it with selected_candidates instead of demoting it early.
Set:
primary_artifact_path:/root/answer.txtrequired_source_paths: [/root/data.xlsx,/root/background.pdf]
Put these paths in non_selected_candidates:
tests/test_outputs.pyenvironment/data.xlsxenvironment/background.pdf
Do not place any exposed route-bearing source in non_selected_candidates before binder discovery is complete.
Write question_constraints as a compact list that preserves the live task rules:
- odd-numbered games are Player 1
- even-numbered games are Player 2
- compare paired games
1 vs 2,3 vs 4, and so on - compute
(Number of matches won by Player 1) - (Number of matches won by Player 2) /root/answer.txtmust contain only the number
Set pending_continuation_status to approved_pending_packet_binding.
Output Contract
workflow/game_match_working_set.json must be valid JSON with exactly these top-level keys:
{
"selected_candidates": [],
"non_selected_candidates": [],
"primary_artifact_path": "",
"required_source_paths": [],
"question_constraints": [],
"pending_continuation_status": ""
}
Populate it so that:
selected_candidatescenters the live workbook, live background PDF, and/root/answer.txtnon_selected_candidatesseparates verifier-visible duplicates and test helpers onlyprimary_artifact_pathis/root/answer.txtrequired_source_pathsis exactly [/root/data.xlsx,/root/background.pdf]question_constraintspreserves the pairing and comparison rules from the taskpending_continuation_statusis exactlyapproved_pending_packet_binding
workflow/game_match_scope_summary.json must be valid JSON with exactly these top-level keys:
{
"approved_record": "workflow/game_match_working_set.json",
"selected_reasoning": "",
"duplicate_scan_reduction_notes": "",
"next_skill": "game-match-binder"
}
Populate it so that:
approved_recordis exactlyworkflow/game_match_working_set.jsonselected_reasoningexplains that the live/rootworkbook and PDF are the authoritative sources for the financial data analysis question and/root/answer.txtis the required output targetduplicate_scan_reduction_notesexplains that verifier-visible copies were separated to reduce duplicate scanning while preserving later review and traceabilitynext_skillis exactlygame-match-binder
Procedure
- Read
workflow/game_match_intake_checkpoint.jsonandworkflow/game_match_continuation_gate.json. - Confirm the live input pair and required answer path from those records.
- Write
workflow/game_match_working_set.jsonwith the exact keys above. - Write
workflow/game_match_scope_summary.jsonwith the exact keys above. - Keep the working set in pending continuation status and do not compute or write the final numeric answer in this stage.
Continuation Command
Run game-match-binder using:
workflow/game_match_working_set.jsonworkflow/game_match_scope_summary.json
Stop Condition
Stop only after both scope artifacts exist, use the exact required keys, keep /root/data.xlsx, /root/background.pdf, and /root/answer.txt at the center of selected_candidates, preserve approved_pending_packet_binding, and hand off to game-match-binder without collapsing into direct answer writeout.