뉴스로 돌아가기
혁신AI Understanding 브리핑

연구에서 AI 코딩 지침 파일이 3배 이상 발견됨

1,867개의 리포지토리를 분석한 결과, 에이전트 지침 파일은 관리자가 규칙을 제거한 것보다 훨씬 빠르게 규칙을 축적했으며, 이론적 설명 댓글은 통제된 테스트에서 과도한 증가를 급격히 줄였습니다.

6 min readRead the primary source
기본 소스 문서녹음된 소스
출판사
Catastrophic remembering research paper on arXiv
소스 링크
arxiv.orghttps://arxiv.org/abs/2608.11095
소스 유형
기본 문서 — 우리가 직접 읽는 공식 발표, 논문, 서류 또는 자사 페이지입니다.
맥락60초 안에 이해하세요

여기서 시작하세요

주요 용어

메모리(에이전트 메모리)
AI 에이전트는 연속성을 향상하기 위해 여러 단계 또는 세션에서 사용하는 저장된 컨텍스트입니다.
주석
기계 학습 모델을 훈련하거나 평가하는 데 사용되는 사람이 추가한 레이블 또는 메타데이터입니다.
벤치마크
모델 성능을 측정하고 비교하는 데 사용되는 표준화된 테스트 또는 데이터 세트입니다.
자신을 테스트해 보세요AI 에이전트 퀴즈

무슨 일이 일어났나요?

A new preprint posted August 11 names an observed failure mode in agentic coding repositories "catastrophic remembering": project instruction files keep accumulating rules because adding a precaution is cheap, while safely deleting an old rule becomes harder after its original rationale disappears.

The researchers assembled 247,694 instruction lifetimes and 299,440 commit-to-commit transitions from 1,867 public repositories containing files such as CLAUDE.md. They tracked individual directives through edits and report that the files grew by 226% over their observed lifetimes, adding an average of 4.9 net instructions per modifying commit. The study treats those figures as evidence of persistent accumulation in its sample, not proof that every instruction was unnecessary or that all agentic coding projects behave the same way.

The paper's central mechanism is asymmetric evidence. A maintainer or coding agent can append a new instruction after a mistake without reconstructing every interaction among the rules already present. Later deletion is riskier: once the motivating failure and surrounding context have vanished, removing one directive may require checking whether it still prevents a regression under many combinations of the remaining directives. In the repository data, the estimated deletion hazard fell as an instruction aged, with a reported log-hazard slope of -0.032 per commit.

To test a possible remedy, the authors created instruction-following tasks by inverting IFEval constraints, then compared prompts containing bare rules with prompts that also preserved short comments explaining why each rule existed. In their controlled setup, uncommented prompts accumulated 211.3% excess instructions, whereas commented prompts ended at 1.4% excess. The comments were not extra commands for the model; they were compact provenance intended to make later removal decisions auditable.

The team also evaluated whether smaller, better-documented prompts helped agents follow instructions. On its WildIFEval-derived , the paper reports gains of as much as 23.1 percentage points when rationales were preserved and obsolete rules could be removed. Those results are claims from a newly posted, non-peer-reviewed preprint. The work does not establish that comments alone will improve every coding agent, repository, language, or production workflow.

소스 세부정보: Catastrophic remembering research paper on arXiv ↗

왜 중요한가요?

Repository-level instruction files are becoming durable operational memory for coding agents, so uncontrolled growth can raise token costs, preserve obsolete constraints, and make the rules governing automated code changes harder for people to understand.

The practical risk is not simply a long file. Every instruction competes for a model's attention and can interact with newer rules, tool descriptions, code context, and the user's request. A directive written to prevent one historical failure may become irrelevant after the codebase changes, conflict with a newer policy, or overconstrain unrelated work. If nobody can reconstruct why it exists, the safest local choice is often to retain it, which moves cleanup costs into future commits.

