2026-10-09 14:07:58 +02:00
{
"$defs" : {
"Date" : {
"description" : "A calendar date, `YYYY-MM-DD`." ,
"maxLength" : 10 ,
"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" ,
Mind: run admission with AlreadyClaimed, the run resolution row, the claims edge
A run's instance must be this mind. Every claim must name a document in force
(MissingReference, CitesResolvedDocument); a claim held by another run in force
is refused AlreadyClaimed { item, run }, so the claim is the one consumption
fact. A byte-identical replay of an admitted run owes its claims no fresh
freedom and answers AlreadyAdmitted. A run resolves Recorded or Withdrawn only.
Runs cite their claims under role `claims`, so cites and cited selections reach
them; the header facts carry label, operator, turn, start and claims.
The published schemas that embed PipelineKind (finding, follow_up, question,
resolution, ruling) and the two mind wire schemas are re-derived: the Run
variant, PipelineFacts::Run, AlreadyClaimed and the claims role. The leaf commit
before this one has those five stale.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 16:07:19 +02:00
"HandOff" ,
2026-10-31 05:44:44 +01:00
"Run" ,
memory: a persistent kind for what a Mind keeps (eureka-pipeline, huginn-mind)
epiphany.pipeline.memory.v2, instance-rooted `<instance>:memory:<label>`:
PipelineMemory with seven sorts (Asked, Decided, Committed, Learned, Did,
Idea, Rapport), her own text, who it is about, where it was learned, whether
directly, what it rests on, a salience that only ranks, and the memories a
consolidating one replaces.
Admission refuses a foreign instance and resolves a memory only Deferred to a
follow-up (an ask taken on), Recorded, Withdrawn or Superseded by a memory.
Memories have their own lineage so supersession stays within one mind. The
read side selects by sort, about (multi-valued) and direct; the index carries
the text; `consolidates` is a citation role.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 15:15:40 +01:00
"Pulse" ,
research and idea: two kinds for what a pass finds and what could be, and the recipes known, pass and ideas (eureka-pipeline, huginn-mind, eureka-state)
epiphany.pipeline.research.v2 (one claim, typed sources, no status) and
epiphany.pipeline.idea.v2 (what could be, rests_on / toward), campaign-rooted
as <campaign>:research|idea:<pass>.<label>. Resolutions are the matrix alone;
lineage is Global; roles serves, sources, rests_on, toward; alias pass; index
text without a version bump. No faculty is told to use them yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 15:13:33 +01:00
"Memory" ,
"Research" ,
2026-11-06 20:17:45 +00:00
"Idea" ,
2026-11-06 22:04:35 +00:00
"Reply" ,
2026-11-10 15:15:48 +00:00
"Thought" ,
"DeskAnswer"
2026-10-09 14:07:58 +02:00
] ,
"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"
} ,
"ResolutionOutcome" : {
"description" : "How a subject was resolved. Every referent is a parsed `PipelineRef`, so a\nresolution names its records by ids of the kinds they declare, validated\nwhere every other referent is; a `Fixed` commit is a `Sha` whose referent\nis outside the document set (ruling B). Whether a named document exists,\nand how many may supersede one subject, are admission's rules." ,
"oneOf" : [
{
"additionalProperties" : false ,
"description" : "Overturned, in whole or in part, by later records. The list is bounded\nhere because the enum is outside `value_types!`, the only place a list\nmaximum is emitted automatically." ,
"properties" : {
"Superseded" : {
"properties" : {
"by" : {
"items" : {
"$ref" : "#/$defs/PipelineRef"
} ,
"maxItems" : 8 ,
"type" : "array"
}
} ,
"required" : [
"by"
] ,
"type" : "object"
}
} ,
"required" : [
"Superseded"
] ,
"type" : "object"
} ,
{
"additionalProperties" : false ,
"properties" : {
"Answered" : {
"properties" : {
"by" : {
"$ref" : "#/$defs/PipelineRef"
}
} ,
"required" : [
"by"
] ,
"type" : "object"
}
} ,
"required" : [
"Answered"
] ,
"type" : "object"
} ,
{
"additionalProperties" : false ,
"properties" : {
"Fixed" : {
"properties" : {
"by" : {
"anyOf" : [
{
"$ref" : "#/$defs/PipelineRef"
} ,
{
"type" : "null"
}
]
} ,
"commit" : {
"$ref" : "#/$defs/Sha"
}
} ,
"required" : [
"commit"
] ,
"type" : "object"
}
} ,
"required" : [
"Fixed"
] ,
"type" : "object"
} ,
{
"additionalProperties" : false ,
"properties" : {
"Deferred" : {
"properties" : {
"to" : {
"$ref" : "#/$defs/PipelineRef"
}
} ,
"required" : [
"to"
] ,
"type" : "object"
}
} ,
"required" : [
"Deferred"
] ,
"type" : "object"
} ,
{
"additionalProperties" : false ,
"properties" : {
"Recorded" : {
"properties" : {
"reason" : {
"$ref" : "#/$defs/Line"
}
} ,
"required" : [
"reason"
] ,
"type" : "object"
}
} ,
"required" : [
"Recorded"
] ,
"type" : "object"
} ,
{
"additionalProperties" : false ,
"properties" : {
"Withdrawn" : {
"properties" : {
"reason" : {
"$ref" : "#/$defs/Line"
}
} ,
"required" : [
"reason"
] ,
"type" : "object"
}
} ,
"required" : [
"Withdrawn"
] ,
"type" : "object"
2026-11-08 13:59:06 +01:00
} ,
{
"additionalProperties" : false ,
"description" : "How a Sleep run ended when the ledger took her reply: `line` is her one line, `day_through` the last memory\nof her day she was shown (none when the day was empty). It is the one place a night's cut line is kept." ,
"properties" : {
"Slept" : {
"properties" : {
"day_through" : {
"anyOf" : [
{
"$ref" : "#/$defs/PipelineRef"
} ,
{
"type" : "null"
}
]
} ,
"line" : {
"$ref" : "#/$defs/Line"
}
} ,
"required" : [
"line"
] ,
"type" : "object"
}
} ,
"required" : [
"Slept"
] ,
"type" : "object"
2026-11-08 17:47:32 +01:00
} ,
{
"additionalProperties" : false ,
"description" : "A campaign's history left this mind for `to`, the mind that now keeps it. Final: the campaign and every\ndocument under its root read resolved by this and take no further writes here." ,
"properties" : {
"Moved" : {
"properties" : {
"to" : {
"$ref" : "#/$defs/Slug"
}
} ,
"required" : [
"to"
] ,
"type" : "object"
}
} ,
"required" : [
"Moved"
] ,
"type" : "object"
2026-10-09 14:07:58 +02:00
}
]
} ,
"Sha" : {
"description" : "A git commit id: 7-40 lowercase hex characters." ,
"maxLength" : 40 ,
"type" : "string"
} ,
"Short" : {
"description" : "Text of at most 200 UTF-8 bytes." ,
"maxLength" : 200 ,
"type" : "string"
2026-11-08 17:47:32 +01:00
} ,
"Slug" : {
"description" : "A campaign slug or key segment: label parts joined by `.`." ,
"maxLength" : 64 ,
"type" : "string"
2026-10-09 14:07:58 +02:00
}
} ,
"$id" : "https://gamecult.dev/epiphany/cultnet/epiphany.pipeline.resolution.v2.schema.json" ,
"$schema" : "https://json-schema.org/draft/2020-12/schema" ,
"description" : "The record of how a subject was closed and by what. `sequence` is per\nsubject and set by the writer, `1` for the first, and it is the last\npart of the key, so a subject's resolutions share a prefix and a\nwithdrawn one is kept under its subject rather than overwritten.\nWhether a sequence is the previous plus one, and whether an earlier\nresolution still stands, are admission's rules: this crate refuses\nneither `0` nor a gap, exactly as it refuses neither `revision: 0` nor\na `revision` with no predecessor." ,
"properties" : {
"outcome" : {
"$ref" : "#/$defs/ResolutionOutcome"
} ,
"rationale" : {
"$ref" : "#/$defs/Para"
} ,
"resolved_on" : {
"$ref" : "#/$defs/Date"
} ,
"sequence" : {
"format" : "uint32" ,
"minimum" : 0 ,
"type" : "integer"
} ,
"subject" : {
"$ref" : "#/$defs/PipelineRef"
}
} ,
"required" : [
"subject" ,
"sequence" ,
"outcome" ,
"rationale" ,
"resolved_on"
] ,
"title" : "PipelineResolution" ,
"type" : "object"
}