from __future__ import annotations from pathlib import Path HTML = ''' Didactopus Review UI

Didactopus Draft Pack Review

Static scaffold. Load review_data.json next to this file for future richer UI behavior.

Workflow

  1. Inspect concept list and statuses
  2. Review prerequisite edges
  3. Resolve conflicts and flags
  4. Record curation actions in ledger
  5. Promote reviewed pack

Expected local files

Next UI step

Replace this scaffold with a SPA that edits the same JSON review-state model.

''' def write_review_ui(outdir: str | Path) -> None: outdir = Path(outdir) outdir.mkdir(parents=True, exist_ok=True) (outdir / "index.html").write_text(HTML, encoding="utf-8")