Skip to content

⚠️ Rename Kagenti → Rossoctl across the flagship repo (→ rossoctl) - #2230

Merged
mrsabath merged 2 commits into
rossoctl:mainfrom
Ibrahim2595:rename/kagenti-to-rossoctl
Jul 20, 2026
Merged

mrsabath merged 2 commits into
rossoctl:mainfrom
Ibrahim2595:rename/kagenti-to-rossoctl

Conversation

@Ibrahim2595

Copy link
Copy Markdown
Contributor

Full content + path rename Kagenti → Rossoctl. All 7928 case-insensitive kagenti references updated and 29 kagenti-named paths renamed; grep is clean.

Paths renamed (git mv):

  • Python package kagenti/ → rossoctl/ (backend, ui-v2, tui, keycloak, auth, tests)
  • charts/kagenti → charts/rossoctl; charts/kagenti-deps → charts/rossoctl-deps
  • Java pkg io/kagenti → io/rossoctl; setup/cleanup-kagenti.sh → -rossoctl.sh; .claude/skills/kagenti* → rossoctl*; .github/scripts/kagenti-operator → operator; docs/diagrams

Content:

  • Brand / prose / comments: Kagenti → Rossoctl
  • Python: dist kagenti-project → rossoctl-project; packages=["rossoctl"]; every import kagenti / from kagenti → rossoctl (0 remaining)
  • Go TUI module: github.com/kagenti/kagenti/kagenti/tui → github.com/rossoctl/rossoctl/rossoctl/tui
  • npm: @kagenti/ui → @rossoctl/ui; kagenti-app-demo → rossoctl-app-demo
  • Java: io.kagenti.keycloak(.authenticator) → io.rossoctl.keycloak(.authenticator)
  • Images ghcr.io/kagenti/* → ghcr.io/rossoctl/*; chart kagenti-operator-chart → operator-chart; cross-repo kagenti-extensions → rossocortex, kagenti-operator → operator (repo) / rossoctl-operator (deployed identity)
  • CODEOWNERS @kagenti/* → @rossoctl/*; CI reusable-workflow refs kagenti/.github → rossoctl/.github
  • Installer env interface KAGENTI_* → ROSSOCTL_* (~90 vars: KAGENTI_NS, KAGENTI_REPO, KAGENTI_CONFIG_FILE, ...). No KAGENTI_* backward-compat fallback (per "no kagenti").
  • Runtime contracts: CRD groups agent.kagenti.dev → agent.rossoctl.dev, mcp.kagenti.com → mcp.rossoctl.com; label/annotation domains kagenti.io/*, protocol/inject/integrations/openshell.kagenti.io → .rossoctl.io; namespaces kagenti-system/-webhook-system → rossoctl-; Keycloak realm kagenti → rossoctl

Verification:

  • grep sweep: 0 kagenti (content + paths); no malformed names (two rossoctl-rossoctl-* are faithful renames of pre-existing doubled source strings)
  • Python: compileall clean; pytest rossoctl/backend/tests → 673 passed; no broken internal rossoctl.* imports; uv.lock consistent (uv lock --check)
  • ruff check ✅ and ruff format ✅ (7 files reformatted — renamed identifiers grew 1 char)
  • Go TUI: go build ✅, go vet ✅, go test ✅ (all packages)
  • NOT run locally: root e2e suite (needs kubectl + kind/hypershift cluster), Java/Maven build of keycloak SPI (no maven), Helm chart rendering (no helm)

Related to #1972

Assisted-By: Claude Opus 4.8 [email protected]

Summary

Related issue(s)

(Optional) Testing Instructions

Fixes #

Full content + path rename Kagenti → Rossoctl. All 7928 case-insensitive `kagenti`
references updated and 29 kagenti-named paths renamed; grep is clean.

Paths renamed (git mv):
- Python package kagenti/ → rossoctl/ (backend, ui-v2, tui, keycloak, auth, tests)
- charts/kagenti → charts/rossoctl; charts/kagenti-deps → charts/rossoctl-deps
- Java pkg io/kagenti → io/rossoctl; setup/cleanup-kagenti.sh → -rossoctl.sh;
  .claude/skills/kagenti* → rossoctl*; .github/scripts/kagenti-operator → operator; docs/diagrams

Content:
- Brand / prose / comments: Kagenti → Rossoctl
- Python: dist kagenti-project → rossoctl-project; packages=["rossoctl"];
  every import kagenti / from kagenti → rossoctl (0 remaining)
- Go TUI module: github.com/kagenti/kagenti/kagenti/tui →
  github.com/rossoctl/rossoctl/rossoctl/tui
- npm: @kagenti/ui → @rossoctl/ui; kagenti-app-demo → rossoctl-app-demo
- Java: io.kagenti.keycloak(.authenticator) → io.rossoctl.keycloak(.authenticator)
- Images ghcr.io/kagenti/* → ghcr.io/rossoctl/*; chart kagenti-operator-chart →
  operator-chart; cross-repo kagenti-extensions → rossocortex,
  kagenti-operator → operator (repo) / rossoctl-operator (deployed identity)
- CODEOWNERS @kagenti/* → @rossoctl/*; CI reusable-workflow refs
  kagenti/.github → rossoctl/.github
- Installer env interface KAGENTI_* → ROSSOCTL_* (~90 vars: KAGENTI_NS, KAGENTI_REPO,
  KAGENTI_CONFIG_FILE, ...). No KAGENTI_* backward-compat fallback (per "no kagenti").
- Runtime contracts: CRD groups agent.kagenti.dev → agent.rossoctl.dev,
  mcp.kagenti.com → mcp.rossoctl.com; label/annotation domains kagenti.io/*,
  protocol/inject/integrations/openshell.kagenti.io → *.rossoctl.io; namespaces
  kagenti-system/-webhook-system → rossoctl-*; Keycloak realm kagenti → rossoctl

Verification:
- grep sweep: 0 `kagenti` (content + paths); no malformed names (two rossoctl-rossoctl-*
  are faithful renames of pre-existing doubled source strings)
- Python: compileall clean; pytest rossoctl/backend/tests → 673 passed;
  no broken internal rossoctl.* imports; uv.lock consistent (uv lock --check)
- ruff check ✅ and ruff format ✅ (7 files reformatted — renamed identifiers grew 1 char)
- Go TUI: go build ✅, go vet ✅, go test ✅ (all packages)
- NOT run locally: root e2e suite (needs kubectl + kind/hypershift cluster),
  Java/Maven build of keycloak SPI (no maven), Helm chart rendering (no helm)

Related to rossoctl#1972

Assisted-By: Claude Opus 4.8 <[email protected]>
Signed-off-by: IBRAHIM IBRAHIM <[email protected]>
# ADK agent with OpenShell supervisor as entrypoint
# Supervisor applies Landlock + seccomp + netns + OPA before exec'ing the agent
FROM ghcr.io/kagenti/openshell/supervisor:v0.0.36-kagenti.8 AS supervisor
FROM ghcr.io/rossoctl/openshell/supervisor:v0.0.36-rossoctl.8 AS supervisor
@@ -1,8 +1,8 @@
# Weather agent running inside OpenShell supervisor
# Supervisor applies Landlock + seccomp, then execs the weather agent
FROM ghcr.io/kagenti/openshell/supervisor:v0.0.36-kagenti.8 AS supervisor
FROM ghcr.io/rossoctl/openshell/supervisor:v0.0.36-rossoctl.8 AS supervisor
@@ -1,5 +1,5 @@
# hadolint ignore=DL3007
FROM kagenti-agent-base:latest
FROM rossoctl-agent-base:latest
Comment thread rossoctl/backend/app/routers/tools.py Outdated
Comment thread rossoctl/backend/app/routers/tools.py Outdated
Comment thread rossoctl/backend/app/routers/agents.py Outdated
Comment thread rossoctl/backend/app/routers/agents.py Outdated
Comment thread rossoctl/backend/app/routers/agents.py Outdated
Comment thread rossoctl/backend/app/routers/agents.py Outdated
Comment thread rossoctl/backend/app/routers/agents.py Outdated
Comment thread rossoctl/backend/app/routers/agents.py Outdated
@@ -2042,7 +2042,7 @@
buildrun_labels = {
k: v
for k, v in build_labels.items()
if k.startswith("kagenti.io/") or k.startswith("app.kubernetes.io/")
if k.startswith("rossoctl.io/") or k.startswith("app.kubernetes.io/")
@@ -2042,7 +2042,7 @@
buildrun_labels = {
k: v
for k, v in build_labels.items()
if k.startswith("kagenti.io/") or k.startswith("app.kubernetes.io/")
if k.startswith("rossoctl.io/") or k.startswith("app.kubernetes.io/")

@mrsabath mrsabath left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Structurally this is a faithful, thorough rename — I spot-checked the sensitive substitutions (image path doubling rossoctl/rossoctl/*, kagenti-extensions→rossocortex, CRD groups *.rossoctl.dev/*.rossoctl.com, kagenti.io/*→rossoctl.io/* labels, KAGENTI_*→ROSSOCTL_* env) and they match the pre-rename source and the #1972 rollout plan. All residual kagenti-named files are old paths being removed, each with an added rossoctl counterpart. Sign-off/DCO ✅.

Requesting changes on one genuine, self-inflicted CI blocker (Chart.lock). The other failing checks are rename-transition artifacts, explained below so they aren't mistaken for defects.

Blocking

  • chart-tests — Chart.lock out of sync (inline). The dependency was renamed in both Chart.yaml and Chart.lock, but the stored digest was carried over unchanged. Helm derives the digest from name+repo+version, so helm dependency build fails. Regenerate the lock (see inline).

Non-blocking (transition sequencing — surfaced so reviewers don't misread them)

  • Deploy & Test — 403 on oci://ghcr.io/rossoctl/operator/operator-chart. The refs are rewritten correctly, but the rossoctl org/registry isn't published yet. Per #1972 this is a dependency-ordering step (publish ghcr.io/rossoctl/* images+charts first). E2E can't go green until then — not a code defect in this PR.
  • CodeQL — "82 new alerts incl. 4 critical". False-positive artifact of a 555-file rename: findings like Incomplete URL substring sanitization fire on rossoctl.io/ string literals whose logic is identical to main. CodeQL's own note: "Alerts not introduced by this PR might have been detected because the changes were too large." Recommend confirming zero net-new alerts vs main before merge.
  • Dependency Review — [email protected] (high). Pre-existing vuln re-surfaced only because the lockfile path moved (kagenti/…→rossoctl/…). Worth a separate bump; shouldn't block the rename.

Nit

  • Title is 74 chars (guideline is <72) and uses a bare ⚠️ prefix. The org title-rule Ruleset expects an allowed word prefix (e.g. Refactor:); the emoji alone may trip that required check on a future re-run even though it's currently green. Consider e.g. Refactor: Rename Kagenti → Rossoctl across the flagship repo.

Areas reviewed: Helm/charts, CI (5 failing checks investigated end-to-end), path renames (974 files), Python packaging, security scanners, commit conventions.
CI status: 5 failing (1 fixable now, 4 transition artifacts), rest passing; E2E HyperShift awaiting /run-e2e.

Comment thread charts/rossoctl/Chart.lock Outdated
- name: operator-chart
repository: oci://ghcr.io/rossoctl/operator
version: 0.3.0-alpha.8
digest: sha256:6a51019293663bc08a44202438a00936c3c4b378045f344fd92061ec7b197d19

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

must-fix — this is what fails chart-tests.

Error: the lock file (Chart.lock) is out of sync with the dependencies file (Chart.yaml). Please update the dependencies

The dependency was renamed in both files — Chart.yaml now has name: operator-chart / repository: oci://ghcr.io/rossoctl/operator, and this lock was string-substituted to match — but digest: sha256:6a51019293663bc08a44202438a00936c3c4b378045f344fd92061ec7b197d19 was carried over verbatim from the old kagenti-operator-chart entry. Helm computes the lock digest from the resolved dependency set (name + repo + version), so renaming the dep invalidates it and helm dependency build refuses to proceed.

Regenerate instead of hand-editing:

helm dependency update charts/rossoctl
helm dependency update charts/rossoctl-deps   # if its Chart.lock exists too

then commit the updated Chart.lock. (Requires the renamed ghcr.io/rossoctl/operator chart to be pullable, which ties into the registry-publish sequencing noted in the summary — you may need that published first to regenerate.)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in b36471d. Didn't hand-edit — regenerated the lock digest for the renamed operator-chart dependency via Helm's HashReq, and validated the recompute by reproducing the pre-rename digest (sha256:6a51019…) byte-for-byte, so the new value is trustworthy.

helm dependency build charts/rossoctl now passes the digest check (Saving 1 charts) and fails only on the expected 403 pulling the not-yet-published oci://ghcr.io/rossoctl/operator — which folds into the ghcr.io/rossoctl/* publish sequencing from #1972 (same class as Deploy & Test), not a defect in this PR.

…ependency

The Helm dependency was renamed in both Chart.yaml and Chart.lock
(kagenti-operator-chart → operator-chart; oci://ghcr.io/kagenti/kagenti-operator
→ oci://ghcr.io/rossoctl/operator), but the lock `digest` was carried over
verbatim. Helm derives the digest from the resolved dependency set
(name+repository+version), so the stale digest made `helm dependency build`
fail with "Chart.lock out of sync" — the chart-tests blocker mrsabath flagged.

Recomputed via Helm's HashReq (validated by reproducing the pre-rename digest
byte-for-byte). `helm dependency build` now passes the digest check and only
fails on the expected 403 pulling the not-yet-published
oci://ghcr.io/rossoctl/operator chart — a registry-publish sequencing artifact
(publish ghcr.io/rossoctl/* first), not a defect in this PR.

Related to rossoctl#1972

Assisted-By: Claude Opus 4.8 <[email protected]>
Signed-off-by: IBRAHIM IBRAHIM <[email protected]>
@Ibrahim2595

Copy link
Copy Markdown
Contributor Author

Thanks for the thorough review, @mrsabath 🙏

Blocking — fixed (b36471d): regenerated charts/rossoctl/Chart.lock's digest for the renamed operator-chart dep (validated by reproducing the pre-rename digest exactly). helm dependency build now clears the digest check and only 403s on the not-yet-published oci://ghcr.io/rossoctl/operator, collapsing into the same ghcr.io/rossoctl/* publish ordering as Deploy & Test. Details in the inline thread.

Non-blocking — agree with your read:

  • Deploy & Test 403 → publish ghcr.io/rossoctl/* images + charts first (dependency ordering per renaming Kagenti to rossoctl #1972).
  • CodeQL "82 new alerts" → large-diff false positives (findings fire on rossoctl.io/ string literals whose logic is identical to main). Will confirm zero net-new vs main before merge.
  • [email protected] → pre-existing, surfaced only because the lockfile path moved. Tracking as a separate bump.

Title nit: happy to switch to a word prefix. One question — the emoji pr-verifier check is currently green on the ⚠️ prefix, so which form satisfies both it and the title Ruleset? (e.g. does ⚠️ Refactor: … pass, or should it be a bare Refactor:?) I'll apply the same across all four rename PRs (#733, #678, #485, and this one).

@mrsabath

Copy link
Copy Markdown
Member

Blocked on Phase 3 of the rename rollout ordering (see #1972). This PR unblocks once oci://ghcr.io/rossoctl/operator/operator-chart is published — then helm dependency update charts/rossoctl + charts/rossoctl-deps regenerates the correct Chart.lock digest. Note: string-replacing the digest won't pass chart-tests — Helm computes it from the resolved dependency, so the OCI chart must be pullable first.

@mrsabath mrsabath mentioned this pull request Jul 20, 2026
11 of 18 tasks
@mrsabath
mrsabath merged commit 6d7cde7 into rossoctl:main Jul 20, 2026
28 of 33 checks passed
@github-project-automation github-project-automation Bot moved this from New/ToDo to Done in Rossoctl Issue Prioritization Jul 20, 2026
mrsabath pushed a commit that referenced this pull request Jul 20, 2026
Follow-up to the Rossoctl rename: #2230 merged the rename + Chart.lock fix but not
the later rossocortex→cortex change.

- rossocortex → cortex (55 files): image refs ghcr.io/rossoctl/rossocortex/* →
  ghcr.io/rossoctl/cortex/*, cross-repo doc links (AuthBridge demos), prose
- Fix the extensions webhook-chart name (tracks the extensions repo name):
  rossoctl-webhook-chart → cortex-webhook-chart
  (oci://ghcr.io/rossoctl/cortex/cortex-webhook-chart) in release docs + skill

Verification: git grep clean of rossocortex, kagenti, and rossoctl-webhook-chart;
TUI go build ✅; ruff check + format ✅. Chart.lock digest already correct on main.

Related to #1972

Assisted-By: Claude Opus 4.8 <[email protected]>
Signed-off-by: IBRAHIM IBRAHIM <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants