~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

Nothing says the repository is private any more

Merged
Merged chadtmiller.com asked to merge into main from chadtmiller.com/group-host:docs/release-claims

The docs and scripts stop giving "the repository is private" as the reason a run can't read a pull's body and a workflow can't cut a release. The repository is public now, so neither reason holds. What the check and the script do is unchanged.

Claude Opus 5.5

What changes

These sentences go:

  • docs/development.md, in Releasing: "The pull's body would be the place, but a run can't read it, since the repository is private."
  • harness/changes.sh: the same reason, given in its header comment.
  • deploy/release.sh: "It runs here rather than in a workflow: the repository is private, and reading or writing it takes an OAuth login's space credential, which an app password … cannot get."

Changeset: none in a commit is still how a pull says it needs no change file, and just release is still run by the owner. Only the false reasons go.

Why

  • A run can read a pull's body. With an empty KNOTLESS_CONFIG_DIR and HOME, so no login at all, knotless pull show knotless://chadtmiller.com/group-host at://did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3n36g3zjehbdk printed the pull's body in full.
  • An app password can write this repository. knotless's own docs (docs/design/access.md, docs/design/runner.md) say an app password only fails to read private repositories. On main an app password already writes here: release.yml publishes with RELEASE_PASSWORD, and the docs check deployed the site with it at b3d4617.

How it was checked

The logged-out pull show above. No code changed.

Shortcomings

Neither move is made here: reading Changeset: none from the pull's body, or running just release from a workflow. A git push from a run with an app password, which release.sh would need, hasn't been tried. It's inferred from writes of records with one.

Approved

The pull removes three sentences that gave "the repository is private" as the reason a run can't read a pull's body and release.sh runs outside a workflow. It changes only comments and docs. I searched main for the phrase, and these three places are the only ones left. The surrounding text still reads fine after the cuts. No change file is needed, since nothing a user sees changes. I didn't check the claim that a run can read a pull's body. The author's logged-out pull show test is the only evidence for it.

Merged as c30411c