JournalWriter class
Appends entries to specs/<feature>/tdd/journal.json — the one
writer every cycle (engine/skin/meta, via the shared driver core, the
commands' gate refusals, and prove) funnels through. Atomic
(tmp + rename), and tdd/journal.schema.json lands beside the
journal on first append.
Constructors
- JournalWriter(String featureDir)
-
const
Properties
- featureDir → String
-
The feature directory (
specs/<feature>).final - hashCode → int
-
The hash code for this object.
no setterinherited
- journalPath → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaPath → String
-
no setter
Methods
-
append(
JournalEntry entry) → Future< void> -
Append
entry. Creates the journal (and writes the schema file) on first use; preserves prior entries. -
appendResetTombstone(
{required List< String> behaviorIds}) → Future<void> -
Issue #1264: append
behaviorIds' reset tombstone — the per-behavior evidence invalidation record that tells every later reader (the run driver's reconciliation, above all) that these behaviors' surviving cycle-log evidence no longer describes the tree (their artifacts were dropped). Append-only: prior entries are preserved, exactly like every other journal write. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveRefs(
{String? engineOverride, String? skinOverride}) → Future< ({String? contract, String? engine, String? skin})> - The refs triple for a feature directory: each ref set when its artifact exists on disk, else null (an honest null — the issue's refs are a cross-reference record, not a wish list).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- contractSchemaRef → String
-
no setter
- engineReceiptRef → String
-
The feature-relative (tdd/) receipt paths the refs name — the
conventional homes the driver writes them to.
no setter
- skinReceiptRef → String
-
no setter
Constants
- journalFileName → const String
- resetPhase → const String
- Issue #1264: the tombstone entry's phase — a reset's per-behavior evidence invalidation record.