spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

[Bundle]: Add specup โ€” SpecUP OpenUP Governed Lifecycle

Open anvigo12 opened this issue 2 months ago โ€ข 4 comments

Bundle ID

specup

Bundle Name

SpecUP โ€” OpenUP Governed Lifecycle

Version

0.1.0

Role or Team

governance

Description

Installs the full OpenUP governance stack: the openup extension (validators, schemas, commands), the openup-governance preset, and the four phase workflows whose gates halt a run on a failing verdict.

Author

Aniket Gore

Repository URL

https://github.com/anvigo12/specup

Download URL

https://github.com/anvigo12/specup/releases/download/v0.1.0/specup-0.1.0.zip

Documentation URL

https://github.com/anvigo12/specup/blob/main/bundles/specup/README.md

License

MIT

Required Spec Kit Version

=1.0.0,<2.0.0

Integration Target (optional)

No response

Components Provided

Six components. Install order is not ours to choose โ€” BundleManifest.components fixes it as extensions โ†’ presets โ†’ steps โ†’ workflows, which is the order this stack needs anyway, since the preset's guidance points at validator paths the extension creates.

Required Component Catalogs

Three, all served over HTTPS from the project repository. Users register them once per project, before specify bundle install specup can resolve anything:

  • Extensions: https://raw.githubusercontent.com/anvigo12/specup/main/catalog/extensions.json
  • Presets: https://raw.githubusercontent.com/anvigo12/specup/main/catalog/presets.json
  • Workflows: https://raw.githubusercontent.com/anvigo12/specup/main/catalog/workflows.json

A fourth registers the bundle itself, for the specify bundle install specup form:

  • Bundles: https://raw.githubusercontent.com/anvigo12/specup/main/catalog/bundles.json

None of the six components is in Spec Kit's default catalog, and the community catalogs are discovery-only, so these are required rather than optional. Every entry pins a sha256.

Tags

governance, openup, lifecycle, traceability, wbs

Key Features

  • Installs all six components at pinned versions in one command โ€” the only place in Spec Kit where "these things go together, at these versions" can be both stated and acted on.
  • The four phase workflows carry the enforcement. Extensions and presets are prompt-level; a workflow shell step's exit code is the only thing that actually halts a run, and the gates live there.
  • A three-way exit contract throughout: 0 pass, 1 governance failure, 2 could-not-evaluate. A gate that cannot find its evidence fails rather than skipping, and a check that could not run is never reported as a pass.
  • Version pins are checked against each component's own manifest before anything is written, so a drifted pin aborts the install instead of producing a half-governed project.
  • Reproducible archives โ€” fixed member timestamps, sorted entries, normalized permissions โ€” so an unchanged component rebuilds to an identical digest and a rebuild stays distinguishable from a tampered artifact.
  • Ships three governance standards as bundled rules an agent reads: 65 coding rules (railway-oriented error handling, RFC 9457 problem details, failure across service boundaries), 56 security practices, and 21 language rules.

Testing Checklist

  • [x] Validation succeeds with specify bundle validate --path <bundle-directory>
  • [x] Build succeeds with specify bundle build --path <bundle-directory> and produces the submitted artifact
  • [x] Bundle installs successfully from the built artifact
  • [x] The submitted distribution path was tested end to end, including bundle-ID installation from an install-allowed catalog when a catalog entry is proposed
  • [x] Installation was tested in a clean Spec Kit project
  • [x] Required component catalogs are documented and were included in testing, or no extra catalogs are required
  • [x] Documentation is complete and accurate

Submission Requirements

  • [x] Valid bundle.yml manifest included
  • [x] README.md explains the bundle's intended role, installed components, and installation steps
  • [x] LICENSE file included
  • [x] GitHub release created with a version tag
  • [x] Bundle ID matches the manifest and follows naming conventions
  • [x] Every extension, preset, workflow, and step reference is pinned where the manifest requires a version

