refactor: rename package fabledassistant -> scribe (code-only)
CI & Build / Python lint (push) Successful in 3s
CI & Build / TypeScript typecheck (push) Successful in 35s
CI & Build / Python tests (push) Successful in 54s
CI & Build / Build & push image (push) Successful in 1m14s

Renames src/fabledassistant -> src/scribe and all imports, plus the
default DB name and DB user/password (fabled -> scribe) in config +
compose. 952 refs / 154 files. Reverses the old 'internal name stays
fabledassistant' convention.

Code-only: live databases are still physically named 'fabledassistant'.
Deployed environments must set POSTGRES_DB / POSTGRES_USER (or rename the
DB) since the defaults now resolve to 'scribe'. Repo (FabledScribe), git
host (fabledsword), MCP (fabled-git) and the image name (fabledscribe)
are intentionally unchanged.

ruff check src/ clean locally; CI (typecheck + pytest) is the gate.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-03 15:48:35 -04:00
parent 1d4c206563
commit b255a0f90e
167 changed files with 1183 additions and 2368 deletions
+5 -5
View File
@@ -34,10 +34,10 @@ async def test_update_note_persists_description():
mock_note.project_id = None
with patch(
"fabledassistant.services.notes.async_session",
"scribe.services.notes.async_session",
return_value=_mock_session_for_update(mock_note),
):
from fabledassistant.services.notes import update_note
from scribe.services.notes import update_note
await update_note(1, 1, description="the goal text")
assert mock_note.description == "the goal text"
@@ -64,9 +64,9 @@ async def test_create_note_forwards_description_to_model():
mock_session.__aexit__ = AsyncMock(return_value=False)
with patch(
"fabledassistant.services.notes.async_session", return_value=mock_session
), patch("fabledassistant.services.notes.Note", FakeNote):
from fabledassistant.services.notes import create_note
"scribe.services.notes.async_session", return_value=mock_session
), patch("scribe.services.notes.Note", FakeNote):
from scribe.services.notes import create_note
await create_note(
user_id=1, title="renew cert", description="the goal text",
)