fix(recipes): Trace @mentions from bundle.md markdown body in validation recipe - #58
Merged
Brian Krabach (bkrabach) merged 1 commit intoFeb 3, 2026
Conversation
…ion recipe v1.1.0 only measured context.include files from behaviors, completely missing @mentions in bundle.md's markdown body and their cascading chains. This caused foundation bundle to report 11K tokens when the TRUE load was ~36K tokens. v1.2.0 fixes this by: - Extracting @mentions from bundle.md markdown instruction text - Recursively following @mention cascades (depth 3) - Proper deduplication so files are counted only once - New source_breakdown showing context_include vs bundle_markdown_mentions vs cascading Critical bug: ISSUE_HANDLING.md (11K tokens) was never detected because it's loaded via bundle.md → @common-system-base.md → @ISSUE_HANDLING.md chain. 🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier) Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
Brian Krabach (bkrabach)
deleted the
fix/recipe-bundle-markdown-mentions
branch
February 3, 2026 04:45
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.
Summary
context.includefiles, missing @mentions from bundle.md's markdown bodybundle.md → @common-system-base.md → @ISSUE_HANDLING.mdchain was never detectedChanges in v1.2.0
Test Results
Test plan
🤖 Generated with Amplifier