Skip to content

refactor(roadmap): publish applies the agent patch with plain git - #6658

Merged
dan-petty merged 2 commits into
mainfrom
refactor/6655-plain-publish
Nov 21, 2026
Merged

dan-petty merged 2 commits into
mainfrom
refactor/6655-plain-publish

Conversation

@dan-petty

@dan-petty dan-petty commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

The publish of a phased step now uses plain git (ADR 0030 addendum). publish_patch makes a new repository, fetches the base at depth 1, applies each patch with git apply --index, refuses link, gitlink, .gitmodules and unplanned workflow changes, commits as the bot, and pushes with --force-with-lease. Its git calls get its new folder as the home. A tree that the lease holds gets no push.

  • The agent writes the patch with fixed format flags, into a new out/ that it makes after the sweep.
  • fix-checks prepare clones the head branch plainly into the run folder (phases/checkout.py), with the author check. The URL carry and --source go; no caller passes --source.
  • fix-checks keeps its base and lease: the judged head.

Part of #3702.

Closes #6655
Change: openspec/changes/archive/2026-11-21-6655-plain-publish/

@dan-petty dan-petty added type/refactor Type refactor: a new structure, same behavior scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 21, 2026
publish applies each patch with git apply --index in a new repository,
commits as the bot and pushes with --force-with-lease. The agent writes the
patch with fixed format flags, and prepare clones the issue branch plainly
into the run folder (#6655).
@dan-petty
dan-petty force-pushed the refactor/6655-plain-publish branch from a0d5f8f to c787e85 Compare November 21, 2026 18:23
@dan-petty
dan-petty marked this pull request as ready for review November 21, 2026 18:31
@dan-petty
dan-petty merged commit e8217f4 into main Nov 21, 2026
32 checks passed
@dan-petty
dan-petty deleted the refactor/6655-plain-publish branch November 21, 2026 18:32
dan-petty pushed a commit that referenced this pull request Nov 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.188.3](v0.188.2...v0.188.3)
(2026-11-21)


### Code Refactoring

* **roadmap:** publish applies the agent patch with plain git
([#6658](#6658))
([e8217f4](e8217f4)),
closes [#6655](#6655)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/refactor Type refactor: a new structure, same behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(roadmap): publish applies the agent patch with plain git

1 participant