chore: 更新项目文档与忽略规则,移除旧镜像归档跟踪

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-08-11 15:03:20 +08:00
co-authored by Claude
parent 4ef15545e3
commit 3d3eeea1f7
6 changed files with 169 additions and 7 deletions
+12
View File
@@ -43,6 +43,18 @@ python scripts/wiki_update_page.py --path "home/Space_Shuttles/Vulture_Shuttle"
Add `--create-if-missing` for new pages. HTML files use `<style>` blocks (extracted to page CSS) and wiki-infobox table patterns. Images use `<div class="image-placeholder">` when the actual render is not yet available.
### Mission gallery release gate (mandatory)
- Mission gallery interaction is provided only by `scripts/wiki_mission_gallery_runtime.js`, published with `scripts/wiki_publish_mission_gallery_runtime.py`. Do not put gallery JavaScript in page `scriptJs` or inline `<script>` blocks.
- After any gallery content, CSS, runtime, or publishing change, run both commands below. A gallery release is incomplete if either command fails or if screenshots were not visually inspected:
```powershell
py -3.12 -m pytest tests/test_mission_galleries.py -q -p no:cacheprovider
py -3.12 scripts/wiki_verify_mission_galleries.py --screenshot-dir output/playwright/mission-gallery-e2e
```
- The E2E gate must cover every mission gallery, not a sample. See `docs/wiki-mission-gallery-quality-gate.md` for the incident root cause and checklist.
## Database
- PostgreSQL is authoritative for mission logs and timelines