From 9bdb08e663e4f03a2d294a74e726af276c38b729 Mon Sep 17 00:00:00 2001 From: parth Date: Tue, 13 Oct 2026 23:43:41 +0530 Subject: [PATCH] Rename the project to FrontierSQL The product name in the docs, the API title, the page titles and the app's header, and the repository links, which now point to github.com/Parth-Vasave/frontiersql (the GitHub repository is to be renamed to match; GitHub redirects the old address). Unchanged on purpose: the browser storage keys (ai-sql-analyst:chats, :session), so chats saved in a browser are not lost, and the Render service name ai-sql-analyst-api, since renaming it would create a new service with a new URL. --- DESIGN.md | 4 ++-- EVALUATION_PLAN.md | 4 ++-- PRODUCT.md | 4 ++-- README.md | 4 ++-- SECURITY.md | 2 +- backend/app/main.py | 2 +- database/schema.sql | 2 +- docs/deployment.md | 2 +- evaluation/__init__.py | 2 +- frontend/README.md | 4 ++-- frontend/chat/index.html | 2 +- frontend/index.html | 2 +- frontend/src/components/SettingsMenu.tsx | 2 +- frontend/src/components/Sidebar.tsx | 2 +- frontend/src/home/HomePage.test.tsx | 2 +- frontend/src/home/HomePage.tsx | 6 +++--- frontend/src/home/Replay.tsx | 2 +- frontend/src/home/evaluation.ts | 2 +- 18 files changed, 25 insertions(+), 25 deletions(-) diff --git a/DESIGN.md b/DESIGN.md index 7e995db..2a3044b 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -1,5 +1,5 @@ --- -name: AI SQL Analyst +name: FrontierSQL description: A conversational analyst in the familiar two-pane chat-app layout, where every answer shows the SQL that ran and why it was safe. colors: surface: "#ffffff" @@ -206,7 +206,7 @@ components: textColor: "{colors.ink}" --- -# Design System: AI SQL Analyst +# Design System: FrontierSQL ## Overview diff --git a/EVALUATION_PLAN.md b/EVALUATION_PLAN.md index 90b1234..8e11cca 100644 --- a/EVALUATION_PLAN.md +++ b/EVALUATION_PLAN.md @@ -1,8 +1,8 @@ -AI SQL Analyst — Evaluation Plan +FrontierSQL — Evaluation Plan Objective -Measure how reliably the AI SQL Analyst turns natural-language questions into correct results on +Measure how reliably FrontierSQL turns natural-language questions into correct results on the built-in demo database (Our World in Data CO2 and greenhouse-gas emissions, yearly data by country, region and income group, pinned commit — see data/README.md), and that it stays safe. diff --git a/PRODUCT.md b/PRODUCT.md index f40bd54..5f87dd6 100644 --- a/PRODUCT.md +++ b/PRODUCT.md @@ -73,7 +73,7 @@ LLM's SQL, and here's the test suite that proves it." read from the actual recorded report, with the run, model and date they came from. - The frontend (Milestone 12) lives in `frontend/`. An earlier build was removed and remains in git history at commit `ae1cca7` / `50ee27e` as reference only. -- The code is MIT-licensed and public at https://github.com/Parth-Vasave/ai-sql-analyst-agent. +- The code is MIT-licensed and public at https://github.com/Parth-Vasave/frontiersql. Star, contributor and usage counts must never be invented. ## Brand Commitments @@ -95,7 +95,7 @@ each answer exposes, not in an unusual layout. - Dataset: Our World in Data, "CO2 and Greenhouse Gas Emissions" (CC BY 4.0), pinned commit `382ee6c662b0ece26e111f263b44c029afad7787`, 1750-2024, 254 entities (242 after cleaning), 50,411 rows x 79 source columns (`data/README.md`). Real, citable, safe to reference directly. -- Repository: https://github.com/Parth-Vasave/ai-sql-analyst-agent (MIT). Do not fabricate usage +- Repository: https://github.com/Parth-Vasave/frontiersql (MIT). Do not fabricate usage or star metrics. - Recorded evaluation: offline safety suite 28/28 blocked (2026-10-04) and one complete question suite run, 74/78 (2026-10-04). EVALUATION_PLAN.md is the source of truth. diff --git a/README.md b/README.md index 1fd0e62..c4a00f0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# AI SQL Analyst +# FrontierSQL Ask a question about a database in plain English. The analyst turns it into SQL, checks that SQL deterministically, runs it on a read-only connection, verifies the result, and answers with a @@ -204,7 +204,7 @@ are recorded in [EVALUATION_PLAN.md](EVALUATION_PLAN.md) only once a run exists. - PostgreSQL only; MySQL is not implemented. - The rate limiter is in memory per process. Multi-instance or serverless deployments need a shared - store ([#7](https://github.com/Parth-Vasave/ai-sql-analyst-agent/issues/7)). + store ([#7](https://github.com/Parth-Vasave/frontiersql/issues/7)). - No hosted demo yet. [docs/deployment.md](docs/deployment.md) describes a free Neon + Render + Vercel + Groq setup; it has not been run end to end. - Results depend on the chosen model; only one model has been evaluated so far. diff --git a/SECURITY.md b/SECURITY.md index 8c77f53..37df085 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -7,7 +7,7 @@ describes each layer. ## Reporting a vulnerability Please report vulnerabilities privately through -[GitHub private vulnerability reporting](https://github.com/Parth-Vasave/ai-sql-analyst-agent/security/advisories/new), +[GitHub private vulnerability reporting](https://github.com/Parth-Vasave/frontiersql/security/advisories/new), not in a public issue. Especially useful: SQL the validator accepts but should reject (writes, system catalogs, denied diff --git a/backend/app/main.py b/backend/app/main.py index b5c81b5..35654da 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -48,7 +48,7 @@ async def lifespan(app: FastAPI) -> AsyncIterator[None]: def create_app() -> FastAPI: settings = get_settings() configure_logging(settings.log_level) - app = FastAPI(title="AI SQL Analyst", version="0.1.0", lifespan=lifespan) + app = FastAPI(title="FrontierSQL", version="0.1.0", lifespan=lifespan) install_observability(app) # request IDs + request logs; added before CORS so CORS wraps it app.add_middleware( CORSMiddleware, diff --git a/database/schema.sql b/database/schema.sql index 44686d1..5096003 100644 --- a/database/schema.sql +++ b/database/schema.sql @@ -1,4 +1,4 @@ --- AI SQL Analyst — analytical schema for Our World in Data CO2 and greenhouse gas emissions. +-- FrontierSQL — analytical schema for Our World in Data CO2 and greenhouse gas emissions. -- -- Source: https://github.com/owid/co2-data (CC BY 4.0), see data/README.md. -- One source row = one entity (country or aggregate region) and year. It is split into diff --git a/docs/deployment.md b/docs/deployment.md index 861cd59..0330fc8 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -171,7 +171,7 @@ own address by forging the header. The limiter keeps its windows **in memory, per process**: with several instances, each enforces its own limits, so the effective limits multiply. The free plan runs one instance; keep it that way -until [#7](https://github.com/Parth-Vasave/ai-sql-analyst-agent/issues/7) adds a shared store. A +until [#7](https://github.com/Parth-Vasave/frontiersql/issues/7) adds a shared store. A restart (including Render's spin-down) resets the windows. **Data sent to Groq:** the schema, sampled values and up to 30 result rows for the written answer. diff --git a/evaluation/__init__.py b/evaluation/__init__.py index e4b3f66..8769939 100644 --- a/evaluation/__init__.py +++ b/evaluation/__init__.py @@ -1,4 +1,4 @@ -"""Evaluation suite for the AI SQL Analyst (Milestone 11). See EVALUATION_PLAN.md. +"""Evaluation suite for FrontierSQL (Milestone 11). See EVALUATION_PLAN.md. Run from the repository root, e.g. `python -m evaluation.run --help`. The backend package (`app`) is imported from backend/, which is put on the import path here. diff --git a/frontend/README.md b/frontend/README.md index 2692bd9..8e7bcf4 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -1,4 +1,4 @@ -# AI SQL Analyst — frontend +# FrontierSQL — frontend Two static pages built by Vite: @@ -10,7 +10,7 @@ Two static pages built by Vite: Both are plain files in `dist/`, so any static host serves them without rewrite rules. -The chat UI for the AI SQL Analyst backend, in the familiar two-pane layout of Claude.ai or +The chat UI for the FrontierSQL backend, in the familiar two-pane layout of Claude.ai or ChatGPT: past chats in a left sidebar, a settings menu bottom-left (switch or connect a database, browse its schema, theme, help), and a conversation pane. Each answer shows the grounded answer, the result table and a chart, under a one-line verification summary that opens into the plan, the diff --git a/frontend/chat/index.html b/frontend/chat/index.html index 763596f..66f0a82 100644 --- a/frontend/chat/index.html +++ b/frontend/chat/index.html @@ -8,7 +8,7 @@ name="description" content="Ask a database a question in plain language. The SQL that runs is validated before it runs, never trusted from the model alone." /> - Chat · AI SQL Analyst + Chat · FrontierSQL