Skip to content

Instantly share code, notes, and snippets.

View SoMaCoSF's full-sized avatar

SoMaCo SoMaCoSF

View GitHub Profile
@SoMaCoSF
SoMaCoSF / gist:4fc7a9a348f3f762d240e39bac00eeae
Created May 7, 2026 17:34
SoMaCoSF Platform — Full Session Build Log (2026-05-06/07)
# SoMaCoSF Platform — Session Build Log
**somacosf.com | 2026-05-06 → 2026-05-07**
---
## What Was Built
### 1. Polymarket CLOB + Kalshi Execution Bridge (`62c1535`)
- `app/api/poly/execute` — CLOB order submission via Polymarket API
- `app/api/kalshi/execute` — Kalshi market order bridge
@SoMaCoSF
SoMaCoSF / gist_d48c.md
Created April 29, 2026 16:38
SoMaCo Part 2 — 11 Polymarket market drafts w/ full resolution criteria, Cu/Al trade thesis, IBEW labor signal, board interlocks, platform API

SoMaCo Part 2 — 11 Polymarket market drafts w/ full resolution criteria, Cu/Al trade thesis, IBEW labor signal, board interlocks, platform API

SoMaCo — Follow-Up: The Full Trade, The Full Stack

Part 2 of 2 | First gist: https://gist.github.com/SoMaCoSF/6af0a31f9197d2b148f20b1a2baff1c0 Published: 2026-04-28 | Platform: somacosf.com


What Part 1 Established

@SoMaCoSF
SoMaCoSF / gist_6af0.md
Created April 29, 2026 16:38
SoMaCo AI Datacenter Supply Chain Intelligence — C-Suite network, $295B capex flows, GYST UUID registry, Polymarket gap analysis, Mermaid diagrams

SoMaCo AI Datacenter Supply Chain Intelligence — C-Suite network, 95B capex flows, GYST UUID registry, Polymarket gap analysis, Mermaid diagrams

SoMaCo Platform — AI Datacenter Supply Chain Intelligence

Published: 2026-04-28 | Platform: somacosf.com | Stack: Next.js 15 + Turso + Python harvesters

Thesis: $295B in Filed CapEx. Zero Polymarket Coverage.

Six hyperscaler CEOs have publicly committed $295 billion to AI datacenter infrastructure in FY2025. That capital flows through a documented supply chain — copper miners, aluminum producers, cable tray manufacturers, liquid cooling companies.

@SoMaCoSF
SoMaCoSF / somacosf-own-corpus-2026-04-28.md
Created April 28, 2026 22:14
SoMaCoSF Own Corpus 2026-04-28 — 84 original repos, 205 gists, domain clusters, full registry by status

SoMaCoSF Corpus — Complete Work Registry

Owner: Phlux / SoMaCoSF | Generated: 2026-04-28 | Total: 394 entries

84 original repos · 105 forked repos · 205 gists · across TypeScript, Python, JavaScript, Rust, Go, PowerShell


Quick Stats

| Metric | Count |

@SoMaCoSF
SoMaCoSF / how-to-build-a-corpus.md
Created April 28, 2026 21:31
How to Build a Domain Intelligence Corpus — thesis, network maps, signal timelines, UUID registry, harvesters, CSV schema, validation checklist

How to Build a Domain Intelligence Corpus

A practical guide for researchers, traders, and builders Methodology extracted from production intelligence systems — applies to any domain with public data and market gaps


What Is a Domain Intelligence Corpus?

A corpus is a structured, machine-readable knowledge base built around a single thesis. It combines:

@SoMaCoSF
SoMaCoSF / build_corpus.py
Created April 28, 2026 21:05
SoMaCoSF Corpus 2026-04-28 — 394 rows: 205 gists + 189 repos, Ghost Catalog fields, ES.exe-ready CSV
#!/usr/bin/env python3
"""
SoMaCo Corpus Builderbuild_corpus.py
Slurps all SoMaCoSF gists + repos via gh CLI into Ghost Catalogformatted CSV.
Ghost Catalog fields (SOM-DOC convention):
file_id, type, entity_id, description, category, visibility,
language, created_at, updated_at, url, files_or_stars,
is_fork, stack, status, tags
@SoMaCoSF
SoMaCoSF / somacosf_status_2026-04-28.md
Created April 28, 2026 19:11
SOMACOSF System State 2026-04-28 — Harvester Pipeline, Mission Control, UUID Architecture, Paper Stats, What Works, What's Next

SOMACOSF SYSTEM STATE — 2026-04-28

OMEN-01 | somacosf.com | Phlux | Session snapshot


┌─────────────────────────────────────────────────────────────────────────────┐
│  SOMACOSF MISSION CONTROL // OMEN-01 // 2026-04-28                         │
│  "IDENTITY IS INFRASTRUCTURE"                                               │
│                                                                             │
@SoMaCoSF
SoMaCoSF / somaco-market-intelligence.md
Created April 28, 2026 16:23
SoMaCo AI Datacenter Commodity Intelligence — Supply Chain Divergence · Market Creation · GYST UUID v8 · Mermaid Diagrams + Math

SoMaCo — AI Datacenter Commodity Intelligence

Supply Chain Divergence · Market Creation · GYST UUID v8 Protocol

THESIS: The AI datacenter build-out is the largest coordinated commodity procurement event since the interstate highway system. Aluminum, copper, and galvanized steel embedded in physical infrastructure are not priced into LME/SHFE/CME futures. Polymarket has zero coverage of this supply chain. First-mover market creation position available across 11 distinct commodity-prediction-market pairs.


Table of Contents

  1. Supply Chain Signal Map
@SoMaCoSF
SoMaCoSF / GYST-STATE-2026-04-28.md
Created April 28, 2026 14:18
GYST UUID State Audit — content-address completeness analysis

GYST UUID v8 — Full State Audit

Date: 2026-04-28 | Repo: somacosf-platform | Author: Claude Sonnet 4.6 (self-audit, challenged by SoMaCoSF)


The Challenge

"our UUIDs encode signal and all the other json meta data — I think youre breaking protocol - if not prove it"

This document answers that directly with evidence from the live code.

@SoMaCoSF
SoMaCoSF / GYST-UUID-AUDIT-2026-04-28.md
Created April 28, 2026 14:13
GYST UUID Protocol Audit — rand42 violation introduced and corrected

GYST UUID v8 Protocol Audit — rand42 Violation

Date: 2026-04-28 | Author: Claude Sonnet 4.6 (self-audit) | Severity: P0 PROTOCOL BREAK


What Was Built Correctly

The GYST UUID v8 SoMaCoSF protocol is a 128-bit self-describing identity token where every bit is determined by the signal's content. The layout: