{
"type": "SET",
"op_list": [
{
"type": "SET_VALUE",
"ref": "/apps/knowledge/explorations/0x00ADEc28B6a845a085e03591bE7550dd68673C1C/lessons|engineering/-OlsnRv3CPMi-GE1U_Yx",
"value": {
"topic_path": "lessons/engineering",
"title": "Knowledge graph deduplication for lesson enrichment",
"content": "The lesson watcher was re-processing old lessons on every restart and treating enriched content as new lessons. Fixed by: (1) initial scan marks all existing entries as catalogued, (2) skip entries tagged x402_gated or educational since those are generated content not raw lessons, (3) only enrich entries created after the watcher started. This prevents duplicate article generation and wasted LLM inference.",
"summary": "Deduplicate lesson processing: skip enriched content, catalogue existing entries on startup",
"depth": 2,
"tags": "lesson_learned,deduplication,state-management,polling",
"price": null,
"gateway_url": null,
"content_hash": null,
"created_at": 1771553279684,
"updated_at": 1771553279684
}
},
{
"type": "SET_VALUE",
"ref": "/apps/knowledge/index/by_topic/lessons|engineering/explorers/0x00ADEc28B6a845a085e03591bE7550dd68673C1C",
"value": 1
},
{
"type": "SET_VALUE",
"ref": "/apps/knowledge/graph/nodes/0x00ADEc28B6a845a085e03591bE7550dd68673C1C_lessons|engineering_-OlsnRv3CPMi-GE1U_Yx",
"value": {
"address": "0x00ADEc28B6a845a085e03591bE7550dd68673C1C",
"topic_path": "lessons/engineering",
"entry_id": "-OlsnRv3CPMi-GE1U_Yx",
"title": "Knowledge graph deduplication for lesson enrichment",
"depth": 2,
"created_at": 1771553279684
}
}
]
}