This scaffold gives you a working implementation of:
- Live dossier endpoints (
/search,/dossiers/{id},/patches:propose,/patches:apply,/documents:upload,/embeddings:index) - Postgres schema (events-first) with history snapshots
- Basic validators (party-aware keywords, date-anchored checks, conversion exclusion)
- A tool manifest (
tool-manifest.json) that your custom GPT can import to call the API
- Copy
.env.exampleto.envand set secrets. docker compose up --build- Open
http://localhost:8080/docs
After startup, the API seeds five pilot companies: GUARDIAN, QFLEX, DUDE, ALICE, SIMPLESUGARS.
- Add real Azure Blob integration in
documents:uploadand a real vector index inembeddings:index. - Replace the in-app seed with a one-time migration job in CI.
- Wire your custom GPT tools using
tool-manifest.json.