PMDC NRE-I Workspace — File Inventory Log
This is a descriptive log only. Nothing was moved, renamed, or regenerated. Per AGENTS.md, this is an allowed derivative artifact.
PMDC NRE-I Workspace — File Inventory Log
Snapshot: 2026-10-06 08:28 (rescan — supersedes the 06:18 snapshot)
Scope: entire /NRE Prep workspace, recursive.
Method: find walk. Excludes node_modules, .DS_Store, and nested .git internals (all reproducible/incidental, not study content).
This is a descriptive log only. Nothing was moved, renamed, or regenerated. Per AGENTS.md, this is an allowed derivative artifact.
Headline Numbers
| Metric | Count |
|---|---|
| Total files (content scope) | 2,811 |
Raw total incl. node_modules |
25,036 |
Directories (excl. node_modules) |
711 |
| Total size | 795 MB |
| Top-level folders | 33 (+ 10 loose root files) |
The raw ~25,000 figure is misleading — 22,000+ of those are node_modules dependencies in web/, .opencode/, and Side Projects/Topic Template/. 2,811 is the real number.
What Changed Since the 06:18 Snapshot
The web/ Astro site was rebuilt between 06:18 and 08:14, and two folders were deleted.
| Change | Detail |
|---|---|
Web Package/ |
DELETED (68 files, 25 MB) |
nre-fresh-site/ |
DELETED (5 files) |
web/ |
419 → 491 files (419 → 491; size 375M → ~300M) |
web/src/content/ |
new — 90 generated Markdown files |
web/scripts/ |
2 → 4 files (build_vault.py, apply_skin.py, sync_catalog.py) |
web/dist/ |
279 → 299 files, rebuilt with /docs/[slug] routes |
Net file count is unchanged (2,811) because the 73 deleted files were replaced by the site rebuild. Size fell 42 MB.
What this resolves
The 06:18 log flagged “three overlapping web representations.” That is now solved — web/ is the single web project. The two resources/ trees that were byte-identical duplicates (Web Package/site/resources/ and web/public/resources/) are now just one: web/public/resources/, 66 files.
Full Folder Table
| Folder | Files | Size | Last touched |
|---|---|---|---|
MedCORE Production/ |
717 | 43M | 2026-09-15 |
web/ |
491 | ~300M | 2026-10-06 07:40 |
Side Projects/ |
307 | 83M | 2026-10-03 |
QBank/ |
291 | 52M | 2026-09-25 |
MedCORE Next/ |
252 | 5.0M | 2026-09-29 |
Test Series/ |
146 | 48M | 2026-10-06 00:20 |
Print Versions/ |
134 | 6.9M | 2026-08-07 |
Scripts/ |
79 | 1.9M | 2026-10-04 |
MedCORE Systems/ |
56 | 26M | 2026-09-26 |
Exam Intel/ |
56 | 4.2M | 2026-10-04 |
MedCORE/ |
53 | 972K | 2026-06-12 |
Past Papers/ |
40 | 3.4M | 2026-09-11 |
Planner/ |
28 | 508K | 2026-09-18 |
Cheatsheets/ |
25 | 872K | 2026-10-04 |
NRE 50 WorkBook/ |
21 | 3.7M | 2026-08-07 |
Standalone HTMLs/ |
19 | 4.1M | 2026-10-05 |
25MCQs/ |
16 | 976K | 2026-10-05 |
NRE Essentials/ |
11 | 54M | 2026-10-02 |
System/ |
11 | 544K | 2026-09-15 |
Reference/ |
7 | 2.1M | 2026-06-29 |
Images/ |
6 | 12M | 2026-06-09 |
Forge Series/ |
5 | 52K | 2026-08-30 |
FCPS1 Solved Papers/ |
5 | 4.9M | 2026-09-22 |
Quick References/ |
4 | 5.5M | 2026-06-08 |
.opencode/ |
4 | 61M | 2026-09-15 |
Error Log/ |
3 | 12K | 2026-09-12 |
Syllabus/ |
2 | 1.1M | 2026-05-27 |
Diagnostic Codes/ |
2 | 540K | 2026-05-09 |
Hybrid Drill Sheets/ |
2 | 84K | 2026-08-27 |
Removed From Test Series/ |
2 | 10M | 2026-10-01 |
.netlify/ |
2 | 8.0K | 2026-09-19 |
Book/ |
1 | 112K | 2026-09-25 |
Misc/ |
1 | 460K | 2026-05-09 |
Color Palettes/ |
1 | 12K | 2026-06-18 |
Root loose files (10)
AGENTS.md— behavioral instructionsSYSTEM_MAP.md— folder map (stale, see below)SYSTEM_PIPELINE.md— data flowSYSTEM_INVENTORY.md— this fileNRE Full Mock 200.htmlNRE-I MCQ Bank Classified.docxOphthalmology Red Eye Differential.docxRUQ Pain Differential.docx/.pageshand_paeds_big.json.gitignore
The web/ Site (single source, as of 08:14 rebuild)
Astro 7, static output, deploys to Cloudflare Pages.
web/
src/
data/catalog.ts generated — the single source of truth
data/index.ts Zod-validated loader (fails build if malformed)
content/vault/*.md GENERATED mirror of the vault's Markdown
layouts/Base.astro shell: nav, theme boot, search slot
components/ Gate, Palette (⌘K), ResourceRow, SectionPage
pages/ index, vault, docs/[...slug], papers, drills,
plan, r/[slug]
public/resources/ 66 legacy self-contained HTML, passed through
public/vault-index.json note bodies for ⌘K search, fetched on first open
scripts/build_vault.py vault Markdown -> content/vault/ + vault-index.json
scripts/apply_skin.py theme skinning
scripts/sync_catalog.py catalog sync
worker/gate-worker.js Cloudflare Worker for the gate
dist/ build output (299 files) — regenerable
Build chain: npm run build → build_vault.py (mirrors the whole workspace’s
.md files into content/vault/) → astro build. dev and start do the same.
The vault is read-only input; the script writes only into web/.
Current published surface: 66 legacy resources + 45 vault notes → 45 /docs/ routes + /vault, /papers, /drills, /plan, /index.
Functional Composition
Not all 2,811 files are study material. Categorised:
| Class | Files | Notes |
|---|---|---|
Study documents (.docx + .pdf, excl. print renders) |
549 | The actual examinable assets |
| Structured data / source JSON | 820 | Mostly question banks + topic content for the pipeline |
| HTML (excl. build output) | 161 | 95 sources + 66 packaged resources |
Build output (web/dist, .astro, netlify) |
299 | Regenerable — not source of truth |
| Source code (py/js/ts/astro/css/mjs) | 189 | Generators, builds, pipeline |
Generated vault mirror (content/vault/) |
90 | Derived from the 52 source notes |
| PNG images | 278 | Diagrams and design assets |
| TXT | 173 | Extracted text banks |
| Markdown (vault sources, excl. generated) | 52 | The notes behind the site |
| Pages / misc | ~60 | .pages, .bak, .zip, .odt |
Type totals: 820 json, 621 docx, 499 html, 278 png, 173 txt, 132 py, 95 md, 62 pdf.
The 52 vault source notes (Markdown)
These are the real documents behind the site — production specs, evidence policy, progress logs, prediction papers, answer keys, error logs, series maps.
| Location | Notes |
|---|---|
MedCORE Production/Docs/ |
11 |
Exam Intel/Predictions/ |
7 |
Forge Series/ (+ 3 pilot cards) |
5 |
Past Papers/ |
3 |
Planner/Plan/ |
2 |
System/, Test Series/, Side Projects/, Reference/, Book/, Error Log/ |
10 |
| Root (AGENTS, SYSTEM_*) | 4 |
MedCORE Systems/MedCORE Template/ |
2 |
web/README.md, MedCORE Next/, MedCORE/ |
4 |
Sub-Structure of the Large Folders
MedCORE Production/ — 717 files (largest folder)
| Sub | Files |
|---|---|
Source JSON/ |
416 |
MCQ DOCX/ |
152 |
Lesson DOCX/ |
92 |
Compilations/ |
27 |
Docs/ |
13 |
Scripts/ |
10 |
Master HTML/ |
2 |
Premium/ |
2 |
QA Audit/ |
2 |
web/ — 491 files (~300M) — Astro 7 site, single web source
| Sub | Files |
|---|---|
dist/ |
299 (build output, incl. 45 /docs/ routes) |
src/content/vault/ |
90 (generated; 45 notes + 45 iCloud 2 dupes) |
public/resources/ |
66 (legacy gated HTML) |
src/pages/ + components/ + layouts/ + styles/ |
13 |
src/data/ |
2 (catalog.ts, index.ts) |
scripts/ |
4 (build_vault.py, apply_skin.py, sync_catalog.py, __pycache__) |
worker/ |
2 (gate-worker.js, wrangler.toml) |
| root | 4 (package.json, package-lock.json, astro.config.mjs, README.md) |
Side Projects/ — 307 files
| Sub | Files |
|---|---|
Case Ladder/ |
278 |
Topic Template/ |
18 |
Abortion Types Format Lab/ |
9 |
Last Day Sheet/ |
2 |
QBank/ — 291 files
| Sub | Files |
|---|---|
Mock Tests/ |
121 |
TXT/ |
131 |
PMDC Mocks/ |
28 |
NRE50/ |
4 |
Logic First High Yield/ |
3 |
NRE-Papers/ |
3 |
Test Series/ — 146 files
mainbank_work/ 65 · mock200_work/ 35 · Tests/ 18 · html/ 11 · Gap Writers/ 9 · loose 6 · Netlify Package/ 2
(Contains its own .git — 18 files, excluded from counts.)
MedCORE Next/ — 252 files
Effectively all payload is Data/ (251 files) — one loose README.
Print Versions/ — 134 files
MedCORE Production/ 93 · MedCORE Premium Series/ 32 · NRE 50 WorkBook/ 9
These are print renders of content that also exists as DOCX elsewhere — derived, not primary.
Exam Intel/ — 56 files
Predictions/ 41 · Intelligence Reports/ 10 · NRE50 System/ 3 · Baselines/ 1 · loose 1
Past Papers/ — 40 files
NRE June 2025/ 20 · NRE December 2024/ 6 · NRE June 2024/ 5 · NRE May 2026/ 5 · NRE December 2025/ 2 · loose 2
MedCORE Systems/ — 56 files, 14 subject folders
Neurology 13 · Pediatrics 11 · Gynecology 6 · Obstetrics 5 · ENT 4 · Ophthalmology 4 · Dermatology 3 · MedCORE Template/ 3 · Cardiology 2 · Respiratory 2 · Urology 2 · Colorectal 1 · Applied Pathology/ 0 (empty) · Clinical Pharmacology/ 0 (empty)
Scripts/ — 79 files
Memory Master Builder/ 24 · loose 24 · Prediction Rebalance/ 11 · MedCORE Lesson/ 10 · Forge Master Build/ 6 · nre_site/ 3 · __pycache__/ 1
System/ — 11 files (protected)
SOPs/Hybrid SOP.docx · Protocols/MCQ Breakdown Protocol.docx (+PDF) · Methods/MCQ_DECODER_Method.docx (+MD) · Templates/MedCORE_Template.docx · Templates/Error_Log_Template.docx (+CSV) · Philosophy/Teaching_Philosophy.pdf (+.pages) · Skills/README.md
Error Log/ — 3 files
README.md · 2026-08-13.md · 2026-09-12.md
Backed by templates in System/Templates/Error_Log_Template.*.
Cheatsheets/ — 25 files
Split A/B/C/D for Medicine, plus ENT, Paeds, ObGyn, CM, FM, Surgery, Derm, Cardiology, BC, AA, BMI, Temp, Calculation Master List. Several have _BW (black-and-white) print variants.
25MCQs/ — 16 files
25-question HTML sets: Diabetes, ENT ×2, Electrolytes, Endocrine, EndocrineSurgery, GI-Emergencies, Haematology, Hepatology, Neuro, Nutrition-Malabsorption, Oncology-GenPath, Ophthalmology, Psych, Renal, Urology.
Standalone HTMLs/ — 19 files
Includes full past-paper hubs (Dec 2024, Dec 2025, June 2024, May 2026), 60-Day NRE Battle Plan, Prediction Exam 2026 + answer key, Forge_Master.html, NRE Memory Master — Core.html, Case-Ladder_Interactive.html.
HTML Sources — 95 (+ 66 packaged = 161)
Excluding web/dist and web/public/resources. Plus 179 more inside dist/.
| Location | Files |
|---|---|
Test Series/ |
25 (html/ 11, mainbank_work/ 7, mock200_work/ 5, root 1, Netlify Package/ 1) |
Standalone HTMLs/ |
19 |
25MCQs/ |
16 |
MedCORE Systems/ |
15 (Cardiology, Colorectal, Dermatology, ENT, Gynecology, Neurology, Obstetrics ×2, Ophthalmology, Pediatrics ×3, Respiratory, Urology, Template) |
Planner/Plan/ |
14 (NRE Battle LMS + NRE Respiratory Command/ index and 12 topic pages) |
QBank/Logic First High Yield/ |
1 |
Cheatsheets/ |
1 (Derm_ENT_MCQ_Drill_NRE.html) |
FCPS1 Solved Papers/ |
1 |
Side Projects/Last Day Sheet/ |
1 |
MedCORE Production/Master HTML/ |
1 (9.5 MB master book) |
| root | 1 (NRE Full Mock 200.html) |
Test Series/mainbank_work/ and mock200_work/ hold successive build snapshots,
not distinct documents (788/798/800/803/807/808 verified; mock200
_base/_markup/_noside/Perfect). Only the last of each is live.
Every file in web/public/resources/ (66) is a copy of one of the above with a
uniform +5,271-byte <!-- NRE-GATE v1 --> overlay injected at line 237 — a
client-side passphrase screen with SHA-256 verification. It is a cosmetic lock,
not authentication; every resource is readable in dist/ source.
What Changed Since SYSTEM_MAP.md (last written 2026-06-25)
SYSTEM_MAP.md predates 17 folders that now exist. It is accurate for what it covers but structurally incomplete. Additions it does not document:
25MCQs/ · Book/ · Color Palettes/ · FCPS1 Solved Papers/ · Forge Series/ · Hybrid Drill Sheets/ · Images/ · MedCORE Next/ · MedCORE Production/ · MedCORE Systems/ · NRE 50 WorkBook/ · Print Versions/ · Removed From Test Series/ · Side Projects/ · Standalone HTMLs/ · Test Series/ · web/
Also now present at root: AGENTS.md, SYSTEM_PIPELINE.md, SYSTEM_INVENTORY.md.
Deleted since: Web Package/, nre-fresh-site/.
Correction to SYSTEM_MAP.md line 371: it states “No dedicated error-log file was found.” That is now outdated — Error Log/ exists with a README and two dated entries (2026-08-13, 2026-09-12), and System/Templates/Error_Log_Template.docx + .csv provide the schema. Error-log storage is resolved.
MedCORE/ itself is unchanged since 2026-06-12 and its documented subfolder list in SYSTEM_MAP.md is stale — actual structure is now MedCORE-Pipeline/ (32), MedCORE-Publisher/ (18), MedCORE-Script/ (3), not the 12-subject list.
Observations
- iCloud is duplicating generated files inside
web/. All 45 files inweb/src/content/vault/have a byte-identical2.mdtwin, andweb/dist/holds 108* 2.htmltwins.build_vault.pywrites only{slug}.mdwith uniqueness guaranteed byassign_slugs(), so this is iCloud’s duplicate-naming, not a script bug. Every build risks re-duplicating. Fix: purge the2copies, and consider excludingweb/src/content/vault/andweb/dist/from iCloud sync. web/dist/is build output, a large share of total size. Regenerable — safe to exclude from any future inventory.Print Versions/(134 files) duplicates existing DOCX. Derived print renders, not primary content.- MedCORE content is duplicated across four generations:
MedCORE/(53, Jun),MedCORE Systems/(56, Sep),MedCORE Production/(717, Sep),MedCORE Next/(252, Sep). - Ten published resources have no source file.
standalone-htmls-nre-cheat-card.htmland-nre-pattern-analysis.htmlare referenced byplan.astro,site/index.htmlandmanifest.jsonbut have no plausible parent anywhere in the workspace — they would not survive a rebuild. Eight others (medical-quick-reference-{dark,light,combined},magic-table-medical-licensing, the three-answer-keyfiles,may-2026-mcq-breakdown) are renamed derivations of files that do still exist. - Two notes collide on slug in
MedCORE Production/Docs/:MCQ Progress Log.mdandMCQ_PROGRESS_LOG.md.assign_slugs()disambiguates by appending the folder, givingmcq-progress-logandmcq-progress-log-docs. Both are published. - Empty folders awaiting work:
MedCORE Systems/Applied Pathology/,MedCORE Systems/Clinical Pharmacology/,MedCORE/MedCORE-Publisher/agents/. - Error log is thin — two dated entries against 549 study documents. Protocol is well-defined but under-used.
- One git repo: nested
Test Series/.git(18 files). Workspace root andweb/are not repos — the site build is unprotected by version control. - Incidental residue:
Scripts/__pycache__/,.bak/.bak-flat/.bak-repag,FCPS1 … Paper 3 April 2026 Volume 2.json. - Misfiling:
Past Papers/NRE June 2025/NRE June 2024.md— a June 2024 paper stored inside the June 2025 folder. - Dormant areas:
Images/(Jun 9),Quick References/(Jun 8),Misc/(May 9),Diagnostic Codes/(May 9),Color Palettes/(Jun 18) — untouched for 3–5 months. - Active right now:
web/,Test Series/,Standalone HTMLs/,25MCQs/— all touched within the last 48 hours.
Reconciliation Note
MedCORE Production/Source JSON/ (416) + MedCORE Next/Data/ (251) + Test Series/mainbank_work/ (65) + Test Series/mock200_work/ (35) + QBank/ JSON payloads together account for the large JSON count. These are machine-readable sources feeding the generator scripts in Scripts/ — they are the pipeline’s actual substrate, not redundant copies.
web/src/content/vault/ (90) is generated from the 52 source notes; web/public/resources/ (66) from the 95 source HTMLs. Neither should be counted as study content.
Regenerate this log with a find-based walk. Do not hand-edit counts.