Skip to content

Commit cc97a79

Browse files
committed
⚠️ Rename rossocortex → cortex + clean residual kagenti refs
Follow-up to the Rossoctl rename: #485 merged the rename + go.sum fixes but not the later rossocortex→cortex change, and .claude/skills files that landed on main after the branch still referenced kagenti. - rossocortex → cortex (19 files): token-broker require github.com/rossoctl/rossocortex/authbridge/authlib → .../cortex/...; webhook image defaults + e2e ghcr.io/rossoctl/rossocortex/* → ghcr.io/rossoctl/cortex/* - Residual kagenti → rossoctl in .claude/skills (9 files): /tmp/kagenti/* → /tmp/rossoctl/*, kagenti-operator-controller-manager → rossoctl-operator-controller-manager, Kagenti brand Verification: go build ✅, go vet ✅, internal/webhook/config test ✅; git grep clean of kagenti and rossocortex. token-broker depends on github.com/rossoctl/cortex/authbridge/authlib, which resolves once cortex #680 merges and its authlib module publishes under the cortex path. Related to #1972 Assisted-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: IBRAHIM IBRAHIM <66755652+Ibrahim2595@users.noreply.github.com>
1 parent a460834 commit cc97a79

28 files changed

Lines changed: 76 additions & 76 deletions

File tree

.claude/skills/orchestrate/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ What was provided?
6363

6464
### Route logic
6565

66-
1. **`/orchestrate <repo-path>`** -- If the path points to a git repository, derive the target name from the directory basename. Check `/tmp/kagenti/orchestrate/<target>/` for existing state. If no scan report exists, invoke `orchestrate:scan`. If scan exists but no plan, invoke `orchestrate:plan`. If both exist, determine the next incomplete phase and invoke it.
66+
1. **`/orchestrate <repo-path>`** -- If the path points to a git repository, derive the target name from the directory basename. Check `/tmp/rossoctl/orchestrate/<target>/` for existing state. If no scan report exists, invoke `orchestrate:scan`. If scan exists but no plan, invoke `orchestrate:plan`. If both exist, determine the next incomplete phase and invoke it.
6767

6868
2. **`/orchestrate <phase>`** -- Validate that `scan-report.md` and `plan.md` exist for the current target. If missing, instruct the user to run `/orchestrate <repo-path>` first. Otherwise invoke the requested phase skill directly (e.g., `orchestrate:precommit`).
6969

70-
3. **`/orchestrate status`** -- List all directories under `/tmp/kagenti/orchestrate/`, read each target's `phase-status.md`, and display a summary table showing target name, current phase, and completion percentage.
70+
3. **`/orchestrate status`** -- List all directories under `/tmp/rossoctl/orchestrate/`, read each target's `phase-status.md`, and display a summary table showing target name, current phase, and completion percentage.
7171

7272
## Phase Status Tracking
7373

74-
All orchestration state is persisted under `/tmp/kagenti/orchestrate/<target>/`:
74+
All orchestration state is persisted under `/tmp/rossoctl/orchestrate/<target>/`:
7575

7676
| File | Purpose |
7777
|------|---------|
@@ -154,5 +154,5 @@ git clone git@github.com:org/repo.git .repos/repo-name
154154

155155
| Skill | Description |
156156
|-------|-------------|
157-
| `onboard:link` | Link a newly-orchestrated repo to Kagenti |
157+
| `onboard:link` | Link a newly-orchestrated repo to Rossoctl |
158158
| `onboard:standards` | Apply organizational standards and conventions |

.claude/skills/orchestrate:ci/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ security scanning, dependency management, and supply chain hardening.
3939

4040
## Prerequisites
4141

42-
- Plan exists at `/tmp/kagenti/orchestrate/<target>/plan.md`
43-
- Scan report at `/tmp/kagenti/orchestrate/<target>/scan-report.md`
42+
- Plan exists at `/tmp/rossoctl/orchestrate/<target>/plan.md`
43+
- Scan report at `/tmp/rossoctl/orchestrate/<target>/scan-report.md`
4444
- Target repo in `.repos/<target>/`
4545

4646
## Read Scan Report First
@@ -402,7 +402,7 @@ gh pr create --repo org/repo --title "Add comprehensive CI workflows" --body "Ph
402402

