Skip to content

fix(core): handle equivalent instruction paths - #48274

Open
opencode-agent[bot] wants to merge 1 commit into
v2from
instruction-case
Open

opencode-agent[bot] wants to merge 1 commit into
v2from
instruction-case

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • treat platform-equivalent instruction boundaries as the same directory
  • reuse the reached boundary when scanning upward for AGENTS.md
  • prevent instruction discovery from becoming unavailable and blocking compaction when Windows path casing differs

Tests

  • bun test test/instruction-discovery.test.ts test/instructions/index.test.ts test/instruction-state.test.ts
  • bun typecheck

Requested by: @Hona (Hona via Slack)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant