Urgent.News

What's breaking now, across thousands of outlets.

AI

Claude Code found my app’s shared contract in two MCP calls. Then the records ran out.

Every Claude Code user has watched a new session start from zero. You open it on a system you built The post Claude Code found my app’s shared contract in two MCP calls. Then the records ran out. appeared first on The New Stack .

Claude Code found my app’s shared contract in two MCP calls. Then the records ran out.

Claude Code users often start a new session with no prior knowledge of the system they are working on. The agent must rediscover the architecture, including which services and frontends interact and what data types they share. This process often involves memory, as Claude Code loads CLAUDE.md instructions and its own auto-memory notes to recall important information from previous sessions.

However, in September 2023, Claude Code sessions using a redesigned Projects feature gained the ability to share memory across threads. This allowed Claude to access a shared memory of records that provide context without relying solely on memory.

To test this alternative source of context, I built a small support console using Claude Code and examined how it could recover context from dependency records alone. The console consisted of a React app, an Express service backed by MongoDB, a shared ticket entity, and a platform component that connects everything. All four components were versioned publicly in the scope "bit-oss.support", and the console was deployed in production over HTTPS.

When I asked Claude to add filtering by ticket status and assignee, it first checked the empty workspace for local components. Since none existed, Claude read the scope "bit-oss.support" through MCP and found the four components and their dependencies. It then read the API references and file inventories for the app, service, and ticket entity, importing their source without any prior knowledge of the project.

Claude discovered that the app and service depended on the same version of the ticket entity, which was described as "shared between the support service and the agent-facing app." The API reference confirmed this shared dependency.

Claude imported all four components using `bit import`, inspected the source code, and implemented client-side filtering within the app. Tests showed 41 passing tests, including nine new filtering tests. Claude used MPC to discover the system structure, and source inspection and tests validated how to modify the system without affecting the shared ticket entity or the service.

The dependency records had limitations, running out at behavior. While the records revealed which components shared the ticket contract, they did not check if the routes on each side still matched the real service. Additional engineering work was required to ensure proper behavior, including concurrency control, migrations, recovery procedures, and mandatory database tests.

Memory files, such as CLAUDE.md instructions and auto-memory notes, hold valuable intent and context written by humans. Dependency records, on the other hand, provide structure and meaning, showing exactly which components depend on which versions, without any drift from the described versions. Together, memory and records offer a comprehensive understanding of a system's context and functionality.

Written by urgent.news from The New Stack's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at thenewstack.io →

More in AI

🌿 WildStep: I Built an AI That Wants You to Close the App"

🌿 WildStep: I Built an AI That Wants You to Close the App Most apps want your attention. More scrolling. More recommendations. More time spent looking at a screen.

  • WildStep AI app personalizes outdoor missions for users
  • Users earn Grass Points for completing tasks and tracking progress
  • Open innovation allows developers to experiment with mission prompts

How I built an AI that takes over my job search

Jede Woche durchsucht meine Software etwa zwanzig Stellenbörsen. Sie sammelt ein paar hundert Stellenanzeigen. Ein einziger LinkedIn-Sweep brachte kürzlich 112 Ergebnisse.

  • AI developed to assist job applications
  • Software scans 20 job boards weekly, collects 100+ listings
  • Four-stage system filters and evaluates positions

Day 11: Embeddings and Vector Representations — How Machines Map Meaning

To make an AI work with your own company data, you first have to turn that data into something a machine can measure . Words are not measurable. Numbers are.

  • Embeddings convert text into measurable vectors for AI processing
  • Similar meanings produce close proximity on the embedding map
  • Cosine similarity measures vector direction for meaning relevance

Building a Full RAG Pipeline in Spring Boot — From Ingest to Grounded Answer

Previous articles covered the individual pieces of RAG. You now know what embeddings are, how to chunk documents, and how Pinecone stores and searches vectors.

  • Ingest flow processes raw text into chunks, vectors, and stores them in Pinecone
  • Query flow retrieves top 5 most similar chunks for each user message
  • IngestService manages Ingest flow, deleting existing chunks and adding new ones to vector store

More from Sunday 11 October →