Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ OPENAI_API_KEY=
ENABLE_OPENAI_INTERPRETER=false

# Optional model override for the natural-language interpreter.
OPENAI_MODEL=gpt-5.6-terra
OPENAI_MODEL=gpt-5.6-sol

# Optional canonical deployment URL used for social metadata.
NEXT_PUBLIC_SITE_URL=
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ OPENAI_API_KEY=
# Explicit opt-in. Leave false for public no-key demos.
ENABLE_OPENAI_INTERPRETER=false

# Optional override; defaults to GPT-5.6 Terra.
OPENAI_MODEL=gpt-5.6-terra
# Optional override; defaults to GPT-5.6 Sol.
OPENAI_MODEL=gpt-5.6-sol

# Optional canonical deployment URL for social metadata.
NEXT_PUBLIC_SITE_URL=
Expand Down Expand Up @@ -164,7 +164,7 @@ npm run record:demo
- [Recovery Lab with injected corruption and evidence](docs/assets/submission/07-recovery-lab-result-1600x900.png)
- [Final narrated demo with selectable captions and visible pointer](docs/assets/submission/proofrestore-demo-final.mp4)

The repository retains only the publication MP4, [SRT captions](docs/assets/submission/proofrestore-demo-captions.srt), and [narration source](docs/demo-narration.txt)—not large intermediate audio or silent-video renders. The final 2:20 cut is 1600×900 H.264 with normalized 48 kHz stereo AAC audio, smooth recorder-controlled scrolling, human-like pointer movement and click pulses, and a default English caption track that viewers can enable or disable. It covers the mandatory thesis recovery, hands-on Recovery Lab, and how Codex with GPT-5.6 supported development. The narration uses Microsoft Edge's `en-US-AndrewMultilingualNeural` voice and is disclosed in the first caption. Upload the SRT separately because video hosts may discard embedded subtitles during transcoding. Publishing checks are in [docs/media-production.md](docs/media-production.md).
The repository retains only the publication MP4, [SRT captions](docs/assets/submission/proofrestore-demo-captions.srt), and [narration source](docs/demo-narration.txt)—not large intermediate audio or silent-video renders. The final 2:21 cut is 1600×900 H.264 with normalized 48 kHz stereo AAC audio, smooth recorder-controlled scrolling, human-like pointer movement and click pulses, and a default English caption track that viewers can enable or disable. It covers the mandatory thesis recovery, hands-on Recovery Lab, and how Codex with GPT-5.6 Sol supported development. The narration uses Microsoft Edge's `en-US-AndrewMultilingualNeural` voice and is disclosed in the first caption. Upload the SRT separately because video hosts may discard embedded subtitles during transcoding. Publishing checks are in [docs/media-production.md](docs/media-production.md).

## Manifest import

Expand Down Expand Up @@ -197,7 +197,7 @@ For another Node host, run `npm install`, `npm run build`, and `npm run start`.

## Hackathon development note

ProofRestore was created during OpenAI Build Week with Codex running GPT-5.6. Codex helped establish the architecture, implement and integrate the deterministic recovery engine and Recovery Lab, generate adversarial tests, refine accessibility and interface behavior, and run release validation. Independent subagents worked with non-overlapping ownership on the manifest schema, recovery engine, demo fixture, testing, UX, and submission readiness. All recoverability claims remain backed by executable deterministic logic and tests rather than agent or model judgment.
ProofRestore was created during OpenAI Build Week with Codex running GPT-5.6 Sol from start to finish. Codex helped establish the architecture, implement and integrate the deterministic recovery engine and Recovery Lab, generate adversarial tests, refine accessibility and interface behavior, and run release validation. Independent subagents worked with non-overlapping ownership on the manifest schema, recovery engine, demo fixture, testing, UX, and submission readiness. All recoverability claims remain backed by executable deterministic logic and tests rather than agent or model judgment.

## License and security

Expand Down
2 changes: 1 addition & 1 deletion app/interpret/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function interpretWithModel(
const client = new OpenAI({ apiKey: process.env.OPENAI_API_KEY });
const response = await client.responses.create(
{
model: process.env.OPENAI_MODEL ?? "gpt-5.6-terra",
model: process.env.OPENAI_MODEL ?? "gpt-5.6-sol",
instructions:
"Interpret recovery intent only. Never decide existence, integrity, safety, or recoverability. resolvedPath must be one exact supplied candidate or an empty string. Preserve ambiguity and use UTC ISO 8601 timestamps.",
input: JSON.stringify({
Expand Down
4 changes: 2 additions & 2 deletions docs/DEVPOST_STORY_DRAFT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

- **Tagline:** Know your backup will restore before you need it.
- **Category:** Work and Productivity
- **Built with:** Codex, GPT-5.6, OpenAI Responses API, Next.js, React, TypeScript, Tailwind CSS, Zod, Vitest, Playwright
- **Built with:** Codex, GPT-5.6 Sol, OpenAI Responses API, Next.js, React, TypeScript, Tailwind CSS, Zod, Vitest, Playwright
- **Repository:** https://github.com/ATAC-Helicopter/ProofRestore
- **Live demo:** https://proofrestore.vercel.app
- **Video:** `[add public video URL]`
Expand Down Expand Up @@ -60,7 +60,7 @@ A deterministic TypeScript recovery engine performs:

The application is built with Next.js, strict TypeScript, Tailwind CSS, Zod, the OpenAI Responses API, Vitest, and Playwright. It is stateless, requires no database, and is ready for a conventional Vercel deployment.

Codex running GPT-5.6 was the primary development environment. A lead agent coordinated architecture, integration, validation, and scope while independent subagents owned the manifest schema, deterministic engine and tests, demo fixture, and documentation through non-overlapping files. Codex also drove adversarial testing, accessibility refinement, browser-flow verification, deployment checks, and submission-media QA.
Codex running GPT-5.6 Sol was the primary development environment from start to finish. A lead agent coordinated architecture, integration, validation, and scope while independent subagents owned the manifest schema, deterministic engine and tests, demo fixture, and documentation through non-overlapping files. Codex also drove adversarial testing, accessibility refinement, browser-flow verification, deployment checks, and submission-media QA.

## Challenges we faced

Expand Down
4 changes: 2 additions & 2 deletions docs/SUBMISSION_CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
- [x] Welcome and recovery-request screenshots captured
- [x] Recovery Lab setup/safety screenshot captured
- [x] Recovery Lab corruption/evidence screenshot captured
- [x] Video under required duration: 2:20 (official maximum: 3:00)
- [x] Video under required duration: 2:21 (official maximum: 3:00)
- [x] Final video demonstrates the mandatory thesis flow and hands-on Recovery Lab
- [x] Final video explicitly explains how Codex and GPT-5.6 supported development
- [x] Final video explicitly explains how Codex with GPT-5.6 Sol supported development from start to finish
- [x] Natural neural narration generated, normalized, and muxed as 48 kHz stereo AAC
- [x] Selectable English captions embedded in the final MP4 and retained as an SRT sidecar
- [x] High-contrast pointer and click pulses recorded for every interaction
Expand Down
8 changes: 4 additions & 4 deletions docs/assets/submission/proofrestore-demo-captions.srt
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ Natural language interprets requests, but deterministic code decides recovery.
Backups should not require faith.

23
00:01:56,850 --> 00:02:03,118
ProofRestore was developed during OpenAI Build Week with Codex and GPT-5.6.
00:01:56,850 --> 00:02:04,175
ProofRestore was developed during OpenAI Build Week with Codex running GPT-5.6 Sol from start to finish.

24
00:02:03,118 --> 00:02:13,356
00:02:04,175 --> 00:02:14,311
Codex helped shape the architecture, implement the deterministic recovery engine and Recovery Lab,
build adversarial tests, refine accessibility, and run release validation.

25
00:02:13,356 --> 00:02:18,288
00:02:14,311 --> 00:02:19,322
AI interprets intent, but deterministic code alone decides recovery.
Binary file modified docs/assets/submission/proofrestore-demo-final.mp4
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/demo-narration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ The ordered log exposes every snapshot and byte change. The fixed expected hash

You can choose your own files or folder, remove an object, create a conflict, export the manifest, or continue through the full workflow. Natural language interprets requests, but deterministic code decides recovery. Backups should not require faith.

ProofRestore was developed during OpenAI Build Week with Codex and GPT-5.6. Codex helped shape the architecture, implement the deterministic recovery engine and Recovery Lab, build adversarial tests, refine accessibility, and run release validation. AI interprets intent, but deterministic code alone decides recovery.
ProofRestore was developed during OpenAI Build Week with Codex running GPT-5.6 Sol from start to finish. Codex helped shape the architecture, implement the deterministic recovery engine and Recovery Lab, build adversarial tests, refine accessibility, and run release validation. AI interprets intent, but deterministic code alone decides recovery.
10 changes: 5 additions & 5 deletions docs/demo-script.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ProofRestore demo script

Target runtime: **under three minutes**. The checked-in narrated cut is **2:20** and includes the mandatory recovery proof, hands-on Recovery Lab, and explicit Codex/GPT-5.6 development disclosure required for OpenAI Build Week. Use the built-in vault and no API key for the most reliable recording.
Target runtime: **under three minutes**. The checked-in narrated cut is **2:21** and includes the mandatory recovery proof, hands-on Recovery Lab, and explicit Codex/GPT-5.6 Sol development disclosure required for OpenAI Build Week. Use the built-in vault and no API key for the most reliable recording.

## 0:00–0:08 — Set up the problem

Expand Down Expand Up @@ -101,15 +101,15 @@ Point to `snapshot_selected`, `path_found`, `object_found`, `hash_match`, `size_

End on the footer: **Backups should not require faith.**

## 1:56–2:20 — Explain how it was built
## 1:56–2:21 — Explain how it was built

**On screen:** A concise OpenAI Build Week disclosure card.

**Narration:**

> “ProofRestore was developed during OpenAI Build Week with Codex and GPT-5.6. Codex helped shape the architecture, implement the deterministic recovery engine and Recovery Lab, build adversarial tests, refine accessibility, and run release validation. AI interprets intent, but deterministic code alone decides recovery.”
> “ProofRestore was developed during OpenAI Build Week with Codex running GPT-5.6 Sol from start to finish. Codex helped shape the architecture, implement the deterministic recovery engine and Recovery Lab, build adversarial tests, refine accessibility, and run release validation. AI interprets intent, but deterministic code alone decides recovery.”

End on **Developed with Codex + GPT-5.6** and the deterministic trust boundary.
End on **Developed with Codex + GPT-5.6 Sol** and the deterministic trust boundary.

## Extended hands-on test path

Expand Down Expand Up @@ -137,7 +137,7 @@ Explore demo vault
→ Apply to virtual vault
→ Run recovery check
→ Unrecoverable with hash_mismatch and ordered evidence
→ Developed with Codex + GPT-5.6 disclosure
→ Developed with Codex + GPT-5.6 Sol disclosure
```

## Recording preparation
Expand Down
2 changes: 1 addition & 1 deletion docs/development-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@
### Public release hardening and final video

- Replaced audience-specific video language with generic user language and rebuilt the recorder with seeded Bézier pointer paths, off-center clicks, human dwell timing, and smooth recorder-only scrolling.
- Reassembled and fully decoded a 2:20, 1600×900 H.264 final video with natural 48 kHz stereo narration and an optional embedded English caption track; added the rules-required Codex/GPT-5.6 development disclosure, inspected representative frames, and verified the embedded captions match the SRT source.
- Reassembled and fully decoded a 2:21, 1600×900 H.264 final video with natural 48 kHz stereo narration and an optional embedded English caption track; added the rules-required disclosure that Codex ran GPT-5.6 Sol from start to finish, inspected representative frames, and verified the embedded captions match the SRT source.
- Added the MIT license, `SECURITY.md`, `CONTRIBUTING.md`, CODEOWNERS, pull-request guidance, Dependabot, CodeQL, SHA-pinned Actions, and strict browser security headers.
- Pinned patched PostCSS 8.5.19 through the package override; `npm audit` now reports zero vulnerabilities.
8 changes: 4 additions & 4 deletions docs/media-production.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Submission media production

The publication artifact is `docs/assets/submission/proofrestore-demo-final.mp4`. It is a 2:20 demo containing deterministic human-like pointer movement, visible click pulses, smooth recorder-only scrolling, natural neural narration, normalized stereo audio, a default selectable English caption track, and an explicit explanation of how Codex/GPT-5.6 supported development. The official rules require a public YouTube upload; attach `proofrestore-demo-captions.srt` separately because YouTube may not preserve embedded MP4 subtitles during transcoding.
The publication artifact is `docs/assets/submission/proofrestore-demo-final.mp4`. It is a 2:21 demo containing deterministic human-like pointer movement, visible click pulses, smooth recorder-only scrolling, natural neural narration, normalized stereo audio, a default selectable English caption track, and an explicit explanation that Codex ran GPT-5.6 Sol from start to finish. The official rules require a public YouTube upload; attach `proofrestore-demo-captions.srt` separately because YouTube may not preserve embedded MP4 subtitles during transcoding.

## Rebuild the visual recording

Expand All @@ -21,10 +21,10 @@ Use this YouTube title:

Use this description:

> ProofRestore verifies whether backup data can actually be recovered, safely simulates restore actions, exposes deterministic evidence, and generates a Proof of Recoverability report. Built during OpenAI Build Week with Codex and GPT-5.6. Live demo: https://proofrestore.vercel.app — Source: https://github.com/ATAC-Helicopter/ProofRestore — Narration is AI-generated; no copyrighted music is used.
> ProofRestore verifies whether backup data can actually be recovered, safely simulates restore actions, exposes deterministic evidence, and generates a Proof of Recoverability report. Built during OpenAI Build Week with Codex running GPT-5.6 Sol from start to finish. Live demo: https://proofrestore.vercel.app — Source: https://github.com/ATAC-Helicopter/ProofRestore — Narration is AI-generated; no copyrighted music is used.

1. Upload only `proofrestore-demo-final.mp4` to YouTube and set visibility to **Public**.
2. Attach `proofrestore-demo-captions.srt` as English captions.
3. Confirm narration plays, the final Codex/GPT-5.6 disclosure is visible, and CC can be toggled on YouTube's transcoded copy.
4. Confirm YouTube reports a runtime of approximately 2:20, below the official 3:00 maximum.
3. Confirm narration plays, the final Codex/GPT-5.6 Sol disclosure is visible, and CC can be toggled on YouTube's transcoded copy.
4. Confirm YouTube reports a runtime of approximately 2:21, below the official 3:00 maximum.
5. Add the public URL to Devpost and the submission checklist.
2 changes: 1 addition & 1 deletion docs/plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Phase 6 technically complete — application, tests, production build, security
- Rebuilt the interface as a focused four-stage workflow: health, recovery request, restore simulation, and proof report.
- Made safe copy the default destination, exposed exact snapshot and recursion controls, separated content recoverability from restore safety, and added deterministic provenance to results.
- Captured the 3:2 cover and eight gallery states from the production flow, including Recovery Lab setup/safety and corruption/evidence views.
- Recorded a 2:20 narrated 1600×900 MP4 covering the core recovery flow, Recovery Lab, and Codex/GPT-5.6 development disclosure, with selectable SRT captions and a retained narration script.
- Recorded a 2:21 narrated 1600×900 MP4 covering the core recovery flow, Recovery Lab, and disclosure that Codex ran GPT-5.6 Sol from start to finish, with selectable SRT captions and a retained narration script.
- Added an MIT license, public security policy, contribution guidance, CodeQL and Dependabot configuration, SHA-pinned Actions, patched PostCSS resolution, and browser security headers.
- Rebuilt the recorder with deterministic human-like pointer paths, intentional dwell/click timing, and smooth recorder-only scrolling while preserving reduced-motion behavior in the product.
- Deployed the safe deterministic build to https://proofrestore.vercel.app and smoke-tested its homepage and no-key interpreter endpoint.
Expand Down
4 changes: 2 additions & 2 deletions scripts/record-demo.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ async function showBuildDisclosure(page) {
<div class="build-disclosure-frame">
<div class="build-disclosure-brand"><span>PR</span> ProofRestore</div>
<p class="build-disclosure-eyebrow">OPENAI BUILD WEEK</p>
<h1>Developed with Codex + GPT-5.6</h1>
<h1>Developed with Codex + GPT-5.6 Sol</h1>
<p class="build-disclosure-lede">Codex helped shape the architecture, implement the deterministic recovery engine and Recovery Lab, build adversarial tests, refine accessibility, and run release validation.</p>
<div class="build-disclosure-boundary">
<strong>AI interprets intent.</strong>
Expand Down Expand Up @@ -207,7 +207,7 @@ async function showBuildDisclosure(page) {
letter-spacing: 0.16em;
}
#codex-build-disclosure h1 {
max-width: 980px;
max-width: 1120px;
margin: 0;
font-size: 72px;
line-height: 1.03;
Expand Down