PRISM (Second-Brain)

tasks.md

Plan (the target state — % complete is measured against THIS)

PRISM Finishing Build Plan (2026-07-12, supersedes the line below): 6 phases, each its own Fable-5 goal with a review gate before the next — Foundation → Executioner+Verification+Hermes-removal → Landing pages → Modular rearch → Multi-tenancy → Prod-readiness+GTM. Full plan: PIP docs/plans/2026-07-12-prism-finishing-build-plan.md.

~~PRISM V2: rebuild off Hermes onto Postgres+pgvector + Claude Agent SDK, role-shaped cockpits, chat-operator, then domain-agnostic productization.~~ (superseded 2026-07-12: executioner is now prism-runner.py upgrade, not Claude Agent SDK — see decision record.)

Phase tasks (2026-07-12 plan)

  • [ ] Phase 1 — Foundation: patch unauthenticated /api/chat; re-verify AE/BDR/Marketer doors against current (corrected) Belk/Lululemon data, fix any field-mismatch drift; design-system token reconciliation · owner:claude · added:2026-07-12
  • [ ] Phase 2 — Executioner+Verification+Hermes removal: build 5-stage gate (mechanical→factcheck→adversarial panel→quality→legal), upgrade prism-runner.py to per-skill dispatch, prove parity on non-prod path, remove Hermes (needs Arijit's explicit yes on the actual removal step) · owner:claude · blocked-on:Phase 1 review gate
  • [ ] Phase 3 — Landing pages: Belk+Lululemon via existing render-landing.mjs; Figma/Jahia integration spike + build · owner:claude · blocked-on:Phase 2 review gate
  • [ ] Phase 4 — Modular rearchitecture: module boundary contract + recipe format · owner:claude · blocked-on:Phase 3 review gate
  • [ ] Phase 5 — Multi-tenancy + domain-pack: run the concurrency test (open since 07-02), rewrite multi-tenancy doc post-Hermes, domain-pack interface · owner:claude · blocked-on:Phase 4 review gate
  • [ ] Phase 6 — Prod-readiness + GTM + pricing: security topology, observability, pricing/metering instrumented · owner:claude · blocked-on:Phase 5 review gate

Pre-existing tasks — reconciled against 2026-07-12 live recon

  • [x] AE + BDR + Marketer doors all built (not just AE) — confirmed live on prism2.chowmes.com via VPS recon, 2026-07-12 · was listed below as "blocked on Arijit GO," actually shipped 2026-07-06, just never re-verified since (now Phase 1's job)
  • [ ] Chat-operator · owner:claude · now scoped as Phase 2's "embedded claude -p chat agent," replaces Hermes/Cassandra's chat role entirely (not additive)
  • [ ] Hermes decommission from PRISM path · owner:claude · added:2026-07-04 · now Phase 2, full rip-and-replace decided 2026-07-12 (was previously undecided staged-vs-full)
  • [x] Lululemon full re-validation (23-dim factcheck, all found issues fixed) · owner:claude · added:2026-07-09 · done:2026-07-09
  • [x] 3 systemic bugs fixed: ROI formula inflation, data-quality-flag propagation, industry_context filename typo · owner:claude · added:2026-07-09 · done:2026-07-09
  • [x] Symlink 2 skills (repo↔live) to eliminate drift · owner:claude · added:2026-07-09 · done:2026-07-09
  • [ ] Symlink remaining ~40 skills after manual diff review · owner:claude · blocked-on:manual pair review, added:2026-07-09
  • [ ] algolia-search-audit skill script reconciliation (repo vs live, real divergence both ways) · owner:claude · blocked-on:Arijit review of ~25 live-only scripts, added:2026-07-09
  • [ ] Wire Crossbeam MCP calls into algolia-intel-partner (auth already works, just never called) · owner:claude · added:2026-07-09
  • [x] Fix Clerk-handshake bug blocking the new live-fetch /api/audit-data/{slug} route · owner:claude · added:2026-07-09 · done:2026-07-10 · confirmed working live for Belk
  • [x] Roll live-fetch page wiring to Belk · owner:claude · added:2026-07-09 · done:2026-07-10 · dell/jbl/nike still static-only
  • [ ] Run Gymshark case-study Postgres migration (INSERT drafted, needs real migration path not ad-hoc SQL) · owner:claude · added:2026-07-09
  • [ ] Execute PIPELINE-UNIFICATION-PLAN.md Phases 2-7 (Postgres-only data, Pydantic schemas, per-skill factcheck gate, SPA completeness gate) · owner:claude · blocked-on:fresh session handoff, added:2026-07-09
  • [x] Belk re-validation: resume post-crash, fix all fabrication/discrepancy blockers · owner:claude · added:2026-07-10 · done:2026-07-10 · v6 gate WARN 8.3, blocking_count 0
  • [ ] Clear Belk's 3 remaining cosmetic gate warnings for a clean PROCEED (labeled channel-mix estimate, empty impact_stat field, superseded tech-stack language) · owner:claude · added:2026-07-10 · LOW priority, non-shipping
  • [ ] Add Foot Locker, Michael Kors, The North Face, Torrid back to the hub listing page (same missing-card bug found+fixed for Belk) · owner:claude · added:2026-07-10
  • [ ] Re-render dell/jbl workspace screenshot dirs to check for the same workspace-vs-served drift found on Belk · owner:claude · added:2026-07-10
  • [ ] Run the same AUDIT-REVALIDATION-SOP.md pass on the other 17 companies (Dell, JBL, PetSmart, Home Depot Mexico, British Airways, La Banque Postale, Nike, Oriental Trading, Foot Locker, Michael Kors, The North Face, Torrid, Brooks Running, DSW, Savage X Fenty, L.L.Bean) · owner:claude · blocked-on:Arijit's explicit go-ahead, added:2026-07-10 · NOT started, explicitly out of scope tonight
  • [ ] Investigate render-audit.ts's two real script bugs found tonight (lift_traffic_json reads wrong rank-field names; MD-based demographics parser clobbers JSON-sourced age-bucket data with a gender-only fallback) · owner:claude · added:2026-07-10