Skip to content

Complete PUB-3 hygiene: .vercel ignore and agents.json exception - #16

Merged
snapsynapse merged 1 commit into
mainfrom
cc/pub3-hygiene
Sep 24, 2026
Merged

snapsynapse merged 1 commit into
mainfrom
cc/pub3-hygiene

Conversation

@snapsynapse

Copy link
Copy Markdown
Owner

Summary

Finishes PUB-3 from the 2026-09-14 cross-repo assessment. The release-prose part merged in #15; this commit reached that branch after the merge, so it comes here instead.

  • .gitignore. Adds .vercel, the one pattern from the Repo Standards baseline that was missing. Every other baseline pattern was already present.
  • agents.json placement. Repo Standards list agents.json as travels-with-code at the repository root. PubLedge's copy is build output of scripts/build-extras.js. It is fetched over HTTP by server.json, llms.txt and the README, and it is committed under docs/, so a clone already carries it. A root duplicate would add drift risk without serving any consumer the committed copy doesn't. Instead of adding the file, this records the deviation in INTENT.md under a new "Exceptions to Repo Standards" section, with a decision-history entry. docs/INTENT.md is regenerated and matches.

If you'd rather follow the standard literally, the alternative is to have build-extras.js also write a root agents.json, plus an eval that enforces byte parity with docs/agents.json.

Test plan

  • OBLIGATION_FIRST_DIR=../obligation-first npm run verify:ci passes on top of main f6d96ed7
  • ./scripts/validate-hashes.sh passes
  • INTENT.md and docs/INTENT.md are byte-identical after build

🤖 Generated with Claude Code

- Add .vercel to .gitignore, the one baseline pattern from Repo
  Standards that was missing.
- Record a served-only agents.json exception in INTENT.md. Repo
  Standards place agents.json at the repository root, but here it is
  build output fetched over HTTP by server.json, llms.txt and the README,
  and the committed docs/ copy already travels with a clone; a root copy
  would only add drift risk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@snapsynapse snapsynapse mentioned this pull request Sep 24, 2026
2 tasks done
@snapsynapse
snapsynapse merged commit 9152b72 into main Sep 24, 2026
2 checks passed
@snapsynapse
snapsynapse deleted the cc/pub3-hygiene branch September 24, 2026 03:44
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