anchor.diff:  %% @end
   %%--------------------------------------------------------------------
   waiting_command(get_active_manifest, _From, State) ->
  -    %% TODO:
  -    %% either retrieve the value(s)
  -    %% from Riak, or grab the value
  -    %% from State. Then call some library
  -    %% function to grab the "active"
  -    %% manifest.
  +    %% Retrieve the (resolved) value
  +    %% from Riak and return the active
  +    %% manifest, if there is one. Then
  +    %% stash the riak_object the state
  +    %% so that the next time we write
  +    %% we write with the correct vector
  +    %% clock.
       Reply = ok,
       {reply, Reply, waiting_update_or_delete_command, State}.
   
  
positive.code: %%% Internal functions
  %%%===================================================================
  
  
  
  
negative.code: %% with a particular UUID, update_manifest
  %% should be used from then on out.
  waiting_command({add_new_manifest, _Manifest}, State) ->
      %% retrieve the current (resolved) value at {Bucket, Key},
      %% add the new manifest, and then write the value
      %% back to Riak
      %% NOTE: it would also be nice to assert that the
      %% UUID being added doesn't already exist in the
      %% dict
      {next_state, waiting_update_command, State}.
  
  waiting_update_command({update_manifest, _Manifest}, State) ->
      %% we'll either have a previously retrieved
      %% riak_object in our state, or we'll need to
      %% retrieve the (resolved) value from Riak.
  
      %% Then we need to update the manifest
      %% with this UUID and store the data
      %% back in Riak
      {next_state, waiting_update_command, State};
  waiting_update_command(stop, State) ->
      %% TODO:
      %% need to revisit this and remind myself
      %% the best way to deal with this
      %% w/r/t supervisors, and whether
      %% it's necessary to even use a supervisor
      {stop, normal, State}.
  
  
  