rename(547): the server is grimoire — package, image, DB defaults, backups
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 12s
CI & Build / TypeScript typecheck (push) Successful in 56s
CI & Build / integration (push) Successful in 1m4s
CI & Build / Python tests (push) Successful in 1m55s
CI & Build / Build & push image (push) Successful in 44s
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 12s
CI & Build / TypeScript typecheck (push) Successful in 56s
CI & Build / integration (push) Successful in 1m4s
CI & Build / Python tests (push) Successful in 1m55s
CI & Build / Build & push image (push) Successful in 44s
Step 2 of the Scribe -> Grimoire rename. - src/scribe -> src/grimoire, and every import, patch target, module path, hypercorn entry point and `python -m grimoire.restore` with it; pyproject, uv.lock and the frontend package are named grimoire. - Image git.fabledsword.com/bvandeusen/fabledgrimoire; CI's Postgres service runs as grimoire / grimoire_test. - Compose files default the DB user, database and (prod) volume to grimoire, each overridable from .env, so an install created as Scribe keeps its data by setting POSTGRES_USER, POSTGRES_DB and PGDATA_VOLUME. - Backups are written as grimoire-<ts>.tar with format grimoire-backup-tar. Archives named scribe-* with the scribe-backup-tar manifest still restore and are still counted at the destination (folder and S3), with tests. - Exports, the MCP auth realm, the ASGI scope key and the persistent logger carry the new name. Kept on purpose: the secret-sealing key label stays "scribe.secrets.v1", because every stored secret was derived under it. Plugin identity (plugin name, hooks, env vars, .scribe marker, skills) is step 3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,8 +22,8 @@ from pathlib import Path
|
||||
import pytest
|
||||
import pytest_asyncio
|
||||
|
||||
from scribe.services import notes as notes_svc
|
||||
from scribe.services import task_claims as tc
|
||||
from grimoire.services import notes as notes_svc
|
||||
from grimoire.services import task_claims as tc
|
||||
from tests.helpers import ensure_user
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
@@ -137,7 +137,7 @@ def test_the_binder_hook_watches_the_two_writes_that_stamp_a_claim():
|
||||
|
||||
@pytest_asyncio.fixture
|
||||
async def users(_dispose_engine):
|
||||
from scribe.models import async_session
|
||||
from grimoire.models import async_session
|
||||
|
||||
async with async_session() as session:
|
||||
a = (await ensure_user(session, "claims_itest_a")).id
|
||||
@@ -243,8 +243,8 @@ def test_the_session_start_hook_sends_the_source_and_the_session():
|
||||
|
||||
@pytest.mark.integration
|
||||
async def test_session_start_after_a_compaction_carries_the_claimed_task(users):
|
||||
from scribe.services import task_logs
|
||||
from scribe.services.plugin_context import build_session_context
|
||||
from grimoire.services import task_logs
|
||||
from grimoire.services.plugin_context import build_session_context
|
||||
|
||||
owner, _ = users
|
||||
task = await notes_svc.create_note(owner, title="claimed then compacted",
|
||||
@@ -290,7 +290,7 @@ async def test_a_collaborator_with_write_access_can_log_and_so_claims(users):
|
||||
"""create_log filters on who may write the TASK, not on its owner, so a
|
||||
collaborator on a shared task can log on it — nor, since logging
|
||||
stamps the claim, ever be seen working it."""
|
||||
from scribe.services import sharing, task_logs
|
||||
from grimoire.services import sharing, task_logs
|
||||
|
||||
owner, collaborator = users
|
||||
task = await notes_svc.create_note(owner, title="shared work", status="todo")
|
||||
|
||||
Reference in New Issue
Block a user