Skip to content

Check the Drawing Board production contract - #16

Merged
raghubetina merged 1 commit into
mainfrom
drawing-board-production
Oct 3, 2026
Merged

raghubetina merged 1 commit into
mainfrom
drawing-board-production

Conversation

@raghubetina

Copy link
Copy Markdown
Contributor

Why

First Draft is retiring its staging service. firstdraft/drawing-board#61 points Codespaces at production (https://firstdraft.com) and passes the .env token to the CLI as FIRSTDRAFT_API_TOKEN. Drawing Board's contract check runs this repository's maintainer scripts, which still assert the staging wrapper, so #61 cannot pass until this lands.

  • script/check: expect the production .env.example; drop the FIRSTDRAFT_STAGING_API_URL pin.
  • script/check-firstdraft-wrapper.mjs: production URLs; the .env token reaches the CLI as FIRSTDRAFT_API_TOKEN and replaces an inherited one; a blank token still never falls back to shell credentials; --staging cases removed; a stale staging URL is refused with an error naming production.
  • script/devcontainer-smoke and check-agent-setup.mjs: compare against the production URL.
  • README: the credential and repository-contract text.
  • Workflow default candidate: #61's head 5c7c84c.

check-firstdraft-wrapper.mjs passes locally against #61's wrapper. After merge, #61 repins its actions to this merge commit.

Docs: updated drawing-board/README.md.

First Draft is retiring its staging service, so Drawing Board now
points Codespaces at production and passes the .env token to the CLI
as FIRSTDRAFT_API_TOKEN (firstdraft/drawing-board#61).

Expect that contract: a production .env.example and smoke .env, no
staging URL pin, the token replacing any inherited value, and a stale
staging URL refused with an error that names production. The default
candidate moves to that pull request's head so this check runs it.
@raghubetina
raghubetina merged commit a28327a into main Oct 3, 2026
1 check passed
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