What's new
Changelog
Every release, with the things that actually changed.
0.0.44Latest Studio crown jewel positioning — two-rail nav, BI plugins strip, code quality fixes
Added
- Two-rail SiteHeader: slim utility rail (Verticals, Agents, Docs, Blog) above a product rail (Studio prominent, Pro Plugin, inline BI plugin links).
- SiteFooter: new 'BI Plugins' column listing all 7 platforms.
- BiPluginsStrip.tsx: 6-card BI platform showcase on homepage after PricingTeaser.
- Hero.tsx: Studio card elevated visually (ring-1 ring-sky-500/30 shadow); BI plugin cue line below product cards.
- PricingTeaser.tsx: BI bundle callout row ($9.99+/user/mo, links to /pricing/bi-plugins).
- bi-tools.test.ts: full test coverage for BI surface tool exports.
Changed
- api-spec.ts: Added /api/bi/export and /api/stripe/bi-checkout to API_ENDPOINTS; added 'BI' to EndpointGroup union; added surfaces?: string[] field to Endpoint type.
- agents/page.tsx: PERSONA_ABBR replaced with programmatic personaAbbr() derivation from slug — auto-scales with community personas.
0.0.43 BI Platform Plugins — Power BI, Tableau, Looker, Qlik, Excel, Google Sheets (Round 38)
Added
- 7 new Surface values: powerbi_visual, powerbi_connector, tableau, looker, qlik, excel, sheets. BI_SURFACES Set constant for branching.
- bi-tools.ts: BI_TOOLS static catalog (19 tools) for all BI surfaces — web_search, http_fetch, inspect_rest_endpoint, etl_normalize, vocab_resolve, register_dynamic_tool, tabular.*, turf.*, h3.*. No arcpy, no studio.* tools.
- DataCommandData SSE event union type: table_result, geojson_result, scalar_result, citation_list. Mirrors map_command for non-map surfaces.
- data_command LoopEvent type — emitted by dispatchServerTool() when server-side tools return dataCommands. BI plugins receive structured output without a live map.
- POST /api/bi/export — non-streaming JSON export endpoint for platforms without SSE (Google Sheets Apps Script, Power BI Connector M language). Runs full orchestrator loop, returns { answer, table?, geojson?, scalars?, citations?, tokens_used }. maxDuration=300.
- GET /api/stripe/bi-checkout — BI plugin Stripe Checkout session route. Handles individual surface purchases (?surface=powerbi_visual&billing=managed&cadence=monthly) and the all-7-surfaces bundle (?bundle=1). 7-day free trial on all tiers.
- biPluginPriceFor(surface, cadence, billing) + biBundlePriceFor(cadence) in stripe.ts — dynamic env-var convention STRIPE_PRICE_{SURFACE}_{BILLING}_{CADENCE}.
- plugin_surfaces JSONB column on users table (schema.ts + infra/schema.sql) — array of active BI surface values. Populated by Stripe webhook on every subscription lifecycle event.
- syncBiPluginSurfaces(userId) in webhook/route.ts — full-recompute function that queries all active/trialing BI subscriptions and writes the union of granted surfaces to users.plugin_surfaces. bi_bundle_managed grants all 7 surfaces at once.
- 15 new BI tier slugs in subscriptions.tier check constraint: powerbi_visual_byo/_managed, powerbi_connector_byo/_managed, tableau_byo/_managed, looker_byo/_managed, qlik_byo/_managed, excel_byo/_managed, sheets_byo/_managed, bi_bundle_managed.
- featuresFor() in webhook handler handles all 15 BI tiers — returns [bi_export, bi_tool_dispatch] + managed_claude for managed tiers.
- 6 new BI product pages: /power-bi, /tableau, /looker, /qlik, /excel, /google-sheets.
- Unified BI pricing page: /pricing/bi-plugins.
- 6 install docs pages: /docs/power-bi-install, /docs/tableau-install, /docs/excel-install, /docs/sheets-install, /docs/looker-install, /docs/qlik-install.
- 4 new blog posts: autogeo-for-power-bi, autogeo-for-tableau, autogeo-for-excel, bi-tools-cant-answer-location-questions.
- BI Plugins nav group in SiteHeader under Products dropdown.
- packages/autogeo-plugin-client/ — shared TypeScript library: HMAC signing, DataCommandData types, ChatPanel React component, Clerk auth flow.
- plugins/powerbi-visual/ — Power BI Custom Visual SDK build (TypeScript + React, .pbiviz output).
- plugins/powerbi-connector/ — Power BI Custom Connector (Power Query M language, .mez output).
- plugins/tableau-extension/ — Tableau Dashboard Extension (TypeScript + React, .trex + hosted app).
- plugins/looker-extension/ — Looker Extension Framework app (TypeScript + React).
- plugins/qlik-extension/ — Qlik Sense visualization extension (JavaScript, .qext bundle).
- plugins/excel-addin/ — Microsoft Excel Add-in (TypeScript + React + Office.js, XML manifest).
- plugins/google-sheets-addon/ — Google Sheets Add-on (Apps Script + clasp, uses /api/bi/export non-streaming).
Changed
- getCatalog(): BI surfaces early-return — returns BI_TOOLS immediately, bypassing Neon sidecar catalog lookup entirely.
- toolAllowedForSurface(): explicit BI surface branch restricts to BI_BASE_TOOL_NAMES + discovered_* dynamic tools.
- middleware.ts: /api/bi/export, /api/stripe/bi-checkout, and 7 BI product/pricing routes added to public allow-list.
- sitemap.ts: 7 product pages, /pricing/bi-plugins, and 6 install docs pages added at priority 0.9/0.7.
- command-index.ts: 14 new entries for BI product pages, pricing page, and install docs.
- compare-bi/page.tsx: AutoGeo for Power BI column added to comparison table.
- compare/page.tsx: BI Plugin capability row group added.
- SiteHeader.tsx: BI Plugins nav group under Products.
0.0.42 "See What Others Can't" — full brand + marketing overhaul (Round 37)
Added
- New campaign line: 'See what others can't.' — deployed across homepage, Studio, Pro, About, and blog. Replaces GIS-first framing with outcome-first location-intelligence positioning.
- Graticule mark logo in SiteHeader (28×28px) and SiteFooter (22×22px): dark grid + cyan corner ticks + dashed scan path + discovery pin. Visual shorthand for QUERY · MAP · DECIDE.
- New SeeCallout component — three before/after panels showing the transformation from tabular data to map answer. Inserted between WhyNow and FeatureGrid on homepage.
- New SeeHeroVisual component — CSS-only animated graticule SVG (grid fade-in → scan path draw → discovery pin appear, 4s loop). Decorative element in hero.
- New AudienceSplit component — two-column self-identification split: (A) BI/data teams with location data and (B) GIS professionals who want a force multiplier.
- New FullCapabilityCallout component — 'Connect. Ask. Build. See.' four-tile capability grid answering 'not just templates, a full platform.'
- New /what-can-it-do page — full capability showcase. 8 example prompts across domains, Connect/Build/See sections, verticals-as-shortcut framing, CTA.
- New NotAReplacement component — two variants: 'complement' (most pages) and 'candor' (/compare-bi) for the honest nuance about ArcGIS Insights.
- New TractionBar component — lightweight early-growth signals bar ('14 verticals live · 199+ templates · 20 AI specialists · Free to try').
- New blog post: 'Your Data Is Hiding Something. It Lives on a Map.' — non-technical narrative for BI directors and ops leaders. Zero GIS jargon in the first half.
Changed
- layout.tsx: root title default → 'AutoGeo — See What Others Can't'; template '%s — AutoGeo | See What Others Can't'; OG description updated.
- SiteFooter: 'QUERY · MAP · DECIDE' tagline added below brand mark; main tagline changed to 'See what others can't.'
- Hero.tsx: eyebrow 'See what others can't — Geographic Intelligence for everyone'; sub-copy and product card copy updated; Studio CTA 'Start seeing — it's free'; Pro card 'Every GIS tool, from a chat prompt.'
- homepage render order: Hero → AudienceSplit → SocialProofBar → CapabilityCounter → WhyNow → SeeCallout → FeatureGrid → AgbiCallout → FullCapabilityCallout → ComparisonTable → PricingTeaser → Faq.
- studio/page.tsx: H1 → 'See what Power BI can't.'; sub-copy BI-first; new For BI Teams section with Power BI / Tableau / Looker wedge copy; complement framing callout; final CTA 'See what your data has been hiding.'
- pro/page.tsx: new GIS Hero transformation section (Before/After panels); Execute vs. Generate rewritten as prose instead of table; 'Force multiplier' callout before pricing.
- about/page.tsx: PageShell title → 'See what others can't.'; new 'What we make, and why it matters' section; new 'Query. Map. Decide.' section; YC-structured 'Why we built this' (Why now / How big / What we built).
- middleware.ts: /what-can-it-do added to public allow-list.
- sitemap.ts: /what-can-it-do added at priority 0.85.
- command-index.ts: /what-can-it-do entry added.
0.0.41 Entitlement-aware verticals pages + purchase success banners
Changed
- /verticals/[slug]/page.tsx: header CTA flips from 'Start 14-day pack trial' to 'Open in Studio →' when the signed-in user has an active entitlement for that pack. ?purchased=1 query param shows a green success banner with template count and a Studio deep-link.
- /verticals/[slug]/[template]/page.tsx: bottom unlock section flips to 'You have access — Open in Studio →' for entitled users. ?purchased=1 shows a success banner ('You're in. Every template in the {pack.name} is now unlocked.'). Both pages silently fall back to not-entitled when DATABASE_URL is absent in dev.
0.0.40 Schema FK + Suspense streaming + Pack checkout route
Added
- conversations.workspace_id FK column (nullable UUID → studio_workspaces). Migration 0002 backfills existing rows from the 'studio:{uuid}' deviceId pattern. New conversations set both workspaceId FK and deviceId tag for backward compatibility.
- Drizzle migration 0002_conversations_workspace_fk.sql — ALTER TABLE + FK constraint + backfill UPDATE + index.
- packPriceFor(packSlug, cadence) helper in stripe.ts — looks up STRIPE_PRICE_PACK_{SLUG}_{CADENCE} env vars. Jamie creates the Stripe Products; code is ready.
- Pack checkout route extension — /api/stripe/checkout now accepts tier=pack&pack={slug}&cadence={monthly|annual}. Sets metadata.pack_slug on the subscription so the webhook writes the correct entitlements row. No 7-day trial on pack purchases. Success URL redirects to /verticals/{slug}?purchased=1.
Changed
- studio/[workspaceId]/page.tsx refactored: auth check runs inline (fast), all DB fetching moved into WorkspaceLoader async sub-component wrapped in <Suspense fallback={<WorkspaceSkeleton />}>. Skeleton streams to browser immediately; data loads server-side behind the boundary.
- Conversation lookup in WorkspaceLoader now queries conversations.workspaceId FK directly (not the deviceId string pattern). Insert sets both workspaceId and legacy deviceId.
0.0.39 Professional vertical template overhaul — 90 new practitioner-grade templates, 109 upgraded, 2 new personas (20 total)
Added
- 2 new tier-1 personas: RF Network Engineer (rf_engineer, telecom) and O&G Production Engineer (production_engineer, oil_gas). Total: 20 tier-1 specialists.
- 90 new professional-grade templates across all 14 vertical packs — authored from practitioner job-function perspective with real numerical benchmarks and regulatory thresholds. Template total target: 199.
- 14 new template files (one per pack): insurance-new, real-estate-t3, oil-gas-new, utilities-new, telecom-new, agriculture-new, forestry-new, mining-new, mortgage-new, public-sector-new, healthcare-new, cannabis-new, climate-new, transportation-new. All imported into main registry.
Changed
- All 109 existing templates upgraded from 2-step to 4–7 step workflows by adding: (0) schema+extent validation step (halt: false), QA+edge-case check step (halt: false), and citation assembly step. No silent empty-result returns.
- 4 persona system_prompt_extension entries expanded with advanced capability blocks: risk_analyst (5-peril simultaneous scoring, territory rate adequacy, adjuster dispatch, treaty zone maps), geoscientist (ISEE PPV blast exclusion zones, AMD downstream flow paths, reclamation bond accrual, NPDES discharge audit), clinical_analyst (CON market analysis with state utilization methodologies, CMS MA network adequacy time-distance standards, patient origin flow maps), urban_planner (ITE Trip Gen land use impact scoring, park access equity by demographic segment, federal grant eligibility zone identification).
- 5 GROUND schema files enriched with Round-36 domain vocabulary: insurance (adjuster_dispatch, rate_adequacy, territory_loss_ratio, cat_event_footprint; Swiss Re Sigma + NOAA Storm Events DB sources), telecom (coverage_gap < -95 dBm, fresnel_zone clearance formula, co_channel_interference; FCC ULS microwave + OpenCelliD sources), oil_gas (decline_curve Arps b=0.8, gathering_segment_capacity > 80% threshold, drainage_interference; COGCC/RRC/OCD/WOGCC state DB sources), healthcare (CON_need utilization methodology, time_distance_standard CMS MA standards, network_adequacy_gap, patient_origin_tract HIPAA cell suppression; CMS network adequacy + HRSA methodology sources), cannabis (social_equity_zone state-specific definitions, setback_rule with per-state distances, mso_license, equity_applicant; state cannabis control board GIS sources).
- packs.ts: rf_engineer added to telecom primary_personas at index 0; production_engineer added to oil_gas primary_personas at index 0; both added to suite primary_personas.
- registry.test.ts: persona count updated 18→20; 2 new Round-36 persona shape tests (rf_engineer, production_engineer).
- route.test.ts: 2 new slug parser tests (rf_engineer, production_engineer).
0.0.38 Specialist expansion (18 personas) — Agronomist, Regulatory Analyst, Transportation Engineer, Property Analyst, Clinical Analyst, Forestry Specialist
Added
- 6 new tier-1 personas: Precision Agronomist (agriculture), Regulatory Compliance Analyst (oil_gas/cannabis/telecom/mortgage), Transportation Engineer (transportation), Property & Market Analyst (real_estate/mortgage), Clinical Access Analyst (healthcare), Forest Resources Specialist (forestry/mining). Total: 18 tier-1 specialists.
Changed
- packs.ts: 10 packs updated with dedicated domain specialists at position 0 — agriculture (agronomist), oil_gas (regulatory_analyst added), cannabis (regulatory_analyst), mortgage (property_analyst), telecom (regulatory_analyst added), transportation (transportation_engineer), real_estate (property_analyst), healthcare (clinical_analyst), forestry (forestry_specialist), mining (forestry_specialist added).
- Ground schemas: 10 pack schema files updated with new domain_vocabulary entries and known_data_sources for the new specialists (agriculture, oil_gas, cannabis, mortgage, telecom, transportation, real_estate, healthcare, forestry, mining).
- Templates: high-fit templates in telecom-agriculture.ts, climate-transportation.ts, real-estate-t2.ts, smaller-packs.ts, and forestry-mining.ts updated with new specialist slugs at position 0 in persona arrays.
- registry.test.ts: count assertion updated 12→18; 6 new Round-35 shape tests added (parallelism_safe, required fields, non-empty tool_allowlist).
- route.test.ts: 5 new parser tests added for Round-35 slug resolution (agronomist slug, Precision Agronomist display name, regulatory_analyst, transportation_engineer, property_analyst).
0.0.37 Progressive Tool Loading (Round 34) — stub catalog on first hop, ~60% first-hop context reduction
Added
- `toStubCatalog(tools)` and `buildProgressiveCatalog(catalog, promotedTools)` helpers in `orchestrator/catalog.ts`. `STUB_INPUT_SCHEMA` is a shared constant `{type: 'object', properties: {}}` used as the stub. On the first hop every tool sends name + description only. Once the model requests a tool (emits `tool_use`), that tool name is added to `promotedTools` and subsequent hops send its full `input_schema`.
- 14 new tests in `orchestrator/catalog.test.ts` verifying stub generation, promotion logic, no-mutation guarantee, and measurable size reduction (stub catalog is < 50% the size of a real 40-tool catalog).
Changed
- `orchestrator/loop.ts`: `buildTools()` now accepts a `promoted: ReadonlySet<string>` and calls `buildProgressiveCatalog`. `promotedTools` Set is initialized before the hop loop and extended on every `tool_use` detection. Dynamic tools (registered at runtime) always send full schemas.
- `personas/fan-out.ts`: `buildToolList()` gains an optional `promotedTools` parameter (defaults to empty Set for backward compat). Per-persona `promotedTools` Sets track which schemas to promote within each persona's agentic loop. Import of `buildProgressiveCatalog` added.
- Net effect: on complex 4-persona fan-out turns with 35-tool catalogs each, approximately 120K tokens of tool context are saved on the first hop — roughly $0.20/turn at Opus pricing.
0.0.36 EVOLVE Self-Improvement Loop (Round 33) — agent-lesson writing, auto-promotion to pack scope
Added
- `apps/web/lib/server/rag/evolve.ts` — `writeAgentLesson(trajectoryId, turn)`. After a turn ends cleanly and a trajectory is stored, a background Haiku call writes a 1-2 sentence `agent_lesson` back to the `trajectories` row. The lesson captures: which data sources were useful, which tool sequence was efficient, which output format worked. Uses `ANTHROPIC_MODELS.intent` (Haiku) — never Opus — so verifying the output of one model uses a different, cheaper model. Completely fire-and-forget; never blocks or throws into the main stream.
- `apps/web/lib/server/rag/scrub.ts` — `scrubTrajectoryForSharing(trajectory)`. Prepares a user-scoped trajectory for promotion to pack scope by scrubbing coordinates, large numeric values, email patterns, long hex IDs, and org-specific quoted strings from text fields. Tool input shapes are deep-scrubbed with the same '?' replacement used at storage time.
- Auto-promotion in `apps/web/app/api/cron/trajectory-decay/route.ts` (Round 32 + 33 combined): monthly cron now promotes `user`-scoped trajectories with `use_count ≥ 5` and `quality_score ≥ 0.75` to `pack` scope after scrubbing. Processes at most 200 candidates per run.
Changed
- `orchestrator/loop.ts`: `storeTrajectory()` call now chains `.then(trajectoryId => void writeAgentLesson(trajectoryId, ...))` so EVOLVE fires automatically on every successfully stored trajectory. Both remain fire-and-forget — no latency impact on the user stream.
0.0.35 Trajectory RAG Foundation (Round 32) — pgvector episodic memory, intent-similarity retrieval, fire-and-forget storage
Added
- pgvector extension enabled in Neon Postgres. `trajectories` table stores intent embeddings (1536-dim), tool sequences (values scrubbed), result summaries, agent lessons, quality scores, and scope flags (`user` | `pack` | `global`). HNSW index enables sub-linear cosine nearest-neighbour search even as the table grows.
- `apps/web/lib/server/rag/embed.ts` — `getIntentEmbedding(text)` calls the Anthropic embeddings endpoint (model from `ANTHROPIC_EMBEDDING_MODEL` env, defaults to `voyage-3-large`). Returns null on error so retrieval always fails gracefully.
- `apps/web/lib/server/rag/retrieve.ts` — `retrieveTrajectories(embedding, userId, activePacks, limit=3)`. Scope-filtered cosine search (similarity ≥ 0.70). Bumps `use_count` on retrieved rows fire-and-forget. Returns `[]` on any error — never blocks the main loop.
- `apps/web/lib/server/rag/store.ts` — `storeTrajectory(turn)`. Scrubs tool input values (all values replaced with `'?'`, safe structural keys preserved). Writes trajectory row post-turn. Returns null on error.
- `apps/web/lib/server/rag/format.ts` — `formatTrajectoryBlock(trajectories)`. Compact `<!-- prior_patterns -->` block injected into the uncached tail of the system prompt. Max 1200 chars. Shows tool sequence, agent lesson / result summary, quality score, scope annotation.
- `apps/web/lib/server/rag/scrub.ts` — `scrubTrajectoryForSharing(trajectory)`. Deep-scrubs coordinates, large numerics, emails, long hex IDs from text fields. Used by the EVOLVE auto-promotion cron to sanitise user trajectories before promoting to pack scope.
- `apps/web/app/api/cron/trajectory-decay/route.ts` — Monthly Vercel cron. (1) DECAY: reduces `quality_score` by 0.02 for trajectories unused in 30+ days; deletes rows below 0.30. (2) AUTO-PROMOTE: promotes `user`-scoped trajectories with `use_count ≥ 5` and `quality_score ≥ 0.75` to `pack` scope after a scrubbing pass.
Changed
- `orchestrator/system-prompt.ts`: `buildSystemPrompt()` gains 7th parameter `priorPatterns?: string` — appended as a final uncached block after the viewport block.
- `orchestrator/loop.ts`: before each non-continuation turn, fetches intent embedding + retrieves top-3 similar trajectories + formats the prior-patterns block. After a successful turn (end_turn + tool uses present), stores the trajectory fire-and-forget.
- `schema.ts` + `infra/schema.sql`: `trajectories` table added. `datasets` table gains `dataset_kind` (text) and `duckdb_schema_json` (jsonb) columns. Schema drift test updated.
0.0.34 DuckDB BI Harness (Round 31) — tabular.query, tabular.spatial_join, tabular.schema_inspect
Added
- Three new tabular BI tools running against the cloud sidecar DuckDB engine: `tabular.schema_inspect` (column names + types + 5 sample rows auto-populated on CSV/Parquet upload), `tabular.query` (SQL against user datasets, max 10K rows enforced), `tabular.spatial_join` (SQL aggregation → geopandas spatial join → GeoJSON FeatureCollection). This makes the /compare-bi marketing page demonstrably true: 'How much TIV is in Zone AE?' runs end-to-end.
- `services/cloud-sidecar/autogeo_cloud_sidecar/duckdb_engine.py` — in-process DuckDB engine with per-request isolation, 30s query timeout, MAX_ROWS=10,000 limit, async wrappers via asyncio thread-pool executor, and spatial join via geopandas. Auto-detects join key between tabular result and vector GeoDataFrame.
- `apps/web/lib/server/tools/tabular-tools.ts` — TypeScript tool schemas for all three tabular tools.
- `dataset_kind` (text, default 'spatial') and `duckdb_schema_json` (jsonb) columns added to `datasets` table in schema.ts and infra/schema.sql.
Changed
- `dispatch.ts`: `tabular.*` added to `SERVER_TOOL_NAMES`; `handleTabularTool()` proxy function calls `CLOUD_SIDECAR_URL/tool/tabular/{name}` with 35s timeout.
- Cloud sidecar `app.py`: `tabular` namespace added to route handler, capabilities endpoint, and `_TOOL_CATALOG`. Imports `duckdb_engine` module.
- Persona `tool_allowlist` updated: `data_engineer`, `risk_analyst`, `urban_planner`, `public_health_analyst` all gain `'tabular'` namespace.
0.0.33 DETECT Dual-Layer Result Verification (Round 30) — structural + semantic checks on every tool result
Added
- DETECT Layer A (structural): deterministic post-tool checks — `row_count`, `field_presence`, `spatial_bounds`, `date_range`. Reads `GroundSchema.validation_rules` and appends `⚠️ _detect_warnings:` block to tool result content so the model sees failures inline and can retry or caveat. Never throws — degraded verification is better than a crashed turn.
- DETECT Layer B (semantic): fire-and-forget Haiku LLM-as-judge runs after a turn ends. Receives intent, tool-sequence summary, and result summary; returns `pass | warn | fail` verdict. Key design: never use the same model to verify its own output (Opus/Sonnet generates, Haiku judges — stacking Swiss cheese). Emits `detect_warning` SSE event on warn/fail.
- `apps/web/lib/server/detect/types.ts` — `StructuralCheckResult`, `DetectResult`, `JudgeVerdict`, `DetectWarning` types.
- `apps/web/lib/server/detect/structural.ts` — `runStructuralChecks()` + `appendDetectWarnings()` + GeoJSON-aware check implementations for all 4 structural check types.
- `apps/web/lib/server/detect/semantic.ts` — `runSemanticJudge()`, `findSemanticCheckRule()`, `buildToolSummary()` (scrubs non-safe keys before briefing the judge).
- 38 new tests across `detect/structural.test.ts` and `detect/semantic.test.ts`. Full suite now 509 passing.
Changed
- `dispatch.ts`: `etl_normalize` and `discovered_*` tool handlers now run structural checks post-execution and append warnings to the tool result string.
- `dispatch.ts`: `ToolContext` gains optional `groundSchema?: GroundSchema`; `makeToolContext()` signature updated with 4th arg.
- `fan-out.ts`: `makeToolContext()` call updated to pass `input.groundSchema` so each persona's tool-dispatch loop has access to validation rules.
- `loop.ts`: tracks `allToolUsesForJudge` and `lastAssistantText` per turn; fires `void runSemanticJudge()` after `logUsage` when a `semantic_check` rule is active in the current GROUND schema.
- `loop.ts`: `LoopEvent` union gains `detect_warning` event type `{ type: 'detect_warning'; check_id: string; level: 'warn' | 'fail'; note: string }`.
0.0.32 GROUND Schema Formalization (Round 29) — typed per-vertical domain knowledge injected into every conversation
Added
- 14 GROUND schema constants — one per vertical pack (insurance, real_estate, oil_gas, utilities, telecom, agriculture, forestry, mining, mortgage, public_sector, healthcare, cannabis, climate, transportation). Each encodes: CRS authority, authoritative data sources with trust tiers, domain vocabulary (concept → canonical SQL filter), prohibited operations, and structural validation rules for the Round 30 DETECT layer.
- `apps/web/lib/server/ground/schema.ts` — typed `GroundSchema` interface + `buildGroundBlock()` serializer. Targets ~500–700 tokens. Injected as the 4th stable cached system-prompt block (after base + domain + persona), before the uncached viewport block.
- `apps/web/lib/server/ground/resolver.ts` — `resolveGroundSchema(userId, activePacks, orgId?)` merges pack schemas (deduplicating data sources, vocabulary, and validation rules) and applies Enterprise per-org overrides from `org_ground_overrides`.
- `org_ground_overrides` table in Drizzle schema + `infra/schema.sql` — Enterprise per-org GROUND overrides. Orgs can extend data sources, vocabulary, and prohibited operations; base validation rules always apply.
- 59 new tests in `schema.test.ts` (pack shape, serializer correctness, token-budget guard) and `resolver.test.ts` (null for no packs, single-pack passthrough, multi-pack merge, suite expansion, deduplication).
Changed
- `buildSystemPrompt()` in `orchestrator/system-prompt.ts` accepts a new optional `groundSchema?: GroundSchema` parameter. When present (either from pack resolution or the persona's own `ground_schema` field), serializes it with `buildGroundBlock()` and inserts it as block 4 with its own cache breakpoint.
- `Persona` type in `personas/types.ts` gains an optional `ground_schema?: GroundSchema` field — allows tier-1 personas to declare authoritative sources independent of pack entitlements.
- `runTurn()` in `orchestrator/loop.ts` now resolves the user's active pack entitlements and GROUND schema before routing personas. The schema is passed to `buildSystemPrompt()` and to `fanOutPersonas()`.
- `fanOutPersonas()` in `personas/fan-out.ts` accepts and forwards `groundSchema?` to `buildSystemPrompt()` for every persona stream — all parallel specialists share the same domain ground truth.
- `ChatTurn` type gains optional `orgId?` field for Enterprise org-override resolution.
Internal
- GROUND resolver gracefully handles missing `DATABASE_URL` in dev (try/catch returns no override; no pack = null schema injected).
- Pack schemas follow authoring convention: semver `schema_version`, required `pack_slug` match, ≥1 authoritative source, ≥1 vocab entry, ≥1 validation rule, all citation_templates contain `{url}` placeholder.
0.0.31 Specialist expansion (12 personas), BI comparison marketing, 2 new vertical packs
Added
- 6 new tier-1 personas: Risk & Exposure Analyst, Infrastructure Engineer, Geoscientist, Urban Planner, Public Health Analyst, Carbon & Sustainability Analyst. Total tier-1 specialists: 12.
- New /compare-bi page: AutoGeo vs Power BI, Tableau, ArcGIS Insights, Looker. First BI competitor comparison on the site. Comparison table with 10 capability rows.
- New Climate & Environmental Resilience pack ($49/mo, 6 T1 templates: sea-level-rise exposure, heat island mapping, EJ screen, compound flood risk, TCFD disclosure, carbon sequestration).
- New Transportation & Logistics pack ($49/mo, 6 T1 templates: last-mile coverage gaps, DC siting, freight bottleneck, EV charging siting, school bus optimization, port hinterland audit).
Changed
- packs.ts: all 12 packs updated with new primary_personas referencing the 6 new specialists. Suite bundle now lists all 12 personas.
- /agents page: added vertical coverage matrix (14 packs × 12 personas), fallback protocol as step 5, and router examples (3 inline monospace examples in step 1). Metadata now uses dynamic persona count.
- Route.ts persona router: added 7 new selection-guidance lines for the 6 new specialists + carbon_analyst.
- FAQ: 3 new BI comparison questions (Power BI, ArcGIS Insights, Tableau).
- AgbiCallout: 'Power BI and Tableau show data on maps. AutoGeo answers questions about location.' BI wedge copy + link to /compare-bi.
- SiteHeader: Compare nav item now shows a dropdown with 'vs. Esri AI Assistant' and 'vs. Power BI / Tableau' sub-links.
0.0.30 YC marketing upgrade — WhyNow section, SocialProofBar, problem-first Hero, About market size + founder story
Added
- New `WhyNow.tsx` homepage section — 3-panel 'The inflection point' answering 'Why now?': the 50-year GIS specialist bottleneck, AutoGeo's tool-use inflection point (2024–2025), and the $15B+ location intelligence market. Inserted between CapabilityCounter and FeatureGrid.
- New `SocialProofBar.tsx` — stat credibility bar (2,140+ tools, 6 specialists, 12 verticals, 480+ AGOL methods, $0 to start) with beta traction claim. Inserted between Hero and CapabilityCounter on homepage.
Changed
- Hero sub-copy now leads with problem tension: 'Your location data has answers. Getting them used to require a GIS specialist, a ticket queue, and a two-week wait. Now it takes a sentence.' Previously led with product identity.
- About page: added 'The market this closes' ($15B+ location intelligence, $200B+ BI, access-not-data framing) and 'Why we built this' founder credibility section.
- Pro page hero: added 'why now' beat — 'Before AutoGeo's tool-use capability, real-time AI execution against a live GIS session didn't exist at commercial scale. Now it does.'
0.0.29 Pricing overhaul — value-based tiers, 500K included allowance, pack consolidation
Added
- `OVERAGE_RATES` constant and `applyOverage(tokens, type)` function exported from `meter.ts` for all new billing code.
- Updated `meter.test.ts` with full coverage of `applyOverage`, rate ordering assertions, and additivity checks.
Changed
- Pro Plugin pricing restructured: **Core — BYO Key** $9.99/seat/mo (was $2.99), **Core — Managed** $19.99/seat/mo (was $2.99 + tokens). Managed now includes 500K tokens/mo — no token markup on the included allowance.
- Vertical pack prices consolidated to three tiers: Standard $29 (public_sector, healthcare, cannabis, agriculture), Pro $59 (real_estate, telecom, forestry), Premium $99 (insurance, oil_gas, utilities, mining, mortgage). Suite Bundle $149 (all 12 packs, was $199).
- Token billing model: replaced flat 15% markup (`applyMarkup`) with published per-million overage rates (`OVERAGE_RATES`): input $7/1M, output $25/1M, cache-write $2.50/1M, cache-read $0.80/1M. `applyOverage()` is the new billing primitive.
- Monthly per-seat hard cap raised from $50 to $75 for Pro Plugin Managed tier. Reflected in `schema.ts`, `caps.ts`, `dashboard.ts`, and all UI.
- RoiCalculator seat cost updated to $19.99/seat (Managed basis); token overage line shows $0 by default (500K included allowance covers typical usage).
- FAQ, About page, and all marketing copy updated to remove '15% markup' language and reflect new tier names and prices.
- `command-index.ts` subtitle updated to reflect $9.99/seat.
0.0.28 Dual-product marketing overhaul — Studio first, Pro Plugin second
Added
- New `/pro` dedicated marketing page for the ArcGIS Pro plugin: amber color scheme, 8-row comparison table vs Esri AI Assistant, 4-step how-it-works, 12 arcpy namespace cards, pricing tiers, full CTA.
- Homepage hero rewritten: two-product card layout (Studio + Pro Plugin) with distinct CTAs, approved copy, and social-proof micro-bar.
- Studio landing page (`/studio` unauthenticated path) fully rebuilt: 7 sections including workspace mockup, 3 workspace feature tiles, 6 specialist cards, Studio vs Pro comparison table, pricing tiers, final CTA.
- `/studio/pricing` upgraded: SiteHeader/SiteFooter, product banner cross-linking to `/pricing`, full comparison table, Enterprise banner, vertical add-on section.
- Product banners added to `/pricing` (Pro plugin) and `/studio/pricing` (Studio) with cross-links to the other product's pricing page.
- `FeatureGrid` converted to client component with Studio/Pro tab toggle — 6 Studio features + 6 Pro features.
- `PricingTeaser` rebuilt as dual-product panel (sky for Studio, amber for Pro) with price lines for all tiers.
- 4 new FAQ entries covering dual-product questions: `Do I need ArcGIS Pro?`, `What's the difference?`, `Can I use both?`.
- Dual CTA section on homepage final: `Try Studio free — no card, no ArcGIS` + `Start Pro trial — 7 days free`.
- Conversion CTAs added to `/agents` page (Studio + Pro trial buttons).
- Studio vs Pro decision helper added to `/compare` page above the main comparison table.
- `Works with: Studio · Pro Plugin` badges added to `/verticals` and `/verticals/[slug]` pages.
- Updated `SiteHeader` nav: dual-product group (Studio sky, Pro amber) + resources group. Split CTAs: `Try Studio` ghost + `Start trial` accent.
- Updated `SiteFooter`: 5-column layout with separate Studio and Pro Plugin columns, new brand tagline.
- `/pro` added to `middleware.ts` public allow-list and `command-index.ts`.
- SEO metadata updated on `/`, `/studio`, `/studio/pricing`, `/pricing`, `/agents`, `/compare` with product-specific titles and descriptions.
Changed
- `/pricing` hero copy updated to `Pro plugin pricing. Starts free.` to disambiguate from Studio pricing.
- 404 page: added `Try Studio free` and `View all docs` CTAs below the three recovery cards.
0.0.27 Studio Explorer tier, workspace guard, loading skeleton, 6-tier pricing page
Added
- `studio_explorer` free tier added to `StudioTier` union and `STUDIO_TIERS` set in license.ts. Explorer users are subject to a $1.50/mo cap (≈50K managed tokens) enforced by the existing checkCap machinery.
- Workspace ID ownership validation in `/api/studio/chat`: when a `workspace_id` is present in the request body it is now verified against the authenticated user before any Anthropic calls begin, returning 404 on mismatch.
- Studio workspace loading skeleton (`app/studio/[workspaceId]/loading.tsx`): Next.js streaming loading UI matching the 3-pane WorkspaceShell layout (TOC | map | chat) so the shell renders instantly while the server fetches workspace data.
- Pricing page full 6-tier rewrite (`app/pricing/page.tsx`): Explorer (free) / Pro BYO / Pro Managed / Team / Enterprise + Vertical Packs section with Suite Bundle highlight and feature-comparison table.
Changed
- Studio chat route cap check now includes `studio_explorer` alongside managed tiers, applying the $1.50/mo hard ceiling to free-tier users pre- and post-turn.
- `STUDIO_TIER_DEFAULT_CAPS` in `billing/caps.ts` gains `studio_explorer: 1.50` entry so Explorer tokens are metered without requiring a manual `usageCaps` row.
0.0.26 P0 security + correctness fixes, citation corpus injection, Studio UX hardening
Added
- Citation corpus injection: each persona's `citation_corpus` array is now included in the Anthropic system prompt block, giving the model explicit knowledge of authoritative datasets to cite.
- `maxDuration = 300` exported on both `/api/chat` and `/api/studio/chat` Vercel routes, preventing fan-out turns from hitting the 60-second serverless timeout.
Changed
- Persona router `max_tokens` raised from 64 to 128, giving Haiku enough room to emit a clean persona list even when the model adds brief prose context before the slugs.
- `explorer` added to `PluginTier` union in `license.ts` so free-tier users no longer get a TypeScript `never` cast on subscription rows.
Fixed
- `register_dynamic_tool` end-to-end fix: loop.ts::buildTools() now injects `dynamicToolSchema()` entries from ctx.dynamicTools on every hop, so discovered endpoints actually become callable tools. This fixes the Round 20 headline feature.
- HMAC passthrough: `verifyBodySignature` now throws in production when `PLUGIN_HMAC_SECRET` is unset, forcing operators to configure it rather than silently skipping signature checks.
- `pendingCommands` cross-user leak: the function now filters by `userId` as well as `conversationId`, preventing one user from reading another user's map commands via guessed conversation IDs.
- `http_fetch` hardcoded status: response no longer always reports HTTP 200 — actual `response.status` is now returned.
- WorkspaceShell stale closure: `handleToggleVisible` read from a closure-captured `layers` snapshot instead of current state; fixed via `layersRef` mirror.
- MapCanvas `moveend` debounce: rapid panning no longer floods the viewport-change callback; debounced to 250ms.
Security
- HMAC: production deployments without `PLUGIN_HMAC_SECRET` now fail loudly with a startup error instead of accepting all requests unsigned.
- Map command polling: `pendingCommands` now requires userId ownership match, closing cross-conversation command leakage.
0.0.25 CitationsPanel, eval suite, livemap tests, CLAUDE.md sync
Added
- Structured citation format in synthesis output: synthesis.ts now emits a `<!-- citations -->…<!-- /citations -->` block listing every data-source URL referenced by personas during the turn.
- CitationsPanel React component (`components/studio/CitationsPanel.tsx`): parses the citations block and renders a numbered, clickable source list below synthesis messages in AutoGeo Studio.
- Eval suite (`evals/prompts.json` + `evals/run.ts`): 12 north-star-shaped prompts covering the Bitterroot compound query, sage-grouse range, NDVI decline, conservation easements, methane plumes, wildfire portfolio, flood-zone reclassification, workflow DSL, and more.
- Livemap snapshots test suite (`lib/server/livemap/snapshots.test.ts`): full coverage of recordViewport, latestViewport, issueMapCommand, ackCommand, and all four map-command kinds.
- `parseCitations(text)` and `stripCitationsBlock(text)` pure utility functions exported from synthesis.ts for use in the CitationsPanel and future server-side processing.
- `extractSources(transcripts)` in synthesis.ts: walks all persona tool calls for URL-bearing inputs (inspect_rest_endpoint, http_fetch, register_dynamic_tool) and builds a deduplicated source list for the synthesis prompt.
Changed
- Synthesis system prompt updated with numbered citation rules: every substantive claim must carry an inline [N] marker referencing the sources list; synthesis ends with the structured citations block.
- ChatPanel.tsx wired to CitationsPanel: synthesis messages strip the citations block from the display text and render it as a separate panel below.
- CLAUDE.md comprehensively updated to Round 25: all shipped rounds (18–24) marked complete; Studio surface, agentic loop categories, dynamic tool registration, web search, ETL normalize, Workflow DSL, live-map channels, citations, and carry-forward items all documented.
0.0.24 Server-side agentic tool loop + NL→DSL compiler
Added
- Server-side tool dispatch layer (`tools/dispatch.ts`): http_fetch, inspect_rest_endpoint, etl_normalize, vocab_resolve, register_dynamic_tool all execute inline on the server without plugin round-trips.
- ETL normalization pipeline (`etl/normalize.ts`): Esri JSON → GeoJSON, OGC Features → GeoJSON, raw GeoJSON, CSV with lat/lon — unified FeatureCollection output.
- `register_dynamic_tool` lets personas promote a discovered endpoint to a first-class `discovered_<slug>` tool callable for the rest of the conversation.
- fanOutPersonas is now a true agentic loop bounded by MAX_AGENT_HOPS=8: server-side tools are executed inline; sidecar tools break the loop for plugin execution.
- POST /api/dsl/compile: GIS Analyst persona compiles a natural-language workflow description into a validated DslWorkflowT with parallel-batch execution plan.
- web_search now uses Anthropic native web_search_20250305 — no external API key required; search results arrive transparently in the stream.
Changed
- Single-persona path in loop.ts also gains the agentic server-side tool loop (MAX_SINGLE_PERSONA_HOPS=8) for consistency with fan-out.
0.0.22 Workflow DSL + 14 more vertical templates (O&G T2 + Utilities T2)
Added
- DSL step kind: { kind:'dsl', id, tool, params, depends_on, output_to } — a real DAG primitive beside the existing prompt-template step.
- Toposort executor with parallel-batch output (steps with no deps in a batch run concurrently). Detects cycles, missing deps, duplicate ids.
- Deterministic content-hash cache key — identical inputs across runs produce the same key; bypasses redundant tool invocations within a turn.
- Oil & Gas Pack T2 (7 templates): methane plume mapping, wind wake, solar siting, NEPA scoping, frack proximity, Scope-1 intensity, decommissioning liability.
- Utilities Pack T2 (7 templates): storm post-mortem, smart-meter rollout, EV demand, transformer load, solar queue, wastewater I&I, PSPS planning.
Internal
- Stable JSON serializer (alpha-sorted object keys) + FNV-1a 64-bit hash drives the cache key — no BigInt overhead, deterministic across Node versions.
0.0.21 Auto-ETL + vocab matcher + dynamic tool registration
Added
- etl_normalize tool — pulls features from any inspected REST endpoint (Esri JSON / OGC / GeoJSON / CSV) and emits a uniform FeatureCollection, with optional filter + bbox + limit.
- vocab_resolve tool — translates GIS concepts (perennial_stream, flood_zone_a, wildland_urban_interface, NLCD classes, USFWS STATUS) into field-level filter expressions with citation strings.
- 19 canonical GIS concepts in the curated vocab — NHD flow classes, NHDWaterbody types, NLCD 21-82, USFS WUI intermix/interface, FEMA NFHL Zone A/V, USFWS Endangered/Threatened.
- register_dynamic_tool — registers a discovered + normalized endpoint as a callable tool for the remainder of the conversation.
- Insurance Pack T2 (7 templates) + Real Estate Pack T2 (6 templates) — 13 new premium templates that exercise inspect_rest_endpoint + etl_normalize end-to-end.
Changed
- Persona tool_allowlist for hydrologist, remote_sensing, field_biologist, gis_analyst, data_engineer extended with the three new ETL tool names.
- getCatalog() now injects ETL_TOOLS alongside DISCOVERY_TOOLS before persona-allow-list filtering.
Internal
- SEED_TEMPLATES splits across registry.ts + per-batch files (insurance-t2.ts, real-estate-t2.ts) — keeps the catalog scannable as pushes land.
0.0.20 Data discovery: web search, http_fetch, inspect_rest_endpoint, data_sources cache
Added
- Three cross-cutting discovery tools auto-injected into every persona's catalog: web_search (Anthropic native), http_fetch (HTTPS-only with private-CIDR + scheme + port allow-list), inspect_rest_endpoint.
- Format auto-detection for ArcGIS REST, OGC API - Features, STAC, OpenAPI / Swagger, raw GeoJSON, and CSV — with canonical probe-URL rewrite (Esri ?f=json, OGC /collections).
- Server-side endpoint introspection pipeline with 8-second timeout, 64KB body cap, field-schema extraction per format, agency inference from host + ArcGIS copyrightText.
- data_sources Postgres table caches every discovered endpoint per conversation — subsequent personas (and continuation turns) reuse the schema without re-fetching.
- Trust-score heuristic (.gov=90, .mil=100, .edu=85, trusted vendors=75, arcgis.com=60, .org=55, unknown=30) so synthesis weights citations.
Security
- validateOutboundUrl() blocks localhost, 127.x, 10.x, 172.16-31.x, 192.168.x, 169.254.x (AWS metadata), IPv6 loopback / link-local / unique-local.
- http_fetch refuses non-443/80 ports; forces HTTPS; never forwards auth headers from the caller.
- Body cap (64KB) prevents memory pressure from a malicious or runaway endpoint.
0.0.19 Vertical packs + Template Push 1 — monetization track opens
Added
- 12 vertical packs (Insurance $99 · Real Estate $49 · Oil & Gas $99 · Utilities $79 · Telecom $49 · Agriculture $39 · Forestry/Carbon $49 · Mining $79 · Mortgage $79 · Public Sector $29 · Healthcare $39 · Cannabis $49) plus a Suite Bundle at $199/seat/mo.
- 12 T1 vertical templates across the 4 lead verticals — WUI exposure, claim-cluster fraud detection, retail trade area, multifamily site suitability, industrial last-mile siting, OZ overlay, zoning fit screen, pipeline ROW encroachment, lease due-diligence pack, tank battery setback compliance, vegetation encroachment risk, hydraulic pressure deficiency.
- /verticals landing page, /verticals/[slug] per-pack detail, /verticals/[slug]/[template] per-template detail with ROI calculator.
- Entitlements layer: workflow_listing-style entitlements table + hasEntitlement() helper + Stripe webhook sync (subscriptions with metadata.pack_slug populate the table; deletes revoke).
- /api/entitlements endpoint returning the caller's active packs.
- RoiCalc client component — generic 'savings vs pack cost × 12' ROI multiplier per template.
Changed
- Subscription tier check extended with 'explorer' (free top-of-funnel) and 'enterprise'.
- /pricing roadmap: six-tier rewrite scheduled into the next push; metadata block in this round.
- Header nav + sitemap + command palette now surface /verticals.
Internal
- Packs catalog (lib/marketing/packs.ts) is the single source of truth for pack copy + pricing — pages import; nothing hardcodes a price.
- Stripe webhook handler now syncs entitlements as a try/catch best-effort branch — never fails the primary subscription write.
0.0.18 North-star Round 1: persona orchestrator (Hydrologist, Remote Sensing, Field Biologist, GIS Analyst, Cartographer, Data Engineer)
Added
- Persona registry with 6 tier-1 specialists, each with a name, tagline, tool-namespace allow-list, citation corpus, and parallelism_safe flag.
- routePersonas() — Haiku multi-select that returns 1–4 ordered persona slugs per request (defaults to gis_analyst as the composer).
- Parallel fan-out engine: parallelism_safe personas stream concurrently; mutating personas (Data Engineer) run sequentially after.
- Opus synthesis pass that merges per-persona transcripts into one coherent answer with claim-level attribution.
- Six new SSE event types — persona_activated, persona_text, persona_tool_use, persona_done, persona_error, synthesis_text, synthesis_done — coexisting with the legacy text/tool_use/done events for single-persona backward compatibility.
- /agents marketing page documenting every tier-1 persona, the activation flow, and the Bitterroot north-star example.
- Persona-aware tool catalog filtering (getPersonaCatalog union across the persona's domains, intersected with namespace allow-list).
- Per-persona system-prompt extensions stacked on top of the existing domain note, each cache-controlled for prompt-cache reuse.
- audit_log payload now captures `persona` when a persona-scoped tool call fires.
Changed
- buildSystemPrompt() now accepts an optional persona parameter (legacy domain-only call sites still work).
- getCatalog() now accepts an optional persona for namespace-allow-list filtering (legacy domain-only call sites still work).
- CLAUDE.md now opens with the North-star vision + Round-22 deadline + persona-orchestrator architectural rule so every new session loads the thread.
Internal
- Aggregated usage billing across persona fan-out + synthesis writes one usage_ledger row per turn (model bucketed by synthesis model id).
- Continuation turns (tool results returning) intentionally skip persona routing — keeps mid-loop context stable.
0.0.17 Marketplace polish: handles, categories, upvotes, featured, search, analytics, moderator pings
Added
- Opt-in public marketplace handle: /dashboard/profile claim form + unique users.public_handle column. Listings link to /marketplace/by/<handle> when set, fall back to truncated user id otherwise.
- Curated category taxonomy on workflow_listings — 9 categories from stormwater to cartography. Browse chips, listing-detail badge, publish-form selector.
- Ranked full-text search via a Postgres GENERATED tsvector column over title + summary + tags. /marketplace?q= now uses ts_rank ordering.
- Binary upvotes: workflow_listing_upvotes table + denormalized upvote_count + optimistic UI button on listing detail.
- Moderator-curated featured row at the top of /marketplace, with a Feature/Unfeature toggle in /admin/marketplace.
- Re-install affordance: viewers who already installed a listing see Re-sync to latest instead of Install.
- Author-side rejection inbox: rejected listings surface the moderator's reason on /workflows/[id]/publish from the audit log.
- Listing analytics for authors: lifetime + 30-day install counts, upvotes, and a server-rendered SVG installs-per-day sparkline.
- Moderator email notification when a listing enters in_review (resolves emails from the MARKETPLACE_MODERATORS allow-list).
- New audit action: marketplace_listing_featured.
Security
- Upvote endpoint is license-gated so trial spammers can't bot the leaderboard.
- Public handles validated through validateHandle() — 3–32 chars, must start with a letter, reserved-word filter blocks new/publish/admin/api/by/etc.
- Unique constraint on users.public_handle prevents impersonation collisions.
- Reject reasons remain author-visible; approve notes stay in the audit log only.
Internal
- browseListings now branches on whether ?q is set: tsvector ranking when searching, install-count + recency when browsing.
- Marketplace exposes nine helpers (toggleUpvote, setFeatured, hasInstalled, hasUpvoted, featuredListings, installsTimelineRaw, resolveAuthor, notifyModeratorsOfInReview) for clean reuse across pages.
0.0.16 Marketplace moderation, author profiles, OG images, re-publish nudge
Added
- /admin/marketplace moderator console with a queue of in_review listings and a separate panel of open abuse reports.
- Per-listing approve / reject controls — reject requires a typed reason because the author sees it.
- Author profile page at /marketplace/by/[author] — every published recipe by a contributor, sorted by install count.
- Dynamic OG images for marketplace listings (1200×630 with title, summary, tags, install count).
- Async sitemap that now includes every published marketplace listing alongside blog posts and templates.
- Re-publish nudge: when an author re-publishes a live listing, AutoGeo emails every existing installer with a 'see what's new' link — installer copies never silently change.
- Two new audit actions: marketplace_listing_approved, marketplace_listing_rejected (with reason payload).
Security
- Marketplace moderation is gated by a separate MARKETPLACE_MODERATORS env allow-list — Team-tier admins cannot moderate community content from /admin.
- Reject reason has a 10-char minimum so the audit trail isn't empty.
- Sitemap degrades gracefully on DB failure (returns static URLs only) so a Postgres blip doesn't 5xx the most-crawled file on the site.
0.0.15 Community workflow marketplace
Added
- /marketplace browse page with full-text search, tag chips, and install-count sorting.
- /marketplace/[slug] detail page with snapshot view of every step and a one-click install button.
- /workflows/[id]/publish flow with eligibility decision shown to the author at submit time.
- Three new Postgres tables: workflow_listings (with status state machine), workflow_installs (one-per-user idempotent), workflow_reports (abuse pipeline).
- Auto-approval policy: ≥3 successful runs by author + safe namespaces + no recent rejections → published; everything else routes to the moderator queue.
- Install endpoint clones the snapshot into the installer's workflows table — author edits don't silently mutate other people's recipes.
- Listing detail report endpoint with five reason categories and free-text details.
- Marketplace surfaces in header nav, footer, sitemap, command palette, and API reference.
Security
- Install is license-gated: only paid subscribers can install. Browse stays free and crawlable.
- Sensitive namespaces (rest.delete, arcgis.gis.users, arcgis.admin) force moderator review regardless of author reputation.
- Slug allocator rejects reserved tokens (new/publish/install/report/admin/api) and de-duplicates collisions.
0.0.14 CI matrix, programmatic changelog, /docs/api, /customers
Added
- GitHub Actions matrix that runs typecheck + vitest + pytest + evals + drizzle-kit drift check on every PR.
- Programmatic changelog source — every entry lives in code, the /changelog page reads from it.
- /docs/api reference page documenting every public HTTP endpoint with auth model, params, and example responses.
- /customers page framework with case-study slot scaffolding (placeholder until the first real story lands).
- Per-step retry inside a workflow run, scoped tighter than the whole-run resume from Round 12.
- GitHub Dependabot config (weekly) and CodeQL scanning workflow.
Internal
- CI summary job consolidates the matrix into one required check for branch protection.
0.0.13 Workflow cancel, KPI strip, error boundary, indexes
Added
- Workflow run cancel endpoint and UI button.
- Dashboard KPI strip header (spent, active devices, workflows visible, last run).
- Route + global error boundaries with copyable error digest and pre-filled support email.
- /docs/workflows long-form authoring guide.
Changed
- recordAudit() now accepts an optional requestId that lifts into payload.request_id for trace correlation.
Internal
- Three new Postgres indexes for audit-by-user and workflow-runs hot queries.
0.0.12 Resume runs, /compare, full CSP, observability
Added
- Workflow run resume from failed/canceled step.
- /compare lead-magnet page (AutoGeo vs ModelBuilder vs Esri AI Assistant).
- /admin/audit org-scoped audit log with filters + CSV export.
- X-Request-Id propagation on /api/chat with a structured logging helper.
Security
- Strict default Content-Security-Policy with frame-ancestors none + X-Frame-Options DENY.
- Embed-friendly CSP just for /workflows/templates/[id]/embed (frame-ancestors *).
- 60-second idempotency window on workflow run starts (workflow_id + conversation_id).
- Command palette focus trap + restore-focus + role=listbox semantics.
0.0.11 Team CRUD, per-run detail, uptime, SEO
Added
- /api/health endpoint for uptime monitors (BetterStack target).
- Org workflow CRUD in /admin (list + create + delete).
- /workflows/[id]/runs/[runId] per-run detail page.
- /workflows/templates/[id]/embed iframe-friendly snippet for docs sites.
- Sitemap expanded to 43 entries covering every blog post and template deep-link.
- 7th blog post: '20 starter workflows: what we learned authoring them'.
0.0.10 SEO depth, admin loop, ⌘K
Added
- Per-template deep-link pages with generateStaticParams (20 pre-rendered).
- Dynamic OG images per template and per blog post.
- Install + BYO key docs pages.
- ⌘K command palette stub: search workflows, blog, docs.
- Org-scoped admin device revoke (Team-tier owners/admins).
0.0.9 Cap editor, device revoke, templates lead-magnet
Added
- User-editable monthly spend cap on the dashboard.
- Self-serve device revoke endpoint + button.
- Public /workflows/templates lead-magnet with 20 copy-to-JSON cards.
- Inline /api/workflows/[id]/runs HMAC-authed endpoint for the plugin.
Internal
- .NET LicenseDaemon now injects HMAC providers into the Python audit emitter after every heartbeat.
0.0.8 Billing loop, team scale, marketing depth
Added
- Real Stripe meter reconciliation with deterministic per-hour idempotency keys.
- Email drip scheduler + cron tick (welcome → pro tip → case study → upgrade nudge).
- Team-shared workflows: /workflows surfaces personal + org-shared with a Team badge.
- Workflows filter + search by domain and free text.
- Workflow run history table on each workflow detail page.
- First drizzle-kit migration + schema-drift CI guard.
- 6th blog post: 'What AutoGeo does — and doesn't — store'.
0.0.7 Drizzle cutover, audit ingest, dashboard depth
Added
- Drizzle ORM on every hot query site.
- Sidecar audit ingest endpoint with HMAC body signing.
- Two more composite tools: overlay_and_summarize, geocode_and_publish.
- Server-rendered SVG sparkline of daily token spend.
- /dashboard/audit full-page view with filters and CSV export.
- /workflows/new authoring UI with live JSON preview.
0.0.6 Data layer, observability, admin
Added
- Drizzle ORM schema as the type-safe source of truth.
- 5 more audit hooks (subscription, license, device, workflow runs, BYO key).
- BYO key envelope encryption helper (KMS-style interface).
- 2 composite sidecar tools: classify_and_symbolize, dissolve_and_publish.
- SAML/SSO scaffolding and /admin Team-tier console.
- Sentry instrumentation skeleton with optional peer dep.
0.0.5 Depth, safety, type-safe schema
Added
- 10 industry-vertical seed workflows (20 total).
- Eval suite expanded to 61 prompts including 6 safety refusals.
- Audit log API + dashboard UI.
- Drizzle schema mirroring infra/schema.sql with a drift guard test.
- .NET plugin pending-job polling for long-running tools.
- 5th blog post: AutoGeo vs Esri AI Assistant.
0.0.4 Workflows wedge made real
Added
- 10 production-quality seed workflows surfaced in UI.
- Layout / map-series / bivariate CIM helpers.
- Web Map authoring composite tool.
- Long-running arcpy jobs now flow through the jobs API.
- Interactive ROI calculator on /pricing.
- 2 real blog posts and Resend email drip skeleton.
0.0.3 Jobs queue, hardening, CIM v2, evals
Added
- Jobs queue for long-running geoprocessing tools.
- 11 CIM renderers + 13 color ramps (graduated, unique, dot density, heat, proportional, simple).
- 40-prompt eval suite for orchestrator regression.
Security
- HMAC body-signing on plugin endpoints.
- Per-device token-bucket rate limiter.
- Prompt-injection sanitizer with tripwire scan and typed envelope wrapping.
0.0.2 Sidecar tests + full marketing surface
Added
- 190 sidecar pytest cases (mocked arcpy + arcgis).
- 30 curated AGOL REST endpoints across 6 domains.
- Workflow pages and full marketing site (docs, blog, status, legal).
- Custom 404, sitemap.xml, robots.txt, dynamic OG image.
0.0.1 Foundations
Added
- Initial monorepo: Next.js marketing + dashboard + API, Python sidecar, .NET add-in shell.
- Server-side orchestrator with intent routing, prompt caching, and SSE streaming.
- Workflows tier: schema, CRUD API, step-by-step runner.
- Stripe Checkout + Customer Portal.
- Usage caps + 80% warning email.