Release 1.5.0: Workflows, Bundles
What the new release brings to the table
Internal documentation with diagrams https://app.notion.com/p/opsmill/Opsmill-Spec-kit-41e228b83025802982b4d270ddda3d64?source=copy_link.
Those can be also found in intermediate PRs listed in the lower section.
Bundles
Repos install opsmill-speckit through one bundle: opsmill-sdd, or opsmill-jira. Need a one-time catalog declaration and then specify bundle install <bundle>.
Workflows
prep and implement existing extensions run as Spec Kit workflows
Versioning
Versions per component: CHANGELOG.
CI
- A pull request that changes a component must raise its version.
- Bundle pins must match the component versions, and
catalog/must match the zips.
Delivery
Publishing the GitHub Release vX.Y.Z builds the zips, checks them against catalog/, and attaches them to the release.
Intermediate PRs
None of them have been reviewed atomically. See related PR for a comprehensive description explaining what has changed.
- e40bfde: component module for the CI scripts (#37)
- c475c22: bundles and opsmill catalogs (#30)
- 3f20b15: CI check of versions, pins and catalogs (#31)
- 83db093: README for the bundle install and the upgrade from 1.4.1 (#32)
- 697fff9: workflows in the release zips, catalogs and install check (#40)
- a61ba7b: workflows
opsmill-prep,opsmill-implementandopsmill-auto(#41) - 7e81d2d: Release workflow that attaches the zips (#42)
- 7a466d6: unattended runs that finish: draft pull request, live stacks, pick-up after
INCOMPLETE, run state left out of the commits (POST TEST COMMIT) - e1146b0: review the work of both runs when a run picks up an incomplete one (POST TEST COMMIT)
- c6c41ed: document that a
:*permission rule needs a space after its prefix (POST TEST COMMIT) - 8200f37: fail the prep checks when a phase did not change its file during the run (POST TEST COMMIT)
- 708e911: read the verdicts of a failed nested workflow (POST TEST COMMIT)
- 269ec84: read the pull request description before the chunk phase rewrites it (POST TEST COMMIT)
- 019a59e: count the tags of origin as published releases when building the catalog (POST TEST COMMIT)
- b3f9200 to ed0cf89: fixes for the review of BeArchiTek, see the reply to the review
- c5cb8d3: versions and catalogs of 1.5.0 (#43), with
catalog/generated again after the commits above
Post-test commits
opsmill-prepstops withBLOCKED:when the specify, plan or tasks phase did not change its file since the commit just before the phase, even when.specify/feature.jsonstill points to an earlier feature.- The commit steps of
opsmill-prepandopsmill-implementleave out.specify/workflows/runs/. - The chunk phase starts Docker stacks when a task needs them. It never pushes the branch and never opens, edits or comments on a pull request.
- A run that picks up an
INCOMPLETErun starts from the base commit of that run, so the review covers both runs and the report lists the chunks of both. /speckit.opsmill.autopicks up anINCOMPLETErun withopsmill-implement, sincespecify workflow resumeruns no chunk.workflow_result.pyreads the verdicts of a failed nested workflow, and no longer asks to install the critique extension when it is installed.Monitorruns for 30 minutes.build_release.py catalogalso counts the tags of origin as published releases.- The README gives
Bash(python3 .specify/*)as the working rule, since a:*rule needs a space after its prefix.
Tested
Claude
- Unattended run on Infrahub for IFC-2167, result in draft opsmill/infrahub#11665:
-
The first runs ended
BLOCKED, thenINCOMPLETE. The run endedDONEwith the changes of 7a466d6 and these rules inpermissions.allowof.claude/settings.local.json:"Edit(/**)", "Bash(uv run:*)", "Bash(uv sync:*)", "Bash(git add:*)", "Bash(git commit:*)", "Bash(specify:*)", "Bash(python3 .specify/*)", "Bash(pnpm:*)", "Bash(git push:*)", "Bash(gh pr create:*)", "Bash(gh pr edit:*)", "Bash(docker:*)", "Bash(rm:*)", "Bash(git rm:*)", "Bash(curl:*)"
-
- A second unattended run on IFC-2167, from a new worktree at db43cac, ended
DONEwithout intervention: runacca57c7, 2 h 37 min, 9 chunk passes, 49 tasks done, review coveragefull (command).
Not tested: installing from this repo's release addresses, and a refused permission prompt.
Codex
The IFC-2167 opsmill-implement run sequence on ifc-2167-codex ended DONE after five implementation chunks; all 30 tasks are checked. The final workflow check was 09de783c. Validation passed: 5 unit, 11 component, and 2 Docker integration tests; uv run invoke format and uv run invoke lint passed. Compared with Claude's 2 h 37 min, 9 chunks, 49 tasks, and full command review, Codex used 5 chunks for 30 tasks. Its final review used fallback mode (reduced depth), with 0 high and 1 medium finding deferred.
.codex/config.toml
sandbox_mode = "workspace-write"
approval_policy = "on-request"
[sandbox_workspace_write]
network_access = true
.codex/rules/default.rules
prefix_rule(pattern=["uv", ["run", "sync"]], decision="allow")
prefix_rule(pattern=["uv", ["run", "pytest"]], decision="allow")
prefix_rule(pattern=["git", ["add", "commit", "log", "diff", "status", "rm", "push"]], decision="allow")
prefix_rule(pattern=["specify"], decision="allow")
prefix_rule(pattern=["python3", "-m", "unittest"], decision="allow")
prefix_rule(pattern=["python3", ".specify/extensions/opsmill/scripts/python/workflow_result.py"], decision="allow")
prefix_rule(pattern=["pnpm"], decision="allow")
prefix_rule(pattern=["gh", "pr", ["create", "edit"]], decision="allow")
prefix_rule(pattern=["docker"], decision="allow")
prefix_rule(pattern=["rm"], decision="allow")
prefix_rule(pattern=["curl"], decision="allow")
Pass Codex the Docker Desktop socket directory and keep the UV cache writable:
export SPECKIT_INTEGRATION_CODEX_EXTRA_ARGS="--disable hooks --sandbox workspace-write --add-dir <Docker Desktop socket directory>"
export UV_CACHE_DIR="<writable cache directory>"
On macOS, keep the machine awake during a long run with caffeinate -dimsu.