Skip to content

feat(docs): check code-span paths in prompt documents - #7941

Merged
dan-petty merged 3 commits into
mainfrom
feat/7652-prompt-illustrative-paths
Nov 30, 2026
Merged

dan-petty merged 3 commits into
mainfrom
feat/7652-prompt-illustrative-paths

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Issue #7652 is split from #4904. The code-span path rule of devops docs check covers hand-written documents only. Prompt documents under src/devops_cli/ai/tasks/ hold illustrative paths such as src/app.py:12 and tests/roadmap/test_feature.py. These paths are examples and are not tracked files, so the rule cannot run over the prompt class until a document can mark an example. The issue defers the work until the prompts define such a marker. This change defines it and runs the rule over the prompt class. It fits one pull request.

Closes #7652

Change: openspec/changes/archive/2026-11-30-7652-prompt-illustrative-paths/

devops docs check runs the code-span path rule over the prompt class as
well as the hand-written class. A code span followed by *(example)* or
_(example)_ is an illustrative path and is skipped. The four prompt
documents that hold illustrative paths carry the mark.
@dan-petty dan-petty added type/feature Type feature: a new function scope/docs Documents, guides, ADRs and generated references labels Nov 30, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 30, 2026 20:52
@dan-petty
dan-petty merged commit 68eb592 into main Nov 30, 2026
35 checks passed
@dan-petty
dan-petty deleted the feat/7652-prompt-illustrative-paths branch November 30, 2026 20:52
dan-petty-release Bot added a commit that referenced this pull request Nov 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.265.0](v0.264.1...v0.265.0)
(2026-11-30)


### Features

* **docs:** check code-span paths in prompt documents
([#7941](#7941))
([68eb592](68eb592))


### Bug Fixes

* **roadmap:** accept requirement names and quoted stage commands
([#7939](#7939))
([3afb7b7](3afb7b7))
* **service:** read a 403 that names a rate limit as one
([#7940](#7940))
([f197986](f197986))
* **service:** redeliver once for the App with a valid JWT
([#7938](#7938))
([c92bfdb](c92bfdb))


### Performance Improvements

* **roadmap:** a stage return reads the Claude prompt cache
([#7931](#7931))
([b4af1d6](b4af1d6))

---
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/docs Documents, guides, ADRs and generated references type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(docs): check code-span paths in prompt documents

1 participant