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:
@@ -12,8 +12,8 @@ from __future__ import annotations
|
||||
|
||||
import pytest
|
||||
|
||||
from scribe.mcp.server import _READ_ONLY_TOOLS, _WRITE_TOOLS
|
||||
from scribe.services.family_adoption import (
|
||||
from grimoire.mcp.server import _READ_ONLY_TOOLS, _WRITE_TOOLS
|
||||
from grimoire.services.family_adoption import (
|
||||
CONFLICT_KEYS, CONFLICT_ORDER, OUTCOME_KEYS, _fold_section, _reference_line,
|
||||
assessment_problems, conflict_problems, needs_recheck,
|
||||
)
|
||||
@@ -169,10 +169,10 @@ def test_the_outcomes_the_agent_is_told_are_the_ones_enforced():
|
||||
"""The outcomes and the order are product text. The tool
|
||||
docstrings must name every outcome and every ground the service checks,
|
||||
in the service's order."""
|
||||
assess_doc = tool_doc("scribe.mcp.tools.family", "assess_family_adoption")
|
||||
assess_doc = tool_doc("grimoire.mcp.tools.family", "assess_family_adoption")
|
||||
for n, key in enumerate(OUTCOME_KEYS, start=1):
|
||||
assert f"{n}. {key} —" in assess_doc, f"outcome {n} is not taught as {key}"
|
||||
resolve_doc = tool_doc("scribe.mcp.tools.family", "resolve_family_conflict")
|
||||
resolve_doc = tool_doc("grimoire.mcp.tools.family", "resolve_family_conflict")
|
||||
for n, key in enumerate(CONFLICT_KEYS, start=1):
|
||||
assert f"{n}. {key} —" in resolve_doc, f"ground {n} is not taught as {key}"
|
||||
assert [c["fold_as"] for c in CONFLICT_ORDER] == ["alternative", "trap", "condition", "alternative"]
|
||||
|
||||
Reference in New Issue
Block a user