File system map

Where agents should look in the repo

Use this page with /file-map.json. The page explains the important files; the JSON endpoint is easier for automated traversal.

Agent orientation

PathPurpose
AGENTS.mdNon-negotiable repo rules for future agents.
docs/system-purpose.mdNorth-star definition of what this system is, is not, and must prove.
docs/product-roadmap.mdPriority-ordered product roadmap for executing every value multiplier.
docs/site-expansion-execution-track.mdDurable execution track for filling out the site with studies, fixtures, infrastructure, design, copy, simulations, stress tests, docs, and demo builds.
docs/agent-playbook.mdFull adaptation workflow and definition of done.
docs/deployment-runbook.mdGated Cloudflare Pages deployment path: required decisions, deploy sequence, and post-deploy production evidence.
deploy.shGuarded deploy script; refuses to run without explicit confirmation, account ID, Pages project, and canonical URL.
README.mdHuman-readable starter overview and command list.

Site identity and routing

PathPurpose
src/site.config.tsSite name, URL, contact data, address, social profiles, and AI policy.
src/data/navigation.tsPrimary navigation.
src/data/agent-reference.tsAgent-facing pages, machine endpoints, examples, QA contract, workflows, and file map.
astro.config.mjsAstro config, site URL, and trailing slash behavior.

Machine-readable endpoints

PathPurpose
src/pages/agent-manifest.json.tsStructured agent entry manifest.
src/pages/file-map.json.tsStructured repo file map.
src/pages/qa-contract.json.tsStructured quality contract.
src/pages/examples.json.tsStructured examples catalog.
src/pages/agent-tasks.json.tsStructured future-agent backlog.
src/pages/product-roadmap.json.tsStructured product roadmap endpoint.
src/pages/walkthroughs.json.tsStructured step-by-step walkthrough endpoint.
src/pages/contract-registry.json.tsFormal JSON contract registry endpoint.
src/pages/site-studies.json.tsStructured real-site study endpoint.
src/pages/seo-aeo-evaluation.json.tsStructured SEO/AEO evaluation endpoint.
src/pages/source-traceability.json.tsStructured source-to-site traceability endpoint.
src/pages/site-type-playbooks.json.tsStructured site-type build playbook endpoint.
src/pages/page-patterns.json.tsStructured reusable page-pattern endpoint.
src/pages/page-pattern-fixtures.json.tsStructured inventory of concrete page-pattern fixture routes.
src/pages/fixtures/design-system/Concrete design-system fixture routes for agent-operable UI patterns.
src/pages/conversion-copy.json.tsStructured conversion copy system endpoint.
src/pages/offer-ecosystem.json.tsStructured offer-ecosystem funnel endpoint.
src/pages/infrastructure-decisions.json.tsStructured infrastructure decision system endpoint.
src/pages/browser-visual-qa.json.tsStructured browser visual QA contract endpoint.
src/pages/crawl-evidence.json.tsStructured crawl evidence contract endpoint.
src/pages/design-system-contracts.json.tsStructured design-system contract endpoint.
src/pages/aeo-geo-context.json.tsStructured AEO/GEO model context contract endpoint.
src/pages/why-explanations.json.tsStructured why-explanations contract endpoint.
src/pages/real-site-comparisons.json.tsStructured real-site comparison contract endpoint.
src/pages/handoff-reports.json.tsStructured handoff report contract endpoint.
src/pages/llms.txt.tsConcise LLM index.
src/pages/llms-full.txt.tsExpanded LLM summary.
src/pages/sitemap.xml.tsSitemap generation.
src/pages/schemamap.xml.tsSchema discovery map.
src/pages/robots.txt.tsCrawler policy.

Quality automation

PathPurpose
scripts/spec-audit.mjsStatic required-file audit.
scripts/qa-routes.mjsRoute, link, and sitemap checks.
scripts/qa-seo.mjsMetadata, canonical, H1, OG, and JSON-LD checks.
scripts/qa-aeo.mjsLLM endpoint, schema endpoint, and AEO contract checks.
scripts/qa-browser.mjsBrowser screenshot, viewport overflow, visible H1, accessibility heuristic, and visual report checks.
scripts/qa-crawl.mjsScreaming Frog CSV export summarizer and crawl evidence report checks.
scripts/qa-copy-stress.mjsStress tests weak-to-stronger conversion copy transformations against the copy contract.
scripts/qa-page-pattern-fixtures.mjsStress tests concrete page-pattern fixture routes, section coverage, pattern mapping, and report evidence.
scripts/qa-playbook-simulation.mjsStress tests every site-type playbook with simulated builds and negative controls for inputs, patterns, schema, claims, QA gates, and risk honesty.
scripts/qa-crawl-stress.mjsLicense-free static-export crawler enforcing link health, redirect budgets, sitemap reachability, and response budgets with synthetic negative controls.
scripts/publish-evidence.mjsPublishes the latest accepted QA reports to public/evidence/ with workstation paths redacted.
scripts/qa-performance.mjsMeasures local LCP/CLS per route via Playwright and enforces asset budgets and page rules with negative controls.
scripts/qa-demo-build.mjsValidates the canonical demo build against its playbook, simulation record, claim ledger, schema requirements, and blocked phrases with negative controls.
scripts/qa-agent-simulation.mjsSimulates future-agent use from the main URL and saves scenario evidence.
scripts/qa-contract-drift.mjsRuns live contract checks plus negative drift fixtures for endpoints, schemas, sources, and evidence.
scripts/qa-domain.mjsChecks local static route readiness and optional production domain variants via QA_PRODUCTION_URL.
scripts/qa-handoff.mjsGenerates a current handoff report from QA, contract, crawl, browser, domain, and agent-simulation evidence.
scripts/qa-nectiv-lessons.mjsTurns Nectiv-derived SEO/AEO lessons into dedicated local guardrail checks and production-evidence warnings.
scripts/qa-common.mjsShared static server and parsing helpers for QA scripts.

Source retention

PathPurpose
data/sources/raw/Immutable raw source archive.
data/sources/manifests/Source manifests and provenance notes.
data/working/Cleaned or transformed source material.
data/derived/Generated briefs, summaries, copy, and QA outputs.
data/sources/manifests/example-client-discovery.mdExample source manifest for a fictional site build.
data/working/example-client-facts.jsonExample cleaned public-safe fact set derived from raw inputs.
data/derived/example-page-brief.jsonExample page brief connecting source facts to page, schema, SEO, and AEO requirements.
data/derived/example-crawl-export/Example Screaming Frog-style crawl exports used by qa:crawl.
data/derived/aeo-geo-context/Example prompt and answer-evidence fixtures for AEO/GEO model context checks.
data/derived/copy-stress/copy-stress-fixtures.jsonWeak-to-stronger copy stress fixtures used by qa:copy.
data/derived/playbook-simulations/playbook-simulation-fixtures.jsonFictional simulated build fixtures for every site-type playbook used by qa:playbooks.
data/sources/manifests/demo-brightline-gutter-discovery.mdFictional source manifest for the canonical demo build.
data/working/demo-brightline-facts.jsonCleaned fictional facts and blocked claims for the canonical demo build.
data/derived/demo-brightline-page-brief.jsonPage brief connecting demo facts to routes, patterns, schema, claims, and QA gates.
src/pages/demo/brightline/Canonical demo routes: a fictional local-service site executing the local service playbook end to end.
src/pages/demo/logpilot/Second canonical demo: a fictional B2B SaaS site executing the B2B SaaS playbook with its own brand tokens.
data/sources/manifests/demo-logpilot-discovery.mdFictional source manifest for the SaaS demo build.
data/working/demo-logpilot-facts.jsonCleaned fictional facts and blocked claims for the SaaS demo build.
data/derived/demo-logpilot-page-brief.jsonPage brief for the SaaS demo build.
reports/demo/Generated canonical demo build QA evidence.
reports/performance/Generated performance budget and Core Web Vitals measurement evidence.
data/sources/manifests/hormozi-conversion-copy-study-2026-06-06.mdPublic source-study manifest for conversion copy patterns inspired by Alex Hormozi and Acquisition.com.
reports/browser/Generated browser QA screenshots, visual diff images, and layout/keyboard/accessibility report.
tests/browser/baselines/Committed screenshot baselines for visual diff; update intentionally with QA_UPDATE_BASELINES=1 npm run qa:browser.
reports/crawl/Generated crawl evidence reports and saved crawl summaries.
reports/seo-aeo/Generated SEO/AEO guardrail reports, including Nectiv-derived lesson checks.
reports/agent-simulation/Generated future-agent simulation evidence from main URL scenarios.
reports/contracts/Generated contract drift and negative-fixture evidence.
reports/copy-stress/Generated copy stress-test evidence.
reports/page-pattern-fixtures/Generated page-pattern fixture route stress-test evidence.
reports/playbooks/Generated site-type playbook simulated-build stress-test evidence.
reports/domain/Generated static route and optional production domain evidence.
reports/handoff/example-handoff-report.jsonExample handoff report fixture for final closeout evidence.
reports/handoff/generated-handoff-report.jsonGenerated current handoff report from the latest QA evidence.

Contract schemas

PathPurpose
public/schemas/agent-manifest.schema.jsonValidates the top-level agent manifest shape.
public/schemas/file-map.schema.jsonValidates file-map groups and paths.
public/schemas/qa-contract.schema.jsonValidates QA command contract.
public/schemas/examples.schema.jsonValidates reusable example blueprints.
public/schemas/agent-tasks.schema.jsonValidates future-agent backlog items.
public/schemas/product-roadmap.schema.jsonValidates product roadmap items.
public/schemas/walkthroughs.schema.jsonValidates roadmap walkthrough items.
public/schemas/contract-registry.schema.jsonValidates the formal contract registry.
public/schemas/site-studies.schema.jsonValidates real-site study items.
public/schemas/seo-aeo-evaluation.schema.jsonValidates SEO/AEO evaluation checks.
public/schemas/source-traceability.schema.jsonValidates source-to-site traceability records.
public/schemas/site-type-playbooks.schema.jsonValidates site-type build playbooks.
public/schemas/page-patterns.schema.jsonValidates reusable page patterns.
public/schemas/page-pattern-fixtures.schema.jsonValidates concrete page-pattern route fixtures.
public/schemas/conversion-copy.schema.jsonValidates conversion copy system.
public/schemas/offer-ecosystem.schema.jsonValidates offer-ecosystem funnel system.
public/schemas/infrastructure-decisions.schema.jsonValidates infrastructure decision system.
public/schemas/browser-visual-qa.schema.jsonValidates browser visual QA contract.
public/schemas/crawl-evidence.schema.jsonValidates crawl evidence contract.
public/schemas/design-system-contracts.schema.jsonValidates design-system contract.
public/schemas/aeo-geo-context.schema.jsonValidates AEO/GEO model context contract.
public/schemas/why-explanations.schema.jsonValidates why-explanations contract.
public/schemas/real-site-comparisons.schema.jsonValidates real-site comparison contract.
public/schemas/handoff-reports.schema.jsonValidates handoff report contract.