Inspiration

As a full-stack developer and IT freelancer, I accumulate technical knowledge everywhere: WhatsApp threads, loose notes, X and Grok, YouTube courses, bookmarks, RustDesk/AnyDesk sessions, client DVR configs, emails. When a client calls, I can rarely remember where I saved that remote-access setup or that credential. Searching wastes time — and pasting a secret into the wrong place is a real risk. I wanted one place that turns that chaos into structured, searchable knowledge without ever leaking a secret.

What it does

AIOrden is a privacy-first, installable PWA. You paste chaotic notes (or upload a .txt / WhatsApp export) and GPT-5.6 classifies them into clean, categorized records under a strict JSON contract — while every secret is stripped out in your browser before anything reaches the AI.

  • AI classification of technical notes into a versioned JSON contract (infrastructure, credentials, commands, links, and more)
  • Local secret redaction — credentials and keys become [[S#]] tokens client-side; the real values never touch the network
  • Server-side leak scanner — if the model ever tries to return a secret, the entire output is rejected
  • Human review with clarification questions before anything becomes a record
  • Encrypted credential vault (AES-256-GCM) with an append-only audit trail
  • Granular RBAC enforced in Postgres with row-level security
  • Learning library & project registry — links and resources get freshness tracking; the app even documents itself as its own first project
  • Installable PWA with an offline-ready app shell

How I built it — Codex + GPT-5.6

The part I'm proudest of: I didn't hand-write the code — Codex did. I acted as the orchestrator. For every task in my plan I wrote a bounded prompt and handed it to Codex CLI (running GPT-5.6, gpt-5.6-sol) as the sole implementer; I ran the quality gates and committed. AIOrden was built across ~59 gated Codex sessions — one per task — producing 318 passing tests (222 unit, 80 integration against the live cloud, 16 end-to-end).

The stack: a React + Vite + TypeScript frontend and a Supabase backend (Auth, Postgres with RLS, Deno Edge Functions). The classifier is an Edge Function that calls GPT-5.6 against a master prompt, and its output is validated by mirrored Ajv (client) and Zod (edge) schemas so malformed AI output can never reach the database.

My favorite detail: the same GPT-5.6 model that wrote the app also runs inside it as the live classifier.

Challenges I ran into

  • Privacy vs. AI quality. The model needs context to classify well but must never see raw secrets. I solved it with client-side redaction ([[S#]] tokens kept only in React state) plus a server-side leak scanner — GPT-5.6 works on redacted text and is blocked from ever emitting a secret.
  • Making an LLM reliable enough for a database. Free-form model output can't be trusted as a record. A strict, versioned JSON contract, mirror-validated on both client and server, turns GPT-5.6 into a dependable structured engine.
  • Orchestrating an AI to build software. Driving Codex task-by-task — gated commits, fix rounds fed the exact failing test output, and a strict scope per session — was a new way of working, and it held quality across 300+ tests.

What I learned

That an agentic model can genuinely build a complete, secure, tested product when it's given tight scope, real gates, and honest feedback — and that "privacy-first AI" is an architecture decision, not a slogan: you design where the secret lives.

This isn't just a hackathon project — it's a tool I need every day.

Built with Codex + GPT-5.6 (gpt-5.6-sol): Codex wrote the code, GPT-5.6 classifies inside it.

Built With

  • aes-256-gcm
  • claude
  • codex
  • deno
  • edge-functions
  • gpt-5.6
  • openai
  • playwright
  • postgresql
  • pwa
  • react
  • supabase
  • tailwindcss
  • tanstack-query
  • typescript
  • vite
  • vitest
  • zod
Share this project:

Updates

posted an update

First hackathon — finished against the clock, and I gave it everything

A note on the name: AIOrden comes from Spanish. Beyond the "AI," it sounds like "hay orden""there is order" — which is exactly what the app brings to the chaos of scattered technical notes: passwords, server configs, links... all in one searchable, secret-safe place.

That idea was mine from day one. Thanks for checking out AIOrden!


P.S. Fittingly for an app built around secrets... this message will self-destruct in 30 days. (The live demo and repo stay up through judging — promise.)

Log in or sign up for Devpost to join the conversation.