← Reddit

Project structure alignment + Workflow advice ?

Reddit · Remarkable_Ad_8785 · August 16, 2026
CONTEXT : I align the menu structure of a site with that of the provider. The first time a menu was imported that created duplicates + subcategories placed in other categories or subcategories and was not relevant + missing categories. I had Claude analyze my

Detailed Analysis

This Reddit post captures a workflow-design dilemma that surfaces frequently among developers using Claude Code for extended, multi-session projects: file proliferation driven by an AI assistant's own documentation instincts. The user describes a menu/category-alignment task where Claude Code, acting as what the poster calls an "archivist," kept spinning off numbered markdown files (70_, 80_, 90_, 92_) each time it detected a gap in the previous file's utility — a journal that lacked a clean plan, a plan that lacked a checklist, a checklist that didn't account for differing data lifecycles. Each new file preserves a traceability chain back to its predecessor, which is valuable for auditing where a decision originated, but the poster finds this cascading structure is starting to work against the very goal it was meant to serve: knowing where they left off and what to do next.

The technical stack described here is unusually sophisticated for what's ostensibly a "how do I organize my markdown files" question. The user has layered a database storage system, five core .md files anchored by a MEMORY.md index, an MCP Memory server registered at the repo level, a RecursiveCharacterTextSplitter chunking pipeline (250 token chunks, 125 token overlap, 10-chunk retrieval), a ChromaDB hybrid search index combining semantic search with BM25 via reciprocal rank fusion, a separate RAG document index, and active hooks with a pending task queue — all on top of Claude Code's native project memory and commit-message conventions. This is essentially a homegrown retrieval-augmented memory architecture bolted onto an agentic coding tool, reflecting a broader pattern among power users: as Claude Code and similar agents get better at autonomous multi-step work, the bottleneck shifts from the model's raw capability to the surrounding scaffolding — how state, intent, and history get persisted and re-surfaced across sessions where context windows reset.

The underlying tension the user articulates is a real and recurring design problem in long-horizon agentic workflows: the tradeoff between traceability and usability. A fully auditable chain of documents (each file citing its "source code" lineage) satisfies the goal of never losing why a decision was made, but it imposes cognitive and token overhead every time a human or the model has to reconstruct current state by walking the chain. The user's proposed alternatives — a single live "working" file that gets cleared and archived after each task, versus a flatter log-only file with zero cross-references, versus a minimal "start here" pointer plus a append-only log plus an immutable history file — map onto a well-known pattern in software engineering and technical writing: separating "current state," "decision log," and "historical archive" into distinct artifacts with different update cadences and different audiences (one for the agent to consume cheaply, one for humans to audit, one for posterity). This is functionally similar to how teams separate a CHANGELOG from an ADR (architecture decision record) directory from a live sprint board, and the poster is essentially rediscovering that pattern through trial and error with Claude Code.

This case is illustrative of a broader trend in the Claude/agentic-coding ecosystem: as these tools become capable enough to run multi-day or multi-week projects with persistent memory, the community is actively experimenting with (and largely improvising) conventions for "AI-native" project management — memory files, retrieval indices, hooks, and archival policies that didn't need to exist when interactions were single-turn or short-session. Anthropic's own documentation around CLAUDE.md and Claude Code's memory features provides a starting scaffold, but nothing prescriptive for token-efficient long-term state management at this level of complexity, which is why users like this one end up hand-rolling ChromaDB indices and custom chunking parameters. The likely near-term trend, visible in this post and similar ones across Claude Code communities, is convergence toward lightweight, tiered memory conventions (a minimal "resume point" file, an append-only decision log, and a compacted/archived history) rather than deeply nested reference chains — essentially applying classic engineering discipline (single source of truth, clear ownership per artifact, cheap-to-read summaries) to keep agent-generated documentation from becoming its own maintenance burden.

Article image Read original article →