bay init and bay check — the local loop, about two seconds, no cloud.
Both commands are local: no cloud, no build, no model. They exist because the
same loop through a real ship is minutes long, and an agent authoring a config
needs a loop it can actually iterate in.
bay init
bay init [dir] [--force]
Reads the repository and writes a draftsupersonic.json — the monorepo
split, the install command from the lockfile, the build command and output
directory, the start command bound to $PORT, the runtime version the manifests
ask for, and the framework.Then it prints what it could not determine:
Two things I could not determine — check them: · does `app` need a migration before traffic? (release: …) · which secrets does it read? (secrets: [])This is a draft, from a detector that has been confidently wrong before.Read it, fix what is wrong, then: bay check
It refuses to overwrite an existing config without --force.
bay check
bay check [dir]
Resolves and validates the config exactly as a deploy would, and prints, per
service, the command each phase runs. Non-zero exit on any problem.
supersonic.json — 1 service, provisions postgres app · container lane · / runtime node22 base node:22 · package.json engines.node install npm install release — (nothing runs before traffic) start npm start health GET / → 200 scale 2Gi · 1 cpu · max 10 · 900s uses database✓ nothing here fails before the build. No GCP was touched.
Why it is the control plane’s own resolver
Both commands go through a bundle of apps/web/lib/{resolve,app-config, infer-services,repo-facts,lanes,plan-deps}.ts — the control plane’s actual
resolver, compiled into the package, not a port of it. A test fails on a stale
bundle.That matters because a committed detector once spent two days answering
python:3.12 after the runner had moved to 3.14. A second implementation is a
second thing to be wrong.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Bay","description":"Ship anything to a live URL in one command.","colors":{"primary":"#0B5E38","light":"#57B283","dark":"#0B5E38"},"logo":{"light":"https://mintcdn.com/bay/Bjkx70zr19SLX1DO/logo/mark.svg?fit=max\u0026auto=format\u0026n=Bjkx70zr19SLX1DO\u0026q=85\u0026s=22bd18d5ef16e882f0ffdd3a44640ff6","dark":"https://mintcdn.com/bay/Bjkx70zr19SLX1DO/logo/mark-white.svg?fit=max\u0026auto=format\u0026n=Bjkx70zr19SLX1DO\u0026q=85\u0026s=1c21993066ef93e96d7915b9ca7bff74","href":"https://thebay.cloud"},"favicon":"https://mintcdn.com/bay/Bjkx70zr19SLX1DO/logo/favicon.svg?fit=max\u0026auto=format\u0026n=Bjkx70zr19SLX1DO\u0026q=85\u0026s=8e27fb357ed19c32a70a906aedf4df83","navbar":{"links":[{"href":"https://github.com/thebaycloud/bay/issues","label":"Issues"}],"primary":{"type":"button","label":"Open the dashboard","href":"https://app.supersonic.cv"}},"footer":{"socials":{"github":"https://github.com/thebaycloud/bay","website":"https://thebay.cloud"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Templates","icon":"cubes","href":"https://thebay.cloud/templates"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://thebay.cloud/changelog"},{"anchor":"GitHub","icon":"github","href":"https://github.com/thebaycloud/bay"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bay","hasAudioNarration":false,"actualSubdomain":"bay","customDomains":["docs.thebay.cloud"],"gitSource":{"type":"github","owner":"thebaycloud","repo":"bay","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a8daefcad09dc33d39ad71a","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"Documentation","count":14},{"language":"default","tag":"CLI","count":8},{"language":"default","tag":"Reference","count":8},{"language":"default","tag":"Shipping","count":7},{"language":"default","tag":"Configuration","count":4},{"language":"default","tag":"Start here","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"cli/authoring","slug":"/cli/authoring","pageMetadata":{"title":"Authoring","description":"bay init and bay check — the local loop, about two seconds, no cloud.","href":"/cli/authoring"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"bay init and bay check — the local loop, about two seconds, no cloud.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Both commands are local: no cloud, no build, no model. They exist because the\nsame loop through a real ship is minutes long, and an agent authoring a config\nneeds a loop it can actually iterate in.`}),`\n`,_jsx(Heading,{level:`2`,id:`bay-init`,children:`bay init`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`bay`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` init`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [dir] [--force]`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Reads the repository and writes a `,_jsx(_components.strong,{children:`draft`}),` `,_jsx(_components.code,{children:`supersonic.json`}),` — the monorepo\nsplit, the install command from the lockfile, the build command and output\ndirectory, the start command bound to `,_jsx(_components.code,{children:`$PORT`}),`, the runtime version the manifests\nask for, and the framework.`]}),`\n`,_jsx(_components.p,{children:`Then it prints what it could not determine:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`7`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Two things I could not determine — check them:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" · does `app` need a migration before traffic? (release: …)\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` · which secrets does it read? (secrets: [])`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`This is a draft, from a detector that has been confidently wrong before.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Read it, fix what is wrong, then: bay check`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`It refuses to overwrite an existing config without `,_jsx(_components.code,{children:`--force`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`bay-check`,children:`bay check`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`bay`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` check`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [dir]`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Resolves and validates the config exactly as a deploy would, and prints, per\nservice, the command each phase runs. Non-zero exit on any problem.`}),`\n`,_jsx(CodeBlock,{numberOfLines:`14`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`supersonic.json — 1 service, provisions postgres`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` app · container lane · /`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` runtime node22`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` base node:22 · package.json engines.node`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` install npm install`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` release — (nothing runs before traffic)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` start npm start`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` health GET / → 200`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` scale 2Gi · 1 cpu · max 10 · 900s`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` uses database`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`✓ nothing here fails before the build. No GCP was touched.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`why-it-is-the-control-plane’s-own-resolver`,children:`Why it is the control plane’s own resolver`}),`\n`,_jsxs(_components.p,{children:[`Both commands go through a bundle of `,_jsx(_components.code,{children:`apps/web/lib/{resolve,app-config, infer-services,repo-facts,lanes,plan-deps}.ts`}),` — the control plane’s actual\nresolver, compiled into the package, not a port of it. A test fails on a stale\nbundle.`]}),`\n`,_jsxs(_components.p,{children:[`That matters because a committed detector once spent two days answering\n`,_jsx(_components.code,{children:`python:3.12`}),` after the runner had moved to 3.14. A second implementation is a\nsecond thing to be wrong.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Authoring","description":"bay init and bay check — the local loop, about two seconds, no cloud.","href":"/cli/authoring"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"bay init","slug":"bay-init","depth":2,"children":[]},{"title":"bay check","slug":"bay-check","depth":2,"children":[]},{"title":"Why it is the control plane’s own resolver","slug":"why-it-is-the-control-plane’s-own-resolver","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"bay","siteName":"Bay","title":"Authoring - Bay","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-25T14:46:22.714Z","originalFileLocation":"cli/authoring.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"bay init and bay check — the local loop, about two seconds, no cloud.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Bay\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bay/rgl_BGb6S1yPy8nc/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/bay/rgl_BGb6S1yPy8nc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bay/rgl_BGb6S1yPy8nc/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bay/rgl_BGb6S1yPy8nc/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bay/rgl_BGb6S1yPy8nc/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bay/rgl_BGb6S1yPy8nc/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bay/rgl_BGb6S1yPy8nc/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bay/rgl_BGb6S1yPy8nc/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bay/rgl_BGb6S1yPy8nc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authoring - Bay\">\u003cmeta data-mint-head property=\"og:description\" content=\"bay init and bay check — the local loop, about two seconds, no cloud.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Bay\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.thebay.cloud/cli/authoring\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bay.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=Authoring\u0026amp;description=bay+init+and+bay+check+%E2%80%94+the+local+loop%2C+about+two+seconds%2C+no+cloud.\u0026amp;theme=e468f659b65e06e85e08660c\u0026amp;signature=c5b52613a72234a877e8aeb14ab62e025ddd237b7ea88d9280e71d89e21ced57\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Authoring - Bay\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"bay init and bay check — the local loop, about two seconds, no cloud.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bay.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=Authoring\u0026amp;description=bay+init+and+bay+check+%E2%80%94+the+local+loop%2C+about+two+seconds%2C+no+cloud.\u0026amp;theme=e468f659b65e06e85e08660c\u0026amp;signature=c5b52613a72234a877e8aeb14ab62e025ddd237b7ea88d9280e71d89e21ced57\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/bay/rgl_BGb6S1yPy8nc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Bay\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0B5E38\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.thebay.cloud/cli/authoring\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cli/authoring.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.thebay.cloud/#organization\",\"name\":\"Bay\",\"url\":\"https://docs.thebay.cloud\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bay/Bjkx70zr19SLX1DO/logo/mark.svg?fit=max\u0026auto=format\u0026n=Bjkx70zr19SLX1DO\u0026q=85\u0026s=22bd18d5ef16e882f0ffdd3a44640ff6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.thebay.cloud#website\",\"name\":\"Bay\",\"url\":\"https://docs.thebay.cloud\",\"publisher\":{\"@id\":\"https://docs.thebay.cloud/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.thebay.cloud/cli/authoring#webpage\",\"url\":\"https://docs.thebay.cloud/cli/authoring\",\"name\":\"Authoring\",\"description\":\"bay init and bay check — the local loop, about two seconds, no cloud.\",\"dateModified\":\"2026-08-25T14:46:22.714Z\",\"isPartOf\":{\"@id\":\"https://docs.thebay.cloud#website\"},\"breadcrumb\":{\"@id\":\"https://docs.thebay.cloud/cli/authoring#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.thebay.cloud/cli/authoring#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Reference\",\"item\":\"https://docs.thebay.cloud/cli/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authoring\",\"item\":\"https://docs.thebay.cloud/cli/authoring\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.thebay.cloud/cli/authoring#article\",\"headline\":\"Authoring\",\"name\":\"Authoring\",\"description\":\"bay init and bay check — the local loop, about two seconds, no cloud.\",\"url\":\"https://docs.thebay.cloud/cli/authoring\",\"mainEntityOfPage\":{\"@id\":\"https://docs.thebay.cloud/cli/authoring#webpage\"},\"dateModified\":\"2026-08-25T14:46:22.714Z\",\"publisher\":{\"@id\":\"https://docs.thebay.cloud/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.thebay.cloud#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Bay\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Bay\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/cli/authoring.md","siteName":"Bay","nav":{"global":{"anchors":[{"anchor":"Templates","icon":"cubes","href":"https://thebay.cloud/templates"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://thebay.cloud/changelog"},{"anchor":"GitHub","icon":"github","href":"https://github.com/thebaycloud/bay"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"CLI","groups":[{"group":"Reference","pages":[{"title":"CLI overview","href":"/cli/overview"},{"title":"Shipping","description":"bay ship, reship, rollback, patch, delete.","href":"/cli/ship"},{"title":"Authoring","href":"/cli/authoring"},{"title":"Inspecting","description":"bay apps, status, logs, errors, diagnose, exec.","href":"/cli/inspect"},{"title":"Environment","href":"/cli/config"},{"title":"Access and domains","href":"/cli/access"},{"title":"Data and GitHub","href":"/cli/data"},{"title":"Account","href":"/cli/account"}]}]}]},"basePath":"","title":"Authoring - Bay","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":[],"chunks":[]}