News for hackers. Stuff that matters.
Re:Specsmaxxing – On overcoming AI psychosis, and why I writ... by beshrkayali on Sunday May 03, 2026 @04:39AM (#47994839)
I wrote something similar recently about how agent-generated code lacks the institutional memory that human-written code has. There's nobody to ask why a decision was made (1).

“Specsmaxxing” is basically the right response to this. When you can't rely on authorial memory, you have to put the intent somewhere durable. Specs become the source of truth by default if we continue down the road of AI generated code.

1: https://ossature.dev/blog/ai-generated-code-has-no-author/

Re:Specsmaxxing – On overcoming AI psychosis, and why I writ... by bizzletk on Sunday May 03, 2026 @06:34AM (#47995547)
I've been attaching to my commit messages a Git Trailer [1] of the Session UUID from the Claude Code conversation that created that commit.

It allows Claude to look back into the session where a change was made and see the decisions made, tradeoffs discussed and other history not captured by code, tests.

[1] https://git-scm.com/docs/git-interpret-trailers

Re:Specsmaxxing – On overcoming AI psychosis, and why I writ... by chickensong on Sunday May 03, 2026 @03:09PM (#48000293)
A few questions:

- Does Claude leverage the trailers automatically, or is usage initiated by you?

- How often are you using the trailer lookups?

- Any idea how this relates to token usage? If you're frequently busting cache on old sessions, it might be cheaper to read a local doc.

Re:Specsmaxxing – On overcoming AI psychosis, and why I writ... by bizzletk on Sunday May 03, 2026 @09:43PM (#48003673)
> Does Claude leverage the trailers automatically, or is usage initiated by you?

Trailers hint is in my global CLAUDE.md so it knows: when debugging, saying something like "didn't we already discuss this in a previous session?" it will know what to look for.

I also have a manually invoked `/search-session-transcripts` that I can use to natural-language inspect previous session by day, project, session id etc. Claude often uses this skill to narrow down on parts of the conversation that are relevant to the current query.

> How often are you using the trailer lookups?

Mondays are usually the day I need to refer to previous sessions from the week before. Trailer lookups are also good for continuing buildout of adjacent features. They've also been excellent in incident post-mortems where the PR text and commit message aren't enough to gauge the "how" of decisions that led to issues.

> Any idea how this relates to token usage?

I tested this. Session-transcripts are append-only so `/clear` and `/compact` don't clear out old messages, they stay stable and accessible. I also don't clean out my `~/.claude/sessions` ever so there's a lot in there, but the info is valuable and cheap.

Re:Specsmaxxing – On overcoming AI psychosis, and why I writ... by chickensong on Monday May 04, 2026 @01:15AM (#48004887)
Nice, thanks for sharing.
Re:Specsmaxxing – On overcoming AI psychosis, and why I writ... by nicbou on Sunday May 03, 2026 @04:47AM (#47994891)
I had a similar experience refactoring a large codebase• The only thing that made it possible was that each commit message had a JIRA ticket number tying it to a requirement or task. I could find the people behind the business logic and ask them about it.
Re:Specsmaxxing – On overcoming AI psychosis, and why I writ... by try-working on Sunday May 03, 2026 @06:28AM (#47995495)
the recursive-mode workflow has full traceability, including why decisions were made, what the original requirement was, what the previous state was, etc. https://recursive-mode.dev/introduction