Skip to content

Add export-all for resumable bulk recipe generation - #30

Merged
jordanlegare merged 1 commit into
mainfrom
codex/bulk-recipe-export
Sep 8, 2026
Merged

jordanlegare merged 1 commit into
mainfrom
codex/bulk-recipe-export

Conversation

@jordanlegare

Copy link
Copy Markdown
Owner

The combination tool could export only manually selected component IDs. This adds export-all to materialize the entire combination space into runnable recipe files.

Run python tools/build_recipe_combinations.py export-all to export the 397,811 canonical combinations into recipes/combinations/generated/<N>-components/<hash-prefix>/combination-<id>.json. Use --all-orders for all 48,534,764 component orders, --dry-run to count without writing, --max-components to bound depth, or --output to select another recipe root.

Each recipe is validated and compiled before atomic file replacement. Reruns skip byte-identical outputs; different existing files require --overwrite. Progress prints every 1,000 recipes. Generated output is ignored by Git and remains separate from the compound evidence catalog.

Validation: 35 targeted tests passed; a full two-component export wrote 1,711 recipes and its rerun skipped all 1,711 unchanged files. Canonical and all-order dry runs returned the expected totals. Independent review found no important issues. Uploaded tree exactly matches the tested local tree.

This adds the bulk-export capability; it does not commit hundreds of thousands of generated files.

@jordanlegare
jordanlegare marked this pull request as ready for review September 8, 2026 02:47
@jordanlegare
jordanlegare merged commit 5e391a6 into main Sep 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant