operationalize_design.py: create_project doubles the doc-id prefix when the doc's own title already starts with it nf-tfqt ← Beads

closed priority 2 task unassigned

Twinned from https://github.com/cfsh/ninefold/issues/956 by tools/beads/import_github.py's reconcile pass.

Found while running \--apply\ for design 008 T4 (#939)'s three-doc backfill.

\apply()\ provisions a new Project with \tasks.create_project(gh, f"{doc_id} — {doc_title}", ...)\ (\operationalize_design.py:218\), where \doc_title\ comes from \_doc_title()\ — the doc's own H1, minus the leading \#\. Every design doc in this repo titles its H1 \<doc_id> — <title>\ (e.g. \# 007 — Reviewer verdicts written for their readers: ...\), so the Project ends up titled \007 — 007 — Reviewer verdicts ...\ — the doc-id doubled.

Hit live on all three of 005b/006a/007's Projects; hand-fixed via \gh project edit --title\ in #942/#952/(007's PR) rather than in the tool.

Fix: either use \doc_title\ alone as the Project title (it already carries the doc-id per the repo's own H1 convention), or strip a leading \<doc_id> — \ from \doc_title\ before concatenating.

Unclaimed — filing per CLAUDE.md's "strategic uplifts: file them, don't claim them."

Dependencies

None.

Comments

No comments.

Add a comment