SShortSingh.
Back to feed

FLOCK.md: A Single Root File to Help AI Agents Navigate Repo Knowledge

0
·1 views

A developer on DEV Community describes how AI agents writing project documentation faster than teams can organize it leads to unfindable, scattered records across repositories. To address this, they propose FLOCK.md, a plain markdown file placed at the repo root that maps where different types of knowledge — decisions, design notes, specs — are stored. The system also defines a four-document lifecycle per unit of work, covering why something was built, what was planned, how it was implemented, and what actually happened. A key rule requires that reversed decisions are never deleted but marked superseded with dates, so agents re-reading the codebase do not confidently re-propose already-rejected ideas. The author argues the blueprint-versus-worklog split is critical because agents are prone to treating outdated plans as current reality when divergence goes unrecorded.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

AI Workstation splits chat, live discovery, and agent skills into three layers

A developer building AI Workstation found that questions requiring live data — such as trending topics or active open-source projects — did not fit well inside a general chat interface. This led to a three-layer architecture: a general workspace for everyday tasks, public discovery Radars for current evidence, and installable Agent Skills for structured follow-up. Two Radars were introduced — Global Topic Radar for content creators and Open-Source AI Radar for developers — each displaying sourced, dated information without overstating its reliability. Two open-source Agent Skills, Topic Intelligence and AI Open Source Intelligence, translate Radar findings into structured briefs covering research gaps, license checks, and project comparisons. The design philosophy centers on making model limitations visible by separating freshness, identity, and provenance checks into explicit, inspectable layers rather than burying them inside a single prompt.

0
ProgrammingDEV Community ·

How to Run True End-to-End Email Tests in Playwright Without Mocking

Most email testing tutorials only verify that a send call was attempted, leaving the actual delivery and content untested. A more robust approach uses Playwright to drive a real signup flow while routing messages to a disposable inbox provisioned via a REST API, such as MoeMail. The setup involves four components: a unique per-test email address, the browser flow that triggers the send, a polling mechanism to retrieve the delivered message, and code or link extraction with assertions. Wrapping inbox creation in a Playwright fixture keeps transport logic out of individual tests and ensures each test run gets a fresh, isolated address. Key reliability tips include never sharing addresses across tests, asserting on regex extraction before using the result, and checking the HTML email part when plain-text content may be out of sync.

0
ProgrammingDEV Community ·

Indie dev repositions Mac security app as an AI agent sensing tool via MCP

A solo developer building a Mac network security app called RoamSwitch found conventional discovery methods ineffective, as the tool cannot be listed on the App Store due to its need for privileged system access and has no advertising budget. The developer also noted that users rarely search proactively for security software, making organic reach nearly impossible. Reconsidering the app's core function — continuously monitoring Wi-Fi trust, exposed ports, and suspicious URLs — the developer realized AI coding agents like those in Cursor or Claude Code lack any awareness of the local network environment they operate in. To bridge that gap, an MCP (Model Context Protocol) server was embedded directly into the app binary, allowing AI agents to query real-time security data such as exposed ports, guard status, and URL safety with a single config line. The pivot reframes the app from a human-facing menu bar tool into a security sensing layer for autonomous AI agents.

0
ProgrammingDEV Community ·

MCP C# SDK: Per-Request Client Capabilities Replace Session-Level Negotiation

The MCP protocol update dated 2026-07-28 eliminated session-based initialization handshakes, making every HTTP request fully self-contained with its own client capabilities declared inside the request's _meta field. In the C# SDK, this means request.Server.ClientCapabilities is intentionally null for stateless handlers, and developers must read capabilities from JsonRpcMessageContext.ClientCapabilities on each individual request. Caching or reusing capability values from earlier requests can cause incorrect behavior, especially when different clients or concurrent calls declare different extension support within the same server process. The ModelContextProtocol.AspNetCore 2.2.0 package exposes the correct per-request value via RequestContext.JsonRpcRequest.Context, which the official SDK documentation designates as the authoritative source. This design supports stateless, horizontally scalable deployments where any server instance can handle any request without sticky routing or a shared session store.