Repository navigation
Check the Drawing Board production contract - #16
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
First Draft is retiring its staging service. firstdraft/drawing-board#61 points Codespaces at production (
https://firstdraft.com) and passes the.envtoken to the CLI asFIRSTDRAFT_API_TOKEN. Drawing Board'scontractcheck 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 theFIRSTDRAFT_STAGING_API_URLpin.script/check-firstdraft-wrapper.mjs: production URLs; the.envtoken reaches the CLI asFIRSTDRAFT_API_TOKENand replaces an inherited one; a blank token still never falls back to shell credentials;--stagingcases removed; a stale staging URL is refused with an error naming production.script/devcontainer-smokeandcheck-agent-setup.mjs: compare against the production URL.5c7c84c.check-firstdraft-wrapper.mjspasses locally against #61's wrapper. After merge, #61 repins its actions to this merge commit.Docs: updated drawing-board/README.md.