Conversation
…ages (#373) Introduce the markdown+frontmatter content contract and loader so public copy lives in src/content/site instead of JSX, with build-time validation that aggregates every file's errors (including fence/YAML/BOM issues). Add a shared PublicLayout (header with mobile menu, footer, hash scroll) and route every public marketing page through it, including / and /legal, so footer links to /legal#privacy and #terms land on the right section. Add a frontend lint ratchet (lint:ci, BASELINE=87) enforced in CI and the pre-push hook, so the existing ESLint backlog can only shrink. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add About and Contact pages on the site content loader, with unconfirmed claims (CIC status, pilot schedule, time commitment) shipped as drafts. Move the demo-request form into DemoRequestForm with organisation type, reporting-time and pilot-interest fields, still posting to web3forms. Define the brand palette as Tailwind @theme tokens and use brand-* classes in the public site instead of inline styles; brand.ts now references the CSS variables so the hex values live in one place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…structure - Created HomePage component to replace the deprecated LandingPage. - Implemented legacy hash redirects for navigation. - Added tests for HomePage to ensure proper rendering and functionality. - Removed LandingPage.tsx and its associated tests. - Verified that all relevant assertions were migrated to the new tests. - Conducted a production build check to ensure stability and performance.
… remove old implementation
… design, specs and tasks Resolves the five open questions from the skeleton proposal (reindex trigger, guide-doc chunking/publishing, golden dataset ownership, gate tolerance, unanswerable-question scoring) and adds design.md, delta specs for site-knowledge-index/site-retrieval/retrieval-evaluation, and tasks.md. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…into change dir, add tracking block Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…x (group 1) Adds the site_chunks table and ingestion pipeline that indexes published site-content sections, guide docs, and PRODUCT.md into full-text-searchable rows, synced idempotently on startup. Falls back to repo-root source paths when the Dockerfile's container-only /app/... paths aren't present, so bare-metal dev runs index real content instead of silently skipping it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…pe checks black-format guide_doc_ingestion.py and add types-PyYAML, the stub package mypy needs now that this service imports yaml directly for the first time. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ic route (group 3) Guide-doc chunks cite /guides/<doc-slug>#<heading-slug>, so the site now renders docs/user-guide/*.md and docs/PRODUCT.md (as `product`) with H2 anchors slugified exactly like the ai service ingester. GitHub-relative doc links are rewritten to sibling guide routes or to the repo on GitHub. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
… persona boost (group 2) ts_rank_cd-ranked full-text retrieval over site_chunks, OR-ing query lexemes so natural-language questions needn't contain every word. CI's ai-test job gains a postgres:15 service since ts_rank_cd can't run on sqlite; corrects the design's claim that it already had one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…retrieval eval gate (group 4) 58-question golden dataset validated against the real corpus, a Recall@k/MRR/ unanswerable-accuracy harness with a token baseline, and baseline.yaml floors that fail CI on any retrieval regression. Ingesters gain parse-only loaders and the throwaway-schema Postgres helper is shared between retrieval and eval tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
site_chunkstable and an idempotent ingestion pipeline that indexes published site-content sections, user-guide docs, andPRODUCT.mdinto full-text-searchable rows, synced on service startup.SITE_CONTENT_DIR/GUIDE_DOCS_DIR/PRODUCT_DOC_PATHdefaulted to container-only/app/...paths, so bare-metal (non-Docker) dev runs silently indexed zero rows. Defaults now fall back to the real repo-root source paths when the container paths don't exist.types-PyYAML(first directyamlimport in this service) and a black-formatting fix needed to pass pre-push checks.Note for reviewers: this branch was created before PR #376 (
public-site-contentgroup 1) merged, so the diff currently includes #376's commits too. That will shrink automatically to just this group's changes once #376 merges — no action needed here.Test plan
pytest tests/test_site_content_ingestion.py tests/test_guide_doc_ingestion.py tests/test_site_knowledge_startup.py— 26 passedSITE_CONTENT_DIR/GUIDE_DOCS_DIR/PRODUCT_DOC_PATHresolve to real, existing paths when running bare-metalsite_chunkspopulates after restarting the localaiservice with the path fixblack --check,mypy,flake8all clean onservices/ai/app🤖 Generated with Claude Code
Closes #381