make sure @apps/tfc/backend/seeds/silent_wake.json is compliant with and uses all engine…
- User
make sure @apps/tfc/backend/seeds/silent_wake.json is compliant with and uses all engine capacities of simple collaborative mode
Assistant
Let me read the AGENTS.md before making changes.
Assistant
Now I have a complete picture. Let me analyze the gaps and make the edits. Here's what the seed is missing relative to the engine's full capacity:
rules— empty (should have ROE/exercise rules)score_tier_thresholds— missing (needed for Lo/Mid/Hi scoring)turns— empty (TurnDefinition provides facilitator prompts, structured grouping)targets_system— nevertrue(SWB10, SWB14, SWB15, SWB16 target systems)max_plays— never > 1 (SWB07/SWB08 can be repeated per different components)- More
system_effects— General Quarters, Reboot, Isolate, Reconnect missing effects - Event
dependencies— causal chains not expressed - Event
duration_ms— repair/reboot events have natural durations - Event
target_roles— all empty (some events are role-specific per the game mechanics)
Let me apply all the fixes.
Assistant
Now add
score_tier_thresholdsat the end of the content object, just before the closinginitial_system_states.Assistant
Now add the
turnsarray afterdecision_sequence.Assistant
Now let me re-read the decision templates to make targeted edits for
targets_system,max_plays, andsystem_effects. I need to find the exact strings for each option that needs changes.Assistant
Good, now I can see all the decision templates. Let me make the targeted edits for
targets_system,max_plays, andsystem_effectsin batches.Assistant
Now add
targets_system+system_effectsto Turn 7 SWB14 (Reboot — triggers AAW radar to yellow/rebooting):Assistant
Turn 8 SWB14 (Reboot — restores AAW radar):
Assistant
Turn 11 SWB10 (Isolate — already has system_effects, add targets_system):
Assistant
Turn 13 SWB10 (Isolate AAW — power_state false, restores surface tracking):
Assistant
Turn 14 SWB16 (Reconnect — restores AAW radar):
Assistant
Now add
system_effectsto Turn 6 SWB20 (General Quarters — turns on all weapons/EW):Assistant
Now add
max_plays: 2on SWB07 and SWB08 (investigation cards that can be repeated per different components). Per the game mechanics doc, these are the only cards that can be repeated in the same turn targeting different components.Assistant
Now add event
dependencies,duration_ms, andtarget_rolesto relevant events. Let me re-read the events section to make precise edits.Assistant
I'll apply
dependencies,duration_ms, andtarget_rolesto the events. Events 2-15 each depend on the previous event. Key events with duration: evt-t3 (repair 5 min = 300000ms), evt-t7 (reboot). Events with role-specific targeting: evt-t2 (nav, pwo), evt-t3 (eo, nav), evt-t7 (aawo), evt-t8 (aawo, eo).Let me make these edits. I'll start with evt-t2 through the chain:
Assistant
Now let me read the remaining events and add dependencies, target_roles, and duration_ms where appropriate.
Assistant
Now I'll apply dependencies and target_roles to evt-t4 through evt-t15. Let me batch these edits efficiently.
Assistant
Now let me validate the JSON is well-formed and passes the Pydantic schema validation.
Assistant
Now let me validate against the Pydantic model.
Assistant
Pydantic validation passed. Let me also run a deeper check to make sure all cross-references are valid.
Assistant
All 20 engine capacities now show ✓.
Assistant
All done. Here's a summary of what was added to exercise all simple collaborative mode engine capacities:
New top-level fields:
rules(7 items) — ROE, blue card selection rules, investigation card rules, scoring display policyscore_tier_thresholds—{"lo": 0.33, "mid": 0.66}for Lo/Mid/Hi end-of-exercise scoringturns(15 entries) — structured turn definitions withfacilitator_prompt,inject_ids,decision_template_id, andbase_stress_delta
Decision option enhancements:
targets_system: trueon SWB10 (Isolate), SWB14 (Reboot), SWB15 (Repair), SWB16 (Reconnect)max_plays: 2on SWB07 and SWB08 (investigation cards repeatable per different components)system_effectsadded to: SWB20 General Quarters (EW suite on), SWB14 turns 7/8 (AAW radar yellow/green), SWB10 turn 13 (AAW radar off+red), SWB16 turn 14 (AAW radar on+yellow)