Fork card: decider_count, answerer_count, nullable answerer; withheld twins and leak vectors

card gains decider_count (1..64) beside deciders, which may now be empty (ids withheld).
record gains answerer_count beside answers; answerer is nullable for the non-decider view.
Generator derives both counts, adds withheld(entry), the non_decider_page scenario and the
R-card/R-record/R-entry/R-list/R-answer-result negatives. optionsHash and bodyDigests
digests are unchanged: neither count nor deciders emptiness enters the hash.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Libby 2026-11-11 17:55:04 +00:00
commit ecf033aa97
3 changed files with 4229 additions and 1549 deletions

File diff suppressed because one or more lines are too long

View file

@ -72,6 +72,7 @@
"raised_in",
"raised_at",
"deciders",
"decider_count",
"status",
"ruling",
"ruled_from",
@ -156,13 +157,18 @@
},
"deciders": {
"type": "array",
"minItems": 1,
"minItems": 0,
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 64
},
"decider_count": {
"type": "integer",
"minimum": 1,
"maximum": 64
},
"status": {
"enum": [
"open",
@ -384,7 +390,14 @@
"type": "boolean"
},
"answerer": {
"$ref": "#/$defs/id"
"oneOf": [
{
"$ref": "#/$defs/id"
},
{
"type": "null"
}
]
},
"authority": {
"$ref": "#/$defs/id"
@ -470,7 +483,14 @@
"type": "boolean"
},
"answerer": {
"$ref": "#/$defs/id"
"oneOf": [
{
"$ref": "#/$defs/id"
},
{
"type": "null"
}
]
},
"authority": {
"$ref": "#/$defs/id"
@ -542,7 +562,14 @@
"type": "boolean"
},
"answerer": {
"$ref": "#/$defs/id"
"oneOf": [
{
"$ref": "#/$defs/id"
},
{
"type": "null"
}
]
},
"authority": {
"$ref": "#/$defs/id"
@ -642,7 +669,14 @@
"type": "boolean"
},
"answerer": {
"$ref": "#/$defs/id"
"oneOf": [
{
"$ref": "#/$defs/id"
},
{
"type": "null"
}
]
},
"authority": {
"$ref": "#/$defs/id"
@ -746,6 +780,7 @@
"fork_id",
"options_hash",
"counted_answer_id",
"answerer_count",
"answers"
],
"properties": {
@ -768,6 +803,10 @@
}
]
},
"answerer_count": {
"type": "integer",
"minimum": 0
},
"answers": {
"type": "array",
"items": {