@@ -21,12 +21,11 @@
2121
2222%- agent:dbug
2323=/ state *state-0
24−=/ snik
25− %+ sink ~[/sync]
26− |=(stat=versioned-state (tap:j-orm journal.stat))
27−=/ sink (snik state)
24+=* entries (tap:j-orm journal.stat)
25+=/ snik (sink ~[/sync])
26+=/ sink (snik entries)
2827^- agent:gall
29−
28+::
3029|_ =bowl:gall
3130+* this .
3231 def ~(. (default-agent this %|) bowl)
@@ -40,7 +39,7 @@
4039 |= old-vase=vase
4140 ^- (quip card _this)
4241 =/ state !<(versioned-state old-vase)
43− `this(state state, sink (snik state))
42+ `this(state state, sink (snik entries))
4443::
4544++ on-poke
4645 |= [=mark =vase]
@@ -51,7 +50,7 @@
5150 =/ now=@ (unique-time now.bowl log.state)
5251 =/ act !<(action vase)
5352 =. state (poke-action act)
54− =^ card sink (sync:sink state)
53+ =^ card sink (sync:sink entries)
5554 :_ this(log.state (put:log-orm log.state now act))
5655 ~[(fact:io journal-update+!>(`update`[now act]) ~[/updates]) card]
5756 ::
@@ -93,7 +92,7 @@
9392 [%all ~]
9493 :^ ~ ~ %journal-update
9594 !> ^- update
96− [now %jrnl (tap:j-orm journal.state)]
95+ [now %jrnl entries]
9796 ::
9897 [%before @ @ ~]
9998 =/ before=@ (rash i.t.t.t.path dem)