- Introduced a coin economy where NPCs earn coins for productive actions (gathering, building, slaying beasts).
- Builders can now repair damaged homes, prioritizing base defense over new constructions.
- Newborn NPCs inherit their parents' nation and model connector, ensuring balanced role distribution.
- Updated survival prompts to reflect new survival priorities and rules based on NPC roles (ruler, guard, builder, gatherer).
- Added regression tests to validate the new economic and lifecycle behaviors.
Refactor survival prompt to provide a readable mission briefing
- Introduced _parse_briefing function to extract structured facts from the briefing text.
- Updated make_fake_completer to utilize the new briefing format instead of raw JSON.
- Modified _build_survival_messages to generate a plain-language briefing for NPCs.
- Adjusted tests to validate the new briefing format, ensuring it includes necessary information while excluding raw JSON data.
- Enhanced clarity of survival directives and actions within the briefing.
Merge branch 'main' of https://github.com/DeltaZN/god_simulator
fix(hf): serve lobby at root, ship built frontend, honor proxy headers
DeltaZN
6c64b04
- Mount the Gradio lobby at / and remove the /connect redirect (the
https->http redirect downgrade behind HF's proxy caused a white screen).
- Add ProxyHeadersMiddleware so the app trusts X-Forwarded-Proto from HF's
TLS-terminating proxy instead of emitting http:// absolute redirects.
- Build the React SPA with base /world/ so its assets live under /world/assets
(served by the /world catch-all), freeing /assets for the lobby's own bundle.
- Commit dist/frontend so the Space (which does not run npm build) can serve
the /world observer; un-ignore dist/frontend accordingly.