Repository navigation
docs: zero-based redesign around the agent supply chain - #3996
Merged
Daniel Meppiel (danielmeppiel) merged 9 commits intoNov 20, 2026
Merged
Conversation
Rebuild the documentation site from zero around three journeys (use skills, plugins and MCP servers; publish packages; govern your organization) plus reference, and position APM as the dependency manager for the agent supply chain. - New homepage, quickstart (a skill, a marketplace plugin and an MCP server, verified on a teammate's clone), "How APM works" and "The agent supply chain" teaching pages, and a Govern journey with the security model, org policy, PR gates, executables and organization marketplaces. - Retire 45 pages into task pages; every retired URL redirects. - Point CLI messages and apm-guide links at the canonical pages. - Render Mermaid diagrams: switch to the unified markdown processor so the astro-mermaid plugin runs. - README: new tagline "Portable by manifest. Verified by lockfile. Governed by policy.", skills/plugins/MCP lead, enterprise story; drop overclaims. - Regenerate .apm/docs-index.yml for the new structure. apm-spec-waiver: documentation URL strings in CLI messages only; no behavior change Co-authored-by: Copilot App <[email protected]>
…redesign-cdo-thesis # Conflicts: # docs/src/content/docs/consumer/deploy-a-bundle.md # docs/src/content/docs/consumer/installing-from-marketplaces.md # docs/src/content/docs/enterprise/lifecycle-scripts.md # docs/src/content/docs/producer/publish-to-a-marketplace.md
Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
marked this pull request as ready for review
November 19, 2026 23:01
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 19, 2026 23:01
4 of 9 tasks
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The migration error links to a nonexistent documentation fragment, while documentation misstates package portability, executable-gate activation, and approval auditability.
4 open issues
What changed in this PR
Reorganizes APM documentation around the agent supply chain, with task-focused journeys for consuming capabilities, publishing packages, and governing organizations.
Changes:
- Consolidates older guides into practical tutorials covering packages, plugins, harnesses, executable approvals, and CI.
- Updates CLI documentation URLs, packaged guidance, and architecture tests to follow the new page structure.
- Adds the Markdown processor dependency for diagram rendering and records the redesign in the changelog.
| File | Description |
|---|---|
tests/unit/test_tls_docs_scope.py |
Updates the policy-schema link assertion. |
tests/unit/test_protocol_fallback_warning.py |
Updates the transport guidance URL assertion. |
tests/unit/deps/test_initial_transport_scheme.py |
Updates the custom-port guidance URL assertion. |
tests/unit/core/test_experimental.py |
Updates the registries hint assertion. |
tests/perf/architecture_linter_parity_matrix.json |
Points lifecycle coverage at the replacement page. |
tests/integration/test_architecture_semantic_rule_mutations.py |
Retargets the lifecycle documentation mutation. |
tests/integration/test_architecture_contract_guards.py |
Reads the replacement lifecycle explanation. |
src/apm_cli/models/dependency/reference.py |
Updates dependency error guidance URLs. |
src/apm_cli/models/dependency/mcp.py |
Updates the MCP validation guidance URL. |
src/apm_cli/marketplace/resolver.py |
Updates the marketplace reference guidance URL. |
src/apm_cli/marketplace/init_template.py |
Updates documentation links in generated comments. |
src/apm_cli/integration/mcp_integrator_install.py |
Links registry guidance to its consolidated section. |
src/apm_cli/integration/hook_file_routing.py |
Retargets the hook migration guidance URL. |
src/apm_cli/install/local_bundle_handler.py |
Links compilation reminders to harness guidance. |
src/apm_cli/deps/transport_selection.py |
Updates transport fallback documentation links. |
src/apm_cli/deps/github_downloader.py |
Updates protocol fallback guidance. |
src/apm_cli/core/experimental.py |
Points registry hints to the reference section. |
scripts/architecture_linter/checks/registry_semantic_rules.py |
Retargets the lifecycle documentation guard. |
packages/apm-guide/.apm/skills/apm-usage/dependencies.md |
Corrects a manifest-schema anchor. |
packages/apm-guide/.apm/skills/apm-usage/commands.md |
Updates the MCP registry guidance link. |
packages/apm-guide/.apm/skills/apm-usage/authentication.md |
Updates the GitLab authentication link. |
docs/src/content/docs/troubleshooting/install-failures.md |
Updates the CLI installation anchor. |
docs/src/content/docs/troubleshooting/compile-zero-output-warning.md |
Retires the standalone compilation troubleshooting page. |
docs/src/content/docs/reference/registries.md |
Renames registry guidance and updates related links. |
docs/src/content/docs/reference/common-errors.md |
Removes the duplicate common-errors page. |
docs/src/content/docs/producer/write-primitives.md |
Consolidates primitive authoring guidance. |
docs/src/content/docs/producer/versioning-strategies.md |
Retires standalone marketplace versioning guidance. |
docs/src/content/docs/producer/test-packages.md |
Adds local testing, replacements, and patch-export guidance. |
docs/src/content/docs/producer/source-vs-installed.md |
Retires the separate source-versus-installed explanation. |
docs/src/content/docs/producer/release-a-version.md |
Adds tagging and release workflow guidance. |
docs/src/content/docs/producer/publish-to-a-marketplace.mdx |
Adds marketplace creation and publishing instructions. |
docs/src/content/docs/producer/preview-and-validate.md |
Retires the standalone validation workflow. |
docs/src/content/docs/producer/package-relative-links.md |
Consolidates link guidance into primitive authoring. |
docs/src/content/docs/producer/index.mdx |
Adds the task-oriented publishing landing page. |
docs/src/content/docs/producer/index.md |
Removes the previous publishing landing page. |
docs/src/content/docs/producer/create-a-package.mdx |
Adds an end-to-end package creation tutorial. |
docs/src/content/docs/producer/build-a-plugin.mdx |
Adds plugin packaging and testing guidance. |
docs/src/content/docs/producer/author-primitives/prompts.md |
Retires the separate prompt-authoring page. |
docs/src/content/docs/producer/author-primitives/index.md |
Replaces the old primitive authoring index. |
docs/src/content/docs/integrations/index.mdx |
Adds an alphabetical integration directory. |
docs/src/content/docs/integrations/github-rulesets.md |
Retires duplicate ruleset guidance. |
docs/src/content/docs/guides/operating-installed-context.md |
Retires the standalone operations command guide. |
docs/src/content/docs/getting-started/coming-from.md |
Adds migration paths from other tools and older APM releases. |
docs/src/content/docs/enterprise/policy-pilot.md |
Retires the separate policy rollout guide. |
docs/src/content/docs/enterprise/index.mdx |
Adds the organization governance journey. |
docs/src/content/docs/enterprise/index.md |
Removes the previous enterprise landing page. |
docs/src/content/docs/enterprise/github-rulesets.md |
Consolidates organization ruleset guidance elsewhere. |
docs/src/content/docs/enterprise/control-executables.mdx |
Explains organization approvals and lifecycle controls. |
docs/src/content/docs/consumer/run-scripts.md |
Retires the standalone experimental script-runner guide. |
docs/src/content/docs/consumer/run-in-ci.mdx |
Adds lockfile verification recipes for CI providers. |
docs/src/content/docs/consumer/private-and-org-packages.md |
Consolidates private-source guidance elsewhere. |
docs/src/content/docs/consumer/install-plugins.md |
Explains plugin installation, formats, and limitations. |
docs/src/content/docs/consumer/index.mdx |
Adds the task-oriented consumer landing page. |
docs/src/content/docs/consumer/index.md |
Removes the previous consumer landing page. |
docs/src/content/docs/consumer/governance-on-the-consumer-ramp.md |
Retires the separate consumer policy overview. |
docs/src/content/docs/consumer/copilot-agent-plugins.md |
Consolidates Copilot plugin guidance. |
docs/src/content/docs/consumer/choosing-an-mcp-registry.md |
Moves registry selection into MCP installation guidance. |
docs/src/content/docs/consumer/choose-harnesses.mdx |
Explains targets, deployment paths, and compilation. |
docs/src/content/docs/consumer/authentication.md |
Removes the duplicate authentication guide. |
docs/src/content/docs/consumer/approve-executables.mdx |
Adds executable review, approval, and denial instructions. |
docs/src/content/docs/concepts/what-is-apm.mdx |
Retires the previous product overview. |
docs/src/content/docs/concepts/the-three-promises.md |
Retires the previous positioning narrative. |
docs/src/content/docs/concepts/glossary.md |
Updates links to consolidated explanations. |
docs/src/content/docs/concepts/agent-supply-chain.md |
Introduces the supply-chain model and control boundaries. |
docs/src/content/docs/about/compared.md |
Explains APM alongside other installation tools. |
docs/src/content/docs/about/adopters.md |
Adds adoption examples and participation guidance. |
docs/package.json |
Declares the Markdown processor dependency. |
docs/package-lock.json |
Records the dependency and changes its resolution metadata. |
CHANGELOG.md |
Records the documentation redesign. |
Review effort: Balanced
Merged
5 of 10 tasks
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 19, 2026
#3996 is the new base of the 0.37 stack. Journey pages take #3996's version (consumer/deploy-a-bundle.md stays deleted, consumer/ install-mcp-servers.md is #3996's rewrite); the 0.37 owner-hardening behaviour lands on the redesigned pages in the next commit (CDO patch). Reference and apm-usage edits are kept as they are. apm-spec-waiver: consistency fixes route callers through existing owners; no new or changed normative requirement Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 19, 2026
CDO patch against #3996's head 52ad341: per-dependency MCP targets:, local-bundle MCP servers, apm approve --all skipping denied packages, apm update re-gating, and the atomic multi-package install. Co-authored-by: Copilot App <[email protected]>
6 of 14 tasks
The docs redesign retired integrations/gh-aw.md and reshaped the install page. Per the lead maintainer, tests should not pin documentation prose: keep the shared-workflow version contract (frontmatter default and action inputs) and remove its guide-text assertions, and drop the test that required a "Dev containers" H2 with specific wording. Co-authored-by: Copilot App <[email protected]>
- Hook migration error linked to a double fragment; link to the restored "Migrating from filename routing" section and assert the parsed URL. - A personal deny turns the executables gate on; say so on the approve and control-executables pages. - Audit trail: project approvals are in apm.yml, but personal grants and org recommendations can also admit; point to apm policy explain. - Create a package: leave targets: out of a published package (it limits consumers); use --target for local installs. Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 19, 2026
This was referenced Nov 19, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Doc text re-homed on the #3996 pages: deploy-a-bundle -> install-packages, marketplace replay -> installing-from-marketplaces. Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Journey pages take #3996's version; C's reference edits stay; the Codex wire_api note moves to reference/cli/runtime.md. Co-authored-by: Copilot App <[email protected]>
Merged
8 of 14 tasks
- choose-harnesses: user-scope skills go to ~/.claude/skills/ for Claude Code and ~/.agents/skills/ for Copilot, Codex and Cursor (red-team P18). - apm-guide (SKILL.md, workflow.md): commit apm.yml, apm.lock.yaml and .gitignore (plus .apm/ for authors); deployed files are optional, matching the quickstart. The old git add line failed on missing paths (P17). Co-authored-by: Copilot App <[email protected]>
This was referenced Nov 20, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
6 of 13 tasks
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Document committed .agents/plugins deployment at project scope, the per-repo marketplace name, the two harness settings files and Copilot's file priority, lock-only ownership, the portable committed digest, the move off the apm-registration.json route, and what to commit. Rebuilt on the #3996 layout; apm-usage updated to match. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
7 of 14 tasks
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
This was referenced Nov 20, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Document committed .agents/plugins deployment at project scope, the per-repo marketplace name, the two harness settings files and Copilot's file priority, lock-only ownership, the portable committed digest, the move off the apm-registration.json route, and what to commit. Rebuilt on the #3996 layout; apm-usage updated to match. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
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 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). Built on main merged with the final 0.37 stack heads (#3996 ... #4051, without #4061). Post-merge: tag v0.37.0. Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
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 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). Built on main merged with the final 0.37 stack heads (#3996 ... #4051, without #4061). Post-merge: tag v0.37.0. Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Document committed .agents/plugins deployment at project scope, the per-repo marketplace name, the two harness settings files and Copilot's file priority, lock-only ownership, the portable committed digest, the move off the apm-registration.json route, and what to commit. Rebuilt on the #3996 layout; apm-usage updated to match. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
8 of 12 tasks
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Document committed .agents/plugins deployment at project scope, the per-repo marketplace name, the two harness settings files and Copilot's file priority, lock-only ownership, the portable committed digest, the move off the apm-registration.json route, and what to commit. Rebuilt on the #3996 layout; apm-usage updated to match. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
8 of 18 tasks
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Document committed .agents/plugins deployment at project scope, the per-repo marketplace name, the two harness settings files and Copilot's file priority, lock-only ownership, the portable committed digest, the move off the apm-registration.json route, and what to commit. Rebuilt on the #3996 layout; apm-usage updated to match. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-docs-redesign-cdo-thesis
branch
November 20, 2026 06:28
Closed
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Resolutions: admit_native_plugin keeps main's one_off and transitive gate-off path and drops extra_types (trust.py owns native types); approve.py keeps main's user_scope in _is_native_plugin; the #4042 mutation fragment now anchors on main's one_off line; copilot-agent-plugins.md was deleted by #3996 (re-homed next commit). Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
…4042) consumer/copilot-agent-plugins.md was folded into consumer/install-plugins.md by #3996; the Agent Plugin row now carries the note. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
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.


