Codex app as glue
Codex is the interface that reads the repo, follows the local instructions, runs scripts, checks git state, opens files, and turns a question into a repeatable workflow.
Project / Dynasty Codex
Dynasty Codex is a local-first fantasy football research workspace where the Codex app acts as the operating layer across APIs, local data, knowledgebase notes, skills, plugins, and publishable reports.
The important design choice is that the repo is the application state. Codex reads it, updates it, runs its scripts, calls external tools when needed, and turns fresh context into decisions, notes, reports, or public writing.
System Map
It is not one model or one dashboard. It is a set of durable parts that make each new fantasy question start with memory instead of a blank chat box.
Codex is the interface that reads the repo, follows the local instructions, runs scripts, checks git state, opens files, and turns a question into a repeatable workflow.
Project skills route common work like trade evaluation, league research, daily refresh, analyst ingest, KB lint, and SQL maintenance. Approved integrations add outside capabilities when needed, such as source retrieval, repository workflow, browser QA, or deploys.
Markdown files store source cards, player pages, concepts, league notes, and preserved research answers. Facts, analyst opinions, and my takes stay separate so the system can challenge itself later.
Raw API captures and processed tables stay local by default. The local analytics layer makes those snapshots easy to query, join, rebuild, and back up without running a database server.
Scripts can produce Markdown, CSV, charts, HTML, and PDF-style report packages. The public site gets only cleaned, original synthesis that clears privacy and freshness checks.
Scheduled Codex runs can preview data refreshes, check advisory warnings, mine source queues, build action lists, and keep local backups without making every day a manual maintenance session.
Data Flow
The workflow is intentionally boring in the right places: capture raw inputs, normalize them, query them locally, then promote only useful conclusions.
League-platform exports provide league reality: rosters, trades, drafts, picks, transactions, matchups, and history. Public football data, market context, and source notes add public and subscription-safe context around those leagues.
The repo tracks source registries, docs, scripts, and safe metadata. Bulky raw data, local databases, private league detail, and member-only raw text stay in ignored local folders unless there is an explicit personal-data branch.
Builder scripts turn source files and API captures into queryable tables for league context, market context, production, and identity work. Codex can ask narrow questions against those views instead of inventing answers from memory.
A trade question starts from live roster and pick reality. A player page checks identity, production, exposure, market context, and source notes. A research claim needs a baseline, freshness label, validation check, and action threshold.
Good answers become player notes, concept pages, daily digests, action queues, report packages, or public articles. Weak signals stay as watch items or get discarded, which is as important as publishing the winners.
Why This Shape
Fantasy research mixes private leagues, member-only sources, stale data, public APIs, and personal judgment. The architecture has to make those boundaries visible.
Snapshot IDs, catalog metadata, source cards, and queryable tables make it possible to ask where a conclusion came from and whether it is still current.
Member-only source text, private messages, raw local exports, and league-specific details stay out of public publishing. The public layer is paraphrased, original, and stripped of private identifiers.
Instructions, skills, scripts, docs, lint checks, and generated manifests make the project navigable for future Codex sessions. A new agent can start warm.
Where It Goes
The long-term path is not just more pages. It is better decision support: sharper reports, interactive tools, and trusted workflows that know the league context before analysis starts.
Combine manager tendencies, pick liquidity, roster windows, market values, historical baselines, and scoring settings into focused offer construction.
Track market dislocations, opportunity without points, analyst disagreement, format-specific value gaps, and stale blockers in one reviewable surface.
Promote only the best sanitized outputs into this site: technical notes, fantasy articles, report previews, draft boards, and small interactive tools.