Early implementation of CorePath's shared knowledge infrastructure for eleven specialist domains. This repository contains a Python/FastAPI API, PostgreSQL schema migrations and a static Intelligence Centre interface prototype.
The full product vision and requirements live in the separate CorePath repository. This repository currently covers the knowledge foundation; it does not implement the full life-optimisation platform.
| Location | Contents |
|---|---|
| backend/ | API setup, configuration, endpoints and tests |
| database/migrations/ | Eight ordered PostgreSQL migrations |
| frontend/ | Static, interactive design prototype |
| docs/ | Architecture, data model, decisions and implementation status |
| CI workflow | Migration, seed, test, lint and format checks |
- Database schema and seed records for eleven specialist libraries.
- Internal API routes for libraries, categories, source metadata and source verification.
- Source records shared between libraries without duplicating their metadata.
- Database identity, role and administrator action-grant records.
- A tested deny-by-default permissions engine; identity loading and endpoint-level enforcement remain pending.
- Liveness and database-readiness endpoints.
- Explicit database migration runner with history, checksum validation and transactional application.
The frontend uses illustrative data and does not save form submissions or call the API. Source ingestion, research scheduling, production authentication and deployment remain unfinished. The separate specialist runtime implements bounded library retrieval and draft research execution; it is not connected to the prototype. See implementation status for evidence and the next implementation sequence.
For ongoing development, start with the build handover and deployment procedure.
The initial private Founder workspace uses ChatGPT sign-in. It is a separate owner-private portal; it does not yet connect to this knowledge API or provision PostgreSQL roles. See its access and maintenance notes.
The first Life Profile service is implemented separately from the knowledge API, based on the founder's Life Profile working draft. It supports consented conversation analysis, encrypted proposed observations, owner review/correction/deletion and explicitly approved Personal AI context. Its requirements preserve the draft categories and distinguish observations from confirmed understanding.
This code does not make the bot operational in the Founder portal. A separate database, encryption key, trusted Personal AI identity gateway and configured model are required; no live personal data or model requests were used to test it.
The specialist network implements eleven distinct discipline briefs, library-scoped research, quoted evidence, draft findings, signed service capabilities, database permissions and request limits. Coordinator dispatch and own-domain independent research are separate operations. Specialists record collaboration requests for Coordinator review and never contact peers directly. It has no Life Profile access or member-facing chat.
A model connection, trusted machine-identity gateway, approved extracted sources and deployment are still required. Synthetic tests and HTTP mocks do not establish live model quality.
The Coordinator service accepts signed general-research requests from the Personal AI, chooses a bounded specialist team, authorises eligible follow-ups and consolidates cited draft findings. It preserves specialist disagreements and gaps, caps confidence at supporting findings and reports partial failures. Its restricted database role cannot read libraries or Life Profiles directly.
The model, trusted gateways/exchange, Personal AI client and hosting still require configuration and live evaluation. Automated tests use synthetic evidence and model doubles; they do not certify reasoning quality.
Persy is the first member-facing Personal AI service. It supports optional encrypted conversation history, explicit communication preferences, optional approved profile context, reviewed research handoffs and owner-controlled Life Profile analysis/review/decisions. Private conversations use their own third database, outside knowledge and Life Profile storage.
Persy is not connected to the Founder preview site. Live model quality, trusted member sign-in/exchange, frontend consent/chat controls and deployment remain pending. Its evaluation scenarios describe further review without claiming it has occurred.
Use Python 3.11 or newer. Follow the backend setup to create a virtual environment and install the API. PostgreSQL is optional for liveness checks and database-independent tests; the source-registry integration test requires a disposable database with all eight migrations applied.
Open frontend/index.html in a browser to explore the independent design prototype. No frontend build tools are required.
The API currently uses a temporary shared internal bearer token. Keep credentials out of Git and browser JavaScript. The schema's role records do not yet enforce user or library permissions in the API. External access requires the identity, session and authorisation work described in the architecture.
Repository commits and passing tests do not establish production deployment or readiness. Keep individual Life Profile data outside this knowledge repository.
See the trial launch instructions and render.yaml for the 20-member pilot. The trial branch includes a browser chat, invitation sign-in, reviewed specialist research, owner-controlled Life Profile and aggregate administrator monitoring. Hosting approval, restricted database provisioning, secret configuration, approved source excerpts and live-model evaluation are required before inviting members.
The partner bot provides bounded candidate discovery, evidence review, country/sector qualification, a durable invitation queue and a disabled-by-default email worker. Australia and health/wellbeing are the founder-selected first trial. See the approved baseline and proposed health standard. This code has not started a real recruitment campaign.
The Feedback Bot collects positive/negative CorePath and partner feedback, examines authorised review evidence and raises source-linked signals for human review. It uses separate encrypted storage and optional AI consent, and cannot change business ratings or access Life Profiles. This service is not deployed; no live review feed or customer feedback collection is enabled.
The isolated replacement bot foundation records the founder-agreed roles and implements an all-eleven discussion, routed peer review, coordinator feedback, Persy presentation, consent-controlled profile prototypes, public locations, partner limits and founder-controlled 12. It includes deterministic planning tools and reviewed-draft builders. It does not replace or deploy the existing services automatically. See its handover, integration plan and executed checks.