Settings dashboard edits gates, schedules, providers, and limits #24

Closed
opened 2026-05-28 18:15:03 +01:00 by bingoss · 1 comment
Owner

What to build

Type: AFK.

Upgrade Settings from a read model into safe dashboard controls for Stage Requirement Settings, provider health, schedules, Daily New-Article Limit, Technical Audit site settings, and approval boundaries. Changes must affect future runs without rewriting prior run history.

Acceptance criteria

  • Josh can mark stages and adapters required or optional for future runs through the dashboard.
  • Josh can edit safe tenant settings such as daily_new_article_limit, schedules, and Technical Audit site configuration.
  • Provider health shows configured, skipped, failed, or unavailable state without exposing secrets.
  • Prior run stage snapshots are unchanged when settings are edited.
  • Tests are written first for updates, validation errors, redaction, and no-history-rewrite behavior.

Blocked by

None - can start immediately

## What to build Type: AFK. Upgrade Settings from a read model into safe dashboard controls for Stage Requirement Settings, provider health, schedules, Daily New-Article Limit, Technical Audit site settings, and approval boundaries. Changes must affect future runs without rewriting prior run history. ## Acceptance criteria - [ ] Josh can mark stages and adapters required or optional for future runs through the dashboard. - [ ] Josh can edit safe tenant settings such as daily_new_article_limit, schedules, and Technical Audit site configuration. - [ ] Provider health shows configured, skipped, failed, or unavailable state without exposing secrets. - [ ] Prior run stage snapshots are unchanged when settings are edited. - [ ] Tests are written first for updates, validation errors, redaction, and no-history-rewrite behavior. ## Blocked by None - can start immediately
Author
Owner

Issue #24 completion audit

Implemented and verified:

  • Added a dashboard settings update command that edits stage requirements, adapter requirements, and whitelisted tenant settings with validation and audit events.
  • Added safe editing for daily_new_article_limit, Technical Audit site root/sitemap/crawl limit/priority URL patterns, and schedule settings.
  • Added provider_health to the Settings dashboard with configured, skipped, failed, and unavailable states while omitting raw diagnostics, provider payloads, and secret-bearing error messages.
  • Overlaid dashboard stage requirement settings onto future Growth Orchestrator runs so future stage snapshots use the edited required/optional mode.
  • Preserved prior run stage and adapter snapshots when settings are edited.

Acceptance criteria audit:

  • Josh can mark stages and adapters required/optional for future runs: met via submit_dashboard_settings_update and Growth Orchestrator stage setting overlay.
  • Josh can edit safe tenant settings including daily article limits, schedules, and Technical Audit site configuration: met with whitelisted validation and sanitization.
  • Provider health shows configured/skipped/failed/unavailable states without secrets: met via dashboard_settings provider_health and redaction tests.
  • Prior run stage snapshots remain unchanged after settings edits: met and covered by tests for stage and adapter history.
  • Tests first for updates, validation errors, redaction, and no-history-rewrite behavior: met.

Tests run on codex-server:

  • python3 -m unittest tests.test_postgres_dashboard.PostgresDashboardOverviewTests.test_settings_dashboard_returns_requirement_settings_and_safe_tenant_settings tests.test_postgres_dashboard.PostgresDashboardOverviewTests.test_settings_update_validates_daily_limit_and_preserves_invalid_existing_value tests.test_postgres_dashboard.PostgresDashboardOverviewTests.test_settings_stage_requirement_update_affects_future_runs_only tests.test_postgres_dashboard.PostgresDashboardOverviewTests.test_settings_adapter_requirement_update_does_not_rewrite_adapter_history tests.test_postgres_dashboard.PostgresDashboardOverviewTests.test_settings_provider_health_redacts_secret_diagnostics tests.test_postgres_dashboard.PostgresDashboardOverviewTests.test_settings_update_technical_audit_site_config_and_schedules
  • Result: 6 tests passed.
  • python3 -m unittest tests.test_postgres_dashboard tests.test_growth_orchestrator_worker tests.test_postgres_schema && git diff --check
  • Result: 107 tests passed; git diff --check passed.
Issue #24 completion audit Implemented and verified: - Added a dashboard settings update command that edits stage requirements, adapter requirements, and whitelisted tenant settings with validation and audit events. - Added safe editing for daily_new_article_limit, Technical Audit site root/sitemap/crawl limit/priority URL patterns, and schedule settings. - Added provider_health to the Settings dashboard with configured, skipped, failed, and unavailable states while omitting raw diagnostics, provider payloads, and secret-bearing error messages. - Overlaid dashboard stage requirement settings onto future Growth Orchestrator runs so future stage snapshots use the edited required/optional mode. - Preserved prior run stage and adapter snapshots when settings are edited. Acceptance criteria audit: - Josh can mark stages and adapters required/optional for future runs: met via submit_dashboard_settings_update and Growth Orchestrator stage setting overlay. - Josh can edit safe tenant settings including daily article limits, schedules, and Technical Audit site configuration: met with whitelisted validation and sanitization. - Provider health shows configured/skipped/failed/unavailable states without secrets: met via dashboard_settings provider_health and redaction tests. - Prior run stage snapshots remain unchanged after settings edits: met and covered by tests for stage and adapter history. - Tests first for updates, validation errors, redaction, and no-history-rewrite behavior: met. Tests run on codex-server: - python3 -m unittest tests.test_postgres_dashboard.PostgresDashboardOverviewTests.test_settings_dashboard_returns_requirement_settings_and_safe_tenant_settings tests.test_postgres_dashboard.PostgresDashboardOverviewTests.test_settings_update_validates_daily_limit_and_preserves_invalid_existing_value tests.test_postgres_dashboard.PostgresDashboardOverviewTests.test_settings_stage_requirement_update_affects_future_runs_only tests.test_postgres_dashboard.PostgresDashboardOverviewTests.test_settings_adapter_requirement_update_does_not_rewrite_adapter_history tests.test_postgres_dashboard.PostgresDashboardOverviewTests.test_settings_provider_health_redacts_secret_diagnostics tests.test_postgres_dashboard.PostgresDashboardOverviewTests.test_settings_update_technical_audit_site_config_and_schedules - Result: 6 tests passed. - python3 -m unittest tests.test_postgres_dashboard tests.test_growth_orchestrator_worker tests.test_postgres_schema && git diff --check - Result: 107 tests passed; git diff --check passed.
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bingoss/owned-growth-engine#24
No description provided.