rename(547): the repo is FabledGrimoire, and no stray "scribe" is left
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 54s
CI & Build / integration (push) Successful in 1m1s
CI & Build / Python tests (push) Successful in 2m2s
CI & Build / Build & push image (push) Successful in 28s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 54s
CI & Build / integration (push) Successful in 1m1s
CI & Build / Python tests (push) Successful in 2m2s
CI & Build / Build & push image (push) Successful in 28s
The forge repo is now bvandeusen/FabledGrimoire. The plugin marketplace default, the install commands in the docs and plugin README, the CI requirements title and the example repo URLs in comments and tests follow it. docs/development.md now names the image the build actually publishes, fabledgrimoire. Two test names still said "scribes_own"; they now say "grimoires_own". What still says scribe does so on purpose: - the backup reader's accepted archive names and prefix; - the label every stored secret is sealed under; - the notes on keeping an old install's database names; - the old migrations. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -65,7 +65,7 @@ def test_a_bare_integer_is_a_valid_marker(tmp_path):
|
||||
|
||||
|
||||
def test_the_marker_is_found_from_a_subdirectory(tmp_path):
|
||||
_marker(tmp_path, instance=INSTANCE, project_id=2, project="FabledScribe")
|
||||
_marker(tmp_path, instance=INSTANCE, project_id=2, project="FabledGrimoire")
|
||||
deep = tmp_path / "src" / "grimoire" / "services"
|
||||
deep.mkdir(parents=True)
|
||||
assert _sh(f'grimoire_scope_query "{deep}"', tmp_path) == "project_id=2"
|
||||
|
||||
@@ -292,7 +292,7 @@ def test_the_hook_and_the_routes_agree_on_every_name():
|
||||
assert name in route
|
||||
|
||||
|
||||
def test_the_hook_leaves_scribes_own_tools_to_their_responses():
|
||||
def test_the_hook_leaves_grimoires_own_tools_to_their_responses():
|
||||
assert "mcp__*grimoire*__*) exit 0" in HOOK.read_text()
|
||||
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ def _acts(tmp: Path, sid: str = "s1") -> list[tuple[int, dict]]:
|
||||
return rows
|
||||
|
||||
|
||||
def test_every_call_is_written_to_the_acts_ledger_scribes_own_included(sandbox):
|
||||
def test_every_call_is_written_to_the_acts_ledger_grimoires_own_included(sandbox):
|
||||
tmp, env = sandbox
|
||||
push = {"session_id": "s1", "tool_name": "Bash",
|
||||
"tool_input": {"command": "git push origin dev"}}
|
||||
|
||||
@@ -111,7 +111,7 @@ async def test_build_session_context_includes_project_when_scoped():
|
||||
# design_system_id explicitly None: a bare MagicMock would hand back a truthy
|
||||
# auto-attribute and send this through the design branch, which is the
|
||||
# opposite of what this test is about.
|
||||
project = MagicMock(id=2, title="FabledScribe", goal="ship it",
|
||||
project = MagicMock(id=2, title="FabledGrimoire", goal="ship it",
|
||||
design_system_id=None)
|
||||
with patch("grimoire.services.plugin_context.projects_svc.get_project",
|
||||
AsyncMock(return_value=project)), \
|
||||
@@ -120,8 +120,8 @@ async def test_build_session_context_includes_project_when_scoped():
|
||||
from grimoire.services.plugin_context import build_session_context
|
||||
out = await build_session_context(user_id=7, project_id=2)
|
||||
|
||||
assert out["project"] == {"id": 2, "title": "FabledScribe"}
|
||||
assert "## Active project: FabledScribe (id 2)" in out["context"]
|
||||
assert out["project"] == {"id": 2, "title": "FabledGrimoire"}
|
||||
assert "## Active project: FabledGrimoire (id 2)" in out["context"]
|
||||
assert "Open todo tasks: 4" in out["context"]
|
||||
# No design system on the project -> no design block at all. An install with
|
||||
# none is the ordinary case, not a degraded one.
|
||||
|
||||
@@ -6,18 +6,18 @@ from grimoire.services.repo_bindings import normalize_repo_key
|
||||
@pytest.mark.parametrize(
|
||||
"raw",
|
||||
[
|
||||
"git@git.fabledsword.com:bvandeusen/fabledscribe.git",
|
||||
"git@git.fabledsword.com:bvandeusen/FabledScribe.git",
|
||||
"https://git.fabledsword.com/bvandeusen/fabledscribe.git",
|
||||
"https://git.fabledsword.com/bvandeusen/fabledscribe",
|
||||
"http://git.fabledsword.com/bvandeusen/fabledscribe.git",
|
||||
"ssh://git@git.fabledsword.com:22/bvandeusen/fabledscribe.git",
|
||||
"ssh://git@git.fabledsword.com/bvandeusen/fabledscribe",
|
||||
"https://user:token@git.fabledsword.com/bvandeusen/fabledscribe.git",
|
||||
"git@git.fabledsword.com:bvandeusen/fabledgrimoire.git",
|
||||
"git@git.fabledsword.com:bvandeusen/FabledGrimoire.git",
|
||||
"https://git.fabledsword.com/bvandeusen/fabledgrimoire.git",
|
||||
"https://git.fabledsword.com/bvandeusen/fabledgrimoire",
|
||||
"http://git.fabledsword.com/bvandeusen/fabledgrimoire.git",
|
||||
"ssh://git@git.fabledsword.com:22/bvandeusen/fabledgrimoire.git",
|
||||
"ssh://git@git.fabledsword.com/bvandeusen/fabledgrimoire",
|
||||
"https://user:token@git.fabledsword.com/bvandeusen/fabledgrimoire.git",
|
||||
],
|
||||
)
|
||||
def test_normalize_collapses_equivalent_remotes(raw):
|
||||
assert normalize_repo_key(raw) == "git.fabledsword.com/bvandeusen/fabledscribe"
|
||||
assert normalize_repo_key(raw) == "git.fabledsword.com/bvandeusen/fabledgrimoire"
|
||||
|
||||
|
||||
@pytest.mark.parametrize("raw", ["", " ", None])
|
||||
|
||||
Reference in New Issue
Block a user