Files
wehub-resource-sync aa1a5d5763
CI / Release hygiene (push) Has been cancelled
CI / Python targeted tests (push) Has been cancelled
CI / Frontend build (push) Has been cancelled
Pages / Build and deploy public pages (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:18:17 +08:00

42 lines
947 B
ReStructuredText

参与贡献
========
从常规本地路径开始:
.. code-block:: bash
git clone https://github.com/XiaoLuoLYG/GOD.git
cd GOD
./scripts/god.sh start
提交 PR 前
----------
运行与改动相关的检查:
.. code-block:: bash
git diff --check
npm run build --prefix agentsociety/frontend
cd agentsociety
uv run pytest -q packages/agentsociety2/tests/test_god_setup_router.py \
packages/agentsociety2/tests/test_map_packages.py \
packages/agentsociety2/tests/test_pixel_town_social_env.py
地图包改动:
.. code-block:: bash
cd agentsociety
uv run python scripts/validate_map_package.py custom/maps/<map_id>
产物边界
--------
不要把运行数据提交到公开 PR。不要 stage ``.god/``、``.live/``、``.superpowers/``、``.DS_Store``、生成地图输出或生成测试 sprite。
更多细节
--------
见仓库根目录的 ``CONTRIBUTING.md````CONTRIBUTING.zh-CN.md``。