DEV Community

Roman V
Roman V

Posted on

Your coding agent knows the project. Make it write the facts down

When agents write most of the code, the team ships more than any one person can hold in their head. That's fine until a meeting. Someone asks: what's the retry limit on the payment webhook? Why did we pick NATS over Kafka? When does the import migration land? The answers exist somewhere in the repo, in a decision record or a status file. But you're on a call, and "let me check and get back to you" is the honest answer more often than you'd like.

A simple fix is to have the agent write the facts down where both of you can find them.

A facts file, kept by the agent

Create one plain-text file per project, for example docs/project-facts.md, with short sections:

  • What it is: two sentences a stakeholder would understand.
  • Numbers people ask about: limits, timeouts, SLAs, sizes, versions, each with where it comes from.
  • Decisions: one line per decision with a link to the ADR: "NATS over Kafka, because …".
  • Status: what's in progress, what's blocked and on what, the next date.
  • Who owns what: services, areas, people to ask.
  • Not covered: things people ask about that this project doesn't do. This saves more embarrassment than you'd think.

Then ask the agent to keep it current. In Claude Code or Codex, something like:

Read the code, ADRs, runbooks and status notes in this repo. Update docs/project-facts.md: keep each fact to one line, cite the file it comes from, and remove anything the code no longer supports. Don't change anything else.

Run it after a big merge or before a week of meetings. Review the diff like any other change. If a fact looks wrong, the source is one click away.

Why a file and not "just ask the agent"

You can keep a terminal open and ask the agent during a call. In practice that means typing while someone waits, and reading a paragraph when you need one number. A facts file is fast to scan and easy to review. It also stays in git, so you can see when a number changed and why.

It helps outside meetings too: onboarding, status updates, and the next agent run all start from the same page.

Typical scenario

A lead runs a service through agents: an invoice reconciliation backend with code, a few ADRs, a runbook and weekly status notes. Before a client call, they ask the agent to refresh the facts file and skim the diff. On the call, the client asks where invoice matching happens, how far the import has got, and why the team chose NATS. Each answer is a line in the file, with the source next to it. When the client asks about something the project doesn't do, the "Not covered" section says so, and the lead says so too instead of guessing.

Getting the facts on screen during the call

This is the part we build. FlexQ is a desktop app for macOS and Windows. In Work meeting mode you pick the project folder. You copy one instruction from FlexQ and paste it into a Claude Code or Codex session opened in that folder (for Codex there is also a button that runs it for you). The agent reads the code and docs and writes a compact summary into .flexq/context inside the project. These are plain text files you can open and edit. The agent changes nothing outside .flexq.

During the call, FlexQ listens to the call audio on your computer. No bot joins the call. When someone asks a question, one or two sentences appear on your screen with the key value in bold. You answer yourself, in your own words.

What it doesn't do well yet:

  • Speech recognition sometimes drops a word, so a question is misread.
  • Cues are only as good as what the agent wrote down.
  • We've tested Claude Code and Codex. Other agents that read a folder and write files should work, but we haven't tested them.

On privacy:

  • Call audio goes to a transcription provider during the call.
  • Cues are written by a model from the transcribed question plus excerpts of your project's text documents and the agent's notes. Source code files aren't sent for cues.
  • Transcripts and cue texts are saved to your account by default; you can switch that off in Settings.
  • Tell the other side the call is being transcribed where the law or your company's rules require it.

Try the file first

The facts file works on its own, with any agent and no app. There's a ready template here: flexq.app/guides/project-facts-file-template.

What would you put in "Numbers people ask about" for your project? I read every comment.

Top comments (0)