be an agent 7/28
# general
r
be an agent 7/28
@Vince i think we are going to run into some confusion for the agent around last 24 hours and comparing previous day usage
i've been using "last 24 hours" for activity summary
v
yeah, i've made last_24 the default for the observation agent with hints to use it over 'yesterday' since we want to capture the past midnight hours for kids like the one today
r
yeah but I think we are going to need to take a "both" approach as I'm working through it
basically use yesterday to compare day over day, and then also look at the morning so far
then the morning update is "here is how yesterday went and how this morning is going so far"
and maybe breaking things into like Xh yesterday and already Yh today
ahhh i don't know actually
i'm torn again on this
v
lol human agent is himself confused
also the observation agent runs at ~6 am so ideally/in theory there isn't much activity in the mornings yet
r
yeah but all post-midnight usage
v
everything midnight - ~6 should be captured by the last_24 hours which I think is a good window
r
basically I just need the comparison tools to be able to do both the 6am - 5:59 day over day style AND the midnight-11:59 reporting style
ack 1
yeah the last 24 hours becomes inconsistent with the total amount of time yesterday stuff though
v
okay true
r
CleanShot 2026-07-28 at 18.22.22.png
yesterday should lineup with Friday July 17 right? @Vince
v
yeah it should, not sure why these aren't lining up but will look into this
r
want me to data dump this
v
yes please
r
observation-example-2026-07-29T01-42-43-422Z.json
v
so for this specific example, there was a 25 minute session that started just before midnight on the 17th, getActivitySummary includes that full session without clipping it to midnight, and compareActivitySummary splits the days directly at midnight