Skip to content

fix(ci): check ADDED/MODIFIED requirement length (#5378) - #7194

Merged
dan-petty merged 1 commit into
mainfrom
fix/5378-openspec-long-modified-req
Nov 25, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/5378-openspec-long-modified-req

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Summary:

  • Enforce the shared REQUIREMENT_MAX_CHARS UTF-16 length check inside devops openspec check (GateCheck.REQUIREMENT_LENGTH) on every active ADDED and MODIFIED requirement before OpenSpec CLI validation runs (fix(openspec): openspec check misses a long MODIFIED requirement #5378).
  • Export requirement_length_problem from src/devops_cli/roadmap/stage/stage_change.py, share single-pass active delta reading via change_deltas and overlapping_deltas in src/devops_cli/openspec/overlap.py, and defer openspec.gate imports inside src/devops_cli/commands/openspec.py so devops openspec --help keeps startup imports free of pydantic_ai.

Closes #5378
Change: openspec/changes/archive/2026-11-25-5378-openspec-long-modified-req/

@dan-petty dan-petty added scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners type/bug Type bug: the code does not do what it must labels Nov 25, 2026
@dan-petty
dan-petty force-pushed the fix/5378-openspec-long-modified-req branch from 440f37a to cf2ac36 Compare November 25, 2026 16:02
@dan-petty
dan-petty marked this pull request as ready for review November 25, 2026 16:51
@dan-petty
dan-petty merged commit 4712043 into main Nov 25, 2026
41 of 46 checks passed
@dan-petty
dan-petty deleted the fix/5378-openspec-long-modified-req branch November 25, 2026 16:52
dan-petty-release Bot added a commit that referenced this pull request Nov 25, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.220.0](v0.219.0...v0.220.0)
(2026-11-25)


### Features

* **ai:** enforce gateway first-token timeout
([#6000](#6000))
([#7198](#7198))
([af6958c](af6958c))
* **github:** request dan-petty and automerge all PRs
([#7195](#7195))
([681c6c3](681c6c3))


### Bug Fixes

* **ci:** check ADDED/MODIFIED requirement length
([#5378](#5378))
([#7194](#7194))
([4712043](4712043))
* **ci:** run single-module narrowed tests serially
([#5612](#5612))
([#7196](#7196))
([7b3289c](7b3289c))
* **config:** refuse typesafe/jev-router as decision model
([#6361](#6361))
([#7197](#7197))
([46777dd](46777dd))
* **terraform:** exit non-zero on drift or failed check
([#7193](#7193))
([f24cfc2](f24cfc2)),
closes [#5319](#5319)

---
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/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners 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): openspec check misses a long MODIFIED requirement

1 participant