test_pilot_large_preserved_docs.py
python
sha256:a78e7e5a8740e03315f325d19edeb3aa1b306b3337d04abbaa9a9e0f3bbeb7a1
docs: MuseHub-first before ISR #74 — staging solidify NEXT
Human
1 day ago
| 1 | """Stress: large preserved living docs under migrate (§K6.10).""" |
| 2 | |
| 3 | from __future__ import annotations |
| 4 | |
| 5 | from pathlib import Path |
| 6 | |
| 7 | from tests.support import PILOT, git_status_runner, muse_mirror_status_runner, run_cli, seed_pilot_tree |
| 8 | |
| 9 | |
| 10 | def test_large_preserved_docs_migrate_status_bounded(tmp_path: Path) -> None: |
| 11 | big = "# large\n" + ("x" * 200_000) + "\n" |
| 12 | seed_pilot_tree( |
| 13 | tmp_path, |
| 14 | handover_rel="docs/OVERSEER-HANDOVER.md", |
| 15 | handover_text=big, |
| 16 | roadmap_rel="docs/ROADMAP.md", |
| 17 | roadmap_text=big, |
| 18 | ) |
| 19 | runner = muse_mirror_status_runner(tmp_path) |
| 20 | assert ( |
| 21 | run_cli( |
| 22 | [ |
| 23 | "init", |
| 24 | "--migrate", |
| 25 | "--from-config", |
| 26 | str(PILOT / "config-scooling.yaml"), |
| 27 | "--non-interactive", |
| 28 | ], |
| 29 | cwd=tmp_path, |
| 30 | runner=runner, |
| 31 | ) |
| 32 | == 0 |
| 33 | ) |
| 34 | assert run_cli(["status", "--check-footprint"], cwd=tmp_path, runner=runner) == 0 |
| 35 | assert ( |
| 36 | tmp_path / "docs/OVERSEER-HANDOVER.md" |
| 37 | ).read_text(encoding="utf-8") == big |
File History
2 commits
sha256:a78e7e5a8740e03315f325d19edeb3aa1b306b3337d04abbaa9a9e0f3bbeb7a1
docs: MuseHub-first before ISR #74 — staging solidify NEXT
Human
1 day ago
sha256:4671b7f787ddbe63ced31c895b688c77ab495653b65a730b423329f26b3c1439
feat: K1-P1 complete — agent provenance, build-verification…
Sonnet 4.6
patch
53 days ago