Family canon belongs to the family: promotion lifts an idea onto a family record, and family decisions cross no project fence #241

Merged
bvandeusen merged 3 commits from dev into main 2026-12-04 15:31:46 -05:00
2 changed files with 5 additions and 2 deletions
Showing only changes of commit 198bf110c2 - Show all commits
+3 -2
View File
@@ -473,8 +473,9 @@ async def test_an_idea_links_to_its_topic_and_its_reads_name_the_rules(family, t
idea = await family_svc.get_idea(family["owner"], family["note"])
assert idea["topic"]["rulebook_id"] == topics["rulebook"]
assert len(idea["topic"]["rules"]) == 2
[listed] = [i for i in await family_svc.list_ideas(family["owner"])
if i["note_id"] == family["note"]]
# Promotion lifted the idea onto its family record.
key = await family_svc.idea_key(family["note"])
[listed] = [i for i in await family_svc.list_ideas(family["owner"]) if i["note_id"] == key]
assert listed["topic"] == {"id": topics["norms"], "title": "distribution",
"rulebook_id": topics["rulebook"]}
+2
View File
@@ -31,6 +31,8 @@ NEEDS_NO_CALLER = {
"design_systems": {},
"family": {
"next_version": "numbers a canon version inside a write that has checked the caller",
"idea_key": "translates an id the caller passed to the id its idea is kept under; "
"every caller checks access on the result next",
},
"family_adoption": {
"family_reference_ids": "the coverage refresh's mechanical read for a project",