modulePackage manifestv2.0.4

module.community-intelligence

Governed, provider-neutral community analytics, coaching views, and Kaizen digests.

@lssm-tech/module.community-intelligence
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 2.0.4. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
serverwebnodebrowser
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGEmodule.community-intelligencedomains

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

3 declarationsSELECT TO INSPECT

@lssm-tech/module.community-intelligence

Provider-neutral community intelligence for multiple Discord guilds or other community sources. It converts normalized, tenant-scoped events into per-source and cross-source recurring-question, pain/friction, response, moderation, stable-user journey, coaching, and weekly Kaizen projections.

The module is observation-only. Raw provider ingestion, credentials, storage, moderation actions, and LLM SDKs stay behind host-owned ports. Before optional external analysis, content is redacted and actors are pseudonymized. The analysis boundary accepts only EU-resident, training-disabled providers; an unavailable or non-compliant provider produces the deterministic local fallback.

Individual staff scorecards require community.staff-scorecards.read authority. Default projections are team-level and deliberately contain no leaderboard, rank, employment recommendation, or automated HR decision fields.

ts
import { CommunityIntelligenceService } from "@lssm-tech/module.community-intelligence";

const service = new CommunityIntelligenceService();
const projection = await service.analyze({
  scope: {
    tenantId: "tenant-1",
    workspaceId: "workspace-1",
    trustZone: "managed-community",
  },
  sources,
  events,
  identityLinks,
  authority: { capabilities: [] },
  window: { from: "2026-08-10T00:00:00.000Z", to: "2026-08-17T00:00:00.000Z" },
});

Hosts remain responsible for durable encrypted evidence, retention enforcement, row-level security, and resolving evidence references under authorization.

Discord analysis rules

@lssm-tech/module.community-intelligence/discord-analysis owns the pure Discord rules hosts apply to gateway payloads before persistence: actor-role classification (bot, then moderator, then staff role IDs), transient analysis drafts that keep only DefaultCommunityRedaction output, question and pain signals (COMMUNITY_PAIN_SIGNALS), and derived event kinds (staff.replied, moderation.action for auto-moderation and audit actions 20/22/24/72/73, moderation.reversed for action 23). The keyed actor pseudonymizer and its secret stay in the host.

@lssm-tech/module.community-intelligence/discord-intelligence-records builds the seven-day insight, staff-scorecard, portfolio-insight and Kaizen-digest records from redacted analysis events. All sources must share tenant, workspace and trust zone. Cross-source aggregates and the digest stay in the staff zone only for staff sources; every other zone is downgraded to portfolio. Hosts map the records to their own storage.

DefaultCommunityRedaction replaces mentions, URLs, emails, phone numbers, keyword-prefixed tokens and opaque 32+ character tokens.

Declared capabilities.

Community Intelligence

Evidence-backed multi-community insights, coaching views, and Kaizen digests.

Use it to

  • Analyze recurring community needs and staff response patterns across governed sources

Requires

  • Normalized community events
  • Tenant-scoped authority

Choose another boundary when

  • Raw provider ingestion or automated employment decisions are required.

@lssm-tech/module.community-intelligence

Imports and export paths.

15 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

15 imports

Dependencies and related packages.

Runtime dependencies 3
react
catalog:
Development dependencies 4
@types/react
catalog:types
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

buildcontractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
lint:checknode ../../../../scripts/biome.cjs check .
testbun test
prebuildcontractspec-bun-build prebuild
typechecktsgo --noEmit
Your view

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Your context

The different parts of you

Choose a starting point

A useful mix of context, visuals and gentle guidance.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Reading comfort

Choose your language

Interface language changes text only. Markets, prices and workflows keep their own settings.

Translation coverage

Original source

Navigation151
Graph616
Categories378
Portfolio833
Examples2,035
Source preview1,542

More translations will be added as content is reviewed.

This preference is saved on this browser.

Search the website

Useful starting points

No results. Try a shorter phrase, an operation name or another search area.

A LITTLE ROOM TO EXPLORE

Find something to explore.

Open a closer look on this page, try a different perspective, or follow the detail into its own page.

How previews and controls work
01

Look before you leave

Hover a link or focus it with Tab to see a preview. Clicking the original link or pressing Enter always opens its destination.

02

Stay with the context

Move into the preview to explore its sections. Use Alt + ↓ from a focused link to enter it with the keyboard. Escape closes it.

03

Open the possibilities

Disclosure rows, perspective choices and highlighted controls reveal more. Your view changes reading comfort and the context you explore.

A separate button for a closer look

Show small preview buttons beside links where there is room. Tap the eye to inspect, or tap the link to go straight there. This choice stays in this tab.

No browsing history is collected. Reduced motion follows your device and Your view.