logoalt Hacker News

badsectoraculatoday at 12:31 AM1 replyview on HN

Since you're here let me ask a question i had the last time i saw this project: how does your AI handle the ginormous SPEC.md file?[0] (last time i saw it Github was still able to display it :-P).

Are you feeding the entirety of it to Claude (i guess)? Doesn't that eat pretty much all context - and considering that (AFAIK) the spec file has everything about the OS, doesn't available context space put some sort of "hard ceiling" to what you can add to the OS?

[0] https://github.com/jggonz/os8088/blob/main/SPEC.md


Replies

jggonztoday at 12:42 AM

This SPEC.md is more of a memory dump that it chooses to use on some tasks. I was recently thinking of either:

a. splitting it into sub-spec files that can be referenced. b. getting rid of it completely to prevent the LLM from hallucinating with potentially stale information.