Ecosystem-wide status dashboard with mode-specific detail levels
Displays ecosystem status with mode-specific detail levels for quick or comprehensive insights.
/plugin marketplace add Data-Wise/rforge/plugin install data-wise-rforge@Data-Wise/rforgeGet comprehensive status information for your R package ecosystem with explicit control over detail level.
Current Mode: {{mode | default: "default"}}
Parse the user's request to detect mode:
Purpose: Daily check-ins, morning stand-up, quick validation
Behavior:
Data Retrieved:
Time Budget: MUST complete in < 5 seconds
Output Format:
š STATUS: mediationverse ecosystem
Overall Health: 87/100 (B+)
ā
medfit 92/100
ā ļø probmed 78/100 (2 warnings)
ā
medsim 85/100
ā
mediationverse 91/100
Critical Issues: 1
⢠probmed: Missing NEWS.md entry
Last Updated: 2 hours ago
Git: Clean, branch: main
Purpose: Investigating issues, understanding problems, detailed diagnostics
Behavior:
Data Retrieved:
Time Budget: SHOULD complete in < 30 seconds
Output Format:
š DETAILED STATUS: mediationverse ecosystem
Overall Health: 87/100 (B+)
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Package: medfit v2.1.0
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Health: 92/100 (A-)
Tests: 187/187 passing (94% coverage)
⢠R/mediation.R: 98% coverage
⢠R/bootstrap.R: 91% coverage
⢠R/utils.R: 87% coverage
CRAN: ā
All checks OK
Docs: 24/25 functions documented (96%)
⢠Missing: .internal_helper
Dependencies: 12 direct, 34 total
ā
All current versions
Issues: 1 warning
ā ļø NEWS.md needs entry for v2.1.1
Last Updated: 2 hours ago
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Package: probmed v1.3.0
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Health: 78/100 (C+)
Tests: 95/98 passing (84% coverage)
ā 3 failures in test-edge-cases.R
⢠Low coverage: R/sensitivity.R (67%)
CRAN: ā ļø 2 NOTEs
⢠NOTE: Package size (3.2 MB)
⢠NOTE: GNU make required
Docs: 18/20 functions documented (90%)
⢠Missing: calc_internal, validate_args
Dependencies: 8 direct, 28 total
ā ļø 1 outdated: boot (1.3-28 ā 1.3-30)
Issues: 4 warnings
ā ļø NEWS.md missing entry
ā ļø 3 test failures
ā ļø Low coverage on sensitivity.R
ā ļø Outdated dependency: boot
Last Updated: 5 hours ago
Dependency Tree:
medfit ā probmed ā medsim ā mediationverse
āā> boot, MASS, stats
Purpose: Performance tuning, identifying slow components, resource optimization
Behavior:
Data Retrieved:
Time Budget: SHOULD complete in < 1 minute
Output Format:
š PERFORMANCE STATUS: mediationverse ecosystem
Overall Health: 87/100 (B+)
ā” Performance Metrics
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Load Times:
medfit: 0.8s ā
Fast
probmed: 1.2s ā
Fast
medsim: 2.4s ā ļø Slow
mediationverse: 0.3s ā
Fast
Test Execution:
medfit: 12.3s (187 tests) ā
66ms/test
probmed: 18.7s (98 tests) ā ļø 191ms/test
medsim: 45.2s (156 tests) ā 290ms/test (SLOW!)
mediationverse: 3.1s (24 tests) ā
129ms/test
Build Times:
medfit: 8.2s ā
probmed: 11.4s ā
medsim: 23.8s ā ļø Slow
mediationverse: 4.1s ā
š Slow Functions (Top 5):
1. medsim::run_simulation 3.2s (heavy computation)
2. probmed::bootstrap_ci 1.8s (1000 iterations)
3. medsim::parallel_setup 0.9s (cluster init)
4. medfit::fit_complex_model 0.7s (optimization)
5. probmed::validate_inputs 0.4s (excessive checks)
š” Optimization Opportunities:
⢠medsim: Cache simulation results (save ~2s)
⢠probmed: Vectorize bootstrap (save ~0.8s)
⢠medsim: Lazy parallel setup (save ~0.9s)
⢠Total potential savings: ~3.7s (15% improvement)
Dependency Analysis:
Total Size: 15.4 MB
Largest: medsim (8.2 MB - simulation data)
Suggestion: Consider moving large datasets to separate package
Purpose: Pre-release validation, CRAN preparation, release readiness
Behavior:
Data Retrieved:
Time Budget: SHOULD complete in < 2 minutes
Output Format:
š RELEASE READINESS: mediationverse ecosystem
Overall Health: 87/100 (B+)
šÆ Release Status
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
medfit v2.1.0 ā v2.1.1
ā
CRAN Checks: All platforms OK
ā
Version: Valid semantic version
ā ļø NEWS.md: Missing entry for v2.1.1
ā
Documentation: 96% complete (24/25)
ā
Test Coverage: 94% (meets 80% requirement)
ā
Breaking Changes: None detected
ā
Reverse Dependencies: 3 packages
⢠All will remain compatible
READINESS: 95% (READY after NEWS.md update)
probmed v1.3.0 ā v1.3.1
ā ļø CRAN Checks: 2 NOTEs (acceptable)
ā
Version: Valid semantic version
ā NEWS.md: Missing entry for v1.3.1
ā ļø Documentation: 90% complete (18/20)
ā Test Coverage: 84% but 3 failures!
ā ļø Breaking Changes: 1 function signature changed
⢠calc_sensitivity(data, method) ā calc_sensitivity(data, method, alpha)
⢠Impact: LOW (argument has default)
ā
Reverse Dependencies: 2 packages
⢠May need notification about API change
READINESS: 65% (NOT READY - fix tests first)
medsim v0.9.5 ā v1.0.0
ā
CRAN Checks: All OK
ā
Version: Major version bump (API stable)
ā
NEWS.md: Complete
ā
Documentation: 100% complete
ā
Test Coverage: 89% (meets requirement)
ā ļø Breaking Changes: 2 functions removed
⢠old_simulate() ā use run_simulation()
⢠legacy_plot() ā use plot_results()
⢠Impact: MEDIUM (deprecated in v0.9.0)
ā ļø Reverse Dependencies: 1 package needs update
⢠mediationverse still uses old_simulate()
READINESS: 80% (READY after mediationverse update)
š Release Sequence Recommendation:
1. Fix probmed tests (2 hours)
2. Update NEWS.md files (30 min)
3. Update mediationverse for medsim v1.0.0 (1 hour)
4. Release sequence: medfit ā probmed ā medsim ā mediationverse
5. Total effort: 4 hours over 2 days
ā ļø CRAN Submission Checklist:
ā
R CMD check clean (all packages)
ā ļø NEWS.md complete (2 need updates)
ā
Version numbers valid
ā ļø No test failures (probmed needs fix)
ā
Documentation complete (>90% all packages)
ā
No major breaking changes without migration path
OVERALL READINESS: 75% (Address 3 issues before release)
You are using the rforge_status MCP tool to gather status information. Follow this workflow:
If user provides --mode argument:
mode = argument value
Else if user mentions "detailed", "debug", "all" in context:
mode = "debug"
Else if user mentions "performance", "speed", "slow" in context:
mode = "optimize"
Else if user mentions "release", "CRAN", "ready" in context:
mode = "release"
Else:
mode = "default"
time_budgets = {
"default": 5 seconds,
"debug": 30 seconds,
"optimize": 60 seconds,
"release": 120 seconds
}
Start timer
Use Task tool to call rforge_status:
- package: {{package | default: "ecosystem"}}
- mode: {{mode}}
- format: {{format}}
Based on mode and format parameter:
Implementation:
# Import formatters from rforge/lib/formatters.py
import sys
from pathlib import Path
rforge_lib = Path(__file__).parent.parent / "rforge" / "lib"
sys.path.insert(0, str(rforge_lib))
from formatters import format_output
# Structure your status results
data = {
"title": "Ecosystem Status Dashboard",
"status": "success", # or "warning" if issues found
"data": {
"mode": mode,
"overall_health": 87,
"packages": {
"medfit": {"health": 92, "status": "healthy"},
"probmed": {"health": 78, "status": "warning", "issues": 2}
},
"critical_issues": 1,
"last_updated": "2 hours ago"
}
}
# Format based on user preference
output = format_output(
data=data,
format_name=format, # "terminal", "json", or "markdown"
mode=mode,
package_name=package if package else "ecosystem" # optional metadata
)
# Display formatted output
print(output)
Data Structure Guidelines:
Format-Specific Behavior:
If approaching time budget:
{{package | default: "Current package or ecosystem"}}
If no package specified:
/rforge:status
# Quick dashboard in < 5s
/rforge:status medfit
# Quick status for specific package
/rforge:status --mode debug
# Detailed breakdown in < 30s
/rforge:status --mode optimize
# Performance metrics in < 1m
/rforge:status --mode release
# Release readiness in < 2m
/rforge:status --mode debug --format json
# Detailed status as JSON for scripting
/rforge:status --mode release --format markdown
# Release readiness as markdown report
/rforge:status medfit --mode debug
# Detailed status for medfit only
/rforge:status medfit --mode release
# Release readiness for medfit
All existing usage patterns continue to work:
/rforge:status # Uses default mode
/rforge:status medfit # Uses default mode for package
/rforge:status --detailed # Maps to debug mode
No breaking changes - default mode provides fast, actionable status.
{{format | default: "terminal"}}
ā Fast by default - Results in < 5 seconds (default mode) ā Scannable - Clear visual hierarchy with emojis ā Actionable - Always shows what to do next ā Progressive detail - Choose depth vs speed ā Predictable - Know what to expect from each mode
/rforge:analyze - Full analysis with mode support/rforge:quick - Ultra-fast status (always < 5s, ignores modes)/rforge:doc-check - Documentation-focused status/rforge:detect - Find packages in workspace"Status too slow"
"Not enough detail"
"Mode not recognized"
When executing this command:
rforge_status MCP tool with mode parameterRemember:
Example Task Delegation:
Use Task tool to call rforge_status MCP tool:
- package: {{package | default: "ecosystem"}}
- mode: {{mode}}
- detail_level: [mode-specific detail level]
- include_metrics: [mode-specific metrics]
- time_budget: {{time_budget}}
- format: {{format}}
Version 2.0.0 - Mode System Implementation Updated: 2024-12-24 Status: ā Ready for use