Why AI Coding Agents Lose Context After the PR, and How to Keep It | Harness Blog
Blog post from Harness
AI coding agents may lose valuable information after opening a pull request because repository-level code context does not include delivery, security, deployment, and runtime evidence generated later in the software lifecycle. The post argues that reliable autonomous development requires combining code context, provided by the Code Context Engine acquired with Cosmos, with delivery context from Harness’s Software Delivery Knowledge Graph, which models relationships across CI/CD, security, cost, and production operations. It describes a governed workflow in which agents can identify affected code and services, propose fixes, undergo review and policy checks, pass approval gates based on risk, and be monitored through continuous verification and rollback mechanisms. Harness presents this approach as part of its Autonomous SDLC platform, while noting that the deeper two-way integration that feeds delivery outcomes directly back into coding workflows remains planned rather than fully released. The post advises teams to evaluate agents not only by patch-generation speed but also by their ability to retrieve relevant context, operate within permissions and policies, verify production outcomes, and maintain auditable evidence throughout the delivery process.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| MCP | 13 | 13,629 | 1,347 | 227 | +14% |
| AI Coding Assistant | 6 | 2,339 | 570 | 165 | +19% |
| Agent Context Engineering | 5 | 142 | 64 | 43 | -42% |
| AI Agents | 2 | 8,024 | 1,621 | 260 | +14% |
| Vector Search | 2 | 1,544 | 278 | 107 | -22% |
| LLM | 1 | 4,920 | 1,057 | 220 | -25% |
| Real-time | 1 | 3,814 | 876 | 218 | -9% |
| Zero Trust | 1 | 65 | 29 | 20 | -54% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.