diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1c3ed8e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM mcr.microsoft.com/azure-functions/python:4-python3.12 + +ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ + AzureFunctionsJobHost__Logging__Console__IsEnabled=true + +COPY requirements.txt / +RUN pip install -r /requirements.txt + +COPY . /home/site/wwwroot diff --git a/WIKI/Architecture.md b/WIKI/Architecture.md new file mode 100644 index 0000000..ee893e5 --- /dev/null +++ b/WIKI/Architecture.md @@ -0,0 +1,18 @@ +# Architecture + +Autopilot Core operates as a stateless polling engine managing organizational webhooks. + +## Org-Level Invocation Flow + +\\\mermaid +graph TD; + GitHub[GitHub Org Webhooks] --> Poller[Issue Poller] + Poller --> Queue[Autofix Task Queue] + Queue --> Dispatcher[Codex Dispatcher] + Dispatcher -->|Delegates to AI| Codex[Codex Agent] + Codex --> GitOps[GitOps Committer] + GitOps -->|Creates PR| GitHub +\\\ + +## Auto-Scaling +Because it's a stateless control plane, multiple instances of Autopilot-Core can run simultaneously, picking tasks off the queue to achieve massive parallel issue resolution across hundreds of repositories. diff --git a/WIKI/Home.md b/WIKI/Home.md new file mode 100644 index 0000000..ff09780 --- /dev/null +++ b/WIKI/Home.md @@ -0,0 +1,6 @@ +# Autopilot Core Wiki + +Welcome to the internal documentation for Autopilot Core. + +## Table of Contents +1. [Architecture & Flow](Architecture.md)