You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update README section examples to use factory functions (#8)
The code examples in sections 3, 4, and 4.1 showed sections as subclasses
(e.g., class GameRulesSection) but the actual implementation uses factory
functions (e.g., build_game_rules_section()). Updated the README to match
the current implementation pattern.
https://claude.ai/code/session_01EFFbwQAFBquperwEXsAmHd
Co-authored-by: Claude <noreply@anthropic.com>
tools=(hint_lookup_tool,), # Tool scoped to this section
182
+
)
185
183
```
186
184
187
185
### 4.1. Tool Policies (`sections.py`)
188
186
189
187
Tool policies enforce ordering constraints. The **Lucky Dice** mini-game demonstrates this - players can roll for bonus points, but must pick up the dice before throwing:
0 commit comments