Repository navigation
docs: reground #3290 native-plugin reference pages and 0.37 nits - #3997
Conversation
APM Review Panel:
|
| Persona | B | R | N | Takeaway |
|---|---|---|---|---|
| Doc Writer | 0 | 3 | 0 | Docs-only reground is accurate overall; tighten native_plugin fingerprint scope, align apm-usage uninstall with uninstall.md step 8, and narrow the approve hook-pin clause. |
B = blocking-severity findings, R = recommended, N = nits.
Counts are signal strength, not gates. The maintainer ships.
Top 3 follow-ups
- [Doc Writer] Narrow the
native_pluginfingerprint wording inlockfile-spec.mdandcommands.md; note the record is carried forward when later run targets excludeclaude. -- "Every file" overclaims whatcompute_native_plugin_hashcovers. - [Doc Writer] Align the apm-usage global-uninstall paragraph with
uninstall.mdstep 8 and rewrap. -- The two sources disagree; agents get a narrower contract. - [Doc Writer] Reword the approve hook-pin clause to "for a normalized plugin, the publisher file its
.apm/hooks/copy came from". -- Matchesplugin_parser.normalized_hook_sourceexactly.
All three are folded in a1f2e3d.
Recommendation
Fold all three doc-writer findings in this PR, then ship once the CODEOWNERS review lands. Re-pointing the anchor links at restack is owned by the stack orchestrator.
Full per-persona findings
Doc Writer
- [recommended] native_plugin fingerprint is described as covering every file, but APM's root apm.yml and .apm/ are excluded at
docs/src/content/docs/reference/lockfile-spec.md:330
compute_native_plugin_hashcovers the native bundle files minus APM's rootapm.ymland root.apm/. The new row andcommands.mdline 145 say every file. The row also omits that a later run whose targets excludeclaudecarries the record forward while commit and content hash are unchanged. - [recommended] apm-usage global-uninstall paragraph leaves out the extraKnownMarketplaces cleanup and the kept user entries that uninstall.md step 8 now documents at
packages/apm-guide/.apm/skills/apm-usage/commands.md:155
The two sources disagree; agents reading apm-usage get a narrower contract. The new line is also longer than its neighbours. - [recommended] approve hook-pin clause says "for a plugin", which is broader than the verified behaviour at
packages/apm-guide/.apm/skills/apm-usage/commands.md:941
fc62e89 keys plugin hook approvals on the publisher file instead of APM's normalized.apm/hooks/copy; the unqualified wording conflicts with the later whole-root plugin pin sentence.
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.
APM Review Panel:
|
| Persona | B | R | N | Takeaway |
|---|---|---|---|---|
| Doc Writer | 0 | 0 | 0 | All three folds in a1f2e3d resolve the lean findings and match the verified source facts. apm-usage stays printable ASCII with no new inaccuracy; ship. |
B = blocking-severity findings, R = recommended, N = nits.
Counts are signal strength, not gates. The maintainer ships.
Folded in this run
- Fingerprint scope and carry-forward in
lockfile-spec.mdand apm-usagecommands.md-- a1f2e3d - apm-usage global-uninstall parity with
uninstall.mdstep 8 -- a1f2e3d - approve hook-pin clause wording -- a1f2e3d
Recommendation
Ship as part of the #3290 stack, after the CODEOWNERS review. The remaining checks belong to the stack orchestrator: main-targeted CI and the Deploy Docs build after restack, and anchor re-pointing. No open review follow-ups for this PR.
| PR | head | stance | iterations | folds | deferrals | copilot_rounds | ci | mergeable | merge_state | notes |
|---|---|---|---|---|---|---|---|---|---|---|
| #3997 | a1f2e3d | ship_now | 2 | 3 | 0 | 2 | docs build green; eligibility queued | see orchestrator | see orchestrator | stacked base; full CI after restack |
Full per-persona findings
Doc Writer
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.
a1f2e3d to
b6d04f6
Compare
5ecf6fc to
f12a825
Compare
b6d04f6 to
246a2fe
Compare
f12a825 to
d524fe2
Compare
246a2fe to
75c4a50
Compare
89181ff to
bd59968
Compare
#3290 edits this file at a frozen SHA; the link repoints move to #3997, the top docs layer. Co-authored-by: Copilot App <[email protected]>
502b197 to
4dbf495
Compare
Bump pyproject.toml and uv.lock to 0.37.0 and move [Unreleased] to [0.37.0] in CHANGELOG.md, re-sanitized to one line per change in one section, with the stack's new entries grouped by theme and 4 Highlights. README: apm-guide pin to v0.37.0 and Codex .codex-plugin/plugin.json in the Build plugins line. Lint mirror green locally (ruff check + format, pylint R0801, auth-signals). Draft on the 0.37 stack (top: #3997); rebased as layers land. Post-merge: tag v0.37.0. Co-authored-by: Copilot App <[email protected]>
Restores 21 reference/spec/troubleshooting files to their pre-repoint content so #3996 merges cleanly under the stack; #3997 (top docs layer) re-applies these repoints. Co-authored-by: Copilot App <[email protected]>
4dbf495 to
960ecf1
Compare
Refs #3948. Wave 3 of the 0.37 docs sweep, stacked on #3290: - lockfile-spec: native_plugin record row (name, root, fingerprint, marketplace; no harnesses) - uninstall: extraKnownMarketplaces cleanup and the real recovery hint - apm-usage/commands.md: global uninstall of native plugins, Claude user-plugin pins, hook keys on the publisher file, deprecated apm install --update, copilot/minimal compile fallback - cache.md: mark apm install --update deprecated - targets.md: apm update instead of apm deps update Co-authored-by: Copilot App <[email protected]>
The panel (doc-writer, lean) found three precision gaps in this PR's own files. The native plugin fingerprint excludes APM's root apm.yml and .apm/ normalization output (content_hash.compute_native_plugin_hash), and a run whose targets exclude claude carries the record forward (phases/lockfile._attach_native_plugins). The apm-usage global-uninstall paragraph now matches uninstall.md step 8 (extraKnownMarketplaces cleanup, kept user entries; native_plugins/settings.apply_declaration). The approve hook-pin clause names the publisher file a normalized .apm/hooks/ copy came from (plugin_parser.normalized_hook_source). Addresses CEO follow-ups FU-1, FU-2, FU-3. Refs #3948. Co-authored-by: Copilot <[email protected]>
Refs #3948. Co-authored-by: Copilot App <[email protected]>
Refs #3948. The 12 link-target changes the CDO moved out of #3996, plus the two #3290 links to the retired installing-from-marketplaces anchor. Prose unchanged. Co-authored-by: Copilot App <[email protected]>
Refs #3948. Ports the CDO's dropped-repoints-ea053b patch (link targets to the #3996 IA, plus the few prose/link-text edits it lists) for the 20 files stack layers also edit; reference/cli/install.md was done in the previous commit. Co-authored-by: Copilot App <[email protected]>
960ecf1 to
110199a
Compare
Description
TL;DR — Wave 3 of the 0.37 docs sweep, stacked at the top of the 0.37 stack. It fixes the reference pages and the
apm-usageskill for #3290 (native Claude plugins) and folds three queued 0.37 nits. Docs only. The new-IA consumer pages that #3996 rewrites (install-plugins,installing-from-marketplaces,install-mcp-servers) are the CDO session's to patch. Their findings are handed off, not edited here.Note
Stack: #3996 ← #3989 ← #3992 ← #3290 ← PR D ← this PR. This PR is based on #3290's branch until PR D opens, then rebases onto PR D.
Problem (WHY)
These claims were checked against the code at #3290 head
9df690af:reference/lockfile-spec.mddoes not list thenative_pluginrecord fix(claude): install intact user plugins through Claude settings, owned by the lock #3290 writes:name,root,fingerprint,marketplace{name,path}. There is noharnessesfield (dropped in 1020049).apm-usage/commands.mdsays "Global uninstall retains native plugin data". The code removes the plugin roots andenabledPluginskeys the previous lock recorded (claude_plugins/registrar.py,native_plugins/settings.py).apm-usage/commands.mdsaysapm approvewrites aplugin:pin only for Copilot and Codex, and that hook pins are package-relative. The code also pins user-scope Claude plugins (commands/approve.py) and keys hooks on the publisher's file (fc62e89).reference/cli/uninstall.mdomits removal ofextraKnownMarketplaces. Its recovery hint also drops the "original--target" that the CLI message says.commands.mdandcache.mdlistapm install --updateas current.targets.mdnamesapm deps update.commands.mdcalls the compile fallbackvscode/minimalinstead ofcopilot/minimal.Implementation
reference/lockfile-spec.mdnative_pluginrowreference/cli/uninstall.mdextraKnownMarketplacescleanup; recovery hint matches the CLI messagereference/cli/cache.md,reference/cli/targets.md--updatemarked deprecated;apm updateapm-usage/commands.md--update; compile fallback namesTrade-offs
Issue and approved scope
Issue: Refs #3948
Human scope-approval comment: #3948 (comment)
Does this PR complete the issue, or what remains? It completes the sweep's #3290 re-check for the pages it owns. The new-IA consumer pages are patched in the #3996 stack.
Type of change
Testing
Each claim was checked against source on this branch (file:line in the commit message and the audit return). New links resolve.
apm-usagetext is printable ASCII. No builds or tests were run locally (host capacity rule); CI covers them.Changelog
Spec conformance (OpenAPM v0.1)
Co-authored-by: Copilot [email protected]