Skip to content

Mdc inject feature documentation#2208

Open
jonathanKingston wants to merge 3 commits intomainfrom
jkt/auto/mdc-inject-feature-documentation-3110
Open

Mdc inject feature documentation#2208
jonathanKingston wants to merge 3 commits intomainfrom
jkt/auto/mdc-inject-feature-documentation-3110

Conversation

@jonathanKingston
Copy link
Contributor

@jonathanKingston jonathanKingston commented Jan 27, 2026

Asana Task/Github Issue: N/A

Description

Documents critical, special-case initialization and loading behaviors for injected features (e.g., cookie, platform-specific features) to guide developers and prevent regressions when modifying core lifecycle code.

Testing Steps

  • N/A

Checklist

Please tick all that apply:

  • I have tested this change locally
  • I have tested this change locally in all supported browsers
  • This change will be visible to users
  • I have added automated tests that cover this change
  • I have ensured the change is gated by config
  • This change was covered by a ship review
  • This change was covered by a tech design
  • Any dependent config has been merged

Open in Cursor Open in Web


Note

Low Risk
Documentation-only change with no runtime code modifications; risk is limited to potential confusion if the guidance becomes outdated.

Overview
Adds a new Cursor rule doc injected/.cursor/rules/injected-feature-init.mdc documenting critical injected feature init/load special-cases that must be preserved when modifying injected lifecycle/registry code.

The doc explicitly calls out the global-disable bypass for platformSpecificFeatures, the extension-only alwaysInitFeatures behavior (notably cookie), the cookie feature’s early load() wrapper installation and later init() policy finalization, and the extension fallback to bundled feature lists before site.enabledFeatures is available.

Written by Cursor Bugbot for commit 3a1a8f7. This will update automatically on new commits. Configure here.

Co-authored-by: jkingston <jkingston@duckduckgo.com>
@cursor
Copy link

cursor bot commented Jan 27, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@netlify
Copy link

netlify bot commented Jan 27, 2026

Deploy Preview for content-scope-scripts ready!

Name Link
🔨 Latest commit 3a1a8f7
🔍 Latest deploy log https://app.netlify.com/projects/content-scope-scripts/deploys/697aad3d90568f0008ea64b4
😎 Deploy Preview https://deploy-preview-2208--content-scope-scripts.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 27, 2026

Temporary Branch Update

The temporary branch has been updated with the latest changes. Below are the details:

Please use the above install command to update to the latest version.

@jonathanKingston jonathanKingston marked this pull request as ready for review January 27, 2026 16:51
@jonathanKingston jonathanKingston requested a review from a team as a code owner January 27, 2026 16:51
@github-actions
Copy link
Contributor

github-actions bot commented Jan 27, 2026

[Beta] Generated file diff

Time updated: Thu, 29 Jan 2026 00:44:48 GMT

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.

4 participants