# Code Compendium 26

Shalaco's working folder for SFIB ops, scripts, and dashboards. Single git repo, multi-project.

## What lives where

```
scripts 2026/
│
├── 05-02 SFIB SKU Matrix/        ← active: pricing matrix, COGS, SKU naming
│   ├── outputs/                    HTML dashboards + CSVs (some embedded)
│   ├── inputs/                     cost-data, imports/yyyy/mm/dd archive
│   ├── scripts/                    Python: orders-to-flow, csv builders
│   └── *.md                        brief, plan, design docs
│
├── 05-03 SFIB Ops Dashboard/     ← scoped: wildfag.com control tower spec
│
├── wildfag-local/                 ← deploys to wildfag.com (live)
│   ├── *.html                      9 dashboards (data embedded inline)
│   ├── robots.txt + .htaccess      crawler block + DH password protect
│   └── README.md                   deploy notes
│
├── 04-30 Argus Media/             ← photo library inventory tool
├── 2026-05 Argus/                 ← financial dashboard (P&L, Stripe, Quickbooks)
│
├── 001 Active Scripts/            ← live tools (Winventory variant_key etc.)
│   └── Winventory 2026/            gold-standard SKU mapper (175 rows)
│
├── 000 Script Vault/              ← archive of older one-offs
├── 000 Rails/                     ← experimental UI
│
├── reference/                     ← inputs from operator (orders, products)
├── invoices/                      ← supplier PDFs (PCS, AM, Sticker Mule)
├── COGS ANALYSIS 26/              ← legacy notion exports + scratch
├── SFIB-Analyzer-2.0/             ← ShipStation order analyzer
├── SFinBloom-Toolkit/             ← legacy analyzer v1
│
├── HOME.html                      ← workspace home page (links into projects)
└── COMPENDIUM.md                  ← this file
```

## Daily workflow

```bash
cd ~/Desktop/scripts\ 2026/

# See what changed since last commit
git status
git diff

# Stage + commit
git add .
git commit -m "tightened margin column on sfib-matrix"

# (Optional) push to GitHub
git push origin main
```

## What's tracked vs what's not

**Tracked**: code (.py, .html, .js), docs (.md), small structured data (.json, .csv that's pricing/SKU/inventory snapshots), config files.

**Not tracked** (see `.gitignore`): customer order CSVs (PII), photo libraries, Notion export blobs, Python `__pycache__`, `.htpasswd`, `.env`, large binaries.

If a file is missing from `git ls-files` and it shouldn't be → check `.gitignore`, remove the matching line if you want it tracked.

## How to recover

- Lost a file you didn't mean to delete: `git checkout HEAD -- path/to/file`
- Want to see what something looked like 3 commits ago: `git show HEAD~3:path/to/file`
- See history of a file: `git log --follow -p -- path/to/file`

## Active projects (where the work is)

1. **wildfag-local/** — production dashboard bundle, deploys to wildfag.com
2. **05-02 SFIB SKU Matrix/** — pricing/SKU formula + import workflow + audit tools
3. **05-03 SFIB Ops Dashboard/** — control tower spec (Notion master batches integration pending)

Old/dormant projects (Argus Media, COGS ANALYSIS 26, SFIB-Analyzer-2.0, SFinBloom-Toolkit) are kept as historical reference — they have working scripts that fed into the current SKU matrix work.

## The compendium ethos

Single repo. Everything trackable that doesn't leak PII or balloon the size. When you start a new project, drop a folder at the root with a date prefix (`05-04 Whatever/`) so chronology is built into the filesystem. Let history accrete.
