Skip to content

PRDCT-545: unify the contributor guides — house style, migration rules, Vercel reality, gitignore - #1086

Merged
jordanrburger merged 2 commits into
mainfrom
docs/agent-guides-consolidated
Aug 5, 2026
Merged

jordanrburger merged 2 commits into
mainfrom
docs/agent-guides-consolidated

Conversation

@Iamfle4ka

Copy link
Copy Markdown
Collaborator

Four open PRs were all editing the same three contributor-facing files, partly overlapping and partly contradicting each other. This is their union, hand-merged, so whoever reviews it decides once instead of four times.

Supersedes #1000, #1065, #1057 and #1076 (PRDCT-545 + PRDCT-592) — closed as duplicates of this one.

Why they couldn't just be merged in sequence

Whoever merged second would have had to re-decide all of this in a conflict resolution. Resolved here instead.

What's in it

CLAUDE.md

AGENTS.md

  • Vercel is production. help.keboola.com is served by Vercel from main; PRs get preview URLs. Records the two Vercel defaults that actually constrain the build, since vercel.json only sets /pagefind/* cache headers: missing trailing slashes are normalized, and 404.html from the build root answers unmatched paths — so the 404 must stay at the build root.
  • It does not claim the S3 sync is gone. .github/workflows/main.yml still runs aws s3 sync dist s3://help.keboola.com on every push to main and still succeeds (most recently 2026-08-04). Documented as "runs, but is not what serves the live domain" — whether it's still needed is a question for whoever owns the infrastructure, and nothing here assumes an answer.
  • astro preview note: it enforces trailingSlash: 'always' and answers a slash-less URL with its own "Not Found" page, so a locally-tested 404 looks broken when it isn't. Open /404.html directly.
  • The scripts/ map entry for migrate.mjs / switchover.mjs becomes a guard instead of a label. main() runs on invocation (no dry-run, no confirmation) and pruneStalePages() deletes every page under src/content/docs whose Jekyll source is missing from the repo root — and that source tree was deleted wholesale in dff14ec1. "Legacy, no longer used" in prose is not a guard for a file sitting in an agent-readable directory.

.gitignore

  • .claude/ → .claude, no trailing slash. This is the load-bearing one: with the slash it matches directories only, so when .claude is a symlink to a rig kept outside the repo, the symlink itself stayed untracked-and-committable.
  • Local artifacts that were one git add -A from being committed: reports/, *-BRIEFING.md (generalized from PRDCT-592: correct the agent guides on Vercel, gitignore the rig symlink #1076's dated AUG5-BRIEFING.md), DEV-MIGRATION-PLAN.md, SECTION-MAP.md, _graph/, .obsidian/, scripts/shoot.mjs, screenshots.manifest.json.

What this PR deliberately does not carry

Verification

  • npm run build clean, 306 pages.
  • git check-ignore -v .claude → matches the new rule; git status no longer offers the symlink.
  • git diff --stat upstream/main → exactly the three files, no build or content changes.
  • Every claim re-checked against the repo rather than inherited from the source PRs: vercel.json (only /pagefind/* headers), main.yml:30 (the S3 sync), main.yml run history (succeeding), scripts/migrate.mjs:877-895,1040 (pruneStalePages + bare main()), and each dropped CLAUDE.md bullet located in AGENTS.md.

🤖 Generated with Claude Code

Consolidates four overlapping PRs that all edited the same three files:
#1000 (docs house style + revamp process), #1065 (dev→help migration
rules), #1057 and #1076 (Vercel-is-production, .claude symlink fix).

Two conflicts are resolved by hand rather than by merge order: the
Screenshots bullet, which #1000 and #1057 rewrote in different
directions, and the Claude-specific notes list, where #1057 dropped
three bullets #1000 kept.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Aug 5, 2026

Copy link
Copy Markdown

PRDCT-545

@vercel

vercel Bot commented Aug 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
connection-docs Ready Ready Preview Aug 5, 2026 4:39pm

Request Review

@jordanrburger
jordanrburger enabled auto-merge August 5, 2026 16:38
@jordanrburger
jordanrburger merged commit a734c30 into main Aug 5, 2026
2 of 3 checks passed
@jordanrburger
jordanrburger deleted the docs/agent-guides-consolidated branch August 5, 2026 16:39

This branch was successfully deployed

1 active deployment
Preview — a845d687 Deployed Aug 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants