diff --git a/FORK.md b/FORK.md index b56d0ab4810cd..229b9d946b1a4 100644 --- a/FORK.md +++ b/FORK.md @@ -2,6 +2,8 @@ This fork follows `pingdotgg/t3code` stable release tags (see Upstream sync and releases). Its integration branch is `integration/mcp-events-20261109`, and the live server on Chris's machine runs its fork preview releases. Keep fork changes small and in fork-only files where possible, so upstream merges stay cheap. +For CEW follow-up drain work in this fork, read the [source-only factory grant](docs/factory-grant.md) from the authenticated `integration/mcp-events-20261109` branch before issue selection or source work. + ## Database migrations Upstream owns every id in `effect_sql_migrations`. Effect's migrator skips every id up to the highest recorded one, so a fork migration that takes an upstream id silently blocks upstream's migration with that id, and upstream builds then refuse to start on the database. diff --git a/docs/factory-grant.md b/docs/factory-grant.md new file mode 100644 index 0000000000000..6c3c99d07cc75 --- /dev/null +++ b/docs/factory-grant.md @@ -0,0 +1,21 @@ +# Engineering factory source-only grant + +This grant covers source delivery in this fork under its existing repository and owner rules. The authorized actor is the **CEW follow-up drain** and the issue lanes it starts. Read this file from the authenticated `integration/mcp-events-20261109` branch, the fork's working branch, before selection or source work. `main` mirrors upstream and carries no grant. If this file is absent from the integration branch, cannot be read, or the drain's governing contract excludes this repository, stop. Removing this file from the integration branch revokes this repository grant. + +## Allowed actions + +- Select open, unparked issues within approved scope. Record missing binary acceptance criteria and retire issues only with evidence of their disposition. +- Prepare source, tests and documentation from the fresh integration branch and deliver them through a PR to that branch under the [fork guide](../FORK.md) and the [repository guidance](../AGENTS.md). Follow the repository's ownership, admission and stop conditions. +- Require a completed hosted Codex review and the CI required for the candidate on the exact PR head. Hold for missing or failed required evidence or open blocking findings, including where GitHub provides no branch protection. When repository policy and the drain contract permit agent merge, use the repository's required merge with an exact-head match. + +## Live work and stop conditions + +- Stop for anything outside approved source scope or requiring a protected authority decision, including new dependencies, credentials, providers, destinations, privileges, spend, production data changes or an Assured implementation. +- Never write to `main`. Upstream merges belong to the hourly upstream sync, which takes upstream stable release tags only; stop for any upstream merge, `sync/upstream-*` branch or PR, or change to the sync procedure in the [fork guide](../FORK.md#upstream-sync-and-releases). +- Follow the fork's [database migration rules](../FORK.md#database-migrations). Stop for a release, publication, deployment or change to the live T3 service; those stay in their existing flow. +- This fork is public. Keep private details out of its issues, PRs, commits and files. +- When a done-check needs live evidence, leave the issue open, name the live owner on it and omit PR closing keywords. Close only after that owner confirms the result. + +## Owner decisions + +On 2026-12-01 Chris chose **“Include them fully”**, approving this repository for the source-only grant. Verdict `4e7e037e-0428-4c51-8e8d-02cf8e632013`. A fresh Oracle then placed the grant on the integration branch rather than `main`, inside that approval.