Supported Services, Security and Deployment Boundaries
Actual local JavaScript executes in isolated, budgeted workers. Supported service objects change fictional state. This is neither a Google account connection nor a complete Apps Script runtime.
Supported adapters include SpreadsheetApp active/open workbook, sheets and rectangular ranges, getValues/setValues/appendRow and selected formatting; DocumentApp create/open, first document tab body, clear/append/replace; DriveApp folders/files/create/move and selected metadata; GmailApp search subset and createDraft; MailApp quota/send-disabled; CalendarApp local events; FormApp authored responses; PropertiesService string properties; CacheService per-run TTL; LockService modeled lock acquisition/release. Session email is a supplied fictional actor. Unsupported methods fail visibly. Cache and lock behavior does not reproduce Google concurrency or eviction.
For the exact method list inspect assets/services.mjs. Gmail send operations are disabled. Drafts are never sent in the browser. Real Google exports create Docs and drafts only after a user separately reviews and authorizes the script.
Reruns use a stable record key and checkpoint registry. Cross-service operations are not atomic: an interruption between artifact creation and saving its ID can still require reconciliation in Google. Changes to completed requirements need versioned policy and review.
AI examples use authored deterministic fixtures or text calculations. Structured schema validation is a documented subset and does not validate truth. Optional Gemini code uses protected Script Properties and must be configured/tested separately; no live provider request was tested here.
Finished applications are focused examples sharing a review-first framework. The secure-record example fails closed on missing/incorrect actor and is delivered as a bound sidebar, not a certified public web app. A public web endpoint is intentionally not provided without deployment-specific authorization design.
Official references checked26 November2026: Gmail draft API, Document tabs, LockService, HTML client/server communication, Gemini structured output.