← Archetype AI

Archetype AI

web

/Users/nexai/Documents/GitHub/archetype-ai/web

Components

103

Data flows

78

Stores

1

Endpoints

29

Unused

14

Skipped parses

0

Last ingest

9/29/2026, 9:25:06 PM

fcacc5880c84

Architecture insights

Watchlist

Unused

  • internalGroqTypeReferenceTo

    sanity.types.ts · Types / generated types

  • parse-and-sync

    scripts/parse-and-sync.ts · Likely app code

  • CommandPalette

    src/components/canvas/CommandPalette.tsx · Likely app code

  • HudLegend

    src/components/canvas/HudLegend.tsx · Likely app code

  • SourcePreview

    src/components/canvas/SourcePreview.tsx · Likely app code

  • ComponentNode

    src/components/canvas/nodes/ComponentNode.tsx · Likely app code

  • EndpointNode

    src/components/canvas/nodes/EndpointNode.tsx · Likely app code

  • GroupNode

    src/components/canvas/nodes/GroupNode.tsx · Likely app code

  • StoreNode

    src/components/canvas/nodes/StoreNode.tsx · Likely app code

  • nodeTypes

    src/components/canvas/nodes/index.ts · Likely app code

  • ArchitectureCanvas

    src/components/hud/ArchitectureCanvas.tsx · Likely app code

  • CustomComponentNode

    src/components/hud/CustomComponentNode.tsx · Likely app code

TODOs / FIXMEs

  • Watchlist

    TODO: ").toUpperCase()}: ${marker.text ?? ""}`)

  • composeWrittenAnswer

    TODO: /FIXME markers in the index. ${summarizeMarkers(answer.items)}` · TODO: or FIXME markers are indexed.";

  • createParserContext

    TODO: ' | 'fixme' | 'hack' | 'xxx'; · TODO: |FIXME|HACK|XXX)\b[:\s-]*(.*)$/i;

  • classifyQuestion

    TODO: |fixme|hack)\b/.test(lower)) return { intent: "todos", terms }; · TODO: /FIXME markers.` : "No TODO/FIXME markers indexed.",

  • createCodebaseTools

    TODO: , FIXME, and HACK markers from the last ingest.", · TODO: and FIXME comments"),

Recently changed

Parse failed

No skipped files.

Route tree

