Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

refactor: remove cli.py and consolidate Alembic config#217

Merged
karaktaka merged 1 commit into
mainfrom
refactor/remove-cli-consolidate-alembic
Feb 20, 2026
Merged

refactor: remove cli.py and consolidate Alembic config#217
karaktaka merged 1 commit into
mainfrom
refactor/remove-cli-consolidate-alembic

Conversation

@karaktaka
Copy link
Copy Markdown
Contributor

@karaktaka karaktaka commented Feb 20, 2026

Summary

  • Remove cli.py and [project.scripts] entry points (closes #191 — typer CLI no longer planned)
  • Remove separate HumanMusic Alembic config (alembic-humanmusic.ini) since SQLAlchemy auto-creates tables at startup
  • Rename alembic-nerpybot.inialembic.ini (standard name, no -c flag needed)
  • Flatten database-migrations/nerpybot/versions/database-migrations/versions/ (standard Alembic layout)
  • Simplify Dockerfile migrations target (exec-form CMD, no ALEMBIC_CONFIG env var)
  • Remove humanmusic-migrations service from docker-compose (HumanMusic starts directly)
  • Update GitHub Actions workflows, CLAUDE.md, and architecture docs

Net change: -116 lines across 18 files.

Test plan

  • ruff check passes
  • ruff format --check passes
  • pytest — 330 tests pass
  • actionlint — workflows valid
  • prettier --check — markdown/YAML formatted
  • Docker build: docker buildx build --target migrations -t test . and verify docker run --rm test alembic heads

🤖 Generated with Claude Code

Remove cli.py entry points (closes #191) and the separate HumanMusic
Alembic config since SQLAlchemy auto-creates tables at startup. Rename
alembic-nerpybot.ini to alembic.ini and flatten migration versions into
database-migrations/versions/.

Co-Authored-By: Claude <noreply@anthropic.com>
@karaktaka karaktaka merged commit 6024f79 into main Feb 20, 2026
6 checks passed
@karaktaka karaktaka deleted the refactor/remove-cli-consolidate-alembic branch February 20, 2026 12:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

proper CLI with typer for bot invocation

1 participant