Skip to content

docs: restore "What to commit" guidance (fix #1837)#1839

Merged
danielmeppiel merged 1 commit into
mainfrom
sergio-sisternes-epam/fix-1837-docs-what-to-commit
Jun 19, 2026
Merged

docs: restore "What to commit" guidance (fix #1837)#1839
danielmeppiel merged 1 commit into
mainfrom
sergio-sisternes-epam/fix-1837-docs-what-to-commit

Conversation

@sergio-sisternes-epam

Copy link
Copy Markdown
Collaborator

Problem

The "What to commit / What to gitignore" guidance was added in PR #290 (issue #288) to the old quickstart. The full docs rewrite in PR #1252 replaced the quickstart file and the section was lost entirely. The only surviving copy is in an agent skill (packages/apm-guide/.apm/skills/apm-usage/workflow.md), which is not user-facing.

Closes #1837

Changes

docs/src/content/docs/quickstart.mdx

Added a new "What to commit" section between the install output block and "What next". Includes:

  • A table: apm.yml and apm.lock.yaml (commit), deployed harness dirs .github/ / .claude/ / .cursor/ / etc. (commit), apm_modules/ (gitignore)
  • One-line rationale for committing deployed files (instant agent context on clone)
  • A tip linking to the CI drift check

docs/src/content/docs/consumer/install-packages.md

Added a concise "What to commit" section after "Where files land" for users who navigate directly to the consumer guide. Cross-links to the quickstart table.

No code changes

Documentation only. No CLI, schema, or behaviour changes.

The quickstart rewrite in PR #1252 dropped the commit/gitignore
guidance that was added in PR #290 (issue #288). The only surviving
copy was buried in an agent skill file, not user-facing docs.

Add a "What to commit" section to quickstart.mdx (table + rationale
for committing deployed files + CI drift check tip) and a matching
note in consumer/install-packages.md that cross-links to it.

Closes #1837

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 18, 2026 18:41

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.

Pull request overview

Restores missing end-user documentation on what files to commit vs gitignore after running apm install, reintroducing guidance that was lost during the docs rewrite and making it discoverable both from the quickstart and the consumer install guide.

Changes:

  • Added a “What to commit” section (with a table) to quickstart.mdx.
  • Added a concise “What to commit” section to consumer/install-packages.md, linking back to the quickstart table.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
docs/src/content/docs/quickstart.mdx Adds the restored “What to commit” table + drift-check tip in the quickstart flow.
docs/src/content/docs/consumer/install-packages.md Adds a parallel “What to commit” section for readers who start from the consumer install guide, with a cross-link to quickstart.


## What to commit

After `apm install` runs, three categories of files land in your project:
|------|---------|-----|
| `apm.yml` | Yes | Manifest -- declares dependencies, shared with the team |
| `apm.lock.yaml` | Yes | Lockfile -- pins exact commits and content hashes for reproducible installs |
| `.github/`, `.claude/`, `.cursor/`, `.opencode/`, `.gemini/`, `.windsurf/`, `.kiro/` | Yes | Deployed agent context -- gives every contributor and cloud Copilot instant access on clone, before they run `apm install` |
Comment on lines +129 to +132
Commit `apm.yml`, `apm.lock.yaml`, and every harness directory APM writes to
(`.github/`, `.claude/`, `.cursor/`, `.opencode/`, `.gemini/`, `.windsurf/`,
`.kiro/`). Committed deployed files give teammates and cloud Copilot instant agent
context on clone, before they run `apm install`.
@danielmeppiel danielmeppiel added this pull request to the merge queue Jun 19, 2026
Merged via the queue into main with commit fa55908 Jun 19, 2026
23 checks passed
@danielmeppiel danielmeppiel deleted the sergio-sisternes-epam/fix-1837-docs-what-to-commit branch June 19, 2026 07:11
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.

[BUG] Regression: #288/#290 - Docs no longer cover what to commit

3 participants