Agentic AI
Build dependency records help Claude understand systems faster than memory alone
An engineer tested whether a coding agent could understand a multi-component application by reading dependency records from a build platform instead of relying on conversation history or memory notes.
1/2
The New Stack
Every developer using Claude Code faces the same friction: a fresh session starts from scratch, forcing the agent to rediscover the architecture of systems built weeks or months earlier. With each new conversation, the agent must ask what services exist, which components talk to each other, and what data structures connect them. The accumulated context from earlier sessions—compressed into summaries or lost entirely—becomes unavailable.
How dependency records filled the gap#
To explore whether build-time records could provide this missing context, an engineer tested Claude Code on a support platform built from four interconnected components: a React app, an Express backend, a shared ticket entity, and a platform gateway. All four had been versioned and tracked through Bit Cloud, a build and deployment platform that records component dependencies as they're created.
In a fresh session with no conversation history and an empty workspace, the engineer asked Claude to add ticket filtering by status and assignee. The agent's first action was revealing: it recognized the workspace was empty and used MCP calls to read the bit-oss.support scope, discovering all four components and their relationships. From there, Claude retrieved the API references and file inventories for each piece, then imported the source to understand how they connected.
The shared ticket entity's documentation explicitly noted it was "shared between the support service and the agent-facing app"—a fact the dependency records made discoverable without any prior conversation. Claude stayed disciplined: it implemented the filtering only in the app, leaving the shared contract and the backend service untouched. Tests confirmed 41 passes, including nine new filtering tests.
Where the records ran out of information#
The dependency graph told Claude which components shared a contract, but not whether the contract was actually honored. The app's API reference listed routes like GET /tickets and POST /tickets/:id, yet nothing in the records validated that both sides of each dependency still matched. Those details had to be read by inspection and confirmed by testing.
A passing build proved insufficient in other ways. Integration tests for MongoDB were configured to skip if the temporary database couldn't start during CI—so a green build didn't prove they actually ran. Real persistence was confirmed only through manual testing: creating a ticket, adding a comment, restarting the system, and verifying both persisted.
The demo itself remained incomplete. Concurrency control, database migrations, recovery procedures, and mandatory integration tests were still unimplemented—ordinary engineering work that agents cannot yet handle.

