# patch.moi > Documentation site powered by Tome - [Architecture](/concepts/architecture) - How feeds, targets, state, and flow dispatch fit together. - [Flow boundary](/concepts/flow-boundary) - What Patch owns and what codex-flow packages own. - [Forgejo forking problem space](/concepts/forgejo-forking-problem-space) - Historical analysis for tracking and possibly forking Forgejo from Patch signals. - [Upstream use cases](/concepts/upstream-use-cases) - How Patch is used for Forgejo and Codex upstream tracking. - [Configure feed sources](/guides/configure-feed-sources) - Add upstream feeds and choose notification, fork-sync, or flow targets. - [Dispatch and replay flow events](/guides/dispatch-and-replay-flow-events) - Use local or HTTP flow execution and retry stored events. - [Enable Discord output](/guides/enable-discord-output) - Send selected upstream signals to a Discord webhook. - [Run Patch locally](/guides/run-patch-locally) - Install dependencies, start the service, and run checks. - [patch.moi](/) - Feed watching and flow dispatch for upstream project events. - [Environment](/reference/environment) - Runtime environment variables used by Patch. - [Feed sources](/reference/feed-sources) - JSON schema by convention for upstream feed configuration. - [HTTP API](/reference/http-api) - Health, flow event inspection, retry, replay, and dispatch history. - [JSONL state](/reference/jsonl-state) - Files written under DATA_DIR. - [Packages](/reference/packages) - Workspace packages in the Patch monorepo. - [Dispatch a Codex release flow](/tutorials/dispatch-codex-release-flow) - Connect the OpenAI Codex release feed to codex-flow automation. - [Watch an upstream release](/tutorials/watch-upstream-release) - Configure a release feed and store the first Patch flow event.