Hi Kevin, Thanks for pointing this out.
I agree it is the right time to remove CLAUDE.md, as Claude Code has supported AGENTS.md natively for over two months [1]. Removing the symlink is the simplest way to resolve any issues with progressive instruction loading. I have opened a PR to address this: https://github.com/apache/airflow/pull/77634/. Please review and approve so we can get it merged. I verified Claude's behavior, and newer versions of the Claude Agent SDK properly load AGENTS.md alongside any subfolder AGENTS.md files. We can safely merge this PR without further deliberation and fully transition to using AGENTS.md in Airflow. Regarding your point on verification: I agree agents are getting stronger, which is a double-edged sword. It is definitely worth putting more effort into verification. Based on discussions during my recent trip, our roles are shifting toward harness engineering—designing and implementing limits and controls for agents to make both PR creation and review/verification faster and more accurate. My approach has always been that every fix should improve our long-term processes, not just solve the immediate issue. This philosophy is more impactful now than ever. The compound effect of these changes will help us increase velocity without sacrificing quality or taking the joy out of our work. We will be able to make complex changes faster and review contributor submissions with less risk. The key is implementing constraints and automated harnesses to make agents self-correcting using deterministic controls: - Unit tests - Pre-commit hooks - Agentic "runtime expectations" (via AGENTS.md + runtime verification skills) - Evals (I updated our evals for the AGENTS.md change, including prompting agents to use git clone --shared instead of worktrees for better compatibility with protected sandboxes) Even though explicit runtime verification steps can now be included in AGENTS.md, having a dedicated runtime verification skill remains worthwhile. It provides an extra signal to agents during long contexts where instructions might otherwise be deprioritized. The more we define under runtime verification, the better the agents will perform. Let's move forward with these changes. Best, Jarek [1] https://github.com/anthropics/claude-code/blob/main/mods/agents-md/README.md On Thu, Nov 26, 2026 at 5:38 AM Andrew Chang <[email protected]> wrote: > Hi all, > > Thanks Jarek for starting this thread! The split is already in the PR, and > +1 to the umbrella issue, happy to help with it. > > Kevin -- yes, thanks for pointing this out. I had the same worry, so the > skill doesn't wait for the agent to load those files by itself. Its first > step looks from each changed file up to the repo root for AGENTS.md files > with a "## Runtime verification" section, and tells the agent to read them. > > Pierre -- thanks for bringing this up! Not long ago a series of PRs made > Breeze able to run in parallel with multiple worktrees (#73836, #73955, > #74282). So if we teach agents to use Breeze for this, I think it should > work, because each run is under a different docker compose project. I'll > try to make sure Breeze supports this reliably (it is the absolute > prerequisite, not only because we're pushing this verification skill, but > also because we work with agents so much). You already run multiple agents > with worktrees, so it would be great if you could give it a try in your > setup when you have time! > > At the Taipei sprint Jarek and I also talked a bit about something that's > not only for runtime verification. In the long term I think we could > maintain one skill per area, and let its maintainers put in what they > really care about, because every area has its own gotchas. I guess some > maintainers already have their own "review skills". We could put them in > the project as public skills, to reduce the back-and-forth time with > contributors. > > A lot of the repeated review asks should be caught by agents. If something > can be checked deterministically, we could make it a lint check. > (e.g. I've seen Amogh, Kaxil and Ash ask contributors so many times to add > autospec when they use mocks in tests, and there are still over 28,000 > mocks without a spec across the project. That could be a hard rule, so I > opened #77463) > > Agents are getting stronger nowadays, and it's a double-edged sword -- they > can generate slop in a second, so I think it's worth putting more effort > into verification. > > Thanks, > Andrew >
