refactor: rename all hostexecutor → jepa-fx-risk (template remnants) #9

Closed
opened 2026-05-28 05:51:55 +00:00 by mathias · 0 comments
Owner

What

The repo was bootstrapped from mathias/template-go-web which seeded the project
with the name hostexecutor throughout. This name must be fully purged and replaced
with jepa-fx-risk (or removed where the files themselves are being dropped).

Supersedes the rename-related items in Issue #6, which can be closed once this is done.

Full inventory of occurrences to fix

Files to update in-place

File Change
go.mod Module path: gitea.d-ma.be/mathias/hostexecutorgitea.d-ma.be/mathias/jepa-fx-risk
cmd/hostexecutor/main.go Import path update after go.mod change (or remove — see below)
.gitea/workflows/cd.yml env.IMAGE: hostexecutor and all references → remove entirely (replace with Issue #7 CI workflow)
CLAUDE.md Already fixed in PR #8 via task context:sync post-merge
AGENTS.md Same — regenerated by task context:sync
.cursorrules Same — regenerated by task context:sync
.aider.conventions.md Same — regenerated by task context:sync
.context/system-prompt.txt Same — regenerated by task context:sync

Files/directories to remove entirely

These belong to the Go-web template scaffold and have no place in a research project:

Path Reason
cmd/hostexecutor/ Template entrypoint — replaced by research CLI (future issue)
internal/web/ Template HTMX scaffold — dashboard will be rebuilt from scratch
Dockerfile Go-web container image — not applicable to GPU training project
.gitea/workflows/cd.yml Go-web CD pipeline — replaced by Issue #7 CI workflow

Files to keep as-is

File Reason
.aider.conf.yml Functional — references .aider.conventions.md which context:sync regenerates
Taskfile.yml Functional — update task names if cmd/ is removed
.context/mcp.json Fine
.skills/ Fine

Acceptance criteria

  • go.mod module path is gitea.d-ma.be/mathias/jepa-fx-risk
  • grep -r "hostexecutor" . returns no results (excluding .git/)
  • cmd/hostexecutor/, internal/, Dockerfile, .gitea/workflows/cd.yml removed
  • PR #8 merged first so task context:sync regenerates the agent context files correctly
  • go build ./... passes after module path update (or cmd/ is removed)
  • Issue #6 closed as superseded

Prerequisites

  • PR #8 merged (provides correct PROJECT.md for task context:sync)
  • Issue #7 CI workflow landed or in-flight (so cd.yml removal doesn't leave CI empty)
## What The repo was bootstrapped from `mathias/template-go-web` which seeded the project with the name `hostexecutor` throughout. This name must be fully purged and replaced with `jepa-fx-risk` (or removed where the files themselves are being dropped). Supersedes the rename-related items in Issue #6, which can be closed once this is done. ## Full inventory of occurrences to fix ### Files to update in-place | File | Change | |---|---| | `go.mod` | Module path: `gitea.d-ma.be/mathias/hostexecutor` → `gitea.d-ma.be/mathias/jepa-fx-risk` | | `cmd/hostexecutor/main.go` | Import path update after go.mod change (or remove — see below) | | `.gitea/workflows/cd.yml` | `env.IMAGE: hostexecutor` and all references → remove entirely (replace with Issue #7 CI workflow) | | `CLAUDE.md` | Already fixed in PR #8 via `task context:sync` post-merge | | `AGENTS.md` | Same — regenerated by `task context:sync` | | `.cursorrules` | Same — regenerated by `task context:sync` | | `.aider.conventions.md` | Same — regenerated by `task context:sync` | | `.context/system-prompt.txt` | Same — regenerated by `task context:sync` | ### Files/directories to remove entirely These belong to the Go-web template scaffold and have no place in a research project: | Path | Reason | |---|---| | `cmd/hostexecutor/` | Template entrypoint — replaced by research CLI (future issue) | | `internal/web/` | Template HTMX scaffold — dashboard will be rebuilt from scratch | | `Dockerfile` | Go-web container image — not applicable to GPU training project | | `.gitea/workflows/cd.yml` | Go-web CD pipeline — replaced by Issue #7 CI workflow | ### Files to keep as-is | File | Reason | |---|---| | `.aider.conf.yml` | Functional — references `.aider.conventions.md` which context:sync regenerates | | `Taskfile.yml` | Functional — update task names if `cmd/` is removed | | `.context/mcp.json` | Fine | | `.skills/` | Fine | ## Acceptance criteria - [ ] `go.mod` module path is `gitea.d-ma.be/mathias/jepa-fx-risk` - [ ] `grep -r "hostexecutor" .` returns no results (excluding `.git/`) - [ ] `cmd/hostexecutor/`, `internal/`, `Dockerfile`, `.gitea/workflows/cd.yml` removed - [ ] PR #8 merged first so `task context:sync` regenerates the agent context files correctly - [ ] `go build ./...` passes after module path update (or `cmd/` is removed) - [ ] Issue #6 closed as superseded ## Prerequisites - PR #8 merged (provides correct PROJECT.md for `task context:sync`) - Issue #7 CI workflow landed or in-flight (so cd.yml removal doesn't leave CI empty)
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mathias/jepa-fx-risk#9