Scaffold the Phase 0 foundation per MASTER_SPEC §24:
- Directory layout: nodes/, compiler/{analyzer,validator,resolver,splitter,
builder,common}/, knowledge_base/, schemas/, prompts/, config/,
tests/{analyzer,resolver,validator,integration,regression}/, examples/,
scripts/, docs/.
- pyproject.toml targeting Python 3.11+, jsonschema as the single runtime dep,
ruff + pytest as dev deps, explicit package list, and ruff/pytest config.
- ruff for linting and formatting; pytest with repo root on pythonpath.
- GitHub Actions CI running install, ruff lint, ruff format check, and pytest
on Python 3.11 and 3.12 for pushes and pull requests.
- docs/ skeleton and CONTRIBUTING.md referencing the wiki.
- Layout test asserting the §24 structure and package importability.
Co-authored-by: kunail0804 <kunail0804@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
17 lines
700 B
Python
17 lines
700 B
Python
"""ComfyUI Scene Compiler — ComfyUI custom node entry point.
|
||
|
||
ComfyUI loads this module by path and reads ``NODE_CLASS_MAPPINGS`` /
|
||
``NODE_DISPLAY_NAME_MAPPINGS`` to register the compiler's nodes. The mappings are
|
||
populated in Phase 5 when the nodes are implemented; until then they are empty so
|
||
that a fresh install imports cleanly without registering anything.
|
||
|
||
Compiler logic never lives here — it belongs in the ``compiler/`` package. This
|
||
file is an interface for ComfyUI only.
|
||
"""
|
||
|
||
# Populated by nodes/ in Phase 5 (issues #19–#26).
|
||
NODE_CLASS_MAPPINGS: dict[str, type] = {}
|
||
NODE_DISPLAY_NAME_MAPPINGS: dict[str, str] = {}
|
||
|
||
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|