You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
apm compile --target claude silently skips dependency instructions without --local-only #631
apm compile --target claude silently produces no CLAUDE.md when compiling dependency instructions. The distributed optimizer reports Instruction Processing: 0.0ms and exits successfully without generating any output file. Adding --local-only fixes it.
Reproduction
mkdir test&&cdtest
apm init
apm install chkp-roniz/cc-rubber-duck --target claude
apm compile --target claude --verbose
Expected:CLAUDE.md is generated with the package's instruction content.
Actual: Compilation reports success but processes 0 instructions and writes no file:
This correctly finds the instruction in apm_modules/chkp-roniz/cc-rubber-duck/instructions/rubber-duck.instructions.md, runs the full optimizer, and generates CLAUDE.md:
--validate correctly finds the instruction (1 instructions), so the primitive is discoverable
The copilot and all targets exhibit the same 0-instruction behavior (without --local-only)
The package instruction has applyTo: "**/*" frontmatter
apm_modules/ is in the default exclusion list — the distributed optimizer may be applying this exclusion to dependency instruction scanning, while --local-only bypasses it
Activity
fix: include dependency instructions in claude compile without local-…
refactor: extract _scan_patterns helper; add CHANGELOG entry (microso…
fix: include dependency instructions in claude compile without local-…
refactor: extract _scan_patterns helper; add CHANGELOG entry (microso…
fix: include dependency instructions in claude compile without local-…
refactor: extract _scan_patterns helper; add CHANGELOG entry (#631)