Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,7 @@ jobs:
node scripts/openchain-evidence.cjs --output openchain-evidence --archive-sources

npm sbom --omit=dev --sbom-format=cyclonedx > openchain-evidence/launchstack-cli.cdx.json
npm ci --ignore-scripts --prefix src/templates/api
(
cd src/templates/api
npm sbom --omit=dev --sbom-format=cyclonedx
) > openchain-evidence/generated-api-template.cdx.json
node scripts/openchain-template-sbom.cjs --output openchain-evidence/generated-api-template.cdx.json

set +e
npm audit --omit=dev --audit-level=low --json > openchain-evidence/launchstack-cli-audit.json
Expand Down
51 changes: 4 additions & 47 deletions .github/workflows/release-openchain-3.0.7.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
name: Release LaunchStack CLI 3.0.7 OpenChain candidate
name: Release LaunchStack CLI 3.0.7 — GitHub only

on:
push:
branches:
- release/openchain-3.0.7
- release/github-only-3.0.7

permissions:
contents: write
id-token: write

jobs:
release:
runs-on: ubuntu-latest
timeout-minutes: 60
environment: npm-publish

services:
postgres:
Expand Down Expand Up @@ -48,7 +46,7 @@ jobs:
fi
VERSION="$(node -p "require('./package.json').version")"
if [ "$VERSION" != "3.0.7" ]; then
echo "::error::This one-time workflow only permits launchstack-cli@3.0.7."
echo "::error::This one-time GitHub-only workflow only permits source version 3.0.7."
exit 1
fi

Expand Down Expand Up @@ -76,11 +74,7 @@ jobs:

node scripts/openchain-evidence.cjs --output openchain-evidence --archive-sources
npm sbom --omit=dev --sbom-format=cyclonedx > openchain-evidence/launchstack-cli.cdx.json
npm ci --ignore-scripts --prefix src/templates/api
(
cd src/templates/api
npm sbom --omit=dev --sbom-format=cyclonedx
) > openchain-evidence/generated-api-template.cdx.json
node scripts/openchain-template-sbom.cjs --output openchain-evidence/generated-api-template.cdx.json

set +e
npm audit --omit=dev --audit-level=low --json > openchain-evidence/launchstack-cli-audit.json
Expand Down Expand Up @@ -121,37 +115,6 @@ jobs:
exit 1
fi

- name: Check whether npm version is already published
id: publication
shell: bash
run: |
set -euo pipefail
git fetch origin --tags --force
if npm view launchstack-cli@3.0.7 version >/dev/null 2>&1; then
if ! git rev-parse -q --verify "refs/tags/v3.0.7" >/dev/null; then
echo "::error::npm 3.0.7 exists without a matching repository tag."
exit 1
fi
if [ "$(git rev-parse 'v3.0.7^{commit}')" != "$GITHUB_SHA" ]; then
echo "::error::Existing v3.0.7 tag does not match this release commit."
exit 1
fi
echo "already_published=true" >> "$GITHUB_OUTPUT"
else
echo "already_published=false" >> "$GITHUB_OUTPUT"
fi

- name: Require npm publication credential
if: steps.publication.outputs.already_published != 'true'
shell: bash
env:
NODE_AUTH_TOKEN: ${{ secrets.LAUNCHSTACK_NPM_TOKEN }}
run: |
if [ -z "$NODE_AUTH_TOKEN" ]; then
echo "::error::LAUNCHSTACK_NPM_TOKEN is not configured."
exit 1
fi

- name: Create immutable release tag
shell: bash
run: |
Expand All @@ -165,12 +128,6 @@ jobs:
git push origin v3.0.7
fi

- name: Publish npm package with provenance
if: steps.publication.outputs.already_published != 'true'
run: npm publish --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.LAUNCHSTACK_NPM_TOKEN }}

- name: Create or repair GitHub release and evidence attachment
shell: bash
env:
Expand Down
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Release notes for all published versions are indexed in [`docs/RELEASE_HISTORY.md`](docs/RELEASE_HISTORY.md).

## [3.0.7] - 2026-11-18
## [3.0.7] - 2026-11-18 (GitHub source release; npm publication deferred)

### OpenChain compliance and release evidence

