Skip to content

[docs] Update documentation for features from 2026-04-11#674

Open
danielmeppiel wants to merge 1 commit intomainfrom
docs/update-compilation-dep-layout-2026-04-11-cc2dbe64b634072e
Open

[docs] Update documentation for features from 2026-04-11#674
danielmeppiel wants to merge 1 commit intomainfrom
docs/update-compilation-dep-layout-2026-04-11-cc2dbe64b634072e

Conversation

@danielmeppiel
Copy link
Copy Markdown
Collaborator

Documentation Updates - 2026-04-11

This PR updates the documentation based on changes merged in the last 24 hours.

Features Documented

Changes Made

  • Updated docs/src/content/docs/guides/compilation.md — clarified "How It Works" step 2 to explicitly state that each installed package is scanned for primitives in both .apm/instructions/ and .github/instructions/ (and equivalent subdirs)

Merged PRs Referenced

Notes

The change is a one-line documentation clarification. No new features were added; the underlying fix was behavioral (bug fix). Package authors who store instructions under .github/instructions/ in their packages can now rely on those instructions being picked up by apm compile with dependencies, and the docs now reflect this.

Generated by Daily Documentation Updater ·

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/daily-doc-updater.md@b87234850bf9664d198f28a02df0f937d0447295
  • expires on Apr 13, 2026, 3:39 AM UTC

… .github/ layouts during compile

Update the compilation guide's 'How It Works' section to explicitly
document that apm compile scans each installed package for primitives
in both .apm/instructions/ and .github/instructions/ (and other subdirs),
so package authors know both layouts are supported.

Triggered by #642 fix: apm compile --target claude was silently skipping
dependency instructions stored in .github/instructions/ before this PR.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@danielmeppiel danielmeppiel added automation documentation Improvements or additions to documentation labels Apr 11, 2026
Copilot AI review requested due to automatic review settings April 11, 2026 03:39
@danielmeppiel danielmeppiel added documentation Improvements or additions to documentation automation labels Apr 11, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the compilation guide to reflect the recent fix that apm compile discovers dependency-provided instructions stored under either .apm/ or .github/ layouts when scanning apm_modules/.

Changes:

  • Clarifies that dependency packages are scanned for primitives under both .apm/ and .github/ directory layouts during compile-time dependency merging.
Show a summary per file
File Description
docs/src/content/docs/guides/compilation.md Updates the “How It Works” section to explicitly mention scanning dependency packages for both .apm/ and .github/ instruction layouts.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1


1. **Primitives Discovery**: Scans `.apm/` and `.github/` directories for instructions, prompts, and agents
2. **Dependency Merging**: Incorporates primitives from installed packages in `apm_modules/`
2. **Dependency Merging**: Incorporates primitives from installed packages in `apm_modules/`; each package is scanned for both `.apm/` and `.github/` layouts (e.g. `.apm/instructions/` and `.github/instructions/` are both discovered)
Copy link

Copilot AI Apr 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This step says "Incorporates primitives" but this page later notes that apm compile outputs (and therefore effectively merges) instructions only (prompts/agents are handled by apm install). To avoid confusion, consider changing "primitives" here to "instructions" (or "instruction primitives") while keeping the .apm/ vs .github/ layout clarification.

Suggested change
2. **Dependency Merging**: Incorporates primitives from installed packages in `apm_modules/`; each package is scanned for both `.apm/` and `.github/` layouts (e.g. `.apm/instructions/` and `.github/instructions/` are both discovered)
2. **Dependency Merging**: Incorporates instructions from installed packages in `apm_modules/`; each package is scanned for both `.apm/` and `.github/` layouts (e.g. `.apm/instructions/` and `.github/instructions/` are both discovered)

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants