A genuine payment can succeed while the merchant integration still fails. AeroCode traces a PayPal Sandbox capture through verified webhook delivery, live AI repair, independent Docker verification, human review, and isolated replay.
Start here: Judge setup | Genuine acceptance evidence | Demo and project story | Executable release: v0.2.7-paypal
- A human buyer approves a fixed USD 1.00 PayPal Sandbox order.
- The trusted server captures it and verifies a genuine delivered webhook through PayPal's postback verification API.
- A bundled merchant adapter fails to correlate the capture with its order.
- Live AI proposes an adapter repair and a new regression test using only public sample code and allowlisted, aliased evidence.
- Network-isolated Docker checks reproduction, repair, protected baselines, and a separately authored acceptance contract the model cannot edit.
- A human inspects the exact hash-bound proposal and authorizes Docker replay. Replay restores downstream correlation; it does not make another payment or deploy code.
The Doctor is intentionally limited to one Sandbox merchant and the bundled adapter. It is not a production payment system or an arbitrary-repository repair service.
flowchart LR
Buyer[Human Sandbox buyer] --> Capture[Server-side capture]
Capture --> Receipt[Genuine webhook + PayPal postback verification]
Receipt --> Alias[Allowlisted aliased evidence]
Alias --> AI[Live AI proposal]
AI --> Docker[Independent Docker verification]
Docker --> Review[Human review of exact hashes]
Review --> Replay[Isolated correlation replay]
On November 12, 2026, genuine Sandbox capture, matching verified delivery, live
nvidia/nemotron-3.5-super-vl-120b-a12b inference through NVIDIA's developer
endpoint, independent Docker acceptance, and human-approved replay completed.
A second fresh execution was recorded end to end for a 2:30 demonstration.
| Validation | Recorded result |
|---|---|
| Full suite, real Docker and Chromium enabled | 393 passed, 3 skipped |
| Separate genuine PayPal / configured NVIDIA integration checks | 5 passed |
| Clean installation: focused backend and Docker checks | 80 passed, 2 skipped |
| Clean installation: focused Chromium checks | 2 passed |
| Fresh recorded run: independent original / repaired exit | 1 / 0 |
Full-suite skips were a Windows symlink-privilege check and two live opt-in checks; the latter ran separately. Clean-install skips were its live opt-ins. These are local results, not a claim about the latest remote CI run or a general AI repair success rate. See exact identifiers and limitations.
Requirements: Python 3.11+, a Linux-container Docker daemon, and a prebuilt trusted sandbox image. Genuine Doctor execution also requires your own Sandbox business/buyer accounts, REST app, AI access, and authorized HTTPS webhook forwarding. No production funds are used by PayPal Sandbox.
git clone https://github.com/adityasoni99/AeroCode.git
cd AeroCode
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -e ".[dev,browser]"
python -m playwright install chromium
Copy-Item .env.example .envConfigure credentials only in the ignored local .env, build the image below,
and follow the complete account, webhook, and judge setup.
In separate terminals:
.\.venv\Scripts\aero-code.exe web --host 127.0.0.1 --port 8000
.\.venv\Scripts\aero-code.exe paypal-webhook --host 127.0.0.1 --port 8001Open http://127.0.0.1:8000/paypal. Enter your local operator token, choose
Live AI (configured endpoint), and complete the Sandbox buyer flow.
Forward only port 8001 to a user-authorized HTTPS URL for webhook delivery.
Never expose the dashboard, payment controls, or repair APIs publicly.
Build the trusted image before diagnosis. This command sends no repository build context:
@'
FROM python:3.11-slim
RUN python -m pip install --no-cache-dir pytest pydantic requests
'@ | docker build --tag aero-code-sandbox:local -Containers run with network disabled, an unprivileged user, read-only root and staged-source mounts, bounded writable memory, and CPU/memory/PID/deadline limits. Verification does not install dependencies or pull images. Doctor execution never falls back to the host.
The accepted Doctor runs used NVIDIA's OpenAI-compatible developer endpoint.
Set the endpoint, your key, and both model overrides using the
tested configuration.
NEBIUS_* names are retained legacy settings, not a claim that NVIDIA inference
ran through Nebius. Never send one provider's key to another provider.
Provider access, quotas, model availability, and output quality remain external
dependencies; earlier unsuccessful attempts are disclosed in the acceptance record.
- Fixed Sandbox API host, server-owned USD 1.00 amount, and decimal arithmetic.
- Operator-authorized local controls and same-origin browser mutations.
- Durable idempotency keys, receipt/checkout transactions, and owner-token leases.
- No raw webhook, payer data, signatures, or secrets in AI context or exports.
- Only the bundled adapter and one new regression file can be proposed. Baseline tests, build configuration, and the trusted contract stay protected.
- Generated code runs only in Docker, never on the trusted host.
- Review binds proposal, sample, evidence, and harness hashes. Hashes identify content; reports are not cryptographically signed proofs of correctness.
- No production payments, refunds, subscriptions, deployment, or Doctor PR publishing.
The PayPal Doctor extends the pre-existing ProofLoop engine: a bounded engineering state machine with Git Guard, regression reproduction, protected baselines, evidence reports, and a FastAPI SSE dashboard. Legacy live inference/research can use Nebius Token Factory and Tavily.
For credential-free evaluation:
aero-code cases
aero-code evaluate
aero-code run --case pydantic_v2_migration --webThese legacy presets use deterministic fixtures in demo mode. Their historical PayPal-style fixture checks transmission-header presence, not authentic signature verification. Mock PR records do not represent real publication. Legacy live mode can fall back to fixtures without an AI key; the Doctor's explicit live mode instead fails closed. End-to-end live GitHub PR publication is not validated.
.\.venv\Scripts\pytest tests\ -v
# After Docker is running and the trusted image is built:
$env:AERO_CODE_DOCKER_INTEGRATION = "1"
.\.venv\Scripts\pytest tests\ -vOrdinary tests mock PayPal and AI; browser tests use injected services. They do
not establish genuine external-service acceptance. Browser coverage requires the
Chromium installation above. Genuine checks are explicitly opt-in with
AERO_CODE_PAYPAL_INTEGRATION=1 and AERO_CODE_AI_INTEGRATION=1; use only your own
configured accounts and the live setup instructions.
With explicit live opt-in, missing prerequisites are blockers, not mock success.
| Path | Purpose |
|---|---|
aero_code/paypal/ |
Sandbox client, transactional state, listener, Doctor coordinator |
aero_code/orchestrator/ |
ProofLoop state machine |
aero_code/verifier/ |
Git Guard, Docker runner, reports |
aero_code/web/ |
Local FastAPI dashboards |
benchmarks/cases/ |
Bundled repair samples |
tests/ |
Unit, integration, and browser coverage |
docs/ |
Setup, acceptance evidence, and documentation index |
demo/ |
Recording and submission materials |
docs/archive/ |
Historical designs and implementation plans |
The immutable v0.2.7-paypal tag contains the executable verified release;
main includes subsequent documentation and fresh-run evidence.
Previous tags remain unchanged. The roadmap tracks engineering;
submission guidance tracks event requirements.
A release or video is not a Devpost submission receipt. Existing-project
eligibility remains subject to organizer determination.