ProposalProvenanceLineageStep

Models & Types · AiDotNet.Evolution.Programs.Provenance

One accepted edit in a reconstructed lineage: the parent, the child, and the exchange that joined them.

For Beginners

One rung on the ladder from the first program to the final one: “program A became program B, and here is the conversation with the AI that did it”.

How It Works

A lineage is a chain of these, oldest first. Each step names the two programs it connects and carries the whole provenance record for the request that produced the child, so the prompt, the answer, the model, the cost, and the timing are all attached to the transition rather than kept in a parallel structure. That is the shape the reference implementation assembles as an “action” attached to each improvement step, and it is what makes a lineage directly usable as a training trajectory.

Constructors

Constructor Summary
ProposalProvenanceLineageStep(int stepIndex, ProposalProvenanceRecord record) Initializes one lineage step.

Properties

Property Summary
ProposalProvenanceRecord Record { get; } Gets the full provenance record for the request that produced the child.
int StepIndex { get; } Gets the zero-based position of this step within its lineage.
string ChildGenomeId { get; } Gets the canonical identity of the program this step produced.
string ParentGenomeId { get; } Gets the canonical identity of the program this step started from.

Methods

Method Summary
string ToString() Returns the step position and the two program identities it connects.