feat: smart error recovery suggestions in validators (#146) #292

Merged
jmiller merged 2 commits from feature/146-recovery-suggestions into main 2026-06-21 03:22:42 +00:00
Owner

Summary

  • RecoverySuggestion class with methods for common fix patterns (missing files, dirs, XML elements, version mismatches, commands)
  • suggest() method on CliFramework — yellow lightbulb-prefixed output
  • Integrated into check_structure.php and check_version_consistency.php

Test plan

  • php -l passes on all modified files
  • check:structure shows fix suggestions when dirs/files are missing
  • check:version shows fix suggestions on version mismatch

Closes #146

## Summary - `RecoverySuggestion` class with methods for common fix patterns (missing files, dirs, XML elements, version mismatches, commands) - `suggest()` method on `CliFramework` — yellow lightbulb-prefixed output - Integrated into `check_structure.php` and `check_version_consistency.php` ## Test plan - [ ] `php -l` passes on all modified files - [ ] `check:structure` shows fix suggestions when dirs/files are missing - [ ] `check:version` shows fix suggestions on version mismatch Closes #146
jmiller added 1 commit 2026-06-21 03:20:19 +00:00
feat: smart error recovery suggestions in validators (#146)
Platform: mokoplatform CI / Gate 2: Unit Tests (8.1) (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 2: Unit Tests (8.2) (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 2: Unit Tests (8.3) (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 3: Self-Health Check (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 4: Governance (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 5: Template Integrity (pull_request) Blocked by required conditions
Platform: mokoplatform CI / CI Summary (pull_request) Blocked by required conditions
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Universal: PR Check / Report Issues (pull_request) Blocked by required conditions
Generic: Repo Health / Scripts governance (pull_request) Blocked by required conditions
Generic: Repo Health / Repository health (pull_request) Blocked by required conditions
Generic: Repo Health / Report Issues (pull_request) Blocked by required conditions
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Branch Policy (pull_request) Failing after 1s
Generic: Repo Health / Access control (pull_request) Successful in 1s
Universal: PR Check / Validate PR (pull_request) Failing after 6s
Universal: PR Check / Secret Scan (pull_request) Successful in 8s
Universal: Auto Version Bump / Version Bump (push) Successful in 10s
Platform: mokoplatform CI / Gate 1: Code Quality (pull_request) Failing after 48s
cb1053274e
- Add RecoverySuggestion class with methods for common fix patterns
  (missing files, directories, XML elements, version mismatches, commands)
- Add suggest() method to CliFramework (yellow lightbulb-prefixed output)
- Integrate into check_structure.php (missing file/dir suggestions)
- Integrate into check_version_consistency.php (version mismatch fixes)
jmiller added 1 commit 2026-06-21 03:20:35 +00:00
chore(version): auto-bump patch 09.34.01-dev [skip ci]
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Failing after 2s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Failing after 3s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Successful in 16s
558c0a0edf
jmiller merged commit caad8ee7d0 into main 2026-06-21 03:22:42 +00:00
jmiller deleted branch feature/146-recovery-suggestions 2026-06-21 03:22:43 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoCLI#292