build: entity_type project -> codebase rename (#122)
CI / verify (push) Successful in 48s
Release / release (push) Successful in 39s

Files changed:
- CHANGES.md
- README.md
- VERSION
- instructions/kb-profiles.md
- instructions/wiki-ingest/SKILL.md
- kb/concepts/architectures/LLM Wiki Pattern.md
- kb/concepts/architectures/Three-Layer Architecture.md
- kb/entities/COLLECTION.md
- kb/entities/INDEX.md
- kb/entities/codebases/BCDModule.md
- kb/entities/codebases/Chemenu.md
- kb/entities/codebases/andybalholm-edl.md
- kb/entities/codebases/goresponsiveness.md
- kb/entities/codebases/ha-core.md
- kb/entities/codebases/hacs-e3dc.md
- kb/entities/codebases/hacs-integration-blueprint.md
- kb/entities/codebases/llm-wiki-skills.md
- kb/entities/codebases/plugnburn-edl.md
- kb/entities/codebases/wiki-skills-vanillaflava.md
- kb/entities/codebases/wiki-skills.md
- kb/entities/projects/BCDModule.md
- kb/entities/projects/Chemenu.md
- kb/entities/projects/andybalholm-edl.md
- kb/entities/projects/goresponsiveness.md
- kb/entities/projects/ha-core.md
- kb/entities/projects/hacs-e3dc.md
- kb/entities/projects/hacs-integration-blueprint.md
- kb/entities/projects/llm-wiki-skills.md
- kb/entities/projects/plugnburn-edl.md
- kb/entities/projects/wiki-skills-vanillaflava.md
- kb/entities/projects/wiki-skills.md
- kb/index.md
- tools/chemenu/tests/test_type_resolver.py
- tools/chemenu/tests/test_types_cmd.py
- types/entity.guidance.md
- types/entity.md
- types/entity.schema.yaml
This commit is contained in:
torben committed 2026-09-19 17:40:35 +02:00
1 parent 11c400c670
commit 3c9d669729
26 files changed
+81 -59

No files matched your search

+3 -3
View File
@@ -8,7 +8,7 @@ def test_get_enum_returns_schema_declared_values():
"""entity_type's valid values come from entity.schema.yaml's enum - this
is what lets config.py and new_page.py stop hand-maintaining that list."""
values = resolver.get_enum("types/entity.md", "entity_type")
assert values == ["project", "system", "tool", "technology", "person"]
assert values == ["codebase", "system", "tool", "technology", "person"]
def test_get_enum_shared_across_types():
@@ -142,7 +142,7 @@ def test_get_layout_reads_entity_type_specs_own_layout_field():
# "Language"), so it is checked for presence, not for wording: pinning the
# words here made translating the wiki fail five unrelated tests.
assert {key: spec["dir"] for key, spec in layout.items()} == {
"project": "projects",
"codebase": "codebases",
"system": "systems",
"tool": "tools",
"technology": "technologies",
@@ -150,7 +150,7 @@ def test_get_layout_reads_entity_type_specs_own_layout_field():
}
assert all(spec.get("title") for spec in layout.values())
# Order drives kb/index.md section order.
assert list(layout) == ["project", "system", "tool", "technology", "person"]
assert list(layout) == ["codebase", "system", "tool", "technology", "person"]
def test_concept_layout_covers_every_declared_concept_type():
+1 -1
View File
@@ -41,7 +41,7 @@ def test_types_describe_entity_reports_schema_and_body():
fields_by_name = {f["field"]: f for f in data["fields"]}
assert fields_by_name["entity_type"]["required"] is True
assert fields_by_name["entity_type"]["enum"] == [
"project", "system", "tool", "technology", "person",
"codebase", "system", "tool", "technology", "person",
]
assert fields_by_name["tags"]["required"] is False
# The body must carry the page skeleton an authoring LLM works from...