Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
4 changes: 2 additions & 2 deletions .github/workflows/redhat-certify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
workflow_dispatch:
inputs:
version:
description: "EDDI version (e.g. 6.2.0)"
description: "EDDI version (e.g. 6.3.0)"
required: true
default: "6.2.0"
default: "6.3.0"
release:
description: "Release number (e.g. 1, 2, 3)"
required: true
Expand Down
8 changes: 4 additions & 4 deletions docs/build-reproducibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This document describes what is and is not guaranteed about EDDI builds.
| **Verifiable provenance** — you can prove a published image came from a specific commit of this repository | ✅ Guaranteed |
| **Bit-for-bit reproducible artifacts** — two builds of the same commit produce byte-identical JARs | ❌ Not yet — see [Bit-for-bit reproducibility](#bit-for-bit-reproducibility) |

The distinction matters. Deterministic dependency resolution means nobody can slip a different library into your build; it does **not** mean you can rebuild `eddi-6.2.0.jar` and compare its SHA-256 against ours. Verify published artifacts via the [signature and attestation](#verify-a-published-image), not by rebuilding.
The distinction matters. Deterministic dependency resolution means nobody can slip a different library into your build; it does **not** mean you can rebuild `eddi-6.3.0.jar` and compare its SHA-256 against ours. Verify published artifacts via the [signature and attestation](#verify-a-published-image), not by rebuilding.

## Build System

Expand Down Expand Up @@ -78,21 +78,21 @@ Published Docker images are signed with [Sigstore Cosign](https://docs.sigstore.
cosign verify \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity-regexp '^https://github\.com/labsai/EDDI/\.github/workflows/ci\.yml@refs/(heads/main|tags/.+)$' \
labsai/eddi:6.2.0
labsai/eddi:6.3.0
```

The identity regexp is the load-bearing part: it pins the signature to the `ci.yml` workflow on `main` or a tag, so a signature produced by any other workflow, branch, or repository fails verification.

Once verified, resolve and pin the digest in your deployment manifests (`k8s/base/eddi-deployment.yaml`, or `eddi.image.digest` in the Helm chart) so the kubelet can never pull different bits under the same tag:

```bash
crane digest labsai/eddi:6.2.0
crane digest labsai/eddi:6.3.0
```

### Verify the build provenance

```bash
gh attestation verify oci://docker.io/labsai/eddi:6.2.0 --repo labsai/EDDI
gh attestation verify oci://docker.io/labsai/eddi:6.3.0 --repo labsai/EDDI
```

### SBOM
Expand Down
105 changes: 105 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,111 @@



## 🏷️ docs(release): the release guide told you to push a tag that triggers nothing (2026-08-11)

**Repo:** EDDI (`chore/eddi-version-6-3-0`)

`ci.yml` triggers on `tags: ["[0-9]*"]` — a release tag must start with a digit. `docs/release-
versioning.md` instructed `git tag v6.0.0` in eight places, and `docs/release-signing.md` in three
more. A `v`-prefixed tag matches that filter nowhere, and **GitHub reports no error for a tag that
matches no workflow**: the push succeeds, and nothing runs. No build, no image, no `latest`, no
cosign signature, no SLSA attestation, no GitHub release. Following the release guide verbatim
produced a silent non-release — the worst failure shape available, since there is nothing red to
notice.

AGENTS.md §1 already documented the digit-prefixed rule, so the two release docs were the artefacts
disagreeing with both the workflow and the rest of the documentation. Fixed in favour of the
workflow, which is the executable truth.

Three further claims were checked against `ci.yml` while in there, rather than assumed:

1. **The tag→image table was wrong twice over.** It mapped "Git tag `v6.0.0`" → `labsai/eddi:6.0.0`,
but CI uses the tag name *verbatim* (`PRIMARY_TAG="${GITHUB_REF#refs/tags/}"`), so the `v` would
not be stripped even if the tag did fire. Both halves corrected.
2. **The `6.3` and `6` moving aliases were undocumented.** CI publishes them for stable releases
only, gated on `^([0-9]+)\.([0-9]+)\.([0-9]+)$` so an RC never claims them. They are user-facing
— `helm/eddi/values.yaml` warns against deploying from the mutable major tag — yet the tag
strategy table listed neither. Added, with the "pin the patch version" guidance the k8s and Helm
manifests already follow.
3. **The job table said docker runs on tag `v*`.** Same defect in a second spelling; now `[0-9]*`,
and it records that `[skip docker]` is ignored on tags.

Also: the canonical-version line quoted `<version>6.0.0</version>` and had sat three releases stale,
so it now names the `<version>` element and the `grep` CI actually uses instead of a number that
rots. The running example moved to 6.3.0 throughout, the lifecycle diagram was realigned (its
columns were already off by four before this change), and a pointer was added that `pom.xml` is not
the only artefact carrying the release number.

Verified no `v`-prefixed tag command survives anywhere in tracked files; the only remaining `v6.x`
strings in these two pages are the warnings about the prefix itself.

---



## 🔖 chore(release): bump EDDI version 6.2.0 → 6.3.0 (2026-08-11)

**Repo:** EDDI (`chore/eddi-version-6-3-0`)

Straight version bump across every artefact that carries the release number. The file set was taken
from the two previous bumps (`c0835c98d` 6.1.0 → 6.2.0, `036faa32a` 6.0.2 → 6.1.0) rather than from
a grep, so nothing that those touched is silently skipped:

- **Build/runtime:** `pom.xml` `<version>`, `application.properties`
(`systemRuntime.projectVersion` — the value `BaseRuntime` and the `HttpClientWrapper` User-Agent
read at runtime — plus `smallrye-openapi.info-version` and `container-image.additional-tags`),
`OpenApiConfig` `@Info(version)`, and the `EDDI_VERSION` build arg backing the Red Hat
certification `version` label in the Dockerfile.
- **Deployment:** `helm/eddi/Chart.yaml` `appVersion` (and the chart's own `version`, see below)
and `helm/eddi/values.yaml` `eddi.image.tag`,
`k8s/base/eddi-deployment.yaml` and `k8s/quickstart.yaml` (both the `app.kubernetes.io/version`
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
labels and the pinned `labsai/eddi:` tag, including the cosign/crane comment examples), and the
`redhat-certify.yml` workflow input default.
- **Bundled agent:** `Agent+Father-6.2.0.zip` → `Agent+Father-6.3.0.zip` with the matching line in
`available_agents.txt`, which `RestImportService` reads to seed initial agents. Verified in
`target/classes` that the manifest still names a file that exists — a rename that desynchronises
those two fails at first startup, not at compile time.
- **Docs:** only the two pages using the current tag in copy-pasteable commands
(`build-reproducibility.md`, `redhat-openshift.md`). The per-page `**Version:**` headers did not
need touching — the previous docs refresh replaced all twelve with a dynamic shields.io release
badge precisely so a bump would stop having to sweep them.

**Deliberately left at 6.2.0:** `@since 6.2.0` Javadoc, the "pre-6.2.0"/"before 6.2.0"
compatibility comments in `AgentOrchestrator`/`VertexGeminiLanguageModelBuilder`/
`ConversationMemorySnapshot`, `*Since 6.2.0.*` in `httpcalls.md`, and the changelog. Those are
historical minimum-version facts, not statements about the current release; rewriting them would
assert that features shipped in 6.3.0 when they did not. Same reasoning the docs refresh used to
keep `**Version: ≥6.0.0**` in `security.md` out of the dynamic-badge conversion.

`docs/hitl.md` already referred to "the pre-6.3.0 behavior" for the
`eddi.hitl.tool.task-approvals.mode` default flip, so 6.3.0 was already the assumed next release —
that page is now consistent with the version the build actually reports.

**The Helm chart's own `version` moved for the first time: 1.0.0 → 1.0.1.** It is not the app
version — `appVersion` is — but Helm requires it to change whenever anything under `helm/` changes,
and chart repositories key on it: two different chart contents published under `1.0.0` are
indistinguishable to any cache or mirror. It had sat at 1.0.0 since the chart was created, through
the 6.1.0 and 6.2.0 bumps, because nothing enforces it and nothing packages the chart today — which
is the only reason the drift was harmless rather than a stale-chart bug waiting for the first
`helm package`. A comment on the field now states the rule so it stops depending on someone
remembering.

**Verified rather than assumed**, since a bump that misses one artefact fails at release time:
CI's own extractor (`grep -m1 '<version>' pom.xml`) returns 6.3.0; all five edited YAML files parse;
and `target/classes` confirms `available_agents.txt` still names a zip that exists, which is the one
way the rename could have broken startup without breaking the build. `./mvnw compile` green, no
formatter drift.

**Not introduced here, but found while checking and left alone:** `docs/release-versioning.md`
instructs `git tag v6.0.0` in eight places, while `ci.yml` triggers on `tags: ["[0-9]*"]` — a
`v`-prefixed tag matches nothing, so following that guide produces no build, no image, no signature
and no release, silently. AGENTS.md already documents the digit-prefixed rule; the release guide is
the artefact that is wrong. Tracked separately rather than folded into a version bump.

---



## 🔢 docs(mcp): the MCP tool catalogue was eight tools short, and a count sweep of both READMEs (2026-08-11)

**Repo:** EDDI (`docs/group-collaboration-refresh`)
Expand Down
4 changes: 2 additions & 2 deletions docs/redhat-openshift.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The certification release process is fully automated:

To trigger a certification release, go to **Actions → Red Hat Certification Release → Run workflow** and provide:

- `version` — EDDI version (e.g., `6.2.0`)
- `version` — EDDI version (e.g., `6.3.0`)
- `release` — Incremental release number (e.g., `1`, `2`, `3`)
- `submit` — Whether to submit results to Red Hat (`true`/`false`)
- `registry` — Target registry (`docker.io` or `quay.io`)
Expand Down Expand Up @@ -171,5 +171,5 @@ For production deployments with MongoDB:
docker run -d \
-p 7070:7070 \
-e QUARKUS_MONGODB_CONNECTION_STRING=mongodb://mongo:27017 \
labsai/eddi:6.2.0
labsai/eddi:6.3.0
```
13 changes: 9 additions & 4 deletions docs/release-signing.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,17 +132,22 @@ This outputs the full certificate chain and Rekor log entry as JSON.

## Git Tag Signing

For version tags in the Git repository (e.g., `v6.0.0`, `v6.0.0-RC2`), maintainers sign tags using GPG or SSH keys:
For version tags in the Git repository (e.g., `6.3.0`, `6.3.0-RC2`), maintainers sign tags using GPG or SSH keys:

```bash
# Create a signed tag
git tag -s v6.0.0 -m "Release 6.0.0"
git push origin v6.0.0
git tag -s 6.3.0 -m "Release 6.3.0"
git push origin 6.3.0

# Verify a signed tag
git tag -v v6.0.0
git tag -v 6.3.0
```

> **Release tags carry no `v` prefix.** `ci.yml` triggers on `tags: ["[0-9]*"]`, so `v6.3.0` matches
> nothing and silently runs no workflow — no build, no image, and none of the signing or attestation
> described on this page. Signing the tag does not change that; a signed `v6.3.0` is just as inert.
> See [Release & Versioning Strategy](release-versioning.md#version-format).

> **Note:** The primary release integrity guarantee is provided by the Docker image signing described above. Git tag signing provides an additional layer of assurance that the tag was created by an authorized maintainer.

---
Expand Down
98 changes: 67 additions & 31 deletions docs/release-versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,19 @@ MAJOR.MINOR.PATCH[-PRERELEASE]
| `PATCH` | Bug fixes only | `6.0.0` → `6.0.1` |
| `PRERELEASE` | Release candidate or beta | `6.0.0-RC1`, `6.0.0-RC2` |

The canonical version lives in `pom.xml` (`<version>6.0.0</version>`) and is used for Maven artifacts and CI build tags.
The canonical version lives in `pom.xml` — the top-level `<version>` element, which CI reads with
`grep -m1 '<version>' pom.xml` — and is used for Maven artifacts and CI build tags. (Deliberately
not quoted with a concrete number here: this page is not a place that should need editing on every
release.)

> ### ⚠️ Release tags are **not** `v`-prefixed
>
> `ci.yml` triggers on `tags: ["[0-9]*"]`, so a release tag must **start with a digit**: `6.3.0`,
> never `v6.3.0`. This is not a style preference — a `v`-prefixed tag matches nothing, so pushing
> one runs **no workflow at all**: no build, no image, no `latest`, no cosign signature, no SLSA
> attestation and no GitHub release. Nothing fails, because nothing starts. The tag name is also
> used *verbatim* as the Docker tag (`PRIMARY_TAG="${GITHUB_REF#refs/tags/}"`), so the `v` would
> not be stripped even if it did fire.

---

Expand All @@ -28,7 +40,7 @@ main ─────────────────────────
↑
│ merge when ready
│
feature/version-6.0.0 ───────────────────── active development
feature/version-6.3.0 ───────────────────── active development
```

| Branch | Purpose | Docker push? |
Expand All @@ -45,18 +57,24 @@ All images are pushed to [Docker Hub: `labsai/eddi`](https://hub.docker.com/r/la

| Trigger | Docker Tags | Purpose |
|---|---|---|
| Push to `main` | `labsai/eddi:6.0.0-b<N>` | Continuous integration build. `<N>` is the GitHub Actions run number. |
| Git tag `v6.0.0-RC1` | `labsai/eddi:6.0.0-RC1` + `labsai/eddi:latest` | Release candidate |
| Git tag `v6.0.0` | `labsai/eddi:6.0.0` + `labsai/eddi:latest` | General availability release |
| Push to `main` | `labsai/eddi:6.3.0-b<N>` | Continuous integration build. `<N>` is the GitHub Actions run number. |
| Git tag `6.3.0-RC1` | `labsai/eddi:6.3.0-RC1` + `labsai/eddi:latest` | Release candidate |
| Git tag `6.3.0` | `labsai/eddi:6.3.0` + `labsai/eddi:6.3` + `labsai/eddi:6` + `labsai/eddi:latest` | General availability release |

> **Key rule:** `latest` is **only** pushed on tag-based releases (RC or GA), never on regular main builds. This ensures `docker pull labsai/eddi` always gives users a deliberately released version.

Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
> **The `6.3` and `6` aliases are moving tags**, and only a *stable* release publishes them — CI
> gates them on `^([0-9]+)\.([0-9]+)\.([0-9]+)$`, so an RC never claims them. They are a
> convenience for "track the latest 6.x", not something to deploy from: pin the immutable
> `6.3.0` (better, `6.3.0@sha256:<digest>`) in manifests, which is why `helm/eddi/values.yaml`
> and the k8s manifests use the full patch version.

### Build Tags

Every push to `main` produces a unique, immutable build tag:

```
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
labsai/eddi:6.0.0-b42
labsai/eddi:6.3.0-b42
│ │
│ └── GitHub Actions run number (auto-incrementing)
└───── Version from pom.xml
Expand All @@ -78,17 +96,19 @@ These are useful for:
git checkout main
git pull origin main

# 2. Tag the release candidate
git tag v6.0.0-RC1
# 2. Tag the release candidate — no "v" prefix, or nothing triggers
git tag 6.3.0-RC1

# 3. Push the tag — CI pipeline triggers automatically
git push origin v6.0.0-RC1
git push origin 6.3.0-RC1
```

This produces:
- `labsai/eddi:6.0.0-RC1` — the version-pinned tag
- `labsai/eddi:6.3.0-RC1` — the version-pinned tag
- `labsai/eddi:latest` — updated to point to this RC

An RC does **not** move the `6.3` or `6` aliases; only a stable release does.

### Subsequent Release Candidates

If RC1 needs fixes:
Expand All @@ -98,17 +118,25 @@ If RC1 needs fixes:
# 2. Tag the new main HEAD
git checkout main
git pull origin main
git tag v6.0.0-RC2
git push origin v6.0.0-RC2
git tag 6.3.0-RC2
git push origin 6.3.0-RC2
```

### General Availability Release

```bash
git tag v6.0.0
git push origin v6.0.0
git tag 6.3.0
git push origin 6.3.0
```

This is the only trigger that publishes the moving `6.3` and `6` aliases alongside `6.3.0` and
`latest`.

> **If nothing happens after pushing a tag, check the prefix first.** A `v`-prefixed tag does not
> match the `[0-9]*` trigger, and GitHub reports no error for a tag that matches no workflow — the
> push simply succeeds and nothing runs. Delete it (`git push origin :refs/tags/v6.3.0`) and re-tag
> without the `v`.

### Red Hat Certification Release

For Red Hat-certified images, use the separate workflow:
Expand All @@ -135,7 +163,7 @@ This skips the Docker build and smoke test jobs, but **tests still run**.
|---|---|---|---|
| `feat: add new API endpoint` | ✅ | ✅ | ✅ |
| `docs: update changelog [skip docker]` | ✅ | ❌ | ❌ |
| Any tag push (`v6.0.0-RC1`) | ✅ | ✅ (always) | ✅ |
| Any tag push (`6.3.0-RC1`) | ✅ | ✅ (always) | ✅ |

> `[skip docker]` is ignored on tag pushes — releases always build Docker images.

Expand Down Expand Up @@ -171,7 +199,7 @@ The entire pipeline lives in a single file: [`.github/workflows/ci.yml`](../.git
| Job | Runs on | Condition | Duration |
|---|---|---|---|
| **build-and-test** | Every push/PR/tag | Always | ~3-5 min |
| **docker** | Push to `main` or tag `v*` | `[skip docker]` to skip | ~3-4 min |
| **docker** | Push to `main` or a tag matching `[0-9]*` | `[skip docker]` to skip (ignored on tags) | ~3-4 min |
| **smoke-test** | After `docker` succeeds | Same as docker | ~1-2 min |
| **preflight-check** | Pull requests only | Always on PRs | ~5-7 min |

Expand Down Expand Up @@ -210,29 +238,35 @@ Requires Docker Desktop for Windows. The `preflight` tool runs inside a Docker c
## Version Lifecycle

```
Development Release Candidates General Availability
───────────────── ────────────────── ────────────────────
feature/version-6.0.0 v6.0.0-RC1 v6.0.0
Development Release Candidates General Availability
───────────────── ────────────────── ────────────────────
feature/version-6.3.0 tag 6.3.0-RC1 tag 6.3.0
│ │ │
├── merge to main ├── tag → Docker push ├── tag → Docker push
│ → 6.0.0-b1 │ → 6.0.0-RC1 + latest │ → 6.0.0 + latest
├── merge to main │ │
│ → 6.0.0-b2 v6.0.0-RC2 │
├── merge to main │ └── start v6.1.0 cycle
│ → 6.0.0-b3 └── 6.0.0-RC2 + latest
│ → 6.3.0-b1 │ → 6.3.0-RC1 + latest │ → 6.3.0 + latest
├── merge to main │ │ + 6.3 + 6
│ → 6.3.0-b2 tag 6.3.0-RC2 │
├── merge to main │ └── start 6.4.0 cycle
│ → 6.3.0-b3 └── 6.3.0-RC2 + latest
└── ...
```

Every tag in this diagram is written exactly as it must be pushed — bare, with no `v`.

### After a GA Release

After tagging `v6.0.0`, update `pom.xml` on the feature branch to the next version:
After tagging `6.3.0`, update `pom.xml` on the feature branch to the next version:

```bash
# On feature/version-6.1.0 (or rename the branch)
# Update pom.xml: <version>6.1.0</version>
# CI builds will now produce 6.1.0-b1, 6.1.0-b2, etc.
# On feature/version-6.4.0 (or rename the branch)
# Update pom.xml: <version>6.4.0</version>
# CI builds will now produce 6.4.0-b1, 6.4.0-b2, etc.
```

`pom.xml` is not the only artefact carrying the release number — the Helm chart, the k8s manifests,
the Dockerfile label, `application.properties` and the bundled agent filename all do too. See the
version-bump entries in [`changelog.md`](changelog.md) for the full file set.

---

## Release Signing
Expand All @@ -246,8 +280,10 @@ For full details on how signing works and how to verify images, see [Release Sig
When creating release tags, use signed tags:

```bash
# Instead of: git tag v6.0.0
# Instead of: git tag 6.3.0
# Use:
git tag -s v6.0.0 -m "Release 6.0.0"
git push origin v6.0.0
git tag -s 6.3.0 -m "Release 6.3.0"
git push origin 6.3.0
```

Signing changes how the tag is created, not what it is called — it is still bare, with no `v`.
Loading
Loading