chore: Retire kagenti->rossoctl clone remap - #60
Open
rubambiza wants to merge 1 commit into
Open
Conversation
The transitional PROFILE_REMAP bridged pre-rename clone-dir basenames (kagenti, kagenti-extensions) to their canonical repo names while stale-named clones still lived on the scanner host. Those duplicate clones have been removed, so each core repo now has a single, canonically named clone. Empty PROFILE_REMAP so canonical_repo_for_dir() resolves to identity, and refresh the org.sh comments to describe the generic mechanism without asserting an active kagenti bridge. The function and its data-driven design are kept so a future org whose clone dirs are mis-named can re-enable the remap via PROFILE_REMAP. No logic change; existing tests pass unchanged (empty-REMAP identity is already covered). Assisted-By: Claude Code (Anthropic AI) <noreply@anthropic.com> Signed-off-by: Gloire Rubambiza <gloire@ibm.com>
This was referenced Aug 19, 2026
Closed
Closed
Closed
🐛 Broken link in docs/users-guides/PERSONAS_AND_ROLES.md: http://rossoctl.io/
rossoctl/rossoctl#2378
Closed
clawgenti
reviewed
Aug 19, 2026
clawgenti
left a comment
Contributor
There was a problem hiding this comment.
Straightforward doc-and-data retirement — empties PROFILE_REMAP and refreshes comments to describe the generic mechanism without the now-gone kagenti bridge. All checks pass. Ready for human review.
Reviewed by clawgenti using the github-pr-review skill
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Retires the transitional
kagenti->rossoctlclone-dir remap now that thestale-named clones have been removed from the scanner host.
Background
The link-health scanner iterates local clones by globbing
$REPOS_DIR/*/,which expands alphabetically. A stale
kagenticlone (a copy ofrossoctl/rossoctl, weeks out of date) sorted ahead of the freshrossoctlclone. Both canonicalize to
rossoctlviaPROFILE_REMAP, and theorder-dependent dedup kept the first one it saw — the stale copy. The scanner
therefore read outdated files and re-filed broken-link issues that had already
been fixed on
main.The stale duplicate clones have since been removed from the host, so each core
repo now has a single, canonically named clone.
Change
PROFILE_REMAPinconfig/org.env(data-only). With no mis-namedclone dirs remaining,
canonical_repo_for_dir()falls through to identity.org.shcomments to describe the generic, data-driven mechanismrather than asserting an active kagenti bridge.
canonical_repo_for_dir()and its data-driven design are intentionally kept soa future org whose clone dirs are mis-named can re-enable the remap via
PROFILE_REMAP. No control-flow change; the allowlist filter and duplicatededup are untouched.
Testing
tests/test-core-repos.sh,tests/test-org-profile.sh,tests/test-lib-modules.sh,tests/test-lib-inventory.sh— pass.config/org.envconfirmsREMAPis empty andcanonical_repo_for_dirreturns identity forkagenti,rossoctl,cortex.Fixes #37
Assisted-By: Claude Code