Skip to content

docs: teach your agent APM with the apm-guide package - #3776

Merged
Daniel Meppiel (danielmeppiel) merged 4 commits into
mainfrom
danielmeppiel-3746-apm-guide-docs
Nov 17, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 4 commits into
mainfrom
danielmeppiel-3746-apm-guide-docs

Conversation

@danielmeppiel

Copy link
Copy Markdown
Collaborator

Description

Readers have no pointer to the official APM guide package, which teaches a coding agent to use APM (the apm-expert agent plus the apm-usage skill). This adds that pointer in two places and removes the README "Works with agentrc" section.

  • README "Get Started": after the marketplace and MCP snippets, one line plus apm install microsoft/apm/packages/apm-guide#v0.35.1.
  • README: the "Works with agentrc" section (both paragraphs) is deleted. The apm init agentrc suggestion in code and in docs/reference/cli/init.md is untouched.
  • Quickstart "What next": a :::tip[Teach your agent APM] block with the same pinned command, before the card grid.

The pin is the latest release that exists today (v0.35.1; packages/apm-guide/.apm/agents/apm-expert.agent.md and .apm/skills/apm-usage exist at that tag). If v0.36.0 is tagged before this merges, the pin will be bumped. No marketplace.json or plugin.json. README change approved by Daniel Meppiel (@danielmeppiel) in the scope record.

Issue and approved scope

Issue: Fixes #3746

Human scope-approval comment: #3746 (comment)

Does this PR complete the issue, or what remains? Completes the approved docs slice. A first-party marketplace catalog was declined.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally
  • All existing tests pass
  • Added tests for new functionality (if applicable)

Validation evidence: cd docs && npm ci && npm run build succeeded (astro build complete; check:links: "Checked 1178 relative link(s) across generated pages. No broken relative links found."). New text is ASCII only. No code changed.

Spec conformance (OpenAPM v0.1)

  • N/A -- this PR does not change OpenAPM-observable behaviour.

README Get Started and the quickstart "What next" now show how to teach
a coding agent APM with the official guide package (expert agent plus
the apm-usage skill), pinned to the latest release. The README
"Works with agentrc" section is removed; the apm init agentrc
suggestion is unchanged.

Co-authored-by: Copilot App <[email protected]>
@danielmeppiel Daniel Meppiel (danielmeppiel) added this to the 0.37.0 milestone Nov 17, 2026
Copilot AI balanced review requested due to automatic review settings November 17, 2026 15:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues block the documentation updates improving discovery of the official apm-guide package.

No open issues 🎉

What changed in this PR

This documentation-only PR makes the official apm-guide package easier to discover, completing the approved documentation scope of #3746 without adding a marketplace catalog.

Changes:

  • Add installation examples pinned to v0.35.1 in the README and quickstart.
  • Remove the README’s “Works with agentrc” section.
  • Record the documentation changes in the changelog.
File Description
README.md Adds the guide installation command and removes the agentrc section.
docs/​src/​content/​docs/​quickstart.mdx Adds a “Teach your agent APM” tip before the next-step cards.
CHANGELOG.md Records the documentation updates under Unreleased.

Review effort: Balanced

@danielmeppiel

Copy link
Copy Markdown
Collaborator Author

APM Review Panel: ship_with_followups

Docs-only PR adds apm-guide install to README and quickstart, removes stale agentrc section -- clean growth win, two polish follow-ups.

panel-mode=lean; personas=doc-writer,oss-growth-hacker,apm-ceo

cc Sergio Sisternes (@sergio-sisternes-epam) -- a fresh advisory pass is ready for your review.

Both panelists converge: the change is in scope, accurate, and well-placed. The doc-writer flags two recommended items -- a source link for transparency and a release-checklist entry to prevent pin staleness -- but neither rises to a blocking concern. The oss-growth-hacker sees a clean growth signal with no issues. No strategic risk here: a docs-only PR that advertises APM's own apm-guide package in the two highest-traffic surfaces (README Get Started, quickstart What next) while trimming mid-funnel noise (agentrc section removal).

The v0.35.1 pin is the correct latest tag today. The pin will be bumped to v0.36.0 if that tag lands before merge, which addresses the doc-writer's freshness concern for this PR. The residual risk is structural: the pin lives in two places with no automated bump path, so it will drift silently on the next release unless the cut-release checklist picks it up. That checklist change is outside this PR's approved docs scope (it touches the cut-release skill), so it is a post-merge cross-scope item rather than an in-PR fold.

The source-link suggestion (linking 'official guide' to the package tree) is cheap, in-scope, and consistent with APM's supply-chain transparency posture. It is foldable in-PR.

