Skip to content

fix: gate generated AGENTS guidance#238

Merged
chubes4 merged 2 commits into
mainfrom
fix/agents-md-core-gate
Jun 16, 2026
Merged

fix: gate generated AGENTS guidance#238
chubes4 merged 2 commits into
mainfrom
fix/agents-md-core-gate

Conversation

@chubes4

@chubes4 chubes4 commented Jun 16, 2026

Copy link
Copy Markdown
Member

Summary

  • make generated wp-coding-agents AGENTS.md guidance no-op unless Data Machine core's datamachine_agents_md_enabled() gate is enabled
  • add regression coverage proving no sections register when the core gate is unavailable
  • keep registration behavior unchanged when the core gate returns true

Testing

  • bash tests/agents-md-guidance.sh

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted the generated MU-plugin gate and regression coverage; Chris reviewed direction and requested the PR.

@chubes4 chubes4 merged commit 2b26faf into main Jun 16, 2026
12 checks passed
@chubes4 chubes4 deleted the fix/agents-md-core-gate branch June 16, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant