Skip to content

docs(spec): plan #3770 Add the OpenSpec row to the onboard command - #7300

Merged
dan-petty merged 4 commits into
mainfrom
feat/3770-onboard-sets-up-openspec-in-a
Nov 27, 2026
Merged

dan-petty merged 4 commits into
mainfrom
feat/3770-onboard-sets-up-openspec-in-a

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Add row 16 openspec to devops repos onboard for #3770. The row reads openspec/config.yaml and the folder openspec/specs/ at the default branch, and prints present, missing, invalid or waiting. The config file and the specs placeholder come from the repository template of dan-petty/infra through the template pull request of row 9, which overwrites no file and writes nothing on a second confirm; devops-cli ships no OpenSpec template. A live test runs the pinned openspec validate --specs --strict over the merged tree of a scratch repository. dan-petty/infra#201 adds the specs placeholder to the template.

Plans #3770

Change: openspec/changes/3770-onboard-sets-up-openspec-in-a/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/spec labels Nov 26, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 26, 2026 14:32
@devops-cli-service devops-cli-service Bot added the verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix label Nov 26, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The default branch no longer passes the plan check of this pull request:

  • openspec/changes/3770-onboard-sets-up-openspec-in-a: stage: The issue lists the acceptance criterion "The config.yaml comes from the template of dan-petty/infra, not from a template that devops-cli ships (project-neutral context with a marked line for a person to fill in, and the proposal, specs, design and tasks rules that the planner needs). It does not copy the file of devops-cli.", and criteria has no entry with this text. Add an entry that copies the text, with the number of the group that delivers it or pending-person and a reason.
  • openspec/changes/3770-onboard-sets-up-openspec-in-a: stage: The issue lists the acceptance criterion "docs/repos/onboard.md describes the row and the template.", and criteria has no entry with this text. Add an entry that copies the text, with the number of the group that delivers it or pending-person and a reason.
  • openspec/changes/3770-onboard-sets-up-openspec-in-a: stage: The entry of criteria for "The config.yaml comes from a generic template that devops-cli ships (project-neutral context with a marked line for a person to fill in, and the proposal, specs, design and tasks rules that the planner needs). It does not copy the file of devops-cli." is no acceptance criterion that a person wrote in the issue body. Copy the text of a top-level item under the heading Acceptance criteria or give an empty list.
  • openspec/changes/3770-onboard-sets-up-openspec-in-a: stage: The entry of criteria for "docs/roadmap/onboard.md describes the row and the template." is no acceptance criterion that a person wrote in the issue body. Copy the text of a top-level item under the heading Acceptance criteria or give an empty list.

@dan-petty
dan-petty marked this pull request as draft November 27, 2026 03:52
@dan-petty
dan-petty force-pushed the feat/3770-onboard-sets-up-openspec-in-a branch from c24f869 to 331b739 Compare November 27, 2026 03:52
@dan-petty

Copy link
Copy Markdown
Owner

Plan revised for the issue text of 2026-11-26 (infra move). The plan-drift findings are resolved:

  • Criteria 3 and 6 now copy the current issue text ("comes from the template of dan-petty/infra", "docs/repos/onboard.md describes the row and the template").
  • Group 2 no longer ships src/devops_cli/templates/openspec/config.yaml. The issue says "Do not add a template under src/". The config file and the specs placeholder come from the render of the infra template through the existing file comparison of row 9. Group 2 is now tests only (fake render + one-PR, no-overwrite, second-confirm tests).
  • folder_entries_at is replaced by folder_exists_at: the row needs only to know that openspec/specs/ exists.
  • The infra template has no openspec/specs/.gitkeep (openspec init 2.2.0 writes it). Filed feat(templates): add the OpenSpec folders of openspec init infra#201; it blocks no group here.
  • Checked: the pinned openspec validate --specs --strict exits 0 on a tree that holds only the infra config file (criterion 4 holds).

Local plan-check rules on 331b739: no problems. Removing verdict/fix-plan.

@dan-petty dan-petty removed the verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix label Nov 27, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 27, 2026 04:03
@dan-petty
dan-petty enabled auto-merge (squash) November 27, 2026 04:07
@dan-petty
dan-petty merged commit 69cce7d into main Nov 27, 2026
25 checks passed
@dan-petty
dan-petty deleted the feat/3770-onboard-sets-up-openspec-in-a branch November 27, 2026 04:11
dan-petty added a commit that referenced this pull request Nov 27, 2026
Correct the merged plan of #3770 (PR #7300 merged at its second
revision). The last review round found two gaps that this change closes
before implement reads the plan:

- Row 16 had no state for a new repository whose default branch has no
config file while the template pull request holds the config file and no
specs folder (the case for every new repository until
dan-petty/infra#201 is released). `missing` and `invalid` are now
decided from the default branch alone, and the reason of `missing` names
what the open pull request lacks. A spec scenario and a test name cover
it.
- Group 5 changes a message under `src/devops_cli/lang/`, so it now runs
`uv run devops docs generate` (`openspec/config.yaml` tasks rule).
- Nits: the real process runner covers the whole `isolated_openspec()`
block; `ROW_NAMES` is imported inside `_onboard_rows`; the cited line of
the process fake is 486.

Plans #3770

Change: `openspec/changes/3770-onboard-sets-up-openspec-in-a/`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/spec type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant