The gist-to-infographic skill converts one or more GitHub gists into a deployment-ready infographic artifact for PopSoc.
It does 3 jobs:
-
Evidence Extraction
- Pull gist files.
- Extract factual evidence lines (headings, bullets, metrics, protocol statements).
- Remove weak/noisy lines.
-
Narrative + Style Compilation
- Choose an infographic archetype (systems map, timeline, KPI dashboard, executive brief, etc.).
- Choose a style preset (boardroom, swiss minimal, CRT, retro comic, industrial blueprint).
- Emit NotebookLM-ready prompt instructions with orientation/detail controls.
-
Protocol Deployment (PopSoc Engine)
- Publish as an infographic canvas card with UUIDv8 IDs.
- Register as canvas pin in protocol layer.
- Make card discoverable through
/api/portal/cardsfeed.
This turns research and protocol notes (usually trapped in docs/gists) into operational visual assets that can be:
- shown on map/canvas surfaces,
- attached to venues/events/workflows,
- replayed as deploy artifacts,
- tracked via deterministic UUID envelopes.
Endpoint: POST /api/popsoc/infographic/build
Input:
gist_ids[]- optional
title,city_spoc,archetype,style_preset_id,notebooklm_controls
Output:
build_uuid_v8gist_brief_markdownnotebooklm_prompt_markdown- selected archetype/style/controls
- extracted evidence lines
Persistence:
data/popsoc-infographic-builds.json
Endpoint: POST /api/popsoc/infographic/publish
Input:
- build object (or gist ids to auto-build)
- optional pin placement (
lat,lng,layer,venue_id)
Output:
- published portal card object
- published canvas pin object
Persistence:
- cards:
data/popsoc-infographics.json - pins:
data/popsoc-canvas-pins.json
Endpoint: POST /api/popsoc/infographic/deploy
Behavior:
- build + publish in one call.
The deploy engine uses deterministic UUIDv8 generation:
TYPE_CONTENT.PORTAL_CARD (0x2d1)for published card shellTYPE_CONTENT.CARD_CONFIG_TYPE (0x2d2)for card config shellTYPE_INFORMATION.INFOGRAPHIC (0x603)for infographic entity/build identityTYPE_INFORMATION.SIGN_PLACEMENT (0x602)for protocol pin/placement- temporal envelope IDs from the same block:
INFO_MESSAGE (0x604)INFO_SCHEDULE (0x606)INFO_WINDOW (0x607)INFO_REVISION (0x609)INFO_RENDER (0x60A)INFO_DISTRIBUTION (0x60E)
Domain:
DOMAIN.CONTENT (0x1)
Namespace:
- hash of
city_spoc
This keeps infographic assets first-class in the same protocol graph as venues/cards/actions/payments.
/api/portal/cardsnow merges static cards + deployed PopSoc infographic cards./api/popsoc/canvas/pinsexposes canvas pin feed.- Existing kiosk/canvas UIs can consume these cards without schema changes.
- Evidence-grounded prompts: no invented stats by default instruction.
- One-message visual discipline per artifact.
- Explicit unknowns where evidence is weak.
- Style and archetype are declarative, versionable, and replaceable.
- Add provider adapters (NotebookLM/Gemini/other renderers) behind a pluggable interface.
- Auto-select archetype via richer classifier (domain + intent + audience).
- Add provenance links from infographic card back to contract/payment events.
- Add x402/paywall hooks for premium infographic feeds.
Summary: This is no longer "prompt hacking". It is a protocol-native visual deployment system: Gists in → Evidence graph → Infographic build → Canvas card + Pin out.