π€ Auto-filed from milestone doc bullet.
Repo: WasmAgent/.github
Milestone: Milestone 3 β Ops Tooling & Generator Infrastructure
Bullet:
wasmagent-ops/: CI/CD pipeline updates to auto-generate trust artifacts on release
Problem
The wasmagent-ops repository lacks CI/CD automation to generate trust artifacts during release workflows. Currently, trust artifacts (AgentBOM, MCP Posture, Trust Passport) must be generated manually. This creates a barrier to consistent, verifiable releases and delays artifact availability.
Approach
Create a GitHub Actions workflow that automatically generates all three trust artifact types when a release is published:
-
Create .github/workflows/release-artifacts.yml in the wasmagent-ops repository with:
-
Workflow steps:
name: Release Trust Artifacts
on:
release:
types: [published]
jobs:
generate-artifacts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Build generators
run: |
go build -o bin/generate-agentbom ./cmd/generate-agentbom
go build -o bin/passport ./cmd/passport
go build -o bin/generate-mcp-posture ./cmd/generate-mcp-posture
- name: Generate AgentBOM
run: |
./bin/generate-agentbom --output agentbom.json
- name: Generate Trust Passport
run: |
./bin/passport export --format json --include-aep --output passport.json
- name: Generate MCP Posture
run: |
./bin/generate-mcp-posture --output mcp-posture.json
- name: Sign artifacts
run: |
for artifact in agentbom.json passport.json mcp-posture.json; do
gpg --detach-sign --armor $artifact
done
- name: Upload release assets
uses: softprops/action-gh-release@v2
with:
files: |
agentbom.json
agentbom.json.asc
passport.json
passport.json.asc
mcp-posture.json
mcp-posture.json.asc
-
Optional enhancement: Add a workflow dispatch trigger for manual artifact generation on non-release commits.
Files
- Create:
wasmagent-ops/.github/workflows/release-artifacts.yml (new file)
- Reference dependencies (already exist or are tracked in other issues):
Acceptance criteria
- File
wasmagent-ops/.github/workflows/release-artifacts.yml exists and contains a workflow triggered on release: published
- Workflow builds all three generator binaries with
go build ./...
- Workflow generates and uploads AgentBOM, Trust Passport, and MCP Posture artifacts to releases
- Artifacts are GPG-signed (
.asc files)
- Command
go build ./... passes in the wasmagent-ops repository
- Workflow passes
act -l verification (list jobs without running)
Notes
Filed automatically.
π€ Auto-filed from milestone doc bullet.
Repo: WasmAgent/.github
Milestone: Milestone 3 β Ops Tooling & Generator Infrastructure
Bullet:
Problem
The
wasmagent-opsrepository lacks CI/CD automation to generate trust artifacts during release workflows. Currently, trust artifacts (AgentBOM, MCP Posture, Trust Passport) must be generated manually. This creates a barrier to consistent, verifiable releases and delays artifact availability.Approach
Create a GitHub Actions workflow that automatically generates all three trust artifact types when a release is published:
Create
.github/workflows/release-artifacts.ymlin thewasmagent-opsrepository with:release: publishedevent (types: [published])go build ./..../bin/generate-agentbom(from issue [milestone Milestone 3 ]wasmagent-ops/generators/: AgentBOM generator from execution traces (`generate...Β #75)./bin/passport export --format json --include-aep(from issue [milestone Milestone 1 ]agent-trust-infra/: Trust Passport export includes signed AEP events (`passpor...Β #66)./bin/generate-mcp-posturegpg --detach-signor equivalent)Workflow steps:
Optional enhancement: Add a workflow dispatch trigger for manual artifact generation on non-release commits.
Files
wasmagent-ops/.github/workflows/release-artifacts.yml(new file)wasmagent-ops/cmd/generate-agentbom/β AgentBOM generator (issue [milestone Milestone 3 ]wasmagent-ops/generators/: AgentBOM generator from execution traces (`generate...Β #75)wasmagent-ops/cmd/passport/β Trust Passport CLI (issue [milestone Milestone 1 ]agent-trust-infra/: Trust Passport export includes signed AEP events (`passpor...Β #66)wasmagent-ops/cmd/generate-mcp-posture/β MCP Posture generatorAcceptance criteria
wasmagent-ops/.github/workflows/release-artifacts.ymlexists and contains a workflow triggered onrelease: publishedgo build ./....ascfiles)go build ./...passes in the wasmagent-ops repositoryact -lverification (list jobs without running)Notes
wasmagent-ops/generators/: AgentBOM generator from execution traces (`generate...Β #75 (AgentBOM) and [milestone Milestone 1 ]agent-trust-infra/: Trust Passport export includes signed AEP events (`passpor...Β #66 (Trust Passport)GPG_PRIVATE_KEYto be configuredFiled automatically.