-
Notifications
You must be signed in to change notification settings - Fork 2
docs: add MLflow tracking as concrete example of AI provider agnosticism principle #1331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -73,3 +73,19 @@ Historical note: `.claude/command-templates/` are intentionally retired; they re | |||||||||||||||
| - **[OSE](ose.md)**: External perspective prevents vendor lock-in | ||||||||||||||||
|
|
||||||||||||||||
| This principle ensures AI assistant capabilities remain available even when individual providers experience issues, supporting continuous development workflow with triple redundancy. | ||||||||||||||||
|
|
||||||||||||||||
| ## Implementation Example: MLflow Session Tracking | ||||||||||||||||
|
|
||||||||||||||||
| The MLflow tracking system demonstrates provider agnosticism by extracting actual commands from transcripts rather than maintaining provider-specific patterns: | ||||||||||||||||
|
|
||||||||||||||||
| **Anti-pattern (N×M complexity):** | ||||||||||||||||
| - Different regex patterns for each provider | ||||||||||||||||
| - Provider detection logic | ||||||||||||||||
| - Maintenance burden grows with each new AI assistant | ||||||||||||||||
|
|
||||||||||||||||
| **Correct pattern (provider-agnostic):** | ||||||||||||||||
|
Comment on lines
+84
to
+86
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The anti-pattern description could be more specific to better illustrate the N×M complexity problem. Consider adding concrete examples of what these provider-specific patterns might look like to make the contrast with the provider-agnostic approach clearer.
Suggested change
|
||||||||||||||||
| - Single parser looks for actual `git`, `gh`, and bash commands | ||||||||||||||||
| - No provider detection needed | ||||||||||||||||
| - Works automatically with any AI assistant | ||||||||||||||||
|
|
||||||||||||||||
|
Comment on lines
+88
to
+90
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The correct pattern description could benefit from more specific technical details about how the provider-agnostic approach works. Consider mentioning the specific command types that are extracted or the parsing strategy used.
Suggested change
|
||||||||||||||||
| See: `tracking/parse_session.py:72-95` - Extracts real commands regardless of AI formatting | ||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The line reference |
||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a brief explanation of what MLflow is and why session tracking is relevant to AI provider agnosticism. This would help readers who may not be familiar with MLflow understand the context and relevance of this example.