Testing Details

Tested on: Linux (Ubuntu), Python 3.13, Spec Kit 1.0.6

Test project: a throwaway specify init --here --integration claude project โ€” deliberately not the SpecUP repository, where local paths would mask a broken catalog.

Test scenarios:

  1. Registered all four catalogs. The flags differ per primitive, which is worth noting for anyone reproducing this: extension and preset need --name and --install-allowed, workflow installs by default, and bundle takes --policy install-allowed.
  2. specify bundle install specup โ†’ โœ“ Installed 'specup' (6 added, 0 already present).
  3. specify bundle list โ†’ specup v0.1.0 (6 components). The component count is the check that matters: 0 would mean the bundle recorded itself over components already present rather than installing anything.
  4. specify extension list โ†’ OpenUP Governed Lifecycle (v0.1.0), Commands: 9 | Hooks: 4.
  5. specify workflow list โ†’ all four openup-* workflows.
  6. specify preset resolve spec-template โ†’ [base] core โ†’ [append] openup-governance v0.1.0.
  7. pip install -r .specify/extensions/openup/requirements.txt, then init_openup.py --program "Verify" โ†’ 34 created, 1 preserved. The three standards land with 65, 56 and 21 rules respectively.
  8. audit.py on the fresh scaffold โ†’ exit 1, naming WBS-004, TRC-000 and three failing gate conditions. Exit 1 is correct on an empty plan; exit 2 would have meant the dependencies were missing and nothing could be evaluated.
  9. Separately, installed from the downloaded artifact โ€” curl -L -o specup-0.1.0.zip <download url> then specify bundle install ./specup-0.1.0.zip โ€” with the same 6 added result, confirming the local-path route independently of the bundle catalog.
  10. specify bundle validate --path bundles/specup โ†’ โœ“ specup is well-formed and valid.
  11. Digests checked three ways for openup, openup-governance and specup: as downloaded from the release, as built locally, and as pinned in the catalog. All three agree; the bundle artifact is 8906da8726042852cfec5fc8fb7bdb4056379d0057b40f927c3d1e4a14c26f16.

Automated suite: 257 tests pass with spec-kit importable; 249 pass and 8 skip without it. One of them rebuilds every component from source and compares the digest against the committed catalog, so content changing under an unchanged version fails the build โ€” the one defect that installs cleanly and leaves two different 0.1.0s in the world.

Example Usage

# One-time per project: register SpecUP's catalogs. The flags differ per primitive.
BASE=https://raw.githubusercontent.com/anvigo12/specup/main/catalog
specify extension catalog add $BASE/extensions.json --name specup --install-allowed --priority 0
specify preset    catalog add $BASE/presets.json    --name specup --install-allowed --priority 0
specify workflow  catalog add $BASE/workflows.json  --name specup
specify bundle    catalog add $BASE/bundles.json    --policy install-allowed --priority 0

# Install all six components at their pinned versions
specify bundle install specup

# The validators need three Python packages; without them every check exits 2
python3 -m pip install -r .specify/extensions/openup/requirements.txt

# Or install from a downloaded artifact instead of the bundle catalog
curl -L -o specup-0.1.0.zip https://github.com/anvigo12/specup/releases/download/v0.1.0/specup-0.1.0.zip
specify bundle install ./specup-0.1.0.zip

# Scaffold, then run a governed phase
python3 .specify/extensions/openup/scripts/python/init_openup.py --program "Fleet Telemetry"
specify workflow run openup-inception

# The workflow is where enforcement lives. Its gate step halts the run on a
# failing verdict rather than reporting it and continuing.

Proposed Catalog Entry