Open in HUD
  • page

    HomePage

    Open tree

    src/app/page.tsx

    Parsed automatically from src/app/page.tsx. Client: false.

    • component

      client

      Open tree

      src/sanity/client.ts

      Single Sanity client for the web app. Studio stays a separate project.

    • component

      PROJECTS_QUERY

      Open tree

      src/sanity/queries.ts

      Parsed automatically from src/sanity/queries.ts. Client: false.

      • component

        COMPONENT_FIELDS

        Open tree

        src/sanity/fragments.ts

        Four hops of child components — GROQ has no unbounded recursion.

  • layout

    metadata

    Open tree

    src/app/layout.tsx

    Parsed automatically from src/app/layout.tsx. Client: false.

    • component

      next.config

      Open tree

      next.config.ts

    • component

      AppNav

      Open tree

      src/components/nav/AppNav.tsx

      • utility

        SCOPE_STORAGE_KEY

        Open tree

        src/lib/ai/scope.ts

  • page

    IngestPage

    Open tree

    src/app/ingest/page.tsx

    Parsed automatically from src/app/ingest/page.tsx. Client: true.

    • utility

      parseFile

      Open tree

      src/lib/engine/parser.ts

      // src/lib/engine/parser.ts

      • api-route

        src/app/api/fs/list/route.ts

        • api-route

          src/app/api/fs/list/route.ts

          • api-route

            src/app/api/fs/list/route.ts

          • utility

            REMOTE_INGEST_MESSAGE

            Open tree

            src/lib/ingest/localFolders.ts

        • utility

          REMOTE_INGEST_MESSAGE

          Open tree

          src/lib/ingest/localFolders.ts

          • api-route

            src/app/api/fs/list/route.ts

          • utility

            BRIEF_KINDS

            Open tree

            src/lib/ai/composeBrief.ts

    • component

      PassProgress

      Open tree

      src/components/ingest/PassProgress.tsx

    • test

      chunkPasses.test

      Open tree

      src/lib/ingest/chunkPasses.test.ts

    • utility

      CHUNK_RETRY_ATTEMPTS

      Open tree

      src/lib/ingest/chunkPasses.ts

    • utility

      MAX_UPLOAD_FILE_BYTES

      Open tree

      src/lib/ingest/readPickedFolder.ts

      Leave JSON-stringify headroom under Vercel's ~4.5MB body limit.

    • utility

      loadWriteKey

      Open tree

      src/lib/ingest/writeKey.ts

  • page

    revalidate

    Open tree

    src/app/hud/page.tsx

    Parsed automatically from src/app/hud/page.tsx. Client: false.

    • utility

      CODEBASE_GRAPH_QUERY

      Open tree

      src/lib/sanity/queries.ts

      Parsed automatically from src/lib/sanity/queries.ts. Client: false.

      • component

        client

        Open tree

        src/sanity/client.ts

        Single Sanity client for the web app. Studio stays a separate project.

      • component

        PROJECTS_QUERY

        Open tree

        src/sanity/queries.ts

        Parsed automatically from src/sanity/queries.ts. Client: false.

        • component

          COMPONENT_FIELDS

          Open tree

          src/sanity/fragments.ts

          Four hops of child components — GROQ has no unbounded recursion.

      • utility

        normalizeFilePath

        Open tree

        src/lib/hud/href.ts

      • utility

        isSpaEntryPath

        Open tree

        src/lib/hud/publicEntry.ts

      • utility

        isServerOnlySpecifier

        Open tree

        src/lib/hud/boundary.ts

        "use server" and `import "server-only"` are server. Unmarked files are shared.

      • utility

        findSkippedFile

        Open tree

        src/lib/hud/skipped.ts

        • utility

          normalizeFilePath

          Open tree

          src/lib/hud/href.ts

      • api-route

        src/app/api/fs/list/route.ts

        • api-route

          src/app/api/fs/list/route.ts

          • api-route

            src/app/api/fs/list/route.ts

          • utility

            REMOTE_INGEST_MESSAGE

            Open tree

            src/lib/ingest/localFolders.ts

        • utility

          REMOTE_INGEST_MESSAGE

          Open tree

          src/lib/ingest/localFolders.ts

          • api-route

            src/app/api/fs/list/route.ts

          • utility

            BRIEF_KINDS

            Open tree

            src/lib/ai/composeBrief.ts

    • component

      HudCanvas

      Open tree

      src/components/hud/HudCanvas.tsx

      Parsed automatically from src/components/hud/HudCanvas.tsx. Client: true.

      • utility

        citedBlame

        Open tree

        src/lib/hud/citedBlame.ts

      • utility

        CODEBASE_GRAPH_QUERY

        Open tree

        src/lib/sanity/queries.ts

        Parsed automatically from src/lib/sanity/queries.ts. Client: false.

        • component

          client

          Open tree

          src/sanity/client.ts

          Single Sanity client for the web app. Studio stays a separate project.

        • component

          PROJECTS_QUERY

          Open tree

          src/sanity/queries.ts

          Parsed automatically from src/sanity/queries.ts. Client: false.

          • component

            COMPONENT_FIELDS

            Open tree

            src/sanity/fragments.ts

            Four hops of child components — GROQ has no unbounded recursion.

        • utility

          normalizeFilePath

          Open tree

          src/lib/hud/href.ts

        • utility

          isSpaEntryPath

          Open tree

          src/lib/hud/publicEntry.ts

        • utility

          isServerOnlySpecifier

          Open tree

          src/lib/hud/boundary.ts

          "use server" and `import "server-only"` are server. Unmarked files are shared.

        • utility

          findSkippedFile

          Open tree

          src/lib/hud/skipped.ts

          • utility

            normalizeFilePath

            Open tree

            src/lib/hud/href.ts

        • api-route

          src/app/api/fs/list/route.ts

          • api-route

            src/app/api/fs/list/route.ts

          • utility

            REMOTE_INGEST_MESSAGE

            Open tree

            src/lib/ingest/localFolders.ts

      • utility

        KIND_FILTER_IDS

        Open tree

        src/lib/ai/hudCommand.ts

        OpenAI strict json_schema: every property must appear in `required`.

      • component

        CodebaseCanvas

        Open tree

        src/components/canvas/CodebaseCanvas.tsx

        • utility

          layoutTree

          Open tree

          src/lib/hud/layout.ts

          Parsed automatically from src/lib/hud/layout.ts. Client: false.

        • utility

          MAX_VISIBLE_NODES

          Open tree

          src/lib/hud/focusGraph.ts

          • utility

            isSpaEntryPath

            Open tree

            src/lib/hud/publicEntry.ts

        • utility

          normalizeFilePath

          Open tree

          src/lib/hud/href.ts

        • component

          CitedHunk

          Open tree

          src/components/hud/CitedHunk.tsx

          • utility

            citedBlame

            Open tree

            src/lib/hud/citedBlame.ts

        • utility

          citedBlame

          Open tree

          src/lib/hud/citedBlame.ts

        • utility

          findSkippedFile

          Open tree

          src/lib/hud/skipped.ts

          • utility

            normalizeFilePath

            Open tree

            src/lib/hud/href.ts

        • utility

          isSpaEntryPath

          Open tree

          src/lib/hud/publicEntry.ts

        • utility

          blastRadius

          Open tree

          src/lib/hud/blast.ts

          • utility

            MAX_VISIBLE_NODES

            Open tree

            src/lib/hud/focusGraph.ts

        • utility

          buildArchitectureReport

          Open tree

          src/lib/hud/report.ts

          • utility

            findSkippedFile

            Open tree

            src/lib/hud/skipped.ts

          • utility

            MAX_VISIBLE_NODES

            Open tree

            src/lib/hud/focusGraph.ts

        • utility

          absoluteFilePath

          Open tree

          src/lib/hud/openFile.ts

        • utility

          isArtifactPath

          Open tree

          src/lib/hud/artifacts.ts

        • utility

          findImportCycles

          Open tree

          src/lib/hud/graphInsights.ts

          • utility

            MAX_VISIBLE_NODES

            Open tree

            src/lib/hud/focusGraph.ts

          • utility

            isSpaEntryPath

            Open tree

            src/lib/hud/publicEntry.ts

          • utility

            isArtifactPath

            Open tree

            src/lib/hud/artifacts.ts

          • utility

            isServerOnlySpecifier

            Open tree

            src/lib/hud/boundary.ts

            "use server" and `import "server-only"` are server. Unmarked files are shared.

        • component

          GraphBrief

          Open tree

          src/components/ai/GraphBrief.tsx

          • utility

            BRIEF_KINDS

            Open tree

            src/lib/ai/composeBrief.ts

        • component

          HudAskBar

          Open tree

          src/components/ai/HudAskBar.tsx

          • utility

            KIND_FILTER_IDS

            Open tree

            src/lib/ai/hudCommand.ts

            OpenAI strict json_schema: every property must appear in `required`.

        • component

          HudTourBar

          Open tree

          src/components/ai/HudTourBar.tsx

          • utility

            KIND_FILTER_IDS

            Open tree

            src/lib/ai/hudCommand.ts

            OpenAI strict json_schema: every property must appear in `required`.

        • utility

          KIND_FILTER_IDS

          Open tree

          src/lib/ai/hudCommand.ts

          OpenAI strict json_schema: every property must appear in `required`.

        • utility

          captionEdge

          Open tree

          src/lib/ai/edgeCaption.ts

    • component

      client

      Open tree

      src/sanity/client.ts

      Single Sanity client for the web app. Studio stays a separate project.

    • component

      PROJECTS_QUERY

      Open tree

      src/sanity/queries.ts

      Parsed automatically from src/sanity/queries.ts. Client: false.

      • component

        COMPONENT_FIELDS

        Open tree

        src/sanity/fragments.ts

        Four hops of child components — GROQ has no unbounded recursion.

    • utility

      KIND_FILTER_IDS

      Open tree

      src/lib/ai/hudCommand.ts

      OpenAI strict json_schema: every property must appear in `required`.

    • utility

      findSkippedFile

      Open tree

      src/lib/hud/skipped.ts

      • utility

        normalizeFilePath

        Open tree

        src/lib/hud/href.ts

    • utility

      liveBlame

      Open tree

      src/lib/engine/liveBlame.ts

      • api-route

        src/app/api/fs/list/route.ts

        • api-route

          src/app/api/fs/list/route.ts

          • api-route

            src/app/api/fs/list/route.ts

          • utility

            REMOTE_INGEST_MESSAGE

            Open tree

            src/lib/ingest/localFolders.ts

        • utility

          REMOTE_INGEST_MESSAGE

          Open tree

          src/lib/ingest/localFolders.ts

          • api-route

            src/app/api/fs/list/route.ts

          • utility

            BRIEF_KINDS

            Open tree

            src/lib/ai/composeBrief.ts

      • component

        client

        Open tree

        src/sanity/client.ts

        Single Sanity client for the web app. Studio stays a separate project.

      • utility

        classifyQuestion

        Open tree

        src/lib/sanity/ask.ts

        • component

          client

          Open tree

          src/sanity/client.ts

          Single Sanity client for the web app. Studio stays a separate project.

      • utility

        citedBlame

        Open tree

        src/lib/hud/citedBlame.ts

      • utility

        findGitRoot

        Open tree

        src/lib/engine/gitHistory.ts

        • api-route

          src/app/api/fs/list/route.ts

          • api-route

            src/app/api/fs/list/route.ts

          • utility

            REMOTE_INGEST_MESSAGE

            Open tree

            src/lib/ingest/localFolders.ts

  • page

    CanvasPage

    Open tree

    src/app/canvas/page.tsx

    Parsed automatically from src/app/canvas/page.tsx. Client: false.

  • page

    ProjectPage

    Open tree

    src/app/[slug]/page.tsx

    Parsed automatically from src/app/[slug]/page.tsx. Client: false.

    • component

      client

      Open tree

      src/sanity/client.ts

      Single Sanity client for the web app. Studio stays a separate project.

    • component

      PROJECTS_QUERY

      Open tree

      src/sanity/queries.ts

      Parsed automatically from src/sanity/queries.ts. Client: false.

      • component

        COMPONENT_FIELDS

        Open tree

        src/sanity/fragments.ts

        Four hops of child components — GROQ has no unbounded recursion.

    • component

      ComponentTreeList

      Open tree

      src/components/hud/ComponentTreeList.tsx

      Parsed automatically from src/components/hud/ComponentTreeList.tsx. Client: false.

      • utility

        CODEBASE_GRAPH_QUERY

        Open tree

        src/lib/sanity/queries.ts

        Parsed automatically from src/lib/sanity/queries.ts. Client: false.

        • component

          client

          Open tree

          src/sanity/client.ts

          Single Sanity client for the web app. Studio stays a separate project.

        • component

          PROJECTS_QUERY

          Open tree

          src/sanity/queries.ts

          Parsed automatically from src/sanity/queries.ts. Client: false.

          • component

            COMPONENT_FIELDS

            Open tree

            src/sanity/fragments.ts

            Four hops of child components — GROQ has no unbounded recursion.

        • utility

          normalizeFilePath

          Open tree

          src/lib/hud/href.ts

        • utility

          isSpaEntryPath

          Open tree

          src/lib/hud/publicEntry.ts

        • utility

          isServerOnlySpecifier

          Open tree

          src/lib/hud/boundary.ts

          "use server" and `import "server-only"` are server. Unmarked files are shared.

        • utility

          findSkippedFile

          Open tree

          src/lib/hud/skipped.ts

          • utility

            normalizeFilePath

            Open tree

            src/lib/hud/href.ts

        • api-route

          src/app/api/fs/list/route.ts

          • api-route

            src/app/api/fs/list/route.ts

          • utility

            REMOTE_INGEST_MESSAGE

            Open tree

            src/lib/ingest/localFolders.ts

      • utility

        normalizeFilePath

        Open tree

        src/lib/hud/href.ts

      • utility

        isArtifactPath

        Open tree

        src/lib/hud/artifacts.ts

    • component

      HealthGrid

      Open tree

      src/components/health/CodebaseHealth.tsx

    • utility

      CODEBASE_GRAPH_QUERY

      Open tree

      src/lib/sanity/queries.ts

      Parsed automatically from src/lib/sanity/queries.ts. Client: false.

      • component

        client

        Open tree

        src/sanity/client.ts

        Single Sanity client for the web app. Studio stays a separate project.

      • component

        PROJECTS_QUERY

        Open tree

        src/sanity/queries.ts

        Parsed automatically from src/sanity/queries.ts. Client: false.

        • component

          COMPONENT_FIELDS

          Open tree

          src/sanity/fragments.ts

          Four hops of child components — GROQ has no unbounded recursion.

      • utility

        normalizeFilePath

        Open tree

        src/lib/hud/href.ts

      • utility

        isSpaEntryPath

        Open tree

        src/lib/hud/publicEntry.ts

      • utility

        isServerOnlySpecifier

        Open tree

        src/lib/hud/boundary.ts

        "use server" and `import "server-only"` are server. Unmarked files are shared.

      • utility

        findSkippedFile

        Open tree

        src/lib/hud/skipped.ts

        • utility

          normalizeFilePath

          Open tree

          src/lib/hud/href.ts

      • api-route

        src/app/api/fs/list/route.ts

        • api-route

          src/app/api/fs/list/route.ts

          • api-route

            src/app/api/fs/list/route.ts

          • utility

            REMOTE_INGEST_MESSAGE

            Open tree

            src/lib/ingest/localFolders.ts

        • utility

          REMOTE_INGEST_MESSAGE

          Open tree

          src/lib/ingest/localFolders.ts

          • api-route

            src/app/api/fs/list/route.ts

          • utility

            BRIEF_KINDS

            Open tree

            src/lib/ai/composeBrief.ts