Apply Entity Proposals
apply_entity_proposalsApplies quality-check corrections to assets and attackers in one new threat model version, returning per-entity outcomes for proposed wording, drops, and adds.
Instructions
Accept the quality check's corrections of assets and attackers, in one new model version.
Applying is accepting: a judgment normally the owner's. A program's is
parked for a person (refused, with escalation_id: do not retry)
unless the workspace delegates entity_correction_accepted. A doubted
claim you can establish, or take conservatively, is answered with
answer_entity_question instead; a property that does not apply is
declared not applicable, since a correction never removes one.
Read the correction as quality on get_entity (or the review
queue's entity_quality row): proposed holds the corrected words,
proposal_hash names them, input_hash the verdict, drops each
claim the words before made that the correction does not, and adds
each claim it makes that they did not (a security property it adds among
them), with why. RELAY proposed, drops AND adds TO THE
PERSON. Dropping a claim makes it a narrowing, adding one (or a property)
a widening, both narrowing+widening, neither a rewording; a program
applies it only under a rule naming every kind it carries. Under a rule
of rewording alone, a claim every reader missed is applied: the
residual that policy accepts. It never moves a position, credentials or
components; the entity is rated for its new words, a person's rating kept
and the new one held pending (settle_entity_rating).
One outcome per entity: applied (correction_kind);
unbound (no proposal_hash: the correction and its hash are
returned); refused; property_removed (never written);
rejected (another entity, a duplicate, or internal identifiers,
reason says); stale (read it again); none; unavailable
(try again). One entity never stops the others; a model changed since it
was read writes nothing, each such item stale beside conflict.
Returns {results, version?, conflict?}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"server_version": "<server_version>",
"model_id": "<model_id>",
"proposals": "<proposals>"
},
"name": "apply_entity_proposals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence | No | ||
| model_id | Yes | ID of the threat model. | |
| proposals | Yes | JSON array of ``{"entity_id", "input_hash", "proposal_hash"}``, each ``input_hash`` and ``proposal_hash`` as the verdict was read. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||