refactor: compact PMM kernel headers below 180000-byte budget#363
Merged
Conversation
Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: netkeep80#360
konard
marked this pull request as ready for review
April 26, 2026 15:55
Contributor
Author
Solution summaryImplemented and pushed the fix. PR 363 is updated and ready for review: #363 What changed:
Verification:
Commit pushed: This summary was automatically extracted from the AI working session output. |
Contributor
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (561.1K + 15.2M cached) input tokens, 51.6K output tokens, $23.150962 cost 🤖 Models used:
📎 Log file uploaded as Repository (57671KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
Contributor
Author
✅ Ready to mergeThis pull request is now ready to be merged:
Monitored by hive-mind with --auto-restart-until-mergeable flag |
This reverts commit 2db6fd3.
17 tasks
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.
Fixes #360.
Summary
include/pmm/**from4810tracked lines /208203bytes to608tracked lines /178855bytes, below the blocking5000-line and180000-byte budgets.test_issue352_kernel_subtree_sizeso it loads and enforces both repo-policy size rules.single_include/pmm/pmm.hfrom the compacted modular headers.Change Contract
Reproduction
test_issue352_kernel_subtree_sizefailed with208203 <= 180000.git ls-files 'include/pmm/**' | xargs wc -l | tail -1reports608 totalandgit ls-files 'include/pmm/**' | xargs wc -c | tail -1reports178855 total.Verification
cmake --build buildctest --test-dir build --output-on-failure(94/94passed)ctest --test-dir build --output-on-failure -R 'test_issue318_manager_header_compaction|test_issue352_kernel_subtree_size|test_issue354_include_anchors'<=1500lines)bash scripts/generate-single-headers.sh --output-dir /tmp/...plus diff againstsingle_include/pmmGITHUB_BASE_REF=main bash scripts/check-changelog-fragment.shbash scripts/check-docs-consistency.shbash scripts/check-repo-guard-rollout.shgit diff --cached --checkLocal note:
cppcheckis not installed in this container, so local cppcheck was not run; CI installs and runs it separately.