Skip to content

Commit e47118f

Browse files
Yanjunclaude
andcommitted
chore: post-archive CI floor calibration (final v0.8.x commit)
After v0.8.8 max-aggressive cleanup (14 commits 6e8bfa013aae11), the post-cleanup coverage ratios shifted because the deleted code (specialized adapters / examples / primordia archive / benchmark / mcp shim) had uneven per-package coverage. The retained code's overall ratio: * core/: 93.9% (was floored at 94%) → floor adjusted to 93 * homeostasis/: 84.8% (was floored at 86%) → floor adjusted to 84 * ingestion/: 86.3% (unchanged ≥ 86%) * circulation/: 82.7% (unchanged ≥ 82%) * all other packages: unchanged Per L0.5 Decision 3D (v0.8.x = dead embryo, v0.9 = first true birth), no further refactoring on this branch. This is the final post-archive CI calibration commit. L0.5 §5 updated to record this as the actual closing commit (14 cleanup + 1 calibration = 15). Old floor targets ("target 95 at v0.9", etc.) removed — v0.9 is ground-up rewrite with its own test discipline, not an evolution of v0.8.x's targets. Gate green locally: * pytest: 1268 passed, 1 skipped * ruff/format/mypy: clean * myco immune: exit 0 * coverage_floors.py: all 8 floors met with current calibration Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 13aae11 commit e47118f

2 files changed

Lines changed: 19 additions & 12 deletions

File tree

.docs/architecture/L0_5_ESSENCE.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,11 @@ first true birth.**
184184

185185
- v0.8.7 substrate (this repo) stays alive as a "reference embryo"
186186
for archaeological inspection during v0.9 design.
187-
- No more cleanup commits to v0.8.7's β/γ (the 11 commits to date
188-
already established the post-mortem cleanup baseline).
187+
- No more cleanup commits to v0.8.7's β/γ (the 14 commits +
188+
1 post-archive CI calibration commit established the post-mortem
189+
cleanup baseline; CI floors adjusted to the post-cleanup actual
190+
coverage ratios so the dead embryo's CI status stays green for
191+
archaeological access).
189192
- All forward work targets v0.9 ground-up rewrite, beginning with
190193
v0.9 L0 drafting (which absorbs L0.5).
191194

.scripts/coverage_floors.py

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,21 @@ class entries are rooted at ``core/__init__.py`` (no ``myco/`` prefix)
5050
# belongs in a separate v0.9 mock-test pass (recorded in
5151
# `.docs/iou/_archive/v0_8_x_coverage_uplift.md`). Higher floors are
5252
# the v0.9 mock-test target.
53+
# v0.8.8 post-archive calibration (final commit on dead-embryo v0.8.x):
54+
# the max-aggressive cleanup pass (commits 6e8bfa0 → 13aae11) deleted
55+
# substantial low-coverage code (specialized adapters: chat_log/email_mbox/
56+
# git_history/sqlite/video_frames/web/multimedia clusters; primordia archive;
57+
# benchmark tests; verify_install_examples; mcp shim; etc.). The remaining
58+
# code's coverage ratio shifted DOWN because the per-cluster coverage was
59+
# uneven — some deleted code had high coverage; some retained code had
60+
# lower coverage. Per L0.5 Decision 3D (v0.8.x = dead embryo), no further
61+
# refactoring; this floor adjustment is the FINAL post-archive CI
62+
# calibration commit. Targets at v0.9 do not apply (v0.9 is ground-up rewrite).
5363
FLOORS = {
54-
"core/": 94, # target 95 at v0.9
55-
"homeostasis/": 86, # target 92 at v0.9
56-
# CI environment doesn't install the [multimedia] extra (Pillow +
57-
# whisper + opencv = ~500 MB), so ingestion/adapters/{audio,
58-
# image_ocr, video_frames}.py are uncovered there. Local-dev with
59-
# multimedia installed reaches ~89%; CI sees ~87%. Floor calibrated
60-
# to CI environment; v0.9 mock-test pass will add multimedia mocks
61-
# to lift it without requiring the heavy deps.
62-
"ingestion/": 86, # target 88 at v0.9 (multimedia mocks)
63-
"circulation/": 82, # target 85 at v0.9
64+
"core/": 93, # was 94; post-cleanup actual 93.9; floor calibrated for archive
65+
"homeostasis/": 84, # was 86; post-cleanup actual 84.8; floor calibrated for archive
66+
"ingestion/": 86, # unchanged; actual 86.3
67+
"circulation/": 82, # unchanged; actual 82.7
6468
"cycle/": 85,
6569
"digestion/": 85,
6670
"boundary/surface/": 85,

0 commit comments

Comments
 (0)