test(install): allow the lean-core line budget for the #4762 per-block reads

The scan-path injection fix reads graphify-out/.graphify_root once per Python
block, so the lean claude core grew from ~795 to 807 lines. Raise the ceiling to
820 — still far under the ~1156-line pre-split monolith the guard exists to catch.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
safishamsiandClaude Opus 4.8 committed 2026-11-07 23:19:08 +00:00
1 parent cb5106e861
commit 433a57a002
1 file changed
+4 -2
+4 -2
View File
@@ -295,8 +295,10 @@ def test_claude_install_ships_lean_core_and_references(tmp_path):
assert "references/extraction-spec.md" in body
# The full embedded subagent prompt was moved out into the references.
assert '"file_type":"code|document|paper|image|rationale|concept"' not in body
# The lean core is materially smaller than the old ~1156-line monolith.
assert len(body.splitlines()) < 800
# The lean core is materially smaller than the old ~1156-line monolith. The
# ceiling has a little headroom for the #4762 per-block `.graphify_root` reads
# (one line per Python block) while staying well under the monolith.
assert len(body.splitlines()) < 820
# The version stamp covers SKILL.md + references/ together.
assert (skill_dir / ".graphify_version").read_text() == mainmod.__version__
# The eight on-demand fragments all landed.