thought kind: her stream of thought is a document (cut stream-thoughts step 1)

PipelineThought epiphany.pipeline.thought.v2, instance-rooted, validated as
its chosen candidate; ForeignInstance refusal, Answered-by-FollowUp or Recorded
resolutions, facts, a reads citation role, text index. Schemas, golden sample,
huginn schema list regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Eureka Hands 2026-11-06 22:04:35 +00:00
commit f65a7449fb
24 changed files with 726 additions and 32 deletions

View file

@ -176,7 +176,8 @@
"Memory",
"Research",
"Idea",
"Reply"
"Reply",
"Thought"
],
"type": "string"
},

View file

@ -70,7 +70,8 @@
"Memory",
"Research",
"Idea",
"Reply"
"Reply",
"Thought"
],
"type": "string"
},

View file

@ -35,7 +35,8 @@
"Memory",
"Research",
"Idea",
"Reply"
"Reply",
"Thought"
],
"type": "string"
},

View file

@ -131,7 +131,8 @@
"Memory",
"Research",
"Idea",
"Reply"
"Reply",
"Thought"
],
"type": "string"
},

View file

@ -40,7 +40,8 @@
"Memory",
"Research",
"Idea",
"Reply"
"Reply",
"Thought"
],
"type": "string"
},

View file

@ -30,7 +30,8 @@
"Memory",
"Research",
"Idea",
"Reply"
"Reply",
"Thought"
],
"type": "string"
},

View file

@ -102,7 +102,8 @@
"Memory",
"Research",
"Idea",
"Reply"
"Reply",
"Thought"
],
"type": "string"
},

View file

@ -35,7 +35,8 @@
"Memory",
"Research",
"Idea",
"Reply"
"Reply",
"Thought"
],
"type": "string"
},

View file

@ -73,7 +73,8 @@
"Memory",
"Research",
"Idea",
"Reply"
"Reply",
"Thought"
],
"type": "string"
},

View file

@ -30,7 +30,8 @@
"Memory",
"Research",
"Idea",
"Reply"
"Reply",
"Thought"
],
"type": "string"
},

View file