Aligned with: Portable by manifest: apm-guide is installed via the same manifest-pinned apm install flow as any dependency. Secure by default: pinning to a release tag (not main) ensures readers get a reviewed snapshot. OSS community driven: surfaces the self-teaching guide in the two pages every new user reads first.

Growth signal. 'Teach your coding agent to use APM' is a strong meta-narrative that positions APM as the tool that makes other tools better. Placement after core install examples avoids polluting the first-run funnel while giving post-install users an immediate next step. Removing the agentrc section tightens the README.

Panel summary

Persona B R N Takeaway
Doc Writer 0 2 0 Accurate and in scope; voice is consistent. Main risk: the hardcoded v0.35.1 pin in two places predates the 0.36.0 behavior changes. Optional source link would aid discoverability.
OSS Growth Hacker 0 0 0 Clean growth win: apm-guide install is well-placed post-funnel in both README and quickstart, copy is repostable, agentrc removal tightens the README.

B = blocking-severity findings, R = recommended, N = nits.
Counts are signal strength, not gates. The maintainer ships.

Top 2 follow-ups

  1. [Doc Writer] Add a source link for the apm-guide package in README.md (and optionally quickstart). -- Foldable in-PR. One hyperlink to packages/apm-guide lets readers inspect what the 'official guide' installs before running it.
  2. [Doc Writer] Add apm-guide pin bump to the cut-release checklist so README and quickstart pins stay fresh across releases. -- Post-merge, cross-scope. The pin is correct today; future releases will silently stale it unless the cut-release checklist includes it.

Recommendation

Maintainer-approved, docs-only, zero blocking findings, accurate content, strong growth signal. Ship when the CODEOWNERS reviewer (Sergio Sisternes (@sergio-sisternes-epam)) is satisfied. Track the cut-release checklist item as a follow-up so the apm-guide pin does not silently stale on the next release. The in-PR source link is a nice-to-have fold.


Full per-persona findings

Doc Writer

  • [recommended] The v0.35.1 pin installs a guide that predates the 0.36.0 behavior changes, and the same pin is hardcoded in two places with no bump path. at README.md:179
    CHANGELOG on main already has a dated [0.36.0] block (apm export-patch, Python 3.11+, install --frozen fails closed on hash drift). A reader on the 0.36.0 CLI who installs this guide at v0.35.1 gets an agent unaware of those changes. README.md and quickstart.mdx repeat the literal tag and will drift each release.
    Suggested: If v0.36.0 is tagged before merge, change both pins to #v0.36.0. Either way, record that both apm-guide pins must be bumped at each release, e.g. a line in the cut-release checklist.
  • [recommended] Neither surface links to the package source, so readers cannot inspect what the 'official guide' installs before running it. at README.md:176
    Both surfaces describe 'an expert agent plus the apm-usage skill' with no link; one link costs a few words and fits the README pattern.
    Suggested: Link 'official guide' to https://github.com/microsoft/apm/tree/main/packages/apm-guide in README.md; optionally the quickstart tip too.

OSS Growth Hacker

No findings.

This panel is advisory. It does not block merge. Re-apply the
panel-review label after addressing feedback to re-run.


Generated by autopilot-pr-review-worker. This comment is AI-generated and may contain errors.

Readers could not inspect what the official guide installs before
running the command. Link "official guide" to packages/apm-guide in
both surfaces. Addresses CEO follow-up FU-1 (doc-writer) from the
panel advisory on #3776.

Co-authored-by: Copilot <[email protected]>
@danielmeppiel
Daniel Meppiel (danielmeppiel) merged commit bfda71b into main Nov 17, 2026
25 checks passed
@danielmeppiel
Daniel Meppiel (danielmeppiel) deleted the danielmeppiel-3746-apm-guide-docs branch November 17, 2026 16:29
@danielmeppiel

Copy link
Copy Markdown
Collaborator Author

APM Review Panel: ship_now

Delta pass on docs-only PR #3776: FU-1 folded (apm-guide source links added), CI green, zero new findings -- ready to ship.

panel-mode=delta; personas=doc-writer,oss-growth-hacker,apm-ceo

cc Sergio Sisternes (@sergio-sisternes-epam) -- a fresh advisory pass is ready for your review.

Both delta panelists -- doc-writer and oss-growth-hacker -- returned zero findings. The material delta since the lean advisory on 83df5e5 is d793609, which links "official guide" to the apm-guide source tree in both the README Get Started block and the quickstart tip, resolving FU-1. The other new commit, 2a8b5f9, is a maintainer merge of main that resolves a CHANGELOG conflict by keeping both the #3771 and #3776 bullets. The PR's own diff against main is still the same three docs files. The pin remains v0.35.1, which is correct: v0.36.0 is not yet tagged, and v0.35.1 is the latest release that contains apm-guide.

