Dogfood GitHub-powered doc automations - #809
Draft
an1va wants to merge 1 commit into
Draft
Conversation
Previewhttps://derive-pr-809.derive-to.workers.dev Deployed from It shares production's database — sign in with your real account, and treat anything you change here as changed for real. It has no routes, no cron, no queue consumer and no OG renderer, so it cannot serve derive.to, run scheduled work, or write images onto real artifacts. Unlike production it serves artifact HTML on its own origin (that is what makes frame-side changes visible here). Storage is still sandboxed away, but untrusted HTML and the sign-in form share a hostname — treat this URL as you would any link: don't type a password into it because a page asked you to. |
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.
Summary
automate action:"create_context"bind the exact same least-privilege source ids, so the context can be tested directly before it runs on a clockderive workflow sync, preventing a Ready workflow from publishing with missing-policy advisoriesScenario
The first production dogfood is one internal living doc: read merged PRs from
derive-to/derive, update the same weekly brief with cited changes, and publish nothing on a no-change window.Reviewable scenario + native Ready Preview:
https://derive.to/artifacts/weekly-github-derive-doc-update-dojve0ul
The scenario explicitly forbids PATs, repository mirroring, collection ingest, unauthenticated scraping, GitHub writes, and unbounded repair.
Verification
pnpm verify— 33/33 guardrails, all typechecks, 2,633 passing tests; existing skips unchangedProduction dogfood status
Automate is enabled and there are no existing automations in the Derive workspace. GitHub is not installed there yet. Installing the App for
derive-to/derive, creating the context/target/automation, and attaching the first run receipt will finish this PR's live proof after explicit install confirmation.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.