That pattern matters beyond CLAUDE.md. Teams increasingly store conventions, safety boundaries, test commands, architectural decisions, and deployment cautions in machine-readable project guidance. These files can improve consistency and reduce repeated mistakes, but they also become a governance surface: people should be able to identify who introduced a consequential rule, what evidence justified it, and what condition would allow it to be retired. A rationale comment is a lightweight version of that audit trail.

The result suggests a useful design principle for agent memory: remembering should include the conditions for forgetting. Instead of recording only "always do X," a system can preserve the observed failure, the scope of the rule, the relevant component or test, and a review trigger. That does not automate deletion, but it gives a later maintainer evidence for deciding whether the constraint still protects correctness or merely reflects an old environment.

There is also a public-interest angle as coding agents touch more consequential software. Accumulated private instructions can quietly shape security decisions, accessibility behavior, data handling, or how an agent responds to failures. Smaller files are not automatically safer, and aggressive cleanup could remove a vital safeguard. The useful outcome is traceability: fewer unexplained rules, explicit ownership, and review practices that let humans challenge both additions and deletions.

Interactive Mechanism

대화형 메커니즘: 실제로 작동하는 방식

이 개발의 이면에 있는 기본 기술을 대화식으로 살펴보세요.

Agent Lifecycle Stage:
1
User Intent & Planning: "Audit customer refund request #4092 and settle payment."
2
Tool Calling: Emits structured JSON call crm_get_transaction(id='4092').
3
Guardrail & Verification:🛡️ Paused: High-value action requires human operator sign-off.
4
Final Settlement: Refund recorded, email receipt dispatched, and audit log stored.
Core takeaway: An AI agent is not just a language model—it is a closed loop of planning, tool invocation, and environment feedback. Production systems require self-healing retries and strict human approval guardrails.
대화형 개념 확인+10 Points
AI Agents Quiz

What most distinguishes an AI agent from a basic chatbot?

다음에 무엇을 볼 것인가

The next test is independent replication across languages, organizations, agent products, and longer-lived repositories, followed by prospective trials that measure whether documented cleanup improves code quality without deleting important safeguards.

The observational sample has selection limits. Public repositories that commit agent instruction files may differ from private enterprise codebases, and repository history cannot reveal every off-platform discussion or incident that motivated a rule. Growth can also be rational when a project expands. Future analyses should separate useful coverage of new components from duplicate, contradictory, or obsolete instructions and report how results vary by repository age, size, language, contributor count, and agent platform.

The controlled experiments need broader validation. The tasks were derived from instruction-following benchmarks rather than months of live software maintenance, and the paper's matching pipeline was checked on a 50-transition sample. One author produced the hand used in part of the validation. The study did not cover non-English instruction files, and it did not sweep every threshold used to decide when a change counted as a rewrite rather than a continuation of an instruction.

Comments can preserve incorrect rationales as easily as correct ones. Teams should therefore test structured provenance against alternatives such as linked issues, failing regression tests, expiration dates, ownership fields, or automated checks that flag duplicate and conflicting directives. The safest workflow would propose removals, show the evidence and affected tests, and require review for high-impact rules rather than allowing an agent to prune instructions solely to save tokens.

Useful follow-up evidence would measure end-to-end outcomes: prompt size, instruction compliance, task success, regressions, review time, and the number of rules restored after deletion. Researchers should also test whether models actually use rationale comments as intended or sometimes mistake them for additional requirements. Until those results arrive, catastrophic remembering is a well-supported description of the authors' dataset and experiments, not a universal law or a reason to erase mature project guidance wholesale.

관련 가이드 및 퀴즈

AI 에이전트AI 코딩Prompt EngineeringChatGPT와 LLM알고 있는 내용을 테스트해 보세요. 무료 AI 퀴즈를 시도해 보세요.용어집에서 AI 용어를 찾아보세요.AI 모델 출시 추적기를 따르세요.
이것이 유용하다고 생각하시나요?