-
-
Historical 16 Oct workflow overview. Core PayPal Sandbox create/read-back was verified separately on 19 Oct; see the story.
-
Local safeguards: edits revoke acceptance; uncertain creation blocks blind retries; mismatched read-back stays unverified.
-
Historical 16 Oct internal checks. Later 19 Oct Sandbox result: VERIFIED_DRAFT in run #1, linked in the project story.
ScopeProof: evidence before invoices
ScopeProof helps small web studios connect fixed-price project scope, delivery evidence, external ChatGPT-assisted findings, explicit human acceptance and invoice preparation. The aim is to make it clear which version was accepted before preparing the invoice draft.
Combined workflow: agreed scope and fixed price → delivery evidence → external ChatGPT analysis imported into ScopeProof → explicit acceptance of that version in the reviewer UI → merchant confirmation → PayPal Sandbox invoice draft → matching read-back and delivery record.
PayPal Developer Platform and AI-assisted review
PayPal: The application implements PayPal Invoicing v2 in the free Sandbox environment: OAuth authentication, creation of an unsent draft and read-back of that same invoice. The documented November 9, 2026 browser test reports successful authentication, one unsent EUR 125 synthetic test draft and matching read-back. After an evidence edit revoked acceptance, Read existing draft only retrieved the original draft without creating another invoice or approving the changed evidence.
ChatGPT: ScopeProof exports a prompt for a specific saved project snapshot. The user obtains a structured review in external ChatGPT and imports the JSON. The app validates the response schema, criterion identifiers, exact supporting quotations and snapshot consistency. The November 9 record documents three freshly generated ChatGPT responses imported through the application.
This is a manual external-AI import workflow, not an embedded model API call. AI findings assist review; they do not approve delivery, set the agreed price or authorize payment. Acceptance is a separate action designed for a human reviewer. In the documented test, the assistant operated both merchant and reviewer test roles with synthetic evidence; no independent customer or human acceptance was observed.
Start with these current materials:
- Current judging guide — working local build, simulator and private Sandbox setup.
- November 9 observed PayPal Sandbox and ChatGPT-import workflow — steps, source version and evidence limits.
- Sanitized observation receipt, prompts and responses — the three external reviews and recorded application states.
- Source code — public repository with MIT license.
The November 9 record identifies runtime source 8b176a695cf9516aa0093425b45bfee01c685917 (0.3.5-readback-candidate). It is an assistant's browser/application observation, not independent provider certification or a PayPal dashboard-log export. No production payment or invoice sending is claimed.
Video boundary: The retained 143-second video shows the earlier 0.3.5 local simulator workflow, including imported analysis and explicit reviewer actions. It uses sampled application captures with cuts and reading holds. It does not show the November 9 authenticated Sandbox test and is not a continuous recording of that run.
Inspiration
A studio can finish a fixed-price website milestone and still struggle to answer a simple question: which version of the work did the reviewer accept? The agreed scope, delivery report, review and invoice often live in different places. ScopeProof makes that handoff inspectable before a draft is prepared.
What it does
ScopeProof connects a milestone's agreed criteria and integer-cent price to a saved version of textual delivery evidence. An external AI tool can propose criterion-level findings with supporting quotations. The application checks the imported response's schema, criterion IDs, quoted substrings and snapshot binding; it does not treat a model finding as acceptance. A reviewer explicitly considers each criterion and accepts the current version. Changing the report or scope invalidates stale analysis and approval.
Version 0.3.5 also exports a portable delivery record so the recipient can inspect the saved scope, findings, review and draft status together.
The merchant separately confirms an invoice draft. The PayPal Invoicing v2 adapter is restricted to Sandbox OAuth, draft creation and direct read-back. It checks the returned DRAFT status, invoice number, currency, seller, recipient, item and amount against the agreed scope. An uncertain creation outcome stays unresolved instead of triggering a blind automatic POST retry. The app has no invoice-send or payment-capture action. Its default browser mode is visibly labelled LOCAL SIMULATOR · NOT PAYPAL.
How we built it
The local desktop-browser application uses Python 3.11+, SQLite and HTML/CSS/JavaScript. PayPal OAuth/create/read-back and response validation are implemented in scopeproof_bridge.py (SandboxPayPal, verify_invoice and validate_analysis). workflow.py connects review_prompt/import_review, explicit approve, connect_paypal, draft and refresh_draft; app.py exposes the browser HTTP routes. Versioned state, short-lived local review capabilities, explicit approval, a durable billing intent and guarded provider responses keep the review and billing stages separate. The AI workflow exports a prompt for the current snapshot and imports a structured answer from an external tool. The application did not make an in-app model API call in the recorded demonstration; imported authorship is not authenticated. Local lexical retrieval is separately labelled and is not presented as an LLM.
Earlier demonstrations and engineering history
Working version 0.3.5, October 22: We operated the actual application in Chrome using a fresh synthetic workspace. We saved the complete report, exported its current snapshot-bound prompt, generated a new structured response with ChatGPT outside the app, and validated that response through the interface. A separate local review session explicitly selected the three criteria and accepted v2; the merchant then created one simulated draft, INV2-MOCK-0001. Both browser roles were operated by the AI assistant as a test, not by a real customer. Importing does not make an in-app model call or authenticate authorship.
Editing the report blocked actions until save or discard. Saving v3 invalidated acceptance, retained the draft as a record of v2 and made the next draft action return CURRENT_REVIEW_REQUIRED. The demonstration uses sampled consecutive browser captures with editorial cuts and reading holds; it is not a continuous screen recording.
Portable delivery records: Version 0.3.5 exports a readable HTML record containing the saved scope, findings, review and draft status. Supplemental exports from the same local database preserved v2 as accepted and v3 as pending with a historical draft. The offline verifier passed their consistency checks. The browser displayed its export notification, but completion of its download was not confirmed in this managed browser; the preserved files were exported locally and are labelled accordingly. Local consistency does not establish customer identity or the truth of supplied evidence.
PayPal Sandbox integration, separate historical execution: On October 19, a one-shot GitHub Actions run of the public 0.3.4 adapter authenticated with authorized Sandbox test accounts, created one unsent synthetic EUR 125 draft, and directly read it back as VERIFIED_DRAFT. No invoice was sent and no payment was attempted. Run #1 and its redacted receipt omit credentials, account emails and invoice identifiers. This core-adapter run did not include the browser or fresh model inference. A continuous 0.3.5 browser-to-PayPal execution is not claimed.
Validation: The merged 0.3.5 tree passed 215 Python tests, five HTTP failure scenarios and 24 JavaScript controller-adapter checks. Earlier recorded AI-import runs also exercised incomplete evidence and stale-response rejection. These are internal engineering checks, not independent certification, a customer study or a comparative model benchmark.
Unicode import hardening, October 30: The October 30 correction rejects an imported JSON review containing an escaped lone Unicode surrogate before saving. The reproduced defect changed from a successful import followed by a broken delivery export to 400 INVALID_JSON, with the previous saved state preserved and export still working after restart. Valid emoji, multilingual text and exact quotations remain supported. The audited correction passed 224 Python tests and five HTTP fault scenarios in local simulator and loopback tests. It does not migrate an already-corrupted database, and adds no new browser-to-PayPal or model-execution claim.
Challenges and lessons
We corrected stale asynchronous responses that could otherwise overwrite unsaved edits, put the criterion, quote, finding and human decision together, and separated definite provider rejection from a genuinely uncertain outcome. Hashes and exact quotations bind records to supplied bytes; they do not prove the report is true, that the work was delivered, or that the model is always right. The local ledger prevents this app from blindly retrying an uncertain creation; it is not a provider-wide exactly-once guarantee.
What's next
The November 9 observation extends the earlier browser/provider evidence as described above. Next, test whether independent small web studios understand the handoff and whether it saves time. Do not rerun the historical one-shot Sandbox workflow. No customer study, paid pilot, revenue or production readiness is claimed yet.
Built with and access
Python, SQLite, HTML, CSS, JavaScript, PayPal Invoicing v2 Sandbox, and external ChatGPT-assisted analysis imported by the user. The public MIT-licensed repository includes a working local simulator and setup instructions. Judges can run that mode without credentials; a separate Sandbox mode requires their own free PayPal Developer Sandbox app and test accounts. The recorded Sandbox runner is one-shot and must not be dispatched again.
How to try the working build
Use the current repository and judging guide; the attached October 22 judging package is historical. On the same desktop computer as the browser, use Python 3.11+ and run python app.py --workspace ../scopeproof-judge-demo from the source directory (Windows: py -3 instead of python). Keep the terminal open and use the private local session opened by the app; do not share its token.
- Confirm LOCAL SIMULATOR · NOT PAYPAL. Load and save the synthetic sample. The default mode needs no credentials or model download.
- Choose Import review from your AI tool, export the current prompt, obtain a fresh structured response in your own ChatGPT session, and import its JSON. A response for another snapshot must be rejected.
- Open the separate reviewer session, inspect each criterion and explicitly accept that saved version. Return to the merchant tab, refresh local status, confirm the simulated draft, and export the delivery record.
- Save an evidence edit. Acceptance must be revoked; the old draft remains bound to the old version. Read existing draft only refreshes that record without creating another draft or accepting the edit.
For the real PayPal path, follow the README's Connect PayPal Sandbox privately instructions and run python app.py --sandbox --workspace ../scopeproof-judge-sandbox. Supply your own free Developer Sandbox app credentials and generated seller/buyer test accounts locally; no credentials are published. Authenticate before exporting the final review prompt because changing parties invalidates earlier review. Then obtain/import fresh ChatGPT analysis, explicitly accept that version, confirm one unsent Sandbox draft and inspect read-back. Without Sandbox credentials, judges can fully exercise only the simulator path. Preserve uncertain outcomes for investigation; do not blindly retry creation or rerun the historical one-shot workflow.