Repository navigation
chore: standardize environment and establish kickoff baseline - #4
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR synchronizes the team’s post-PR3 integration baseline onto mainline by standardizing the Python environment/dependencies, making scenario validation strict/consistent (Pydantic v2 as a declared requirement), tightening CI to run the offline/integration-boundary suite, and adding a management documentation baseline (requirements/defects/runs/schema change log).
Changes:
- Standardize dependencies and reproducibility boundaries (Python range, Pydantic v2 required, pinned
test/fullextras, CI installs.[test]and runspytest). - Fix the CommunitySpace contract fixture so replay artifacts are guaranteed to stay inside the temp directory workspace structure.
- Add/refresh management docs and collaboration/PR process templates to enforce requirement/task linkage and evidence boundaries.
Reviewed changes
Copilot reviewed 20 out of 22 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
pyproject.toml |
Declares Python compatibility, makes Pydantic v2 a base dependency, adds test/full pinned extras, and sets pytest warning filters. |
.github/workflows/ci.yml |
Switches CI to install .[test] and run the offline/integration-boundary test suite. |
README.md |
Updates setup/install instructions to match the new dependency model and test extras, clarifies AS 2.8.2 workflow. |
afi/world/scenario.py |
Removes “optional Pydantic” behavior and enforces declared Pydantic v2 validation path for scenario YAML. |
tests/test_awi_and_envs.py |
Updates scenario validation test to require strict Pydantic validation (no conditional skips). |
tests/test_tool_contract_audit.py |
Nests CommunitySpace workspace to prevent replay output escaping temp directories; adds replay assertion; restores from nested workspace. |
afi/backend/as_requirements.md |
Updates backend patch status to reflect reinstall-safe migration to custom/envs. |
.gitignore |
Ignores .venv/ and external/ local upstream checkouts. |
.github/pull_request_template.md |
Adds required management linkage (Requirement/Defect IDs), evidence boundary fields, and schema-change checklist items. |
docs/management/README.md |
New management entrypoint defining governance rules and PR minimum requirements. |
docs/management/requirement-audit-matrix.md |
Adds the 95-item requirement audit matrix baseline. |
docs/management/defect-board.md |
Adds the P0–P3 defect/task board baseline. |
docs/management/run-registry.md |
Adds run registry schema and initial entries/boundaries. |
docs/management/schema-api-change-log.md |
Adds a schema/API/metric change log with change IDs and rules. |
docs/collaboration-guide.md |
Updates collaboration flow to point to management entrypoint and new install/test extras. |
CONTRIBUTING.md |
Updates contributor guidance to match new management entrypoint and strict Pydantic/test baseline. |
docs/0807收尾/* |
Adds the 2026-08-07 baseline design/plan summaries and PR3 integration summary docs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+29
to
+32
| [tool.pytest.ini_options] | ||
| filterwarnings = [ | ||
| "ignore:invalid escape sequence.*:SyntaxWarning", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目标
把 PR3 后的本地集成结果、统一开发环境和正式开工管理基线同步到团队主线。
主要变更
pyproject.toml的依赖口径。uv.lock,保留本地源码调试边界。验证
TMPDIR=/tmp .venv/bin/python -m pytest tests/ -q121 passed in 6.70steam/main,无冲突。证据边界
runs/在缺少统一 manifest 前保持pending_review,不进入正式统计。