Expand All @@ -11,11 +11,12 @@ Release notes for all published versions are indexed in [`docs/RELEASE_HISTORY.m
- Add low-severity production dependency gates for both CLI and generated API template, public security/license inquiry routes and recurring independent advisory checks.
- Pin release/security workflow actions by immutable commit SHA and fail closed when component metadata, source integrity, audit status or release evidence is incomplete.

### Runtime
### Runtime and distribution

- No intentional CLI command behavior change. Generated projects now include explicit license and third-party notice files.

Release notes for all published versions are indexed in [`docs/RELEASE_HISTORY.md`](docs/RELEASE_HISTORY.md).
- The GitHub tag, source release and archived evidence are distributed independently from npm. The latest npm version remains **3.0.6**; no npm publishing is authorized by this GitHub-only release.
- The earlier invalid unrendered generated-template SBOM name is corrected by generating its CycloneDX file from a temporary normalized manifest, leaving the distributed template unchanged.
- Add contributor guidance, governance, code of conduct, CLI interface reference, and a 145-item OpenSSF Gold-series evidence register. These documents do not constitute an awarded badge.

## [3.0.6] - 2026-11-15

Expand Down
7 changes: 7 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Contributor Code of Conduct

All LaunchStack CLI participants are expected to communicate professionally and respectfully. Critique code and technical decisions, not personal characteristics. Harassment, threats, hate speech, intimidation, doxxing and repeated disruption are not acceptable.

This applies to GitHub issues, pull requests, related discussions and project collaboration. Report conduct concerns confidentially to williams@zivoralabs.xyz with the subject "LaunchStack contributor conduct". The maintainer will review available evidence confidentially as appropriate, seek further context when needed, and may moderate comments or restrict participation. This is a living governance policy, not a claim of completed third-party OpenSSF assessment.

For security vulnerabilities, use the separate [security reporting process](SECURITY.md).
21 changes: 21 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Contributing to LaunchStack CLI

LaunchStack welcomes bug reports, feature suggestions, code, tests and documentation contributions in English. For confidential vulnerabilities use [SECURITY.md](SECURITY.md), not public issues.

## Issue and pull-request process

1. Search the [issue tracker](https://github.com/wbizmo/launchstack-cli/issues) and discuss substantial work before implementing it.
2. Fork the repository, create a focused topic branch from main and identify the issue being addressed.
3. Use Node.js 24 or 26 as supported by package.json, and install dependencies with npm ci.
4. Follow the TypeScript, ESLint, Prettier, naming and test conventions already established in the repository.
5. Add a regression test for every behavior fix and update the CLI reference and release notes for interface or compatibility changes.
6. Run npm run format:check, npm run lint, npm run typecheck and npm run test:run. Where the necessary PostgreSQL setup is available, run npm run release:check.
7. Submit a pull request explaining the problem, the change, testing, performance, backward compatibility, security effects, and any new dependency or third-party source.

## Review and acceptance

The [active default-branch ruleset](https://github.com/wbizmo/launchstack-cli/rules/21824160) specifies two approving reviews, code-owner review, a review of the last push and resolved threads. Squash or rebase merges are supported. A repository-role bypass is possible; a bypass is not itself proof of an independently reviewed change. OpenSSF Gold requires evidence of actual reviews across at least 50% of proposed modifications, regardless of the policy setting.

Maintainers review correctness, untrusted inputs, test coverage, supply-chain provenance, changes to user files, licensing/attribution and release risks. No release is authorized by a passing PR check alone.

Contributors must have the right to submit their material under the project's MIT license. Never paste proprietary code, another project’s code without its license terms or customer data into a pull request. Consult the [OpenChain contribution policy](docs/openchain/CONTRIBUTIONS.md).
11 changes: 11 additions & 0 deletions GOVERNANCE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# LaunchStack CLI governance

LaunchStack CLI is currently a Zivora Labs-maintained project. The known lead is Williams Ashibuogwu, whose programme responsibilities are recorded in [OpenChain records](docs/openchain/PROGRAM-RECORD-2026-11-18.md).

Issues and pull requests are the default venue for public technical decisions. Maintainers evaluate correctness, secure development, licensing, backward compatibility, tests, documentation and long-term support costs. Vulnerabilities are handled privately.

The [default-branch ruleset](https://github.com/wbizmo/launchstack-cli/rules/21824160) mandates two approvals and code-owner review, but explicitly permits repository-role bypass. Actual, independent reviews must be verified separately before satisfying OpenSSF Gold.

**Continuity limitation:** The project has not established a verified second independent significant contributor or a demonstrated bus factor of two. Recruit qualified maintainers, establish documented access recovery and verify continuity before claiming those Gold criteria. No future maintainer or legal reviewer may be invented in the badge application.

See [CONTRIBUTING.md](CONTRIBUTING.md) for submission and review requirements.
29 changes: 25 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

TypeScript backend scaffolding and lifecycle management. LaunchStack creates Fastify, Prisma and PostgreSQL projects, then helps teams manage generated files, capabilities, upgrades, local environments, typed clients and preview stages as the project changes.

**Release:** [v3.0.7](https://github.com/wbizmo/launchstack-cli/releases/tag/v3.0.7) · [Release notes](RELEASE_NOTES_3.0.7.md) · [Zivora Labs project page](https://www.zivoralabs.xyz/open-source/launchstack-cli)
**GitHub source release:** [v3.0.7](https://github.com/wbizmo/launchstack-cli/releases/tag/v3.0.7) · **Latest npm package:** [v3.0.6](https://www.npmjs.com/package/launchstack-cli) · [3.0.7 release notes](RELEASE_NOTES_3.0.7.md) · [Zivora Labs project page](https://www.zivoralabs.xyz/open-source/launchstack-cli)

LaunchStack CLI has evolved from deployment and configuration tooling (v1) into a backend API generator (v2), then a declarative lifecycle platform (v3). Version 3.0.7 is the current release. Browse the [complete release history](docs/RELEASE_HISTORY.md) and [cumulative changelog](CHANGELOG.md) for every published version.
LaunchStack CLI has evolved from deployment and configuration tooling (v1) into a backend API generator (v2), then a declarative lifecycle platform (v3). Version 3.0.7 is the GitHub source release. The npm registry remains at version 3.0.6 until a separate, explicitly authorized npm publication. Browse the [complete release history](docs/RELEASE_HISTORY.md) and [cumulative changelog](CHANGELOG.md) for every published version.

## Requirements

Expand All @@ -19,7 +19,18 @@ LaunchStack CLI has evolved from deployment and configuration tooling (v1) into
## Install

```bash
npm install --global launchstack-cli@3.0.7
npm install --global launchstack-cli@3.0.6
```

To inspect or run **3.0.7 from source**, use the tagged GitHub source checkout (not an npm 3.0.7 install):

```bash
git clone https://github.com/wbizmo/launchstack-cli.git
cd launchstack-cli
git checkout v3.0.7
npm ci
npm run build
node bin/launchstack.cjs --version
```

## Quick start
Expand Down Expand Up @@ -164,6 +175,12 @@ Full results, methodology, reproduction commands and limitations are in the [ben
- **Capability transactions (v3.0.6):** one transaction installing 1, 10 and 100 synthetic file-only capabilities measured 20.5 ms, 20.9 ms and 96.6 ms p50.
- **Transactions (v3.0.6):** 100, 1,000 and 10,000 file mutations measured 110.2 ms, 727.2 ms and 6.06 s p50; the 10,000-file p95 was 6.28 s.

### GitHub v3.0.7 — licensing and security-assurance improvements

The 3.0.7 source release adds an explicit MIT license and third-party notice file to generated API projects, deterministic component/license records, a complete OpenChain 5230/18974 requirement crosswalk, private vulnerability and public license inquiry routes, regular independent CLI and template dependency auditing, immutable GitHub Actions pins, integrity-verified source archives, and a guarded evidence bundle containing CycloneDX SBOMs, vulnerability dispositions, release artifact hashes and source tarballs. It does not intentionally change the existing CLI command interface. See [3.0.7 release notes](RELEASE_NOTES_3.0.7.md) and [component/evidence procedures](docs/openchain/README.md).

**Distribution:** GitHub tag and release only. The 3.0.7 npm package has **not** been published; the latest npm install command above intentionally remains at 3.0.6. OpenChain self-certification and OpenSSF Gold badge claims require separate verified evidence and are **not** established merely by releasing 3.0.7.

## Development checks

```bash
Expand All @@ -187,4 +204,8 @@ LaunchStack CLI is an open-source project built and maintained by [Zivora Labs](

Zivora Labs' LaunchStack CLI 3.0.7 programme is evidence-gated for self-certification against ISO/IEC 5230:2020 (open-source license compliance) and ISO/IEC 18974:2023 (open-source security assurance). The complete 34 + 35 item mapping, scope, programme record and release declaration are in docs/openchain.

Security reports and open-source license/compliance inquiries can be sent to williams@zivoralabs.xyz. The release process archives exact component records, CycloneDX SBOMs, integrity-verified source tarballs, production audit results and the packed npm artifact. This is a Zivora Labs self-certification and is not represented as independent accredited ISO certification.
Security reports and open-source license/compliance inquiries can be sent to williams@zivoralabs.xyz. The release process archives exact component records, CycloneDX SBOMs, integrity-verified source tarballs, production audit results and the packed npm artifact. This is a documented self-assessment programme; the GitHub-only source release does not establish an evidence-backed 69/69 self-certification or an independent accredited ISO certificate. OpenSSF Gold has not been awarded.

## Contribute and assess OpenSSF practices

The project publishes a [contribution guide](CONTRIBUTING.md), [governance](GOVERNANCE.md), [code of conduct](CODE_OF_CONDUCT.md), [external CLI reference](docs/EXTERNAL-INTERFACE.md), and [private vulnerability reporting](SECURITY.md). The [complete OpenSSF Passing/Silver/Gold evidence register](docs/openchain/OPENSSF-GOLD-CHECKLIST.md) tracks **145 criteria**. Gold has **not** been awarded. OpenChain self-certification is a separate Zivora Labs programme with independent evidence requirements.
Loading
Loading