Repository navigation
docs: clarify context availability after cloning - #3144
Conversation
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Docs sync advisoryVerdict: no_change | Additional pages affected: 0 | LLM calls: 0/15 | Layer: L0 No additional docs impact detected: this PR changes only existing documentation Generated by docs-sync. This comment is AI-generated and may contain errors. |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The documentation consistently reflects existing link resolution and native plugin lifecycle behavior.
Review effort: Balanced
Findings: None
What changed in this PR
Clarifies that committed agent files may depend on resources restored by apm install.
Changes:
- Distinguishes discoverability after cloning from full usability.
- Documents the required post-clone installation step.
- Explains resource lifetime requirements for linked context and native plugins.
| File | Description |
|---|---|
packages/apm-guide/.apm/skills/apm-usage/workflow.md |
Updates bundled team workflow guidance. |
docs/src/content/docs/quickstart.mdx |
Expands commit and post-clone guidance. |
docs/src/content/docs/producer/package-relative-links.md |
Clarifies when package-relative links resolve. |
docs/src/content/docs/consumer/install-packages.md |
Corrects context availability claims. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
APM Review Panel:
|
| Persona | B | R | N | Takeaway |
|---|---|---|---|---|
| Doc Writer | 0 | 0 | 0 | Docs stay aligned with install, link-rewrite, and native plugin behavior; no advisory findings. |
B = blocking-severity findings, R = recommended, N = nits.
Counts are signal strength, not gates. The maintainer ships.
Recommendation
Advisory read: ship this now. The highest-signal outcome is that the docs become more precise without expanding scope, and there are no panel findings that warrant holding a narrow documentation correction.
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.
Terminal merge-worker evidence (appended, no new review spawned)
- Copilot classification: 1 review (state COMMENTED, "Approval recommended"), 0 inline findings -- nothing to fold.
- Panel disposition: 0 panel findings; folded_items=[]; deferred_items=[] -- nothing crossed the strict docs-only scope boundary of this PR.
- Scope reservations carried forward (context only, no action taken by this PR): docs: clarify apm_modules is derived #2601 remains OPEN, assigned sergio-sisternes-epam, fork aryansk/apm, ref docs/2064-apm-modules-derived @ eff1db8, sole changed file docs/src/content/docs/reference/lockfile-spec.md -- not edited, not taken over, not superseded here. Clarify package-relative links and committed target-owned directories #3045 is a separately accepted docs-only item and is treated as context only, not part of this PR's scope. Issue [BUG] What-to-commit & shared context files in apm_modules is a broken process #3143 stays OPEN for the file-promotion remainder; this PR's closingIssuesReferences is empty (no closing keyword).
- Lint evidence: full canonical CI-mirror lint (ruff check + ruff format --check across src/, tests/, scripts/lint_architecture_boundaries.py, scripts/architecture_linter/; pylint --enable=R0801 min-similarity-lines=10; lint-auth-signals.sh; YAML I/O safety guard; 2100-line file-length guard; portable_relpath guard) -- all clean at head 35127fc. origin/main confirmed unchanged at the PR's recorded base (7dfc5dd), so no merge-main step was required.
- CI evidence: statusCheckRollup at head 35127fc has zero FAILURE/TIMED_OUT/ACTION_REQUIRED/STARTUP_FAILURE and zero pending checks (Lint, CodeQL x2, Deploy Docs build, Merge Gate/gate, NOTICE Drift Check, PR eligibility evidence x2, Windows Compatibility Gate, Windows Git Discovery x2, Test Architecture Ratchets, Build & Test Shard 1/2 (Linux), PR Binary Smoke, APM Self-Check, Lifecycle Smoke, Coverage Combine, license/cla all SUCCESS; CodeQL summary + PR eligibility (advisory only) NEUTRAL).
- Owner-touch gate:
owner_touch_gate.py detectandverifyboth run against exact base 7dfc5dd / head 35127fc -- touched_owners=[] (docs-only diff touches zero src/apm_cli/ owner surfaces from .apm/instructions/architecture.instructions.md); classification=not-applicable; verify returned verified=true. - Terminal delta panel: re-checked at head 35127fc with conversation watermark unchanged since this receipt (no new PR comments, no new reviews beyond the single Copilot COMMENTED review above) -- correctly a noop per the panel-mode contract (delta posts only when head or watermark changed since the last receipt).
- Governance evaluator (durable, trusted-current-default-branch asset): CI check "PR eligibility (advisory only)" (run https://github.com/microsoft/apm/runs/110849326687, head 35127fc) returned
state=record-presentfor issue [BUG] What-to-commit & shared context files in apm_modules is a broken process #3143: "Record present, not permission. Confirm scope match, review capacity and current approval with a responsible human."scripts/governance/*is byte-identical toorigin/main(this PR does not touch it), so this check ran the genuine current-default-branch evaluator, not a stale fork. The linked scope-record comment (issuecomment-5952312970) was independently reconfirmed live and unedited at verification time. Record-present evidence is corroborating context only, not implementation permission.
Mergeability snapshot (exact head 35127fc)
| mergeable | mergeStateStatus | reviewer request | reviewDecision | CI |
|---|---|---|---|---|
| MERGEABLE | BLOCKED | sergio-sisternes-epam requested, not yet reviewed | empty | green |
This is reported literally: GitHub shows BLOCKED with an outstanding review request and no reviewDecision yet recorded. Cause confirmed via the live main-protection ruleset (rule type pull_request, require_code_owner_review=true, required_approving_review_count=0 -- the gate is the CODEOWNERS rule, not a numeric-approval-count rule) cross-referenced with .github/CODEOWNERS (* @danielmeppiel @sergio-sisternes-epam, a repo-wide wildcard matching all 4 touched docs paths). danielmeppiel is the PR author and cannot satisfy this as a self-review; sergio-sisternes-epam is the only other CODEOWNER and has not yet reviewed, which is why mergeStateStatus remains BLOCKED. Green CI and a ship-now panel verdict do not themselves authorize or imply merge.
Generated by autopilot-pr-review-worker. This comment is AI-generated and may contain errors.
Description
document(onboarding): clarify context availability after cloning
TL;DR
Committed agent files are available after cloning, but their linked package
resources may not be. This documentation-only change makes
apm installexplicit in team setup and explains that installed resources must remain
available while native consumers use them.
Problem (WHY)
despite deployed links pointing into gitignored
apm_modules/.agents or tools still read them.
These are the specific documentation gaps in the approved issue scope below.
The edits document this non-obvious dependency rather than repeat generic
installation advice, following
"Add what the agent lacks, omit what it knows".
Approach (WHAT)
with the consumer guide linking to it.
Implementation (HOW)
consumer/install-packages.mdquickstart.mdxproducer/package-relative-links.mdapm-usage/workflow.mdThe claims were checked against the existing
LinkResolverasset-link projectionand native Copilot marketplace paths.
No implementation or CHANGELOG changes.
Diagrams
This describes the existing dependency-availability model, not new runtime behavior.
flowchart LR subgraph Checkout["After clone"] F["Committed agent files available"] end I["apm install"] subgraph Installed["After install"] R["Linked package resources available"] K["Keep installed resources while consumers need them"] end F --> I --> R --> KTrade-offs
file promotion or a no-install runtime. Those mechanisms remain deferred.
lockfile-reference patch does not cover the complete clone/install
clarification; this PR corrects existing guidance in different files and
does not edit, supersede, or approve that contribution.
were not run. Documentation build/link checks are the applicable gate;
the Scenario Evidence table is omitted under the docs-only exception.
Benefits
rather than treating APM exit as a cleanup signal.
Issue and approved scope
Issue: #3143 (documentation-only slice).
Human scope-approval comment:
#3143 (comment)
The responsible human confirmed starting this bounded implementation on
2026-10-02; review contact: Daniel Meppiel (@danielmeppiel).
Important
This PR does not complete issue #3143, which stays open for the
deferred file-promotion remainder. It adds no no-install runtime, cleanup
feature, link rewriting, ownership/update changes, or recommendation to
commit
apm_modules/. The overlapping #3045 and #2064 discussions areunaffected by this PR.
Type of change
Testing
Validation
cd docs && npm run buildpassed on the integrated candidate:The build emitted non-fatal Astro configuration, chunk-size, i18n, and
route-conflict warnings. Dependencies were restored after the initial build
reported missing Astro; the successful build above includes
check:links.Local lint and acceptance evidence
Current
origin/mainwas merged before the CI lint mirror. These commandsall passed:
The CI YAML I/O, 2100-line, and raw
str(relative_to)guards also passedusing equivalent Python regex/path checks on macOS (565 covered files).
Their covered source is byte-identical to the checked base.
Deterministic acceptance checks passed: exactly four documentation files,
unchanged frontmatter/examples, ASCII content, explicit clone/install/lifetime
wording, and both bundled-guide relative links including their anchors.
The Mermaid block was rendered successfully with
mmdc.These are local results, not a claim that remote CI or review has completed.
How to test
cd docs && npm ci),run
npm run build; expect the site and internal-link checks to pass.manifest/lockfile/outputs to be committed and
apm_modules/gitignored.installation after clone before relying on complete linked context.
promises universal self-contained agents before installation.
Spec conformance (OpenAPM v0.1)
If this PR changes behaviour that an OpenAPM v0.1
req-XXXcovers,confirm the three-step ritual in the
development guide:
docs/src/content/docs/specs/openapm-v0.1.mdupdated(new/changed
<a id="req-XXX"></a>anchor + prose + Appendix Crow).
docs/src/content/docs/specs/manifests/openapm-v0.1.requirements.ymlupdated.
@pytest.mark.req("req-XXX")test undertests/spec_conformance/added or extended.CONFORMANCE.{md,json}regenerated viauv run --extra dev python -m tests.spec_conformance.gen_statementand committed.
Co-authored-by: Copilot [email protected]