Answer Entity Question
answer_entity_questionAnswer quality-check flags on threat-model assets or attackers using documentation or code evidence, recording the response and re-queuing that entity's check.
Instructions
Answer, with a fact, the flag the quality check raised about an asset or attacker. Mutating; creates no model version.
An entity's quality (on get_entity, the build proposal's flagged
entities or the review queue's entity_quality row) carries the
verdict's outcome and input_hash. Any flag may be answered:
question (answer its question), defect or invalid (answer
its warning, for instance where it reads a true claim as not
established and the documentation or the code establishes it). Answer
from the documentation or the code, stating what the system does and
where that is shown; never guess, and never weaken a true claim to clear
a flag. The answer is kept with the entity, shown to every later check of
it, and queues that entity's check again (and no other's). It decides
nothing: the verdict stands until that check runs, and the check may
still flag the entity, or propose a correction to apply with
apply_entity_proposals. Where a call's response is lost, read the
entity before answering again.
Refused 409 stale when the entity, or what it is judged with, changed
since the verdict (read it again), 409 not_flagged when no question,
defect or invalid verdict stands, 404 for an entity the model does not
hold.
Returns {entity_id, answer_id, answered_at, question, queued}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The answer (at most 4000 characters). | |
| model_id | Yes | ID of the threat model. | |
| entity_id | Yes | The asset or attacker (e.g. "T-04"). | |
| input_hash | Yes | The verdict's ``input_hash`` as it was read. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||