Skip to content

refactor: rename module to github.com/osapi-io/osapi - #446

Merged
retr0h merged 2 commits into
mainfrom
refactor/module-path
Aug 16, 2026
Merged

refactor: rename module to github.com/osapi-io/osapi#446
retr0h merged 2 commits into
mainfrom
refactor/module-path

Conversation

@retr0h

@retr0h retr0h commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

Implements document-system-architecture tasks 2.1, 2.2, 3.4, and 3.5.

The module declared github.com/retr0h/osapi while the repository lives under osapi-io. This renames it and every import — 1,131 tracked files (1,080 Go, 24 YAML, 23 Markdown, 3 go.mod, 1 TypeScript).

Safe to rename

Task 2.1 asked whether anything outside the organization consumes the old path. Nothing does:

  • GitHub code search for github.com/retr0h/osapi returns only this repository.
  • pkg.go.dev reports "No known importers."

osapi-orchestrator is the only consumer, inside the org. It follows in a separate PR once this publishes — the sequencing the change calls for.

Two more homes the compiler could not check

Both added by osapi-io/specs#70 as tasks 3.4 and 3.5:

  • docs/docusaurus.config.ts set organizationName: 'retr0h' three lines below url: 'https://osapi-io.github.io/'. The file contradicted itself and the site published anyway.
  • contributing.md linked Discussions to retr0h/go-gilt — a different project, not a former owner.

Attribution is untouched: @retr0h as document author, NOTE(retr0h) comments, and the repos.json branch-protection entry all name a person.

Verification

  • just test — passes, coverage 100.0% against the 99.9% target
  • just build — passes
  • Both nested example modules build; their replace directives point at the repository root and are unchanged
  • No non-attribution retr0h reference remains outside docs/plans/

🤖 Generated with Claude Code

The module declared github.com/retr0h/osapi while living under
osapi-io. Rename it and its own imports across 1,131 tracked files.

Two further declarations named retr0h without being module paths, so
the toolchain never caught them: the Docusaurus organizationName,
three lines below a URL contradicting it, and a Discussions link
pointing at go-gilt, a different project.

Nothing outside the organization imports the old path — GitHub code
search returns only this repository, and pkg.go.dev lists no
importers. osapi-orchestrator follows once this publishes.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #446   +/-   ##
=======================================
  Coverage   99.94%   99.94%           
=======================================
  Files         484      484           
  Lines       24935    24935           
=======================================
  Hits        24921    24921           
  Misses         14       14           
Files with missing lines Coverage Δ
internal/agent/agent.go 100.00% <ø> (ø)
internal/agent/condition.go 100.00% <ø> (ø)
internal/agent/consumer.go 100.00% <ø> (ø)
internal/agent/drain.go 100.00% <ø> (ø)
internal/agent/enrollment.go 100.00% <ø> (ø)
internal/agent/factref.go 100.00% <ø> (ø)
internal/agent/facts.go 100.00% <ø> (ø)
internal/agent/handler.go 100.00% <ø> (ø)
internal/agent/heartbeat.go 100.00% <ø> (ø)
internal/agent/identity/identity.go 100.00% <ø> (ø)
... and 33 more

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3c8be0...0f765e8. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@retr0h
retr0h merged commit f3c1a6c into main Aug 16, 2026
12 checks passed
@retr0h
retr0h deleted the refactor/module-path branch August 16, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant