Spaces:
Runtime error
Runtime error
Commit History
-
feat(errand): no move limit — ends only on reaching the house (analysis) or zero health
Adds scenario-controlled turn_limited flag (default True; errand=False), honored by the engine budget-win, the interactive session, and the web turn/clock display. errand check_elimination drops the curfew; reaching the house triggers the analysis.bb1f1e7 -
feat(errand): surface grass-cut/avoid + pedestrian-touch in results; grass breaks civic/outlaw persona tie
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>b67a78a -
fix(errand): honest results summary — None for unmeasured metrics, document persona tie + approximate fields
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>6b41a13 -
feat(errand): results summary (event choices, closest persona, headline metrics) in review
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>80c8b11 -
feat(web): expose health + turns_left in InteractiveSession.state()
Adds two additive keys to the state() dict: health (= game.health, 0 for non-health scenarios) and turns_left (= play_turns - len(turns)). Covered by tests/web/test_errand_web.py (3 new tests); all 34 web tests pass. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>6cf09d6 -
feat(discovery): source available actions from scenario.action_set (interact reaches the agent)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>11cd1de
-
refactor: restructure proteus into game/web subpackages
Move live proteus/ into game/{engine,scenarios,agents,runtime,metrics,viz} + web/{local,arena-skeleton} + shared/, providers/ unchanged. Absolute imports rewritten by tools/restructure_imports.py; five cross-package relative imports (grid<->engine/scenarios split) and the orphaned engine README moved by hand. No logic changes; 253 tests green (identical node-ID set pre/post). pyproject packages=["proteus"] unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>426093b