feat(brainsnn): boil — affective-intel positioning across both apps + L106 Brand Risk Scorecard#27
Draft
slavazeph-coder wants to merge 2 commits into
Draft
feat(brainsnn): boil — affective-intel positioning across both apps + L106 Brand Risk Scorecard#27slavazeph-coder wants to merge 2 commits into
slavazeph-coder wants to merge 2 commits into
Conversation
…gine Reframe the public homepage around a single positioning sentence: an affective-intelligence engine that detects the emotional payload inside online content before it shapes attention, behavior, brand risk, or public perception. - Rewrite hero (tagline, lead, side panel bullets) around the engine, not the visualizer. Stats card swaps "regions / pathways" for "affective dimensions / manipulation templates." - Replace WHY_CARDS with the four payload outcomes (attention, behavior, brand risk, public perception) plus auditable + open-source. - Replace "Community / distribution" with a "Who uses it" audience grid: brand & marketing, comms / PR, trust & safety, researchers / journalists, security teams, builders / open source. - Rewrite the "How it works" timeline as the four-step scoring pipeline (score, name the technique, render in 3D, receipt + share) and swap the extension snippet for a /api/score POST example. - Update gallery cards to scan archetypes (fear cascade, certainty theater, affective trajectory). - Refresh README preview, footer copy, social hook, and HTML <title> / meta tags around the new positioning. - Commit ui/brainsnn-site/package-lock.json (matches the existing brainsnn-r3f-app convention). Build: vite build clean, 624 modules, 6.31s. https://claude.ai/code/session_brainsnn-ui-build-28ebr
Roll the homepage repositioning across the in-product app, build the Brand Risk Scorecard layer, and replace the homepage gallery placeholders with real scan illustrations. brainsnn-r3f-app - index.html title + og + twitter meta now lead with "affective- intelligence engine" and the four-outcome positioning sentence. - OnboardingWalkthrough STEPS rewritten — step 1 leads with the positioning sentence, the Cognitive Firewall is framed as "the engine," the new Brand Risk Scorecard gets its own step, and the ordering puts the engine before the visualization layer. - MilestonePanel intro paragraph updated to the new framing. - Layer 106 (Brand Risk Scorecard) added to layerCatalog and mounted in App.jsx behind an ErrorBoundary, after the Milestone panel. L106 — Brand Risk Scorecard - src/utils/brandRisk.js: splitItems / scoreItem / computeBrandRisk / brandBriefMarkdown. Pure functions, no side effects. Aggregates Cognitive Firewall (L4) + Propaganda Templates (L39) + Ad Transparency archetypes (L48) into a single 0–100 score with a 4-tier classification (Clean / Watch / At risk / Critical). - src/components/BrandRiskPanel.jsx: brand input + items textarea + load-sample helper, headline score card, dominant archetypes, most-fired templates, top 5 worst items, copy-brief-as-Markdown. - Score formula: 60% mean pressure + 25% peak pressure + 15% high- risk archetype share. High-risk archetypes: abusive-domestic, phishing, conspiracy-hook, political-attack, cult-recruitment. - Number 106 picked to avoid colliding with the open L101 PRs (#22, #24, #25 — see PR #27 description for the suggested resolution). ui/brainsnn-site gallery - public/scan-fear-cascade.svg, scan-certainty-theater.svg, and scan-affective-trajectory.svg — three hand-rolled SVG cards that match the new gallery copy. 4-dim score bars, brain proxy with the appropriate region glowing, evidence chips. - GALLERY_ITEMS now carries an `image` field; App.jsx reads it with the demo-placeholder.svg as a fallback. Builds - npm run build --prefix ui/brainsnn-site — 624 modules, 8.03s, clean. - npm run build --prefix brainsnn-r3f-app — 912 modules, 6.19s, clean. https://claude.ai/code/session_brainsnn-ui-build-28ebr
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reposition everything around a single positioning sentence:
This PR now covers four things:
ui/brainsnn-site) repositioned around the new framingbrainsnn-r3f-app) propagates the same positioning into title / og / twitter meta, the onboarding walkthrough, and the milestone synthesis/demo-placeholder.svgfor the three scan archetypesWhat changed
ui/brainsnn-site(public homepage)WHY_CARDSrewritten around the four payload outcomes (Attention, Behavior, Brand risk, Public perception) plus auditable + open / local-first.BRAIN_REGIONS.push(...)to a realPOST /api/scoreexample.public/scan-fear-cascade.svg— AMY glowing red, 4-dim bars, evidence chipspublic/scan-certainty-theater.svg— PFC dampened, BG rising, certainty templatespublic/scan-affective-trajectory.svg— escalating pressure-over-turns line chart, peak / spike markers, receipt chip<title>, og meta — all updated to the new positioning.brainsnn-r3f-app(in-product app)index.html— title / description / og / twitter meta all match the homepage positioning.OnboardingWalkthrough— STEPS rewritten. Step 1 leads with the positioning sentence. The Cognitive Firewall is framed as "the engine," the 3D brain as "the visualization layer." A new step introduces the Brand Risk Scorecard.MilestonePanel— intro paragraph now leads with the affective-intelligence framing.Layer 106 — Brand Risk Scorecard (new)
src/utils/brandRisk.js— pure functions:splitItems,scoreItem,computeBrandRisk,brandBriefMarkdown. Aggregates Cognitive Firewall (L4) + Propaganda Templates (L39) + Ad Transparency archetypes (L48). Emits a 0–100 score with 4 tiers (Clean / Watch / At risk / Critical).src/components/BrandRiskPanel.jsx— brand input + items textarea + load-sample helper, headline score card, dominant archetypes, most-fired templates, top 5 worst items, copy-brief-as-Markdown.src/utils/layerCatalog.js— L106 registered (firewallgroup).src/App.jsx— panel mounted behind anErrorBoundaryafter the Milestone panel.abusive-domestic,phishing,conspiracy-hook,political-attack,cult-recruitment.Test plan
npm install --prefix ui/brainsnn-site— cleannpm run build --prefix ui/brainsnn-site— 624 modules, 8.03s, cleannpm install --prefix brainsnn-r3f-app— cleannpm run build --prefix brainsnn-r3f-app— 912 modules, 6.19s, clean (only pre-existing dynamic-import warning forgemmaEngine.js)/api/scoresnippetdemo-placeholder.svg).brand-risk-panelL101 collision note
Three PRs claim Layer 101 right now:
Posted a comment on #24 suggesting Graph Insights move to L107 so the quantum thread (#25) can keep L101–L105 contiguous and #27 keeps L106. Open to a different ordering if the team prefers.
What this does NOT touch
ui/brainsnn-viewermain🤖 Generated with Claude Code