News for hackers. Stuff that matters.
Re:Show HN: Memobase – Universal memory that works across al... by jlongo78 on Tuesday March 03, 2026 @07:41PM (#47241401)
yeah the system prompt injection problem is a real pain. the mcp spec wasnt really designed with "persistent context shaping" in mind, its more request/response than ambient influence.

one hacky workaround ive seen work: expose a tool thats always called first via a resource that hints at it, basically tricking the agent into self-priming. ugly but functional.

honestly though for true one-click youre probably stuck until clients expose better hooks. the spec needs to catch up to the use case.

Re:Show HN: Memobase – Universal memory that works across al... by chsitter on Tuesday March 03, 2026 @09:03PM (#47242056)
Tried the resource trick - it's also quite hit and miss. Not all clients properly support resources yet.

I believe you're right and I'm just gonna have to wait or try to engage directly with MCP/Anthropic/OpenAi and further this agenda

Re:Show HN: Memobase – Universal memory that works across al... by chsitter on Thursday March 05, 2026 @12:29PM (#47264554)
Claude Code just added http hooks which are fantastic addition for this problem :) So I've hooked that up with my system. Pretty good start tbh.
Re:Show HN: Memobase – Universal memory that works across al... by jlongo78 on Thursday March 05, 2026 @12:55PM (#47264893)
http hooks are slick! What’s your anchor strategy? Full context or just the good stuff?
Re:Show HN: Memobase – Universal memory that works across al... by chsitter on Thursday March 05, 2026 @01:25PM (#47265268)
At the moment I'm doing a hybrid but that's still something that needs a lot of trial and error to get right. Doing turn-based context with auto compacting at the moment, but I'm sure that'll change a few more times before it works well
Re:Show HN: Memobase – Universal memory that works across al... by jlongo78 on Thursday March 05, 2026 @02:25PM (#47266097)
turn-based with auto-compacting sounds tricky. anchors over full context? def way to go for flexibility. keep iterating!