Add agent maintenance infrastructure for SDK documentation sync #16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR introduces a comprehensive system for keeping Claude agent documentation synchronized with Flutter SDK changes.
What's Added
🤖 Agent & Configuration
.claude/agents/cloudx-flutter-agent-maintainer.md: Autonomous agent for detecting SDK changes and syncing agent documentation.claude/maintenance/SDK_VERSION.yaml: Source of truth for SDK version (v0.18.0) and critical API signatures🔄 GitHub Workflows
.github/workflows/sync-agent-repo.yml: Detects API changes on push/PR and notifies developers to sync agent docs.github/workflows/validate-maintainer-agent.yml: Validates SDK version consistency between pubspec.yaml and SDK_VERSION.yaml📜 Scripts
scripts/sync_to_agent_repo.sh: Helper script to clone agent repository for syncingKey Features
Maintainer Agent
Sync Workflow
Validation Workflow
Documentation Updates
SDK_VERSION.yaml Updates
initialize()parameter:testMode(was incorrectly documented asallowIosExperimental)CloudXBannerView,CloudXMRECView)CloudXAdViewControllerdocumentationMaintainer Agent Updates
CloudXNativeView)cloudx-flutter)Workflow Improvements
Both workflows now include:
Validation Workflow Will Fail
The
validate-maintainer-agent.ymlworkflow currently checks for sections that don't exist in the maintainer agent:Actual sections in maintainer agent:
Options to fix:
Decision needed: Should be addressed in a follow-up PR or before merging this one.
Script Not Yet Implemented
The
scripts/sync_to_agent_repo.shscript is referenced but may need:cloudx-sdk-agentsrepositoryTesting
Related
This matches the infrastructure in the Android SDK repo for consistency.
🤖 Generated with Claude Code