OpenSpec change add-release-ci-packaging (change 5 of the phase 1 design, cut down to CI, images and handover; someone else deploys).
What
CI (.gitea/workflows/ci.yml): on push to main, Maven verify over the eight services, then build and check all nine images, then push them to gitea.containerverse.dev/solvway/co-lite-<module> tagged with the commit SHA and latest. Nothing is pushed unless every build, test and image check passes. Images are named under solvway because the repo moves there before deployment; pushes are not expected to work until then.
Image safety: each Java module's build context holds only its jar; local/image-check.sh fails an image carrying a key or env file, a private key under any name or extension, or a secret setting with a built-in default. It found SMSS360_APIKEY defaulted to a real-looking Tastefully key in service-email; the default is removed. That key is in git history and must be rotated.
Production DB package (openspec/changes/add-release-ci-packaging/sql/): 00–03 from the local seed without the dev admin, plus 04-first-admin.sql taking an operator-made bcrypt hash; that admin must change the password at first sign-in.
Handover (docs/deployment.md): images, Service names, ports, probes, every environment variable, mounted files (appkeys.json with a correct example, Pub/Sub key), Secret templates with base64 placeholders, Pub/Sub topics, DB server settings and grants, Traefik route for co-lite.containerverse.dev, setup order and known gaps.
Verification
Local CI dry-run: Maven verify over 8 modules, all nine images built, image check OK on each.
Image check fails on planted secrets (key file by name, renamed service-account key, keys under a dev/ or sys/ folder, secret default in the jar) and when unzip is missing.
SQL package loaded into a throwaway stack: all services up, dev password rejected, new admin forced to change password, then admin APIs return 200.
Every task passed an Opus Review Gate; whole-branch Opus review: ready to merge with fixes, which are applied in the last commit.
Known gaps
No email provider yet: new staff get their temporary password by email, so only the first admin can sign in. A follow-up change adds an admin-set temporary password.
OpenSpec change `add-release-ci-packaging` (change 5 of the phase 1 design, cut down to CI, images and handover; someone else deploys).
## What
- **CI** (`.gitea/workflows/ci.yml`): on push to `main`, Maven `verify` over the eight services, then build and check all nine images, then push them to `gitea.containerverse.dev/solvway/co-lite-<module>` tagged with the commit SHA and `latest`. Nothing is pushed unless every build, test and image check passes. Images are named under `solvway` because the repo moves there before deployment; pushes are not expected to work until then.
- **Image safety**: each Java module's build context holds only its jar; `local/image-check.sh` fails an image carrying a key or env file, a private key under any name or extension, or a secret setting with a built-in default. It found `SMSS360_APIKEY` defaulted to a real-looking Tastefully key in service-email; the default is removed. **That key is in git history and must be rotated.**
- **Production DB package** (`openspec/changes/add-release-ci-packaging/sql/`): `00`–`03` from the local seed without the dev admin, plus `04-first-admin.sql` taking an operator-made bcrypt hash; that admin must change the password at first sign-in.
- **Handover** (`docs/deployment.md`): images, Service names, ports, probes, every environment variable, mounted files (`appkeys.json` with a correct example, Pub/Sub key), Secret templates with base64 placeholders, Pub/Sub topics, DB server settings and grants, Traefik route for `co-lite.containerverse.dev`, setup order and known gaps.
## Verification
- Local CI dry-run: Maven verify over 8 modules, all nine images built, image check OK on each.
- Image check fails on planted secrets (key file by name, renamed service-account key, keys under a `dev/` or `sys/` folder, secret default in the jar) and when `unzip` is missing.
- SQL package loaded into a throwaway stack: all services up, dev password rejected, new admin forced to change password, then admin APIs return 200.
- Handover variable coverage script: nothing missing.
- Every task passed an Opus Review Gate; whole-branch Opus review: ready to merge with fixes, which are applied in the last commit.
## Known gaps
- No email provider yet: new staff get their temporary password by email, so only the first admin can sign in. A follow-up change adds an admin-set temporary password.
- Rotate the leaked SMS360 key.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Each Java module's build context now holds only its jar, and
local/image-check.sh fails an image that carries a key file, a private
key under any name, or a secret setting with a built-in default. It
found one: service-email defaulted SMSS360_APIKEY to a real-looking key,
now removed (the key is in git history and must be rotated).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Spec states what the images guarantee (no secrets, overridable defaults);
handover notes non-TLS DB connections, root on port 80, the empty-server
package, the SMS key rotation, and the missing email/system Secrets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
ngqile
merged commit c293ae12b3 into main2026-11-30 02:22:37 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
OpenSpec change
add-release-ci-packaging(change 5 of the phase 1 design, cut down to CI, images and handover; someone else deploys).What
.gitea/workflows/ci.yml): on push tomain, Mavenverifyover the eight services, then build and check all nine images, then push them togitea.containerverse.dev/solvway/co-lite-<module>tagged with the commit SHA andlatest. Nothing is pushed unless every build, test and image check passes. Images are named undersolvwaybecause the repo moves there before deployment; pushes are not expected to work until then.local/image-check.shfails an image carrying a key or env file, a private key under any name or extension, or a secret setting with a built-in default. It foundSMSS360_APIKEYdefaulted to a real-looking Tastefully key in service-email; the default is removed. That key is in git history and must be rotated.openspec/changes/add-release-ci-packaging/sql/):00–03from the local seed without the dev admin, plus04-first-admin.sqltaking an operator-made bcrypt hash; that admin must change the password at first sign-in.docs/deployment.md): images, Service names, ports, probes, every environment variable, mounted files (appkeys.jsonwith a correct example, Pub/Sub key), Secret templates with base64 placeholders, Pub/Sub topics, DB server settings and grants, Traefik route forco-lite.containerverse.dev, setup order and known gaps.Verification
dev/orsys/folder, secret default in the jar) and whenunzipis missing.Known gaps
🤖 Generated with Claude Code
https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM