Documentation, terminology repo cleanup.

This commit is contained in:
2026-05-01 15:00:39 +02:00
parent c9ba7095a7
commit 8889fc3430
22 changed files with 274 additions and 45 deletions

View File

@@ -11,7 +11,7 @@ def test_openapi_groups_agent_facing_endpoints():
assert response.status_code == 200
schema = response.json()
assert schema["info"]["title"] == "Repository Ability Registry"
assert schema["info"]["title"] == "Repository Scoping"
assert schema["info"]["version"] == "0.1.0"
assert {tag["name"] for tag in schema["tags"]} >= {
"repositories",
@@ -303,10 +303,31 @@ def test_docs_endpoint_is_available():
response = client.get("/docs")
assert response.status_code == 200
assert "Repository Ability Registry" in response.text
assert "Repository Scoping" in response.text
assert "openapi.json" in response.text
def test_ui_uses_repository_scoping_brand():
client = TestClient(app)
response = client.get("/ui")
assert response.status_code == 200
assert "Repository Scoping" in response.text
assert "Repository Ability Registry" not in response.text
def test_ui_scope_page_presents_scope_md():
client = TestClient(app)
response = client.get("/ui/scope")
assert response.status_code == 200
assert "SCOPE.md" in response.text
assert "scope.generate" in response.text
assert "repo-scoping" in response.text
def test_health_reports_database_and_checkout_root(tmp_path):
def override_settings():
return Settings(