403403
## Update Phase Status
404404

405-
Set ci to `complete` in `/tmp/kagenti/orchestrate/<target>/phase-status.md`.
405+
Set ci to `complete` in `/tmp/rossoctl/orchestrate/<target>/phase-status.md`.
406406

407407
## Related Skills
408408

.claude/skills/orchestrate:plan/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ is Phase 1 — interactive brainstorming with the developer, no PRs.
3333
Scan report must exist:
3434

3535
```bash
36-
cat /tmp/kagenti/orchestrate/<target>/scan-report.md
36+
cat /tmp/rossoctl/orchestrate/<target>/scan-report.md
3737
```
3838

3939
## Planning Process
@@ -78,7 +78,7 @@ Target 600-700 lines per PR. For each phase:
7878

7979
## Plan Output
8080

81-
Save to `/tmp/kagenti/orchestrate/<target>/plan.md`:
81+
Save to `/tmp/rossoctl/orchestrate/<target>/plan.md`:
8282

8383
```markdown
8484
# Enhancement Plan: <target>
@@ -128,7 +128,7 @@ Save to `/tmp/kagenti/orchestrate/<target>/plan.md`:
128128
Initialize phase tracking:
129129

130130
```bash
131-
cat > /tmp/kagenti/orchestrate/<target>/phase-status.md << 'EOF'
131+
cat > /tmp/rossoctl/orchestrate/<target>/phase-status.md << 'EOF'
132132
# Phase Status: <target>
133133
134134
| Phase | Status | PR | Date |

.claude/skills/orchestrate:precommit/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ produces PR #1 — the foundation that validates all subsequent PRs.
3535

3636
## Prerequisites
3737

38-
- Plan exists at `/tmp/kagenti/orchestrate/<target>/plan.md`
38+
- Plan exists at `/tmp/rossoctl/orchestrate/<target>/plan.md`
3939
- Target repo cloned in `.repos/<target>/`
4040

4141
## Step 1: Detect Language
@@ -212,7 +212,7 @@ gh pr create --repo org/repo --title "Add pre-commit hooks and code quality base
212212

213213
## Update Phase Status
214214

215-
Update `/tmp/kagenti/orchestrate/<target>/phase-status.md`:
215+
Update `/tmp/rossoctl/orchestrate/<target>/phase-status.md`:
216216
- Set precommit to `complete`
217217
- Record PR number and date
218218

.claude/skills/orchestrate:review/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ submits reviews after user approval.
3737

3838
## Prerequisites
3939

40-
- `scan-report.md` and `plan.md` exist in `/tmp/kagenti/orchestrate/<target>/`
40+
- `scan-report.md` and `plan.md` exist in `/tmp/rossoctl/orchestrate/<target>/`
4141
- Phases 2-6 are complete (or at least the phases that were planned)
4242
- PRs are open on the target repo
4343

@@ -210,7 +210,7 @@ Update `phase-status.md` when complete:
210210

211211
```bash
212212
# Update phase-status.md
213-
sed -i '' 's/| review .*/| review | complete | -- | YYYY-MM-DD |/' /tmp/kagenti/orchestrate/<target>/phase-status.md
213+
sed -i '' 's/| review .*/| review | complete | -- | YYYY-MM-DD |/' /tmp/rossoctl/orchestrate/<target>/phase-status.md
214214
```
215215

216216
## Related Skills

.claude/skills/orchestrate:scan/SKILL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ Then follow the `cve:scan` skill workflow:
277277
Advisory Database
278278
4. **Classify** — confirmed / suspected / false positive
279279

280-
Write CVE findings to `/tmp/kagenti/cve/<target>/scan-report.json` (never to
280+
Write CVE findings to `/tmp/rossoctl/cve/<target>/scan-report.json` (never to
281281
git-tracked files). Include a summary in the scan report.
282282

283283
Key areas to focus on:
@@ -326,10 +326,10 @@ git -C .repos/<target> remote -v
326326

327327
## Output Format
328328

329-
Save scan report to `/tmp/kagenti/orchestrate/<target>/scan-report.md`:
329+
Save scan report to `/tmp/rossoctl/orchestrate/<target>/scan-report.md`:
330330

331331
```bash
332-
mkdir -p /tmp/kagenti/orchestrate/<target>
332+
mkdir -p /tmp/rossoctl/orchestrate/<target>
333333
```
334334

335335
Report template:
@@ -439,7 +439,7 @@ Report template:
439439

440440
## Dependency Vulnerabilities (cve:scan)
441441
- Scan method: [Trivy + LLM + WebSearch / LLM + WebSearch / LLM only]
442-
- Full report: `/tmp/kagenti/cve/<target>/scan-report.json`
442+
- Full report: `/tmp/rossoctl/cve/<target>/scan-report.json`
443443

444444
| Severity | Count |
445445
|----------|-------|
@@ -458,7 +458,7 @@ Report template:
458458
|---------|----------|---------|
459459
| [e.g., insecure port, no input validation] | HIGH/MEDIUM | [brief description] |
460460

461-
> **Note:** CVE IDs and detailed descriptions are in `/tmp/kagenti/cve/<target>/scan-report.json` only.
461+
> **Note:** CVE IDs and detailed descriptions are in `/tmp/rossoctl/cve/<target>/scan-report.json` only.
462462
> Do NOT copy CVE IDs into git-tracked files, PRs, or issues.
463463
464464
## Gap Summary

.claude/skills/skills:scan/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,10 @@ Rate each skill 1-5:
180180

181181
### Phase 6: Generate Report
182182

183-
Save to `/tmp/kagenti/skills-scan/`:
183+
Save to `/tmp/rossoctl/skills-scan/`:
184184

185185
```bash
186-
mkdir -p /tmp/kagenti/skills-scan
186+
mkdir -p /tmp/rossoctl/skills-scan
187187
```
188188

189189
Output a structured report:

.claude/skills/skills:validate/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,18 @@ Commands target local Kind clusters or test environments.
6060

6161
Check pod status:
6262
```bash
63-
kubectl get pods -n kagenti-system
63+
kubectl get pods -n rossoctl-system
6464
```
6565

6666
Check logs:
6767
```bash
68-
kubectl logs -n kagenti-system deployment/kagenti-operator-controller-manager
68+
kubectl logs -n rossoctl-system deployment/rossoctl-operator-controller-manager
6969
```
7070

7171
## BAD (chained commands won't match auto-approve patterns)
7272

7373
```bash
74-
kubectl get pods -n kagenti-system && kubectl logs -n kagenti-system deployment/kagenti-operator-controller-manager
74+
kubectl get pods -n rossoctl-system && kubectl logs -n rossoctl-system deployment/rossoctl-operator-controller-manager
7575
```
7676
```
7777

.claude/skills/skills:write/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ Claude Code auto-approves commands by matching the first token against `.claude/
100100
```markdown
101101
Check pod status:
102102
```bash
103-
kubectl get pods -n kagenti-system
103+
kubectl get pods -n rossoctl-system
104104
```
105105

106106
Check logs:
107107
```bash
108-
kubectl logs -n kagenti-system deployment/kagenti-operator-controller-manager
108+
kubectl logs -n rossoctl-system deployment/rossoctl-operator-controller-manager
109109
```
110110
```
111111

@@ -117,10 +117,10 @@ Commands targeting management clusters or AWS need user approval anyway, so mult
117117

118118
### Temporary Files
119119

120-
Skills that download logs, artifacts, or save analysis output should use `/tmp/kagenti-operator/<skill-category>/` as the working directory:
120+
Skills that download logs, artifacts, or save analysis output should use `/tmp/operator/<skill-category>/` as the working directory:
121121

122122
```bash
123-
mkdir -p /tmp/kagenti-operator/rca
123+
mkdir -p /tmp/operator/rca
124124
```
125125

126126
### Update settings.json

charts/operator/templates/manager/manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ spec:
193193
{{- end }}
194194
{{- if and .Values.spiffe .Values.spiffe.enabled .Values.spiffe.operatorAuth .Values.spiffe.operatorAuth.enabled }}
195195
- name: spiffe-helper
196-
image: ghcr.io/rossoctl/rossocortex/spiffe-helper:latest
196+
image: ghcr.io/rossoctl/cortex/spiffe-helper:latest
197197
imagePullPolicy: IfNotPresent
198198
args:
199199
- "-config"

0 commit comments

Comments
 (0)