Skip to content

refactor: rename code-iq → codeiq across the project#62

Merged
aksOps merged 1 commit into
mainfrom
rename/code-iq-to-codeiq
Apr 23, 2026
Merged

refactor: rename code-iq → codeiq across the project#62
aksOps merged 1 commit into
mainfrom
rename/code-iq-to-codeiq

Conversation

@aksOps
Copy link
Copy Markdown
Contributor

@aksOps aksOps commented Apr 23, 2026

Summary

Full rename of the project name from code-iqcodeiq, following the GitHub repo rename to RandomCodeSpace/codeiq. Greenfield — no downstream consumers, so no compatibility shims retained.

What renamed

Surface Before After
CLI command code-iq index /repo codeiq index /repo
Picocli @Command(name = …) code-iq codeiq
SonarCloud project key RandomCodeSpace_code-iq RandomCodeSpace_codeiq
Disk cache path .code-iq/cache (and stale .code-intelligence/) .codeiq/cache
Disk graph path .code-iq/graph/graph.db .codeiq/graph/graph.db
Deprecated config path .osscodeiq.yml / .osscodeiq/graph.db dropped entirely
Repo URL refs github.com/RandomCodeSpace/code-iq github.com/RandomCodeSpace/codeiq

All ~25 CLI source files under src/main/java/.../cli/ updated for help text, error messages, example commands. Docs (README.md, CLAUDE.md, docs/codeiq.yml.example), CI workflows (.github/workflows/*.yml), scripts, sonar-project.properties, spotbugs-exclude.xml, .dockerignore, .gitignore, playwright.config.ts, application.yml, frontend package.json, config defaults (ConfigDefaults.java, CodeIqConfig.java) all updated.

Deleted .osscodeiq.yml deprecation shim in ProjectConfigLoader + its test coverage (ProjectConfigLoaderApplyOverridesTest).

What intentionally did not rename

  • Maven <artifactId>code-iq</artifactId> — explicitly kept per project-owner request. JAR filename stays code-iq-*.jar. Anywhere the codebase references the JAR filename (CI artifact upload, BundleCommand generated run scripts, README java -jar examples, playwright.config.ts) correctly retains code-iq-*.jar.
  • Java package io.github.randomcodespace.iq.* — groupId unchanged; renaming packages would be a massive orthogonal diff with zero user-visible benefit.
  • Class names (CodeIqCli, CodeIqApplication, CodeIqConfig, CodeIqUnifiedConfig, …) — idiomatic PascalCase, no literal hyphen.
  • Config namespace codeiq.* in YAML/annotations — already target form (no change needed).
  • Historical baseline logs under docs/superpowers/baselines/2026-04-17/raw/** and planning/spec docs under docs/superpowers/plans/ & docs/superpowers/specs/ — intentionally preserved to document pre-rename state.

Tests

  • 3395/3395 passing, 0 failures, 31 skipped (unchanged)
  • -1 test class (ProjectConfigLoaderApplyOverridesTest, ~5 tests gone with the deprecation shim)

Action required after merge

Create a new SonarCloud project RandomCodeSpace_codeiq via the SonarCloud UI. The old RandomCodeSpace_code-iq project can be archived.

🤖 Generated with Claude Code

- CLI @command name: code-iq → codeiq
- SonarCloud project key: RandomCodeSpace_code-iq → RandomCodeSpace_codeiq
- Disk paths normalized: .code-iq / .code-intelligence / .osscodeiq → .codeiq
- Docs, CI workflows, scripts, test resources, config defaults
- Maven artifactId intentionally kept as code-iq (JAR filename preserved)
- Dropped .osscodeiq.yml deprecation shim (greenfield — no migration needed)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
78.4% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@aksOps aksOps merged commit cab71a4 into main Apr 23, 2026
7 of 8 checks passed
@aksOps aksOps deleted the rename/code-iq-to-codeiq branch April 26, 2026 05:52
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.

1 participant