Skip to main content
← Back to list
01Issue
FeatureIn ProgressSwamp CLI
Assigneesstack72

Link to namespace extensions listing from profile pages

Opened by stack72 · 4/23/2026

Problem Statement

After #446 shipped /extensions/@, there is no in-app path to discover that URL. Users must either type it by hand or be linked externally. Profile pages — /u/ for operatives and /o/ for collectives — are the natural entry points but have no link to the namespace listing.

Proposed Solution

Add an "Extensions" row (or similar single-line panel) to both /u/ and /o/ that:

  • Displays the number of extensions published under the namespace (e.g. "Extensions: 7").
  • Links the count / label to /extensions/@.
  • Renders the empty case (0 extensions) either as plain text with no link, or omits the row entirely — both are acceptable; pick whichever is less visually noisy.

Scope

  • New read method on ExtensionRepository: countByNamespace(namespace: string): Promise<number>.
  • MongoDB implementation mirroring the existing namespace-prefix regex used in search().
  • Wire through lib/app/repos.ts.
  • Render the row on both profile pages.

Alternatives Considered

  • Linking without a count — simpler but less informative; the count provides a useful "what am I clicking into" signal.
  • Only linking from collective pages (not operative pages) — rejected because the /extensions/@ route resolves both kinds, and operatives can own namespaces too.

Context

This was deferred from PR #446 per adversarial review (ADV-2) to keep the initial URL work scoped.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 8 MOREREVIEW+ 2 MOREPR_LINKED

In Progress

4/23/2026, 3:18:19 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack724/23/2026, 1:32:29 PM

Sign in to post a ripple.