Skip to content

adopt execute and family init never set the xf-project-<id> GitHub topic; scaffold does #21

Closed

Description

@brettheap

Lane: repo-shape

scaffold-project.py sets the xf-project-<id> GitHub topic on all three repositories (gh repo edit --add-topic, guarded by not local) and prints a topics line in its plan. The other two creating tools do not:

  • adopt-project.py execute records TOPIC in the assembly root's project.yaml (so validate-manifest.py is satisfied) but never sets the topic on GitHub — not on the adopted assembly root, not on the two legs it creates with gh repo create.
  • scripts/family.py init creates the holder and sets no topic at all.

Verified 2026-09-04 with gh repo view --json repositoryTopics: MedxSoft/MedxGlass (SCAFFOLDED) carries xf-project-medxglass; MedxSoft/MedxEHR (adopted), InkRouter/IRRS and InkRouter/IRSS (adopted, spec-only) and InkRouter/InkRouter (family holder) carry no topic at all — exactly the scaffold/other split — while README line 99 promises every project "carries the GitHub topic xf-project-<id>".

Fix: mirror the scaffold in both tools — print the topics plan line, and after the pushes run gh repo edit <repo> --add-topic <topic> on the assembly root + spec + code (adopt) and on the holder with xf-project-<family-id> (family init), guarded by not local so the offline test path is unchanged. No template or manifest changes. Tests cover what is testable without gh (the plan line; the local path unchanged).

Follow-on (not this issue): set the topics on the five existing repositories by hand.

Activity

  1. brettheap commented on Sep 4, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane repo-shape, session session_015WekBEXf55Xv64psGe5t3T, 2026-09-04T04:51:16Z, for the topic-setting fix in adopt-project.py execute and scripts/family.py init + its tests

    Rule 1 reads: (1) this record: new; no prior claims or comments. (2) gh pr list --repo opensoft/openRepoShape --state all --search "topic": #1 only, MERGED; no open PR. (3) git ls-remote --heads origin | grep -i 'topic': no branch.

  2. brettheap commented on Sep 4, 2026

    @brettheap
    ContributorAuthor

    (lane repo-shape, 2026-09-04T04:52:19Z) Body corrected: MedxGlass was SCAFFOLDED and does carry xf-project-medxglass; the four repositories without a topic are exactly the adopted ones (MedxEHR, IRRS, IRSS) and the family holder (InkRouter), which is the diagnosis.

  3. brettheap commented on Sep 4, 2026

    @brettheap
    ContributorAuthor

    (lane repo-shape, 2026-09-04T04:57:36Z) Follow-on DONE by hand: gh repo edit --add-topic set the manifest-declared topic on the ten repositories that lacked it — xf-project-medxehr on MedxSoft/MedxEHR, MedxEHR-spec, MedxEHR-code; xf-project-irrs on InkRouter/IRRS, IRRS-spec, IRRS-code; xf-project-irss on InkRouter/IRSS, IRSS-spec, IRSS-code; xf-project-inkrouter on the family holder InkRouter/InkRouter. MedxGlass and its two legs already carried xf-project-medxglass from the scaffold. The estate now matches what README line 99 promises; the code fix on this issue is what stops the gap from reopening.

  4. brettheap commented on Sep 4, 2026

    @brettheap
    ContributorAuthor

    (lane repo-shape, 2026-09-04T05:14:29Z) MERGED on Brett's word "merge #24 and #25": PR #24 → squash 122d729b on main, 2026-09-04T05:14:09Z. The estate's topics were already set by hand (comment above); from here the tools set them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions