Skip to content

feat: getlatestrelease --env, releasebyversion as OBOM, replacetags product+env - #40

Merged
taleodor merged 3 commits into
mainfrom
2026-09-latest-release-env-and-version-obom
Sep 6, 2026
Merged

taleodor merged 3 commits into
mainfrom
2026-09-latest-release-env-and-version-obom

Conversation

@taleodor-claude

@taleodor-claude taleodor-claude commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

What

  • getlatestrelease --env now works: it sends approvedEnvironment, so only releases approved for that environment (DEV, BUILD, TEST, SIT, UAT, PAT, STAGING, PRODUCTION) are considered, orthogonal to --lifecycle and the approval-entry conditions. The flag was parsed but never sent before. With --cdx this is the ReARM equivalent of the old Reliza Hub exportbundle --env. --branch is no longer CLI-required: a Product defaults to its base Feature Set on the backend (needs the matching backend release).
  • releasebyversion: help and README now say what it outputs -- the OBOM of the exact version as CycloneDX 1.6 -- which the backend already returned. This is the exact-version OBOM export.
  • devops replacetags: --product with --version uses the exact-version OBOM; --product with --env uses the latest ASSEMBLED release approved for the environment on the product's base Feature Set. The environment-only mode and the two helpers behind it called operations that no longer exist on the backend; they are removed, and --env without --product errors with the reason. --product is a UUID. Provenance line names the product and environment.
  • README and docs/devops.md document the above, including that environment approvals are not revoked by a later policy disapproval (only an admin override removes them).

Validation

go build + go vet clean; exercised against a sandbox with product releases carrying environment approvals (see the conversation on the matching backend change).

Follow-up: names instead of uuids

getlatestrelease --component, releasebyversion --component and devops replacetags --product accept either a UUID or a name. The CLI passes the value through unchanged; ReARM resolves it -- a uuid, or with an organization-scoped key the unique active component or product with that name (case-insensitive; unknown or ambiguous names error). Needs the matching backend release.

🤖 Generated with Claude Code

taleodor-claude and others added 3 commits September 5, 2026 23:01
…placetags product+env

- getlatestrelease --env now sends approvedEnvironment: only releases
  approved for that environment (DEV, BUILD, TEST, SIT, UAT, PAT, STAGING,
  PRODUCTION) are considered, orthogonal to --lifecycle and the approval
  conditions. The flag was parsed but never sent before. With --cdx this is
  the ReARM equivalent of the old exportbundle --env.
- releasebyversion: help and README now say what it outputs, the OBOM of
  the exact version (CycloneDX 1.6), which the backend already returned.
- devops replacetags: --product with --version uses the exact-version OBOM,
  --product with --env uses the latest release approved for the environment
  on the product's base feature set. The environment-only mode and the two
  helpers behind it called operations that no longer exist on the backend;
  they are gone, and --env without --product now errors with the reason.
- README and docs/devops.md document all of the above, including that
  environment approvals are add-only.

- getlatestrelease --branch is no longer required by the CLI: a Product
  defaults to its base Feature Set on the backend.
- replacetags provenance names the product and environment.

ReARM-Agentic-Session: obom-env-version-1788648636
ReARM-Agent: 62df357e-a3a4-4df5-82d4-049e629d1c6b
Co-Authored-By: Claude Fable 5.1 <[email protected]>
getlatestrelease --component, releasebyversion --component and
devops replacetags --product now take either a UUID or a name. A value
that does not parse as a UUID is sent as componentName and resolved by
ReARM within the key organization: case-insensitive, active components
and products only, exactly one hit required -- an unknown or ambiguous
name is an error. Docs updated.

ReARM-Agentic-Session: obom-by-name-1788651732
ReARM-Agent: 62df357e-a3a4-4df5-82d4-049e629d1c6b
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…es uuid or name

The CLI no longer decides whether --component / --product is a uuid or a
name. The value is sent as the component reference and ReARM resolves
it: a uuid, or with an organization-scoped key the unique active name
(unknown or ambiguous names error). Removes the client-side uuid check
and the separate componentName field.

ReARM-Agentic-Session: obom-by-name-backend-1788653662
ReARM-Agent: 62df357e-a3a4-4df5-82d4-049e629d1c6b
Co-Authored-By: Claude Fable 5.1 <[email protected]>
@taleodor
taleodor merged commit 45cb276 into main Sep 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants