Repo inventory

projects/shur/dev-sprint-1/repo-inventory.md

Repo Inventory: Block 1 of the Framework Map

Sweep of the totem-terminal vault, ~/Documents/projects/, and ~/projects/ on 2026-07-17. Counts exclude .venv, node_modules, .git, build dirs. Destination column is the proposal for adjudication; bold rows are contested and go to Jonny before this doc leaves draft.

A. Product code inside the vault (moves to the monorepo)

Component Location What it is Real size Proposed destination
Slack document agent projects/shur/slack-agent/ The Fiserv-born agent: document parsing, classification, project tracking 11 src + 5 test files (py) monorepo modules/slack-agent/
ShurIQ KG engine projects/shur/shuriq-kg/ shuriq_kg Python package: knowledge-graph pipeline 9 files monorepo engines/kg/
Report Studio (vault copy) projects/shur/shuriq-report-studio/ JSX components, app dir, design checkpoints ~280 files reconcile with outside repo first
OKF toolchain projects/shur/okf/ mirror, entity extractor, enrich, viz, serving Worker + MCP server 11 tools + serving/ monorepo interfaces/okf/ (this IS the vault-to-code bridge)
Competitive-intel pipeline projects/shur/competitive-intelligence/ + projects/microco/competitive-intel/{semantic-layer,tools} SBPI semantic layer (RDF store, queries), report tooling ~26 files monorepo engines/competitive-intel/; client data and deliverables stay in vault
Simulation studio bridge projects/shur/simulation-studio-2026-07/ Glue to the outside sim-studio repo 2 files merges with wherever simulation studio lands

B. Product code outside the vault

Component Location What it is Proposed destination
Report Studio (deployed) ~/Documents/projects/shuriq-report-studio/ Vite/TS app + Cloudflare functions + migrations; prod branch main monorepo apps/report-studio/ as core; reconcile with vault copy
Simulation Studio ~/Documents/projects/sense-collective-simulation-studio/ Local-first multi-agent simulated audience (Nicholas's first project) contested: SC-branded; org boundary call
myKG fork ~/projects/mykg/ DKR ontology-intake bootstrap (fork of SenolIsci/mykg) + totem_* layer satellite for sprint 1; rebuild-independent is already the stated direction
viz-studio ~/Documents/projects/viz-studio/ Multi-lens graph/data visualization suite for agents + client deploys monorepo modules/viz-studio/
ShurIQ Atlas ~/Documents/projects/shuriq-atlas/ Static single-page ops site, no build step monorepo apps/atlas/ or stays a deploy artifact
DBM reskin handoff ~/Documents/projects/dbm-brand-read-reskin/ Alex's reskin package (editorial + viz-hub + README-for-alex) feeds the renderer feature branch; not a standalone module
Aethelgard ~/Documents/projects/aethelgard/ Exploratory Rails signal-ingestion engine + dashboard (Totem Forge) contested: satellite vs monorepo
Totem agent framework ~/projects/totem-agent-framework/ (+ copy in ~/Documents/projects/) 9 agents, capabilities, cowork infra from the Telegram-bot lineage contested: satellite vs monorepo
shurportal ~/Documents/projects/shurportal/ Website design PDFs + shur-website dir not sprint-1; Shur Creative web, not ShurIQ

C. Stays in the vault (knowledge/ops layer, never the dev repo)

Component Location Why it stays
Report grammar canon + gate projects/shur/report-grammar/ Core IP: voice spec, mega-eval, grammar-gate.py, module-gallery dotprompts. See contested question on where the executable gate lives.
Vault ops automation system/scripts/, system/tools/ Daily digest, dkr-nightly, mem0 bench, eval-runner: vault infrastructure
Content pipeline content/build.rb, content/publish.rb Concept Flywheel publishing; personal/brand content, not product
Cartography workflow projects/cartography/ Internal analysis tooling wrapped as a skill
Per-engagement workflows projects/{AHA,dbm-global,polymarket,trinchero,zxmoto-film,screentalk,fiserv,...}/*.workflow.js + build scripts Engagement artifacts; patterns get extracted into modules deliberately, not migrated wholesale
Brand dashboard state projects/shur/shuriq-brand-dashboard-gateway/ Client data (brand profiles, insights feeds)
Design references projects/shur/shuriq-design-system/ Reference HTMLs + Claude Design onboarding; Alex-facing design material

D. Not relevant to sprint 1

Everything else in ~/Documents/projects/ (learning repos, one-off demos, client archives: pathfinder, chanukah-mystery-game, letta experiments, obsidian tooling, condo-sales, careismatic, etc.). No action.

Adjudications (resolved 2026-07-17 with Jonny)

  1. Report Studio: outside repo is canonical. Diff run 2026-07-17: the two copies are identical except three files (functions/api/reports/[id]/index.ts, publish.ts, functions/lib/infranodus.ts) where the outside repo is strictly newer (2026-07-16 SBPI-canonical + graph-payload changes, committed, clean tree). The vault app/ is a stale 2026-06-04 snapshot with no unique app code: archive it after migration. The vault dir's surrounding workspaces (motion-graphics/ 561 files, managed-agent/ 71 files, claude-design-upload/, checkpoints/, viz HTMLs) are design and method material and stay in the vault; whether managed-agent/ graduates into the monorepo is a Block 2 question since it implements one of the report run modes.
  2. Simulation Studio: ShurIQ monorepo module. SC branding treated as historical; Nicholas works in the monorepo.
  3. Grammar gate: moves to monorepo CI (grammar-gate.py + module-gallery dotprompts run on report-producing branches). The prose canon, voice spec, and mega-eval rationale stay vault-private. Rules ship, rationale doesn't.
  4. Aethelgard, totem-agent-framework, myKG: all satellites behind interfaces for sprint 1. The monorepo is report studio, engines, modules, dashboards only.