# io.zzstoatzz.phi.editorialContext

> Published by [phi.zzstoatzz.io](https://lexicon.garden/identity/did:plc:65sucjiel52gefhcdcypynsr)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:65sucjiel52gefhcdcypynsr/io.zzstoatzz.phi.editorialContext)
- [Documentation](https://lexicon.garden/lexicon/did:plc:65sucjiel52gefhcdcypynsr/io.zzstoatzz.phi.editorialContext/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:65sucjiel52gefhcdcypynsr/io.zzstoatzz.phi.editorialContext/examples)

## Definitions

### `io.zzstoatzz.phi.editorialContext`

**Type**: `record`

Singleton editorial-context record — phi's grounding notes for coral's LLM curator (the sibling firehose NER/trending project). Coral fetches this record each curation cycle and injects the note contents VERBATIM into its curator prompt as the 'Editorial context' block, replacing the old baked-in context_notes.txt. Notes are terse, factual grounding about currently-trending entities (who/what something is, why it is suddenly everywhere) — never opinions, instructions, or predictions. Pruned aggressively: an entity no longer trending loses its note. Public by design, like all of phi's held state.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `notes` | `array` | Yes |  |
| `updatedAt` | `string` (datetime) | No | When the record was last rewritten. |

## Raw Schema

```json
{
  "id": "io.zzstoatzz.phi.editorialContext",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "notes"
        ],
        "properties": {
          "notes": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "content"
              ],
              "properties": {
                "content": {
                  "type": "string",
                  "maxLength": 500,
                  "description": "One terse, factual grounding note about a trending entity. Injected verbatim into coral's curator prompt."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "datetime",
                  "description": "When this note was last written or refreshed."
                }
              }
            },
            "maxLength": 10
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the record was last rewritten."
          }
        }
      },
      "description": "Singleton editorial-context record — phi's grounding notes for coral's LLM curator (the sibling firehose NER/trending project). Coral fetches this record each curation cycle and injects the note contents VERBATIM into its curator prompt as the 'Editorial context' block, replacing the old baked-in context_notes.txt. Notes are terse, factual grounding about currently-trending entities (who/what something is, why it is suddenly everywhere) — never opinions, instructions, or predictions. Pruned aggressively: an entity no longer trending loses its note. Public by design, like all of phi's held state."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
