Context
Currently render_dataset_card() hard-codes converted_within_90_days and the 90-day label window as literals. This was flagged in PR #5 (Copilot comment: #5 (comment)).
Problem
Once additional recipes or configurable task windows are introduced, the dataset card will drift from the actual resolved spec.
Proposed solution
- Add
primary_task: str and label_window_days: int fields to GenerationConfig (with defaults matching current behaviour)
- Propagate them through
Recipe.from_dict() / resolve_config() and the recipe YAML schema
render_dataset_card() reads from world_spec.config instead of literals
Scope
Deferred to M3 (schema layer) or wherever recipe YAML schema is formally versioned. Not a blocker for v0.2.0 — v1 has exactly one task and the 90-day window is an architecture invariant.
Context
Currently
render_dataset_card()hard-codesconverted_within_90_daysand the 90-day label window as literals. This was flagged in PR #5 (Copilot comment: #5 (comment)).Problem
Once additional recipes or configurable task windows are introduced, the dataset card will drift from the actual resolved spec.
Proposed solution
primary_task: strandlabel_window_days: intfields toGenerationConfig(with defaults matching current behaviour)Recipe.from_dict()/resolve_config()and the recipe YAML schemarender_dataset_card()reads fromworld_spec.configinstead of literalsScope
Deferred to M3 (schema layer) or wherever recipe YAML schema is formally versioned. Not a blocker for v0.2.0 — v1 has exactly one task and the 90-day window is an architecture invariant.