2026-10-09 14:07:58 +02:00
{
"$defs" : {
"CodeLocation" : {
"properties" : {
"end_line" : {
"format" : "uint32" ,
"minimum" : 0 ,
"type" : [
"integer" ,
"null"
]
} ,
"line" : {
"format" : "uint32" ,
"minimum" : 0 ,
"type" : "integer"
} ,
"path" : {
"$ref" : "#/$defs/Short"
2026-10-09 21:12:25 +02:00
} ,
"symbol" : {
"anyOf" : [
{
"$ref" : "#/$defs/Symbol"
} ,
{
"type" : "null"
}
]
2026-10-09 14:07:58 +02:00
}
} ,
"required" : [
"path" ,
"line"
] ,
"type" : "object"
} ,
"CommitRange" : {
"properties" : {
"base" : {
"$ref" : "#/$defs/Sha"
} ,
"head" : {
"$ref" : "#/$defs/Sha"
}
} ,
"required" : [
"base" ,
"head"
] ,
"type" : "object"
} ,
"Evidence" : {
"properties" : {
"kind" : {
"$ref" : "#/$defs/EvidenceKind"
} ,
"locator" : {
"$ref" : "#/$defs/Line"
} ,
"result" : {
"$ref" : "#/$defs/Line"
}
} ,
"required" : [
"kind" ,
"locator" ,
"result"
] ,
"type" : "object"
} ,
"EvidenceKind" : {
"enum" : [
"Command" ,
"Test" ,
"Mutation" ,
"Probe" ,
"SourceRead" ,
"Capture"
] ,
"type" : "string"
} ,
"FindingConfidence" : {
"enum" : [
"Confirmed" ,
"Plausible"
] ,
"type" : "string"
} ,
"FindingOrigin" : {
"enum" : [
"Introduced" ,
"PreExisting"
] ,
"type" : "string"
} ,
"FindingSeverity" : {
"enum" : [
"Blocker" ,
"High" ,
"Medium" ,
"Low"
] ,
"type" : "string"
} ,
"ForeignRef" : {
"description" : "A citation of a document in another repo's pipeline store (D6)." ,
"properties" : {
"commit" : {
"$ref" : "#/$defs/FullSha"
} ,
"id" : {
"$ref" : "#/$defs/Short"
} ,
"kind" : {
"$ref" : "#/$defs/PipelineKind"
} ,
"payload_sha256" : {
"$ref" : "#/$defs/Sha256Hex"
} ,
"repo" : {
"$ref" : "#/$defs/OrgRepo"
}
} ,
"required" : [
"repo" ,
"commit" ,
"kind" ,
"id" ,
"payload_sha256"
] ,
"type" : "object"
} ,
"FullSha" : {
"description" : "A full git commit id: exactly 40 lowercase hex characters." ,
"maxLength" : 40 ,
"type" : "string"
} ,
"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"
} ,
"OrgRepo" : {
"description" : "A GitHub repository as `Org/Repo`, at most 140 UTF-8 bytes (39 + 1 +\n100). The owner is 1 to 39 `[A-Za-z0-9-]` bytes with no leading or\ntrailing hyphen; the repo is 1 to 100 `[A-Za-z0-9._-]` bytes, is never\n`.` or `..`, and does not end in `.git`, ASCII-case-insensitively.\nIdentity is case-insensitive: `GameCult/Epiphany` and `gamecult/epiphany`\nare the same repository." ,
"maxLength" : 140 ,
"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"
} ,
"Sha" : {
"description" : "A git commit id: 7-40 lowercase hex characters." ,
"maxLength" : 40 ,
"type" : "string"
} ,
"Sha256Hex" : {
"description" : "A SHA-256 digest: exactly 64 lowercase hex characters." ,
"maxLength" : 64 ,
"type" : "string"
} ,
"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"
2026-10-09 21:12:25 +02:00
} ,
"Symbol" : {
"description" : "A name the location's lines must contain as written there (an\nidentifier or a YAML `&fileID`); not an identity. 1 to 128 bytes, no\nwhitespace and no control character." ,
"maxLength" : 128 ,
"minLength" : 1 ,
"type" : "string"
2026-10-09 14:07:58 +02:00
}
} ,
"$id" : "https://gamecult.dev/epiphany/cultnet/epiphany.pipeline.finding.v2.schema.json" ,
"$schema" : "https://json-schema.org/draft/2020-12/schema" ,
"properties" : {
"campaign" : {
"$ref" : "#/$defs/Slug"
} ,
"claim" : {
"$ref" : "#/$defs/Line"
} ,
"confidence" : {
"$ref" : "#/$defs/FindingConfidence"
} ,
"evidence" : {
"items" : {
"$ref" : "#/$defs/Evidence"
} ,
"maxItems" : 16 ,
"type" : "array"
} ,
"failure_scenario" : {
"$ref" : "#/$defs/Para"
} ,
"invariants" : {
"items" : {
"$ref" : "#/$defs/Label"
} ,
"maxItems" : 8 ,
"type" : "array"
} ,
"label" : {
"$ref" : "#/$defs/Label"
} ,
"locations" : {
"items" : {
"$ref" : "#/$defs/CodeLocation"
} ,
"maxItems" : 16 ,
"type" : "array"
} ,
"origin" : {
"$ref" : "#/$defs/FindingOrigin"
} ,
"precedents" : {
"items" : {
"$ref" : "#/$defs/ForeignRef"
} ,
"maxItems" : 8 ,
"type" : "array"
} ,
"range" : {
"$ref" : "#/$defs/CommitRange"
} ,
"severity" : {
"$ref" : "#/$defs/FindingSeverity"
} ,
"verdict" : {
"$ref" : "#/$defs/Short"
}
} ,
"required" : [
"campaign" ,
"verdict" ,
"label" ,
"range" ,
"confidence" ,
"severity" ,
"claim" ,
"invariants" ,
"locations" ,
"failure_scenario" ,
"evidence" ,
"precedents" ,
"origin"
] ,
"title" : "PipelineFinding" ,
"type" : "object"
}