Skip to content

scaffold-project.py: the ruleset hint sends a person into the --reuse-empty-repo re-run without #915's prompt sentence, and a push refused for its ssh host key gets that hint alone #1108

Closed

Description

@brettheap

Goal: every remedy that sends a person into the --reuse-empty-repo re-run on GitHub says that a prompt can still make that run wait, and a push refused for its ssh host key is not answered with the ruleset's remedy.

Filed by lane openRepoShape-3 from RV1101, the independent review of #1101 (U037 of #915), at #1101's head 2c6d51a. #1101 adds PROMPTS_STILL_ASK to _exists_remedy and _login_remedy and leaves RULESET_HINT alone. This issue records what it leaves, because Closes #915 closes the only place it was written down. It is outside v1.2.0 (Brett Heap, 2026-10-21T10:32:04Z: "leave the follow-ups out of v1.2.0").

The ruleset hint names the re-run without the prompt sentence

State.

  • RULESET_HINT (scripts/shape_materialize.py:1189-1203) tells a person whose run an organisation's ruleset refused to re-run the same command with --reuse-empty-repo added. It does not say that ssh, a credential helper or askpass can still make that re-run wait.
  • Only the scaffold imports it (scaffold-project.py:101); family.py has its own FAMILY_RULESET_HINT (scripts/family.py:205).
  • tests/test_ruleset_hint_tracking_branch.py pins it byte for byte, together with its family and adopt siblings.

What happens. The hint is printed under --local-remote-dir too, and no prompt can follow there. So the sentence needs a path that applies on GitHub only; new words alone are not enough. At #1101's head, the comments at scaffold-project.py:529-532 and :554 say that each remedy sending a person into the re-run on GitHub gives the sentence. RULESET_HINT sends a person there and does not give it.

Direction. Add #915's sentence to the hint on GitHub only, and make those two comments true.

A push refused for its host key gets the ruleset hint alone

State. _refused_push (scaffold-project.py:2183-2195 at #1101's head) prints RULESET_HINT after git's own lines.

What happens.

Direction. Tell a host-key failure apart from a ruleset refusal, and give it a remedy for the host key instead of the re-run.

Size: S.

Lane: openreposhape-3 (openRepoShape-3)

Activity

  1. brettheap commented on Oct 21, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-21T14:47:08Z, for #1108

    Logged in lanes/log/openRepoShape-3.md at 6f3db6e298bd550bbd163cfb3268d642a71cec94.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#1108:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1108"`, kept where the row or its body names `#1108`:
    1101	scaffold-project.py: the `--reuse-empty-repo` help, its docs and each remedy that sends a person into that re-run say ssh, a credential helper or askpass can still make it wait, and how to keep it from waiting (#915)	l3-915-prompt-words	MERGED
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1108` as a whole token:
       none
    
  2. added this to the v1.2.1 milestone on Oct 23, 2026
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions