logoalt Hacker News

alienbaby • yesterday at 10:15 PM • 2 replies • view on HN

I will say, having built something similar for tracking 'memory' and items at home, it can quickly consume your tokens when dealing with both reading and updating, keeping stale info relevant etc.. when the amount of data starts to grow. Smaller tasks can balloon in their token cost as documents a read, updated, collated, refreshed etc..

however, I have found keeping a good solid reference to my home infrastructure, services, ci/cd setup, hosts, storage , networking etc.. really works wonders as a set of 'memories' to share across projects that I expect to be tested / deployed / acceptance tested etc.. using the home infra bits and pieces.


Replies

kaydub • today at 5:18 PM

Most of these things are doing just like you said, taking up context.

The code is the documentation. There's no need for most of this stuff.

stavros • today at 8:27 PM

I wrote a small utility to record the decisions you made, and the paths you didn't take:

https://github.com/skorokithakis/gnosis

This just does a pass at the end, rather than consume context all the time. I've been using it for months and it works great.