Skip to content

Follow-up (#1032→concepts scale): design/plan for /concepts/ virtualization + CAP takeover (orphaned in local worktree) #1327

Description

@jung-thomas

Surfaced during a stale-worktree cleanup sweep. A committed design spec for scaling the /concepts/ page exists only on a local branch (never PR'd). Filing for deeper analysis before salvage or drop.

Where it lives (local, not pushed)

  • Worktree: .claude/worktrees/concepts-scale-design
  • Branch: worktree-concepts-scale-design
  • HEAD: 186a937ddocs(concepts): design spec for scale (virtualize list + CAP takeover) (2026-07-08)
  • Plus untracked: ?? docs/superpowers/plans/2026-07-08-concepts-scale.md (the implementation plan)

What's uncovered

A full design + implementation plan to make /concepts/ scale from ~700 to 5k–10k concepts:

  • Thread A: CAP-rendered list page — top-100 SSR cards + embedded JSON + vue-virtual-scroller windowing.
  • Thread B: POST /content/publish/render-concepts phase in publish-content.ts → new CAP endpoint queries PublishedConcepts + phase-4 tables, writes concept-<slug> BLOBs into ContentFiles.
  • New files planned: srv/lib/concept-list-page.js, srv/lib/concept-detail-render.js, srv/lib/publish-concepts.js, EJS templates, extracted ConceptCard.vue, + unit/hybrid/snapshot tests.
  • Explicitly DEV-only; respects the LOB-vs-CDS-QL gotcha and the PublishedConcepts projection freeze.

Needs deeper analysis

  1. Is this still relevant? Concept count today vs the 5k–10k trigger — is scale actually a problem yet?
  2. Does any of this overlap work already merged since 2026-07-08?
  3. If still wanted: convert the design doc to a tracked spec on main + reopen as an active workstream.

⚠️ Do not delete the worktree until resolved

The implementation-plan doc is untracked — exists only in this worktree. The design spec commit 186a937d is also un-pushed. Salvage before deleting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions