Skip to content

agentify: Construct architecture and goldenfiles#104

Merged
baalimago merged 5 commits intomainfrom
docs/construct-architecture-and-goldenfiles
Feb 8, 2026
Merged

agentify: Construct architecture and goldenfiles#104
baalimago merged 5 commits intomainfrom
docs/construct-architecture-and-goldenfiles

Conversation

@baalimago
Copy link
Owner

Time to make clai a bit easier to work with for agent, and more token efficient.

I spent $60 yesterday on LLMs crawling the codebase and structuring documentation for each command and important concepts.
In this, I found that Opus 4.6 is very expensive and not very efficient, $40 gave 3 doumentation files, while gpt-5.2 gave the rest + all
goldenfiles for ~$5.

So maybe anthropic models requires higher control where it swaps between different levels of models, or something.

Anyways, docs are now there + goldenfile tests which cover ~20% of the codebase

According to:
go test ./ -race -cover -timeout=10s -covermode=atomic -coverpkg=./...

these tests now cover ~20% of the codebase. Not ideal, but considering
it was one night of llm documentation -> llm testwriting it's not too
bad
@baalimago baalimago marked this pull request as ready for review February 8, 2026 07:57
@baalimago baalimago merged commit 95f3859 into main Feb 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant