Skip to content

Exercise the pull request steps and the host CI snippet against GitHub #8

Description

@PierreMardon

Status

Open, half done. The first thing proposed below is done by #91: a stand-in gh in the image plays the pull request steps, in the end to end tests and in the evaluations. What is left needs GitHub itself, or the developer: a toy whose CI reacts to a push, one run by hand in a scratch repository with the snippet of the guide, and whether that snippet pins actions/checkout.

What #91 shows, played on 2026-10-05:

Earlier: the hand back at conformity fits a branch with no pull request (#78), and the manual moved from the README to docs/guide.md (#45), the CI snippet with it.

What has never run

The end to end harness pushes to a local bare remote, so every step that talks to GitHub is skipped or fails there: gh cannot open a pull request on a folder. As a result, these promises of the README and of the guide have never run against GitHub. Since #91 the first two run against the stand-in:

  • /surface-plan opens a draft pull request at the first plan-drafted, linking blueprint.md and plan.md.
  • Every stop of /surface-execute refreshes the description with surface-status pr-body | gh pr edit --body-file - (in the runs it failed on the local remote).
  • Before the first push, the command reads the CI triggers and waits for the developer's agreement: the toy project has no CI, so only the "no CI" branch was seen.

The conformity check is proven in a checkout shaped like the one actions/checkout leaves (tests/ci, and the conformity check in a CI checkout job), but that checkout is built by the test with git init and a fetch. The snippet of the guide itself, actions/checkout@v4 with fetch-depth: 0 then check --require conformant, was never run in a host repository.

Proposed

Activity

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