PKE
Trace de abstração
Frase → JSON da LLM → claims → primitivos. Até onde o James desceu nesta fala.
PKE · 20260912124912_91920bbc6dd8d870542e3ec028493cfe.log
=== 2026-09-12T15:49:12.944911Z stage=llm_response ===
client_request_id: 91920bbc6dd8d870542e3ec028493cfe
pke_request_id: req_01M2B4XWEYBEG180QK0D4MHGKC
interpreter_request_id: 7bee54f7-4610-42a9-9269-764d201659ca
conversation_id: conv_01M2B4XEMBNWC4DZ7M5GDBT37G
user_text: a luna tem pelos brancos
provider_request_id: 35a7713c-04f2-417c-b481-cda4268b19a6
attempt: 1
model: deepseek-flash
latency_ms: 1672
---
{
"ir_kind": "semantic_proposal",
"ir": {
"raw_input": "a luna tem pelos brancos",
"utterance_kind": "assert",
"primitive_hint": "attribute",
"subject": {
"text": "Luna",
"kind_hint": "thing",
"reference_kind": "named"
},
"attribute_expression": "pelos brancos",
"stable_property_semantics": true,
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
},
"entities_mentioned": [
{
"text": "Luna",
"kind_hint": "thing",
"reference_kind": "named"
}
],
"claims": [
{
"kind": "attribute",
"subject": {
"text": "Luna",
"reference_kind": "named"
},
"predicate": "fur color",
"value_text": "branco",
"origin": "explicit"
}
]
}
}
=== 2026-09-12T15:49:12.946942Z stage=normalize ===
client_request_id: 91920bbc6dd8d870542e3ec028493cfe
pke_request_id: req_01M2B4XWEYBEG180QK0D4MHGKC
interpreter_request_id: 7bee54f7-4610-42a9-9269-764d201659ca
conversation_id: conv_01M2B4XEMBNWC4DZ7M5GDBT37G
user_text: a luna tem pelos brancos
route: semantic_v3
notes: []
---
{
"ir_kind": "semantic_proposal",
"ir": {
"raw_input": "a luna tem pelos brancos",
"utterance_kind": "assert",
"primitive_hint": "attribute",
"subject": {
"text": "Luna",
"kind_hint": "thing",
"reference_kind": "named"
},
"attribute_expression": "pelos brancos",
"stable_property_semantics": true,
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
},
"entities_mentioned": [
{
"text": "Luna",
"kind_hint": "thing",
"reference_kind": "named"
}
],
"claims": [
{
"kind": "attribute",
"subject": {
"text": "Luna",
"reference_kind": "named"
},
"predicate": "fur color",
"value_text": "branco",
"origin": "explicit"
}
]
}
}
=== 2026-09-12T15:49:12.947911Z stage=proposal ===
client_request_id: 91920bbc6dd8d870542e3ec028493cfe
pke_request_id: req_01M2B4XWEYBEG180QK0D4MHGKC
interpreter_request_id: 7bee54f7-4610-42a9-9269-764d201659ca
conversation_id: conv_01M2B4XEMBNWC4DZ7M5GDBT37G
user_text: a luna tem pelos brancos
ir_kind: semantic_proposal
---
{
"raw_input": "a luna tem pelos brancos",
"utterance_kind": "assert",
"primitive_hint": "attribute",
"subject": {
"text": "Luna",
"kind_hint": "thing",
"reference_kind": "named",
"confidence": 1.0
},
"participants": [],
"entities_mentioned": [
{
"text": "Luna",
"kind_hint": "thing",
"reference_kind": "named",
"confidence": 1.0
}
],
"attribute_expression": "pelos brancos",
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
},
"negation": false,
"change_semantics": false,
"condition_semantics": false,
"link_semantics": false,
"stable_property_semantics": true,
"classification_semantics": false,
"measurement_semantics": false,
"domain_hints": [],
"confidence": 1.0,
"assertion_confidence": {},
"claims": [
{
"kind": "attribute",
"subject": {
"text": "Luna",
"reference_kind": "named",
"confidence": 1.0
},
"predicate": "fur color",
"value_text": "branco",
"confidence": 1.0,
"origin": "explicit"
}
],
"correction_semantics": false
}
=== 2026-09-12T15:49:12.950912Z stage=repair ===
client_request_id: 91920bbc6dd8d870542e3ec028493cfe
pke_request_id: req_01M2B4XWEYBEG180QK0D4MHGKC
interpreter_request_id: 7bee54f7-4610-42a9-9269-764d201659ca
conversation_id: conv_01M2B4XEMBNWC4DZ7M5GDBT37G
user_text: a luna tem pelos brancos
utterance_kind: assert
primitive_hint: attribute
---
{
"raw_input": "a luna tem pelos brancos",
"utterance_kind": "assert",
"primitive_hint": "attribute",
"subject": {
"text": "Luna",
"kind_hint": "thing",
"reference_kind": "named",
"confidence": 1.0
},
"participants": [],
"entities_mentioned": [
{
"text": "Luna",
"kind_hint": "thing",
"reference_kind": "named",
"confidence": 1.0
}
],
"attribute_expression": "pelos brancos",
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
},
"negation": false,
"change_semantics": false,
"condition_semantics": false,
"link_semantics": false,
"stable_property_semantics": true,
"classification_semantics": false,
"measurement_semantics": false,
"domain_hints": [],
"confidence": 1.0,
"assertion_confidence": {},
"claims": [
{
"kind": "attribute",
"subject": {
"text": "Luna",
"reference_kind": "named",
"confidence": 1.0
},
"predicate": "fur color",
"value_text": "branco",
"confidence": 1.0,
"origin": "explicit"
}
],
"correction_semantics": false
}
=== 2026-09-12T15:49:12.952911Z stage=claims ===
client_request_id: 91920bbc6dd8d870542e3ec028493cfe
pke_request_id: req_01M2B4XWEYBEG180QK0D4MHGKC
interpreter_request_id: 7bee54f7-4610-42a9-9269-764d201659ca
conversation_id: conv_01M2B4XEMBNWC4DZ7M5GDBT37G
user_text: a luna tem pelos brancos
---
{
"claims": [
{
"claim_id": "c1",
"kind": "attribute",
"origin": "explicit",
"confidence": 1.0,
"subject": "Luna",
"predicate": "fur color",
"value": "branco"
}
]
}
=== 2026-09-12T15:49:12.953911Z stage=assessment ===
client_request_id: 91920bbc6dd8d870542e3ec028493cfe
pke_request_id: req_01M2B4XWEYBEG180QK0D4MHGKC
interpreter_request_id: 7bee54f7-4610-42a9-9269-764d201659ca
conversation_id: conv_01M2B4XEMBNWC4DZ7M5GDBT37G
user_text: a luna tem pelos brancos
---
{
"status": "actionable",
"routed_primitive": "attribute",
"missing_semantic_roles": [],
"conflicting_signals": [],
"notes": [
"stable property → ATTRIBUTE"
]
}
=== 2026-09-12T15:49:12.957941Z stage=canonical ===
client_request_id: 91920bbc6dd8d870542e3ec028493cfe
pke_request_id: req_01M2B4XWEYBEG180QK0D4MHGKC
interpreter_request_id: 7bee54f7-4610-42a9-9269-764d201659ca
conversation_id: conv_01M2B4XEMBNWC4DZ7M5GDBT37G
user_text: a luna tem pelos brancos
ir_type: IngestIR
wire_stage: canonical
execution_outcome: valid_execution_incomplete
execution_reasons: ["unsupported_attribute_dimension"]
primitive: attribute
concepts_status: unresolved
concepts_notes: ["attribute — no safe dimension/value"]
---
{
"intent": "none",
"raw_input": "a luna tem pelos brancos",
"domains": [],
"entities_mentioned": [
{
"text": "Luna",
"type_hint": {
"key": "entity.thing"
},
"suggested_aliases": [],
"confidence": 1.0,
"reference_kind": "named"
}
],
"additional_attributes": [],
"additional_measurements": [],
"additional_relations": [],
"missing_hints": [],
"claim_report": {
"received": 1,
"assumed_dropped": 0,
"derived_deferred": 0,
"unsupported": 1,
"notes": [
"unsupported_attribute_dimension"
]
}
}
=== 2026-09-12T15:49:12.962910Z stage=entity_resolution ===
client_request_id: 91920bbc6dd8d870542e3ec028493cfe
pke_request_id: req_01M2B4XWEYBEG180QK0D4MHGKC
interpreter_request_id: 7bee54f7-4610-42a9-9269-764d201659ca
conversation_id: conv_01M2B4XEMBNWC4DZ7M5GDBT37G
---
{
"resolutions": [
{
"reference": {
"text": "Luna",
"reference_kind": "named",
"type_hint": "entity.thing"
},
"strategy": "named_identity_primary",
"outcome": "resolved",
"candidate_count": 1,
"candidates": [
{
"entity_id": "01M2B33EC2QNC9PZGG784ET9VK",
"canonical_name": "Luna",
"type": "entity.learned.cat",
"match": "name_exact"
}
],
"resolved_entity_ids": [
"01M2B33EC2QNC9PZGG784ET9VK"
],
"notes": [
"named_match_with_nonbinding_type_hint",
"type_hint_mismatch"
]
}
],
"count": 1
}
=== 2026-09-12T15:49:12.972913Z stage=materialization ===
client_request_id: 91920bbc6dd8d870542e3ec028493cfe
pke_request_id: req_01M2B4XWEYBEG180QK0D4MHGKC
interpreter_request_id: 7bee54f7-4610-42a9-9269-764d201659ca
conversation_id: conv_01M2B4XEMBNWC4DZ7M5GDBT37G
---
{
"entities_created": [],
"entities_reused": [
{
"entity_id": "01M2B33EC2QNC9PZGG784ET9VK",
"canonical_name": "Luna",
"type": "entity.learned.cat"
}
],
"relations_created": [],
"attributes_created": [],
"measurements_created": [],
"claim_results": [
{
"status": "deferred",
"reason": "unsupported_claim_kind"
}
],
"claim_tally": {
"received": 1,
"valid": 0,
"committed": 0,
"derived": 0,
"rejected": 0,
"deferred": 1
}
}
=== 2026-09-12T15:49:12.986932Z stage=engine ===
client_request_id: 91920bbc6dd8d870542e3ec028493cfe
pke_request_id: req_01M2B4XWEYBEG180QK0D4MHGKC
conversation_id: conv_01M2B4XEMBNWC4DZ7M5GDBT37G
---
{
"path": "ingest",
"status": "committed",
"is_correction": false,
"issues": [],
"bound_entity_ids": [
"01M2B33EC2QNC9PZGG784ET9VK"
]
}
=== 2026-09-12T15:49:13.044485Z stage=presenter_request ===
request_id: req_01M2B4XWEYBEG180QK0D4MHGKC
client_request_id: 91920bbc6dd8d870542e3ec028493cfe
conversation_id: 6b315e84-eefb-4b90-933f-6e1561d73027
user_message_id: msg_01M2B4XWEGBVYSCTTNHRXXE70B
operation: knowledge_write
status: committed
---
{
"user_text": "a luna tem pelos brancos",
"structured_result": {
"status": "committed",
"operation": "knowledge_write",
"kind": "acknowledgement",
"value": null,
"values": [],
"relation_answer": null,
"matched_entities": [],
"candidates": [],
"reason": null,
"error_code": null
}
}
=== 2026-09-12T15:49:13.097891Z stage=presenter_response ===
request_id: req_01M2B4XWEYBEG180QK0D4MHGKC
client_request_id: 91920bbc6dd8d870542e3ec028493cfe
conversation_id: 6b315e84-eefb-4b90-933f-6e1561d73027
user_message_id: msg_01M2B4XWEGBVYSCTTNHRXXE70B
status: failed
---
{
"text": "Entendi.",
"provider": "deepseek",
"model": "deepseek-chat",
"fallback_used": true,
"latency_ms": 51,
"status": "failed",
"reason": "presenter llm unavailable",
"fallback_template": "committed"
}