Parent
#1 — context2html Framework
What to build
Create the context2html/ Python package directory structure with empty modules ready for the three framework seams. This is a pure structural change — no behavior, no new tests yet.
- Create
context2html/__init__.py with package metadata
- No runtime dependencies;
pyproject.toml already exists
- Existing 376 tests in
scripts/test_*.py still load via importlib and pass unmodified
- All existing entry points (
validate-report.py, generate-theme-css.py, etc.) continue to work
The goal is to "make the change easy" — lay the package foundation so subsequent slices can import from context2html.registry etc. without needing to restructure the codebase again.
Acceptance criteria
Blocked by
None — can start immediately
Parent
#1 — context2html Framework
What to build
Create the
context2html/Python package directory structure with empty modules ready for the three framework seams. This is a pure structural change — no behavior, no new tests yet.context2html/__init__.pywith package metadatapyproject.tomlalready existsscripts/test_*.pystill load viaimportliband pass unmodifiedvalidate-report.py,generate-theme-css.py, etc.) continue to workThe goal is to "make the change easy" — lay the package foundation so subsequent slices can import
from context2html.registryetc. without needing to restructure the codebase again.Acceptance criteria
python -c "import context2html; print(context2html.__version__)"workspython -m pytest scripts/test_validate_report.py scripts/test_validate_lesson.py scripts/test_generate_theme_css.py -v --tb=shortvalidate-report.py,generate-theme-css.py) still workuv pip install -e .succeedsBlocked by
None — can start immediately