Skip to content

fix: When AGENTS.md does not exist, the traversal will be interrupted…#12206

Open
SpicyRabbitLeg wants to merge 1 commit intocontinuedev:mainfrom
SpicyRabbitLeg:fix/loadMarkDownRules
Open

fix: When AGENTS.md does not exist, the traversal will be interrupted…#12206
SpicyRabbitLeg wants to merge 1 commit intocontinuedev:mainfrom
SpicyRabbitLeg:fix/loadMarkDownRules

Conversation

@SpicyRabbitLeg
Copy link
Copy Markdown

@SpicyRabbitLeg SpicyRabbitLeg commented Apr 23, 2026

… and the issue of AGENT.md/CLAUDE.md will not be further checked.

Description

When AGENTS.md does not exist, the traversal will be interrupted and the issue of AGENT.md/CLAUDE.md will not be further checked.


Summary by cubic

Prevent premature loop exit when AGENTS.md is missing by only breaking after a successful read in core/config/markdown/loadMarkdownRules.ts. The loader now properly falls back to AGENT.md and CLAUDE.md.

Written for commit 4f58180. Summary will update on new commits.

… and the issue of AGENT.md/CLAUDE.md will not be further checked.
@SpicyRabbitLeg SpicyRabbitLeg requested a review from a team as a code owner April 23, 2026 08:31
@SpicyRabbitLeg SpicyRabbitLeg requested review from sestinj and removed request for a team April 23, 2026 08:31
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 23, 2026
@github-actions
Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Bojun-Vvibe added a commit to Bojun-Vvibe/oss-contributions that referenced this pull request Apr 25, 2026
- openai/codex#19526 (merge-as-is): codex-mcp visibility-ordered
  re-export pass; pure mechanical move companion to the surface
  trim. lib.rs reorganized into runtime/config/snapshot/auth
  groups with mod declarations relegated to file bottom.

- BerriAI/litellm#26495 (merge-after-nits): non-chat health-check
  handlers (image/video/embedding/transcription/rerank/ocr/batch)
  inherited spurious max_tokens injection, breaking dall-e-* and
  gpt-image-1 health checks with 400. Fix widens
  _filter_model_params with additional_keys_to_remove and
  threads a _non_chat_filter() closure through the affected
  handlers. PR carries 8800 lines of dev-branch drift that
  needs rebasing out before merge.

- continuedev/continue#12206 (merge-as-is): two-line fix to the
  AGENTS.md → AGENT.md → CLAUDE.md fallback loop in
  loadMarkdownRules.ts. The break was outside the success branch
  so the loop stopped on iteration 1 unconditionally — CLAUDE.md
  was silently never loaded when AGENTS.md was missing.

- ollama/ollama#15808 (merge-as-is): server/sched.go panic on
  model-mismatch-after-eviction held s.loadedMu across the
  panic, deadlocking deferred handlers. Patch unlocks before
  panic and pins ModelPath() to a local for message stability.
Bojun-Vvibe added a commit to Bojun-Vvibe/oss-contributions that referenced this pull request Apr 25, 2026
Lede counter through-drip-38 → through-drip-40. Eight new rows
spliced into per-repo tables for openai/codex, BerriAI/litellm,
continuedev/continue, ollama/ollama, charmbracelet/crush,
anomalyco/opencode, All-Hands-AI/OpenHands, cline/cline.

PRs: openai/codex#19526, BerriAI/litellm#26495,
continuedev/continue#12206, ollama/ollama#15808,
charmbracelet/crush#2693, anomalyco/opencode#24259,
OpenHands/OpenHands#14099, cline/cline#10403.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant