Skip to content

docs: add AGENTS.md with Heroku and OAuth operational gotchas#3590

Open
jstvz wants to merge 1 commit into
mainfrom
docs/agents-md-and-heroku-config-vars
Open

docs: add AGENTS.md with Heroku and OAuth operational gotchas#3590
jstvz wants to merge 1 commit into
mainfrom
docs/agents-md-and-heroku-config-vars

Conversation

@jstvz
Copy link
Copy Markdown
Contributor

@jstvz jstvz commented May 14, 2026

Summary

  • Adds AGENTS.md at repo root, consumed by AI coding agents (Claude Code, Cursor, Copilot Workspace) and humans alike at session start.
  • Captures non-obvious operational behavior that has burned operators on this repo, so future sessions and incoming teammates do not have to rediscover it the hard way.

Why

This week, two of the gotchas listed in the file caused real friction during the Phase 0 / dev-branch workflow operations:

  • A heroku config:set against metadeploy-stg appeared to be a no-op because config:get returned the prior live value while three releases queued behind a slow release-phase. The lesson: validate via heroku releases, not heroku config:get.
  • A new Heroku app got a 12-char hex suffix on its *.herokuapp.com hostname, which broke the Connected App callback URL set against the un-suffixed name.

A teammate is about to start work on a11y bugs in this repo and will benefit from having these gotchas surfaced up front rather than embedded in slack threads or commit history.

Scope

Test plan

  • CI green.
  • Spot-check that AGENTS.md renders correctly in GitHub.

Captures non-obvious behaviors that have burned operators on this
repo, so future agent sessions and human teammates can pick up
context without rediscovering them.

- heroku config:set is async via release-phase; sentinel-testing
  CONNECTED_APP_CLIENT_KEY can take OAuth offline.
- New Heroku app hostnames get a 12-char suffix; callback URLs and
  DJANGO_ALLOWED_HOSTS must match the suffixed hostname.
- Salesforce Connected App callback validation is whole-list; a
  stale entry can block saves.
@jstvz jstvz requested a review from a team as a code owner May 14, 2026 18:38
@jstvz jstvz had a problem deploying to metadeploy-pr-3590 May 14, 2026 18:41 Failure
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