@ -0,0 +1,186 @@
{
"$defs": {
"Label": {
"description": "A key label: `[A-Za-z0-9_-]{1,64}`.",
"maxLength": 64,
"type": "string"
},
"Line": {
"description": "Text of at most 1,000 UTF-8 bytes.",
"maxLength": 1000,
"type": "string"
},
"Para": {
"description": "Text of at most 4,000 UTF-8 bytes; longer narrative is cited by `DocRef`.",
"maxLength": 4000,
"type": "string"
},
"PipelineKind": {
"enum": [
"Campaign",
"Target",
"Question",
"Ruling",
"CutSpec",
"CutReport",
"Verdict",
"Finding",
"FollowUp",
"Resolution",
"Instance",
"Stewardship",
"HandOff",
"Run",
"Pulse",
"Memory",
"Research",
"Idea",
"Reply",
"Thought"
],
"type": "string"
},
"PipelineRef": {
"description": "A reference to another document. The id is parsed as a full pipeline id of\nthe declared `kind`, so the kind and the id's kind segment cannot disagree.",
"properties": {
"id": {
"$ref": "#/$defs/Short"
},
"kind": {
"$ref": "#/$defs/PipelineKind"
}
},
"required": [
"kind",
"id"
],
"type": "object"
},
"Short": {
"description": "Text of at most 200 UTF-8 bytes.",
"maxLength": 200,
"type": "string"
},
"Slug": {
"description": "A campaign slug or key segment: label parts joined by `.`.",
"maxLength": 64,
"type": "string"
}
},
"$id": "https://gamecult.dev/epiphany/cultnet/epiphany.pipeline.thought.v2.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "One tick of her stream of thought, offline: the words a base model\ncontinued from a projection of her own state, with the whole trace that\nmade them (the seed, the projection, every candidate and how near each\nwas to her earlier thoughts). `text` is the chosen candidate. `reads`\nare the documents the seed was drawn from. A thought is divergence for\ndelivery to weigh, never a memory: its words reach a later seed only\nthrough something she wrote. Instance-rooted: the key is\n`<instance>:thought:<label>`, the label `t<unix seconds>` of the tick.\nSemantically indexed on `text` only. `nearest_permille` is 1000 where she\nhad no earlier thought.",
"properties": {
"base_model": {
"$ref": "#/$defs/Short"
},
"candidates": {
"items": {
"$ref": "#/$defs/Line"
},
"maxItems": 4,
"type": "array"
},
"chosen": {
"format": "uint8",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"context": {
"$ref": "#/$defs/Para"
},
"continuer_ms": {
"format": "uint32",
"minimum": 0,
"type": "integer"
},
"identity": {
"$ref": "#/$defs/Line"
},
"instance": {
"$ref": "#/$defs/Slug"
},
"label": {
"$ref": "#/$defs/Label"
},
"max_tokens": {
"format": "uint16",
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
"min_p_permille": {
"format": "uint16",
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
"nearest_permille": {
"items": {
"format": "uint16",
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
"maxItems": 4,
"type": "array"
},
"persona_receipt": {
"$ref": "#/$defs/Short"
},
"projection": {
"$ref": "#/$defs/Para"
},
"projector_model": {
"$ref": "#/$defs/Short"
},
"projector_ms": {
"format": "uint32",
"minimum": 0,
"type": "integer"
},
"reads": {
"items": {
"$ref": "#/$defs/PipelineRef"
},
"maxItems": 64,
"type": "array"
},
"stimulus": {
"$ref": "#/$defs/Para"
},
"temperature_permille": {
"format": "uint16",
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
"text": {
"$ref": "#/$defs/Para"
}
},
"required": [
"instance",
"label",
"text",
"reads",
"persona_receipt",
"identity",
"context",
"stimulus",
"projector_model",
"projection",
"base_model",
"temperature_permille",
"min_p_permille",
"max_tokens",
"candidates",
"nearest_permille",
"chosen",
"projector_ms",
"continuer_ms"
],
"title": "PipelineThought",
"type": "object"
}

View file

@ -1326,6 +1326,22 @@
"kind",
"value"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "thought"
},
"value": {
"$ref": "#/$defs/PipelineThought"
}
},
"required": [
"kind",
"value"
]
}
]
},
@ -1580,7 +1596,8 @@
"Memory",
"Research",
"Idea",
"Reply"
"Reply",
"Thought"
]
},
"PipelineMemory": {
@ -2097,6 +2114,121 @@
"doc"
]
},
"PipelineThought": {
"description": "One tick of her stream of thought, offline: the words a base model\ncontinued from a projection of her own state, with the whole trace that\nmade them (the seed, the projection, every candidate and how near each\nwas to her earlier thoughts). `text` is the chosen candidate. `reads`\nare the documents the seed was drawn from. A thought is divergence for\ndelivery to weigh, never a memory: its words reach a later seed only\nthrough something she wrote. Instance-rooted: the key is\n`<instance>:thought:<label>`, the label `t<unix seconds>` of the tick.\nSemantically indexed on `text` only. `nearest_permille` is 1000 where she\nhad no earlier thought.",
"type": "object",
"properties": {
"base_model": {
"$ref": "#/$defs/Short"
},
"candidates": {
"type": "array",
"items": {
"$ref": "#/$defs/Line"
},
"maxItems": 4
},
"chosen": {
"type": "integer",
"format": "uint8",
"maximum": 255,
"minimum": 0
},
"context": {
"$ref": "#/$defs/Para"
},
"continuer_ms": {
"type": "integer",
"format": "uint32",
"minimum": 0
},
"identity": {
"$ref": "#/$defs/Line"
},
"instance": {
"$ref": "#/$defs/Slug"
},
"label": {
"$ref": "#/$defs/Label"
},
"max_tokens": {
"type": "integer",
"format": "uint16",
"maximum": 65535,
"minimum": 0
},
"min_p_permille": {
"type": "integer",
"format": "uint16",
"maximum": 65535,
"minimum": 0
},
"nearest_permille": {
"type": "array",
"items": {
"type": "integer",
"format": "uint16",
"maximum": 65535,
"minimum": 0
},
"maxItems": 4
},
"persona_receipt": {
"$ref": "#/$defs/Short"
},
"projection": {
"$ref": "#/$defs/Para"
},
"projector_model": {
"$ref": "#/$defs/Short"
},
"projector_ms": {
"type": "integer",
"format": "uint32",
"minimum": 0
},
"reads": {
"type": "array",
"items": {
"$ref": "#/$defs/PipelineRef"
},
"maxItems": 64
},
"stimulus": {
"$ref": "#/$defs/Para"
},
"temperature_permille": {
"type": "integer",
"format": "uint16",
"maximum": 65535,
"minimum": 0
},
"text": {
"$ref": "#/$defs/Para"
}
},
"required": [
"instance",
"label",
"text",
"reads",
"persona_receipt",
"identity",
"context",
"stimulus",
"projector_model",
"projection",
"base_model",
"temperature_permille",
"min_p_permille",
"max_tokens",
"candidates",
"nearest_permille",
"chosen",
"projector_ms",
"continuer_ms"
]
},
"PipelineVerdict": {
"type": "object",
"properties": {

View file

@ -261,7 +261,8 @@
"sources",
"rests_on",
"toward",
"run"
"run",
"reads"
]
},
"ClaimOutcome": {
@ -2629,6 +2630,22 @@
"kind",
"value"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "thought"
},
"value": {
"$ref": "#/$defs/PipelineThought"
}
},
"required": [
"kind",
"value"
]
}
]
},
@ -3382,6 +3399,44 @@
"value"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "thought"
},
"value": {
"type": "object",
"properties": {
"chosen": {
"type": "integer",
"format": "uint8",
"maximum": 255,
"minimum": 0
},
"label": {
"$ref": "#/$defs/Label"
},
"nearest_permille": {
"type": "integer",
"format": "uint16",
"maximum": 65535,
"minimum": 0
}
},
"required": [
"label",
"chosen",
"nearest_permille"
]
}
},
"required": [
"kind",
"value"
]
},
{
"type": "object",
"properties": {
@ -3757,7 +3812,8 @@
"Memory",
"Research",
"Idea",
"Reply"
"Reply",
"Thought"
]
},
"PipelineMemory": {
@ -4561,6 +4617,121 @@
"doc"
]
},
"PipelineThought": {
"description": "One tick of her stream of thought, offline: the words a base model\ncontinued from a projection of her own state, with the whole trace that\nmade them (the seed, the projection, every candidate and how near each\nwas to her earlier thoughts). `text` is the chosen candidate. `reads`\nare the documents the seed was drawn from. A thought is divergence for\ndelivery to weigh, never a memory: its words reach a later seed only\nthrough something she wrote. Instance-rooted: the key is\n`<instance>:thought:<label>`, the label `t<unix seconds>` of the tick.\nSemantically indexed on `text` only. `nearest_permille` is 1000 where she\nhad no earlier thought.",
"type": "object",
"properties": {
"base_model": {
"$ref": "#/$defs/Short"
},
"candidates": {
"type": "array",
"items": {
"$ref": "#/$defs/Line"
},
"maxItems": 4
},
"chosen": {
"type": "integer",
"format": "uint8",
"maximum": 255,
"minimum": 0
},
"context": {
"$ref": "#/$defs/Para"
},
"continuer_ms": {
"type": "integer",
"format": "uint32",
"minimum": 0
},
"identity": {
"$ref": "#/$defs/Line"
},
"instance": {
"$ref": "#/$defs/Slug"
},
"label": {
"$ref": "#/$defs/Label"
},
"max_tokens": {
"type": "integer",
"format": "uint16",
"maximum": 65535,
"minimum": 0
},
"min_p_permille": {
"type": "integer",
"format": "uint16",
"maximum": 65535,
"minimum": 0
},
"nearest_permille": {
"type": "array",
"items": {
"type": "integer",
"format": "uint16",
"maximum": 65535,
"minimum": 0
},
"maxItems": 4
},
"persona_receipt": {
"$ref": "#/$defs/Short"
},
"projection": {
"$ref": "#/$defs/Para"
},
"projector_model": {
"$ref": "#/$defs/Short"
},
"projector_ms": {
"type": "integer",
"format": "uint32",
"minimum": 0
},
"reads": {
"type": "array",
"items": {
"$ref": "#/$defs/PipelineRef"
},
"maxItems": 64
},
"stimulus": {
"$ref": "#/$defs/Para"
},
"temperature_permille": {
"type": "integer",
"format": "uint16",
"maximum": 65535,
"minimum": 0
},
"text": {
"$ref": "#/$defs/Para"
}
},
"required": [
"instance",
"label",
"text",
"reads",
"persona_receipt",
"identity",
"context",
"stimulus",
"projector_model",
"projection",
"base_model",
"temperature_permille",
"min_p_permille",
"max_tokens",
"candidates",
"nearest_permille",
"chosen",
"projector_ms",
"continuer_ms"
]
},
"PipelineVerdict": {
"type": "object",
"properties": {

View file

@ -221,6 +221,17 @@
"title": "Epiphany Pipeline Reply v2",
"path": "epiphany.pipeline.reply.v2.schema.json"
},
{
"schemaId": "https://gamecult.dev/epiphany/cultnet/epiphany.pipeline.thought.v2.schema.json",
"kind": "document_payload",
"wireContracts": [
"cultnet.schema.v0"
],
"schemaVersion": "epiphany.pipeline.thought.v2",
"documentType": "epiphany.pipeline.thought.v2",
"title": "Epiphany Pipeline Thought v2",
"path": "epiphany.pipeline.thought.v2.schema.json"
},
{
"schemaId": "huginn.mind_request.v1",
"kind": "wire_message",