Description
TL;DR
Rebuilds the documentation site from zero around the agent supply chain. There are three journeys (use skills, plugins and MCP servers; publish packages; govern your organization) plus a teaching layer and an untouched reference layer. The README gets the matching story and the new tagline, "Portable by manifest. Verified by lockfile. Governed by policy." Every retired URL redirects, and every docs link the CLI prints still resolves, anchors included.
Note
Directed and approved by Daniel Meppiel (@danielmeppiel) in the CDO working session (2026-11-19), with the README approved verbatim. Targeted at 0.37; pages for unreleased 0.37 behavior carry a "New in 0.37" badge.
Problem (WHY)
enforcement: warn,fetch_failure: warn, executables deploy until gated.targets:commented out, so a fresh repo exits 2 at install, and it used a sample package rather than the skills, plugins and MCP servers people actually install.Approach (WHAT)
astro.config.mjs, and existing slugs that the CLI links to keep their URL and headings.reference/**, CLI pages, schemas, specs) is kept as-is; only a few links are fixed and the Registries guide moves toreference/registries.markdown.processor: unified({ gfm: true, smartypants: true }), matching the previous defaults. Heading IDs and rendered text are unchanged (verified).Implementation (HOW)
docs/src/content/docs/**--helpfrom source, and output blocks come from real runs in scratch directories. Vocabulary: "marketplace" (never "catalog" as a noun), "harness" defined at first use, banned overclaims removed.docs/astro.config.mjsllms.txtsets,unifiedmarkdown processor.docs/package.json,package-lock.json@astrojs/[email protected], previously only an override, because the config now imports it.src/apm_cli/**(10 files),packages/apm-guide/**(3)scripts/architecture_linter/.../registry_semantic_rules.py, guard tests, parity matrixconcepts/how-apm-works.md, which carries the required sentence verbatim.tests/unit/**(4 files).apm/docs-index.ymlREADME.mdTrade-offs
reference/**(generated CLI pages, schema tables) is a follow-up; it would have broken dozens of CLI-linked anchors in one PR.getting-started/authentication/, because 7+ CLI messages link to its anchors. A cosmetic move can follow with redirects.Benefits
--frozen,audit).Issue and approved scope
Issue: none. Directed by the lead maintainer in session.
Human scope-approval comment: Daniel Meppiel (@danielmeppiel) approved the redesign and the README draft directly ("ok I approve the README draft ... Yes we will add it to 0.37 ... go ahead"). Opened as a draft, so a scope record can be linked before merge if wanted.
Does this PR complete the issue, or what remains? It completes the docs redesign. Follow-ups: reference regeneration (CLI and schema tables), and 38 product findings, already routed to the 0.37 coordinator for a single fix PR.
Type of change
Testing
Validation evidence
Scenario evidence: skipped per the docs-only clause. The only code changes are URL strings, covered by the URL-asserting tests above.
Changelog
## [Unreleased]inCHANGELOG.md(added in a follow-up commit once this PR number exists).Spec conformance (OpenAPM v0.1)
apm-spec-waiver: documentation URL strings in CLI messages only; no behavior change.How to test
cd docs && npm ci && npx astro dev, then open/apm/,/apm/quickstart/,/apm/concepts/agent-supply-chain/,/apm/enterprise//apm/consumer/manage-dependencies/,/apm/enterprise/governance-guide//apm/concepts/how-apm-works/and/apm/enterprise/org-marketplace/apm install --helplinks (e.g.consumer/install-packages/#transport-selection) land on the right headingCo-authored-by: Copilot [email protected]