Skip to content

docs: fix doc drift (deploy scripts, env vars, stale CHANGELOG)#42

Merged
avrabe merged 1 commit intomainfrom
docs/fix-doc-drift
May 1, 2026
Merged

docs: fix doc drift (deploy scripts, env vars, stale CHANGELOG)#42
avrabe merged 1 commit intomainfrom
docs/fix-doc-drift

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented May 1, 2026

Fixes Bugs #17, #18, #32 from docs/agent-fleet/bugs.md (wave-1 Junior dev + Documentation reviewer).

  • README/DEVELOPMENT: drop four fictional npm run deploy:* scripts; replace with what actually exists.
  • GITHUB_APP_SETUP.md: GITHUB_* legacy env var names → canonical APP_ID/PRIVATE_KEY/WEBHOOK_SECRET.
  • CHANGELOG.md: drop the misleading 'install probot@^12, @octokit/rest@^19' migration block.
  • CONTRIBUTING.md: drop the hard-coded 453 tests magic number.

(Bug #31 was a false positive — CODE_OF_CONDUCT.md actually exists.)

  • 806 tests pass (no source changes)
  • eslint clean

🤖 Generated with Claude Code

…s, stale changelog)

## Why
Wave-1 Junior dev and Documentation reviewer agents (`docs/agent-fleet/bugs.md`
Bugs #17, #18, #32) flagged three doc-vs-code drifts that mislead new
operators on first contact:

- README.md and DEVELOPMENT.md advertise four `npm run deploy:*` scripts
  that don't exist in `package.json` — every recipe fails immediately with
  `npm ERR! missing script`.
- GITHUB_APP_SETUP.md still uses the legacy env var names
  (`GITHUB_APP_ID`/`GITHUB_PRIVATE_KEY`/`GITHUB_WEBHOOK_SECRET`); the
  canonical names (`APP_ID`/`PRIVATE_KEY`/`WEBHOOK_SECRET`) live in
  `.env.example`. Devs copy whichever they read last and break their setup.
- CHANGELOG.md "Migration Guide" tells users to install `probot@^12.0.0` and
  `@octokit/rest@^19.0.0`. The repo ships v14 / v22.

(Bug #31 — CONTRIBUTING.md link to CODE_OF_CONDUCT.md — was a false positive:
the file exists at repo root.)

## What
- README.md "## Deployment" rewritten to reflect what actually exists
  (`docker:build` + a PM2 + Netcup VPS section that matches reality).
- DEVELOPMENT.md "## npm Scripts" table aligned with `package.json`
  (added `setup`, dropped four fictional `deploy:*` entries).
- GITHUB_APP_SETUP.md: every legacy env var name replaced with the
  canonical one. (Three `replace_all` sweeps.)
- CHANGELOG.md "Migration Guide" replaced with a short note explaining
  current versions; the inaccurate v12/v19 instructions are gone. Future
  migration blocks will be added at release time, not pre-emptively.
- CONTRIBUTING.md: dropped the hard-coded "453 tests" magic number.

## Source
Wave-1 Junior dev (Bug #17, #18) and Documentation reviewer (Bug #17, #18, #32).

## Test plan
- [x] 806 tests pass (no source changes)
- [x] eslint clean

## Risk & rollout
- Risk: trivial. Docs-only.
- Rollout: self-update on merge.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit a45220f into main May 1, 2026
5 checks passed
@avrabe avrabe deleted the docs/fix-doc-drift branch May 1, 2026 13:10
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.

1 participant