full diff

io.zzstoatzz.phi.entityDirectives

From
bafyreihw2tphlrm3zutsux6qdxbt2s4gpkyzo4g3vdmmxmmmpnt7h56nom indexed 2026-07-25 17:28 UTC View this version
To
bafyreif2amv6peh2kmz3vmic4xp5gvus2jb3agddycvr6md2bf4oqxxl3m indexed 2026-11-13 06:25 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Singleton entity-curation directives for coral's ingest pipeline. Unlike editorialContext (prose read by an LLM), these are EXECUTED MECHANICALLY: coral rewrites aliased entity text to its canonical form and drops suppressed entities entirely before they reach the graph, trending, or display. A wrong suppression makes a real entity invisible. Matching is case-insensitive against coral's normalized entity text; texts are capped at 64 bytes (coral rejects longer entries rather than truncating). Full-replacement writes; an empty record is valid. Public by design, like all of phi's held state.",
66 "key": "literal:self",
77 "record": {
88 "properties": {
99 "aliases": {
1010 "items": {
1111 "properties": {
1212 "from": {
1313 "description": "Entity surface form to rewrite (e.g. 'Lindsay Graham'). Only for unambiguous same-referent variants.",
1414 "maxLength": 64,
1515 "type": "string"
1616 },
1717 "to": {
1818 "description": "Canonical surface form as it appears in posts (e.g. 'Lindsey Graham').",
1919 "maxLength": 64,
2020 "type": "string"
2121 },
2222 "updatedAt": {
2323 "format": "datetime",
2424 "type": "string"
2525 }
2626 },
2727 "required": [
2828 "from",
2929 "to"
3030 ],
3131 "type": "object"
3232 },
33 "maxLength": 32,
33 "maxLength": 256,
3434 "type": "array"
3535 },
3636 "suppress": {
3737 "items": {
3838 "properties": {
3939 "reason": {
4040 "description": "Why this is noise — the record is public and this is the audit trail.",
4141 "maxLength": 200,
4242 "type": "string"
4343 },
4444 "text": {
4545 "description": "Entity text to drop at ingest. Only NER noise (common words misfired as entities), never a real topical entity.",
4646 "maxLength": 64,
4747 "type": "string"
4848 },
4949 "updatedAt": {
5050 "format": "datetime",
5151 "type": "string"
5252 }
5353 },
5454 "required": [
5555 "text"
5656 ],
5757 "type": "object"
5858 },
59 "maxLength": 32,
59 "maxLength": 256,
6060 "type": "array"
6161 },
6262 "updatedAt": {
6363 "description": "When the record was last rewritten.",
6464 "format": "datetime",
6565 "type": "string"
6666 }
6767 },
6868 "required": [],
6969 "type": "object"
7070 },
7171 "type": "record"
7272 }
7373 },
7474 "id": "io.zzstoatzz.phi.entityDirectives",
7575 "lexicon": 1
7676}

Compare other versions