i'm a software engineer based in the philippines, driven by curiosity and whatever i find interesting. i learn fast with the caveat of goldfish memory (which i call my context lol) and i'm usually self-motivated that i forget to eat.
this is not like other portfolios. feel free to have a look around and explore what makes me, me.
drag empty cork to move around. drag notes to rearrange them. use +/− or pinch-wheel to zoom. click any note to open it.
i turned weeks of neuroscience papers into her memory system.
W
weave
weave gives long-running agents memory, state tracking, and retrieval that can be inspected.
current benchtypescriptagentsmemory
giving an ai agent a hippocampus
i watched a kdrama about a girl who forgets everything every morning and realized my AI agent has the same condition. so i built it a brain.
wfd · 2026-02-28T02:01:00 · 14 min
what keeps me going
someone else is on the other end.
x.com
follow me on X
from avery v3github.com
Mem0
from giving an ai agent a hippocampusarxiv.org
AI Meets Brain: Memory Systems from Cognitive Neuroscience to Autonomous Agents
from giving an ai agent a hippocampus
i'm less interested in whether it's good.
how does it work?
my focus has improved and i'm not sure why.
ideally when something is coming up, whether it's work related or it's just a personal project of mine i usually let it run at the end because i need pressure to perform things.
maywritten · 2026-06-10 · 3 min
a handdrawn chart titled day in a life showing focus changing through the daymy focus has improved and i'm not sure why.my.clevelandclinic.org
lamotrigine
from my focus has improved and i'm not sure why.
noiseshape
diffusion models
watching a photo develop.
do you want me to do that?
i built an AI agent with persistent memory. now i need to figure out if it's remembering the truth or just what i wanted to hear.
wfd · 2026-03-02T09:42:00 · 4 min
the usage of ai in daily work
AI makes me faster. It also might be making me dumber. I'm figuring out where the line is.
wfd · 2026-02-28T02:01:00 · 3 min
nytimes.com
AIinduced psychosis
from do you want me to do that?⋈
“A clean architecture and OOP enthusiast.”
— kaii.lii
indexeddb ate my user's recording
A user recorded a 4-hour meeting. Hit stop. Nothing showed up. IndexedDB silently deleted the session, and I still don't know why.
wfd · 2025-07-10T01:19:00 · 2 min
A
atlas
atlas maps symbols, calls, tests, and history so developers and agents can ask structural questions about a repository.
current benchtypescriptsqlitemcp
Atlas: structural code-intelligence for LLM agents (an empirical evaluation)
2,239-trial benchmark across 8 OSS repos: Atlas beats a text-search baseline by +0.223 deterministic, +0.127 LLM-judge, at 42% fewer tokens.
wfd · 2026-04-19T18:00:00 · 17 min
O
orchestrator
orchestrator lets a local model read and control a live chromium page through the devtools protocol.
Legacy
This WFD was imported from old blog posts scattered across my files. It may still be relevant or it may not. Kept for the record.
A user on Android Chrome recorded a 4-hour meeting. Hit stop. Nothing showed up. No file, no recording session, just "Recording Not Found" errors everywhere.
I got woken up at 5am for this.
what happened
The weird part: the recording kept going even after the failure started. The failure only manifested at the very end.
Time
Event
T+0m
Recording started, session created successfully
T+0m → T+xm
Recording running normally
T+xm
???????
T+240m
User hits done, nothing's there
We save audio in 5-second chunks, tracked by a session record. We have checks on every chunk to verify the session exists. But something nuked the session at some point, and the recorder kept chugging along anyway.
the investigation
I couldn't replicate it. Tried everything. Finally, I manually deleted the IndexedDB entry for that session.
Same issue, replicated successfully.
So something deleted our IndexedDB entry. We don't have code that deletes session entries. Either .put() failed silently, or the browser did something.
the rabbit hole
While debugging, I found a post by @pesterhazy called The Pain And Anguish Of Using IndexedDB. Turns out IndexedDB is notoriously unreliable across Firebase, PouchDB, Amplify—basically anyone who thought browser storage was a good idea.
The post documented:
Safari randomly deleting storage after a few days
Transactions hanging without throwing
.put() failing silently but resolving anyway
Chrome tab throttling and memory pressure breaking data with no trace
Our situation:
- store.put succeeds at start
- Random deletion happens without QuotaExceeded or any error
- No stack traces, nothing
This wasn't a bug we could fix. We literally don't know what caused it.
the rewrite
Since we couldn't prevent this class of failure, we rewrote the recording flow to survive it:
Fail loudly when something goes wrong (no silent failures)
Redundancy via background uploads to cloud storage
Separate metadata from chunks
Verification on every read to confirm data exists and is ordered correctly
IndexedDB will still do whatever it wants. But now when it breaks, the system screams instead of silently losing four hours of someone's work.
the lesson
I don't trust any storage that resolves without verification. If a write says "done," I verify it actually wrote. If a session disappears, the system halts immediately. If storage breaks, recovery kicks in from another source.
Never trust blindly. Add redundancy even when you're sure it'll work. Because I don't want another 5am wake-up call because I trusted a "well-documented" browser API.