Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Our agents' memory lives on a git branch. We were reading it through the API, one file at a time.

A short update from the series on evidence-based agentic development. Our SDLC keeps everything the agents learn — specs, evidence, fix state, stories, team insights — on an orphan git branch called kandi-store . That gives us change control for free: every change is a commit, with history, diff and revert. Then we shipped a build that read that branch through GitHub's REST API, one request per…

Our agents' memory is preserved on a git branch known as kandi-store. This branch stores various aspects of the agents' learning process, such as specifications, evidence, fix state, stories, and team insights. By utilizing an orphan git branch, we benefit from free change control, as every modification is treated as a commit with its own history, diff, and revert capabilities.

We employed GitHub's REST API to read this branch, processing it file by file during each sync operation. GitHub permits users 5,000 requests per hour, which are shared across all tools and machines. In the initial build, this method consumed the quota within minutes, causing interruptions in our work every ten minutes.

During this period, even a single background daemon made around 950 requests per hour. A sync operation for team insights, following a restart, required 262 requests within three minutes, even though no new data was available. It became evident that syncing with git would be a more efficient approach. Each machine maintains a mirror of the git branch, and catching up only requires a git fetch operation, which transfers only the changes and does not consume any API quota.

After implementing this change, a particular machine saw its requests drop from approximately 950 per hour to zero. The git branch now functions like a message stream: a commit acts as a message, a push sends it, and a fetch receives only the updates that have occurred in the correct order. To prevent future instances of this issue, we introduced safeguards such as a request budget per component in CI, a lint rule that prohibits GitHub calls outside our client, and a limit on background calls.

This approach offers significant benefits when the data resides in git. The story behind this solution will be featured in my talk at Build Stuff 2026, which will take place in Vilnius on December 15th, during the 15th edition of the conference, under the theme "The Age of Agency." The session, titled "Control Your Fate at the Metal," will last 45 minutes and will be held in the Human OS Lab room on Wednesday, December 2nd at 15:00.

Attendees are encouraged to attend and engage in conversation; a 20% discount on tickets is available for those who haven't yet registered. Relevant hashtags include #BuildStuff15, #buildstuffconf, and #AgeOfAgency.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Best Cloudflare Alternatives for Indie SaaS 2026

Originally published on Shipfolio . Cloudflare appears in more indie product stacks on Shipfolio than any other hosting tool (21 products at last count). That does not mean it is the only good choice.

  • Vercel is a top Cloudflare alternative for Next.js users with zero-config deployments.
  • Google Cloud Run suits containerized apps needing more control or already in Google Cloud ecosystem.
  • Firebase Hosting is convenient for those already using Firebase for authentication or messaging.

CherryTree's title matches describe pages, not installed desktop copies

CherryTree's title matches describe pages, not installed desktop copies CherryTree is a desktop note-taking application with no official hosted service.

  • CherryTree is a desktop note-taking app without a central service
  • Title matches query for "CherryTree" returns 34 unrelated results
  • CVE vulnerabilities involve parsing, rendering, and LaTeX file reading

Cross-Encoder Reranker max_length=512: Half My Chunk Was Never Read

My reranker gave the right passage a score of -7.9. The passage contained the exact sentence the user asked about, word for word.

  • Cross-encoder reranker with maxlength=512 can truncate passages
  • Different tokenizers cause token count discrepancies
  • MaxP scoring identifies most relevant passage portion

More from Sunday, 29 November 2026 →