FU-2 (add an apm-guide pin-bump step to the cut-release checklist) sits outside the approved README/quickstart scope and is deferred to a separate follow-up. There is no panel dissent.

Aligned with: Portable by manifest: the pinned install version keeps onboarding reproducible. OSS community driven: a direct link to the apm-guide source lets readers find, read, and improve the guide. Pragmatic as npm: the Get Started block stays copy-paste-and-go; the link is additive.

Growth signal. Previously dead "official guide" text is now a working hyperlink, so first-time readers reach the guided onboarding path in one click.

Panel summary

Persona B R N Takeaway
Doc Writer 0 0 0 Delta d793609 is clean: the apm-guide source link resolves on main and appears in both README and quickstart. Prose is tight and the pin is unchanged.
OSS Growth Hacker 0 0 0 Delta adds a hyperlink to previously dead 'official guide' text -- pure friction reduction, no conversion regression.

B = blocking-severity findings, R = recommended, N = nits.
Counts are signal strength, not gates. The maintainer ships.

Top 1 follow-up

  1. [APM CEO] Open a follow-up issue to add an apm-guide pin-bump step to the cut-release skill checklist (deferred FU-2). -- Keeps the pinned install version in README and quickstart moving with each release instead of going stale.

Recommendation

All prior findings are resolved or deferred with a scope note. CI is fully green, both delta panelists returned clean, and the maintainer has approved the scope. Ship once the CODEOWNERS reviewer (Sergio Sisternes (@sergio-sisternes-epam)) is satisfied; track FU-2 as a separate post-merge issue.

Folded in this run

  • (panel) Link "official guide" to packages/apm-guide in README.md and quickstart.mdx (FU-1, doc-writer) -- resolved in d793609.

Copilot signals reviewed

  • overview review 5941763971 on 83df5e5d -- NOT-LEGIT: overview summary only ("No open issues"); no defect or actionable item raised. Round 2 on d793609/2a8b5f9 found no new comments.

Deferred (out-of-scope follow-ups)

  • (panel) Add an apm-guide pin-bump step to the cut-release checklist (FU-2) -- scope boundary: touches .agents/skills/cut-release, outside the approved README/quickstart docs scope of [FEATURE] Provide APM AI plugins in marketplace format #3746; suggested follow-up: separate issue against the cut-release skill.

Lint contract

uv run --extra dev ruff check src/ tests/ and
uv run --extra dev ruff format --check src/ tests/ both silent on 2a8b5f9; bash scripts/lint-architecture-boundaries.sh exit 0. Owner-touch gate: zero canonical owners touched (docs-only). Docs build (cd docs && npm ci && npm run build) passed with 1178 relative links checked and none broken.

CI

gh pr checks 3776 all green on 2a8b5f9 (25 checks: Lint, Build & Test shards, Lifecycle Smoke, Windows gates, Architecture ratchets, CodeQL, docs build, gate) (after 0 CI fix iteration(s)).

PR Head Stance Iter Folds Deferrals Copilot rounds CI Mergeable Merge state Notes
#3776 2a8b5f9 ship_now 2 1 1 2 green MERGEABLE BLOCKED pending required review

Full per-persona findings

Doc Writer

No findings.

OSS Growth Hacker

No findings.

This panel is advisory. It does not block merge. Re-apply the
panel-review label after addressing feedback to re-run.


Generated by autopilot-pr-review-worker. This comment is AI-generated and may contain errors.

Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 18, 2026
* chore: release v0.36.1

Bump apm-cli to 0.36.1 in pyproject.toml and the apm-cli entry of uv.lock (no uv lock re-resolve), and cut the [Unreleased] CHANGELOG block into [0.36.1] - 2026-11-18 with upgrade notes. The #3771 and #3776 notes move into [0.36.0], where they shipped. Lint mirror (ruff check, ruff format --check, pylint R0801, auth-signals) is clean on main 70554b6.

Post-merge: run the pre-tag gate on the merge commit, then tag v0.36.1.

Co-authored-by: Copilot App <[email protected]>

* docs(changelog): do not claim ADO issues fixed before a live-org check

Co-authored-by: Copilot App <[email protected]>

* docs(changelog): close the Azure DevOps issues in the 0.36.1 entry

Reverts the previous wording change at @danielmeppiel's direction: #3752, #3753 and #3758 are closed by #3790.

Co-authored-by: Copilot App <[email protected]>

* docs(changelog): note SSE removals and the COPILOT_HOME skill scope in 0.36.1 upgrade notes

Co-authored-by: Copilot App <[email protected]>

* docs(changelog): drop the 0.36.1 upgrade-notes paragraph

Patch releases carry upgrade details in their entries, as before.

Co-authored-by: Copilot App <[email protected]>

---------

Co-authored-by: danielmeppiel <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Provide APM AI plugins in marketplace format

2 participants