Added llms_enabled site setting #27995
Conversation
New boolean setting (default: true) that controls whether Ghost exposes structured data for LLMs and AI search engines. Adds a toggle in the Meta data > Search tab of admin settings. This setting is the foundation for upcoming llms.txt support. Splitting it out separately so the schema/test-infrastructure changes land first and stop causing rebase conflicts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
It looks like this PR contains a migration 👀 General requirements
Schema changes
Data changes
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (9)
WalkthroughThis pull request adds a new Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
The admin UI toggle for llms_enabled does not do anything yet - it should ship in a second wave once the setting actually controls behavior. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #27995 +/- ##
==========================================
- Coverage 73.82% 73.82% -0.01%
==========================================
Files 1523 1523
Lines 128939 128941 +2
Branches 15485 15481 -4
==========================================
- Hits 95192 95191 -1
- Misses 32787 32813 +26
+ Partials 960 937 -23
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
… entry The llms_enabled migration now lives in 6.40 (from merged PR #27995). Removed the old 6.31 migration and a duplicate snapshot entry left by the rebase. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
These were left over from the original feature commit - the setting is already in the correct position from the merged PR #27995. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
llms_enabledboolean setting (default:true) for controlling whether Ghost exposes structured data for LLMs and AI search enginesSplit out from #27984 so the schema/test-infrastructure changes land first and stop causing rebase conflicts on the feature PR. Admin UI toggle will ship in a follow-up once the setting actually controls behavior.
Test plan
secondary_navigationandmeta_title🤖 Generated with Claude Code