Skip to content

fix(spec): use checkout root and guard --repo origin - #7669

Merged
dan-petty merged 1 commit into
mainfrom
fix/7311-openspec-checkout-in-use
Nov 29, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/7311-openspec-checkout-in-use

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Switches devops openspec check, archive, and new to find_gate_root() so they operate on the enclosing checkout (including linked worktrees of nested clones under a workspace) rather than the outer workspace root. Adds a pre-write guard in devops openspec new --repo verifying the checkout origin remote matches --repo, updates the find_gate_root() docstring, and adds regression tests across the openspec suites.

Closes #7311

Change: openspec/changes/archive/2026-11-29-7311-openspec-checkout-in-use/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/spec labels Nov 29, 2026
@dan-petty
dan-petty force-pushed the fix/7311-openspec-checkout-in-use branch from 0bec252 to a176d31 Compare November 29, 2026 00:55
@dan-petty
dan-petty marked this pull request as ready for review November 29, 2026 01:04
@dan-petty
dan-petty merged commit f6ea7a6 into main Nov 29, 2026
27 checks passed
@dan-petty
dan-petty deleted the fix/7311-openspec-checkout-in-use branch November 29, 2026 01:06
dan-petty-release Bot added a commit that referenced this pull request Nov 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.243.0](v0.242.0...v0.243.0)
(2026-11-29)


### Features

* **ai:** carry commit and document class on RAG points
([#7670](#7670))
([806b1b4](806b1b4)),
closes [#4921](#4921)
* **ai:** write job result line for each Jev decision
([#7664](#7664))
([1c2601b](1c2601b)),
closes [#5171](#5171)


### Bug Fixes

* **k8s:** list product SLOs in service catalog
([#7667](#7667))
([92df046](92df046))
* **repos:** reconcile open template branch files and hook
([#7671](#7671))
([91f05d0](91f05d0))
* **spec:** use checkout root and guard --repo origin
([#7669](#7669))
([f6ea7a6](f6ea7a6))

---
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/spec type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(openspec): write the change of the checkout in use

1 participant