FeatureJournal class

The whole canonical stream for one feature — everything JournalReader hands a tool, so the tool never opens a journal file itself.

Constructors

FeatureJournal({required String feature, required String featureDir, required bool journalPresent, required List<JournalEntry> entries, required Map<String, Map<String, dynamic>?> receipts, required String cycleLog, required Map<String, String> greenEvidence, required List<JournalBehavior> behaviors, required JournalVerdict verdict})
const

Properties

behaviors → List<JournalBehavior>
The registered behaviors (artifact registry records; empty when no registry).
final
cycleLog → String
The raw tdd/cycle-log.md content ('' when absent) — the journal's prose mirror. The rich per-step parse stays with the consumer (theater's timeline parser); the READ comes from here.
final
entries → List<JournalEntry>
Every parsed entry, in file order (oldest first).
final
feature → String
final
featureDir → String
final
greenEvidence → Map<String, String>
Latest green-evidence timestamp per behavior id (from the cycle-log's green entries) — a behavior is GATED when its evidence exists and the files it exercised are unchanged since the last prove.
final
hashCode → int
The hash code for this object.
no setterinherited
journalPresent → bool
Whether tdd/journal.json exists (absence is honest pending state, never an error).
final
lastEngineCycle → JournalEntry?
The last engine-lane entry (null when the engine lane never ran under journal-writing cycles).
no setter
lastMeta → JournalEntry?
The last meta entry (the run meta-driver's aggregate record).
no setter
lastProve → JournalEntry?
The last prove entry, null when prove never ran.
no setter
lastSkinCycle → JournalEntry?
The last skin-lane entry.
no setter
receipts → Map<String, Map<String, dynamic>?>
The refs-followed lane receipts: engine + skin, decoded. Null lane value = receipt absent (or corrupt — named in JournalVerdict.notes).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
verdict → JournalVerdict
The derived one-line verdict.
final

Methods

entriesOf(String cycle) → List<JournalEntry>
Entries filtered by cycle, in file order.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited