Skip to content

fix: centralize plugin defaults for settings UI#778

Merged
chubes4 merged 1 commit intomainfrom
fix/centralize-plugin-defaults
Mar 10, 2026
Merged

fix: centralize plugin defaults for settings UI#778
chubes4 merged 1 commit intomainfrom
fix/centralize-plugin-defaults

Conversation

@chubes4
Copy link
Member

@chubes4 chubes4 commented Mar 10, 2026

Summary

  • centralize plugin defaults for max_turns and Action Scheduler queue tuning in PluginSettings
  • expose backend defaults through the settings ability so the admin UI stops hardcoding fallback values
  • update chat, pipeline, and settings UI code to use the centralized defaults, including the intentional default of max_turns = 25

Notes

  • changelog intentionally untouched
  • validation on this VPS was noisy due to local env issues (missing JS deps / flaky extension env), so this PR is mainly to capture the clean follow-up change for review

@github-actions
Copy link

github-actions bot commented Mar 10, 2026

Homeboy Results — data-machine

Lint

⚡ Scope: changed files only

lint (changed files only)

  • PHPCS: LINT SUMMARY: 0 errors, 9 warnings
  • Fixable: 9 | Files with issues: 2 of 6
  • PHPStan: PHPSTAN SUMMARY: 207 errors at level 5

Test

⚡ Scope: changed files only

test (changed files only)

  • PHPCS: LINT SUMMARY: 74 errors, 120 warnings
  • Fixable: 165 | Files with issues: 24 of 369
Top violations
  Generic.Formatting.MultipleStatementAlignment.NotSameWarning    55
  WordPress.Arrays.ArrayDeclarationSpacing.ArrayItemNoNewLine    51
  WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned    50
  Universal.Operators.DisallowShortTernary.Found              7
  WordPress.DB.PreparedSQL.NotPrepared                        4
- PHPStan: PHPSTAN SUMMARY: 207 errors at level 5 - OK (48 tests, 128 assertions)

Audit

⚡ Scope: changed files only

audit (changed files only)

  • Actionable audit summary:
  • Alignment score: 0.766
  • Severity counts: info: 17545, unknown: 60, warning: 379
  • Drift increased: no
  • Outliers in current run: 60
  • Parsed outlier entries: 60
  • Top actionable findings:
    1. inc/Abilities/AgentPingAbilities.php — missing_registration — Missing registration: wp_abilities_api_init
    2. inc/Abilities/EngineAbilities.php — missing_registration — Missing registration: wp_abilities_api_init
    3. inc/Abilities/ChatAbilities.php — missing_registration — Missing registration: wp_abilities_api_init
    4. inc/Abilities/JobAbilities.php — missing_registration — Missing registration: wp_abilities_api_init
    5. inc/Abilities/PermissionHelper.php — naming_mismatch — Helper-like name does not match convention suffix 'Abilities': PermissionHelper
Tooling versions
  • Homeboy CLI: homeboy 0.74.1
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: unknown
  • Action: Extra-Chill/homeboy-action@v1

Homeboy Action v1

@chubes4 chubes4 merged commit f7534ae into main Mar 10, 2026
3 checks passed
@chubes4 chubes4 deleted the fix/centralize-plugin-defaults branch March 10, 2026 13:31
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.

1 participant