{
  "specup": {
    "name": "SpecUP โ€” OpenUP Governed Lifecycle",
    "id": "specup",
    "version": "0.1.0",
    "role": "governance",
    "description": "Installs the full OpenUP governance stack: the openup extension (validators, schemas, commands), the openup-governance preset, and the four phase workflows whose gates halt a run on a failing verdict.",
    "author": "Aniket Gore",
    "license": "MIT",
    "download_url": "https://github.com/anvigo12/specup/releases/download/v0.1.0/specup-0.1.0.zip",
    "sha256": "8906da8726042852cfec5fc8fb7bdb4056379d0057b40f927c3d1e4a14c26f16",
    "repository": "https://github.com/anvigo12/specup",
    "requires": {
      "speckit_version": ">=1.0.0,<2.0.0"
    },
    "provides": {
      "extensions": 1,
      "presets": 1,
      "steps": 0,
      "workflows": 4
    },
    "tags": ["governance", "openup", "lifecycle", "traceability", "wbs"],
    "verified": false
  }
}

Additional Context

Repository layout, for validation. This is a monorepo: bundle.yml is at bundles/specup/bundle.yml, with README.md and LICENSE (MIT) at the repository root.

Component resolution needs three extra catalogs. The bundle entry alone is enough to resolve specify bundle install specup, but the six components it names are not in Spec Kit's default catalog and the community catalogs are discovery-only, so the extension, preset and workflow catalogs listed above must be registered first. Every install document leads with that rather than letting it surface as a resolution error.

The four workflows are not separately submitted. There is no workflow submission template and no add-community-workflow automation, so they have no route into workflows/catalog.community.json. They are listed here under Components Provided instead of hand-editing that catalog.

What this bundle actually enforces. Extensions and presets are prompt-level โ€” they change what an agent is told, and an agent can ignore them. Only a workflow shell step's exit code halts a run. The four phase workflows are in the bundle for exactly that reason, and the documentation says so plainly rather than implying the commands are themselves enforcement.

Two limits stated up front, in the project's own docs: nothing here parses a contract document, and an approval binds content rather than a human โ€” the signature proves the bytes have not changed since approval, not who approved them.

Related submissions. The openup extension and the openup-governance preset are submitted separately. They are the same 0.1.0 release and are pinned by this bundle.

anvigo12 avatar Sep 13 '26 13:09 anvigo12

cc @github/spec-kit-maintainers โ€” new catalog submission for review.

github-actions[bot] avatar Sep 15 '26 17:09 github-actions[bot]

Validation failed for this bundle submission.

  • Repository manifest mismatch: bundles/specup/bundle.yml on the submitted repository's default branch declares bundle version 0.1.1 and pins [email protected] and [email protected], but the issue submits bundle/component version 0.1.0. The repository manifest therefore does not match the submission. Please submit one internally consistent release: either update the submission to 0.1.1 with its matching artifact, component pins, digest, and proposed catalog entry, or restore the repository's submitted manifest and metadata to 0.1.0 before resubmitting.

The pinned v0.1.0 release exists, but the artifact HTTP and SHA-256 download checks could not be completed in this run because outbound artifact download was denied by the execution environment; these checks must still pass on resubmission.

Posted on behalf of @github/spec-kit by GitHub Copilot (model: gpt-5.2-codex, autonomous).

Generated by ๐Ÿ“ฆ Add Community Bundle from Issue Submission for issue #4566 ยท 50.6 AIC ยท โŒ– 6.39 AIC ยท โŠž 29.9K ยท โ—ท

github-actions[bot] avatar Sep 15 '26 17:09 github-actions[bot]

@anvigo12 Please fix the issues found and then let me us know so we can retrigger the workflow

mnriem avatar Sep 16 '26 21:09 mnriem

This issue has been automatically marked as stale because it has had no activity for 30 days. It will be closed in 30 days unless there is a substantive update. If the problem still applies, please provide updated context such as whether it is still reproducible, the affected version or environment, its current impact, and any new reproduction details. A comment that only states that the issue is "still relevant" does not give maintainers enough information to reconsider it.

github-actions[bot] avatar Nov 17 '26 00:11 github-actions[bot]