feat(phase2b): P2b.5 — Authority admin controls + new-stage panels (#182, v0.32.0)

Surfaces the master enable toggle (default OFF), per-category tier-map editor, citation threshold, and curate/seo/authority step panels + research-agent-count/editorial-max-rounds in Pipeline Settings. Image pipeline honors _prautoblogger_imagery_suppressed. Completes Phase 2b. QA APPROVE-WITH-P2 d1447340; CI green (phpcs+phpunit VPS-verified). 3 trivial P2 docs/cleanup follow-ups noted.

Agent-Session: prab-phase2b-5-merge
This commit is contained in:
peptiderepo
2026-06-24 11:06:27 +07:00
committed by GitHub
parent df83c4ebc5
commit 6dd23351cb
15 changed files with 482 additions and 12 deletions

View File

@@ -48,6 +48,16 @@ class PRAutoBlogger_Pipeline_Settings_Step_Map {
'agent_keys' => array(),
'description' => __( 'LLM deep-research call. The user-side research brief is a setting below, not a registry prompt.', 'prautoblogger' ),
),
array(
'id' => 'curate',
'label' => __( 'Curate', 'prautoblogger' ),
'icon' => 'dashicons-filter',
'model_option' => 'prautoblogger_curate_model',
'capability' => 'text→text',
'system_key' => 'curate.system',
'agent_keys' => array(),
'description' => __( 'Research judge: deduplicates and scores fan-out results. Authority tier only.', 'prautoblogger' ),
),
array(
'id' => 'analysis',
'label' => __( 'Analysis', 'prautoblogger' ),
@@ -78,6 +88,16 @@ class PRAutoBlogger_Pipeline_Settings_Step_Map {
'agent_keys' => array( 'editor.review' ),
'description' => __( 'Single-pass editorial review — approves, revises, or rejects the draft.', 'prautoblogger' ),
),
array(
'id' => 'seo',
'label' => __( 'SEO', 'prautoblogger' ),
'icon' => 'dashicons-chart-line',
'model_option' => 'prautoblogger_seo_model',
'capability' => 'text→text',
'system_key' => 'seo.system',
'agent_keys' => array(),
'description' => __( 'Writes post-meta SEO fields and computes citation score for the publish gate. Authority tier only.', 'prautoblogger' ),
),
array(
'id' => 'image',
'label' => __( 'Image', 'prautoblogger' ),
@@ -88,6 +108,16 @@ class PRAutoBlogger_Pipeline_Settings_Step_Map {
'agent_keys' => array( 'image.style_template' ),
'description' => __( 'Image prompt rewriter + diffusion generation. The rewriter LLM uses the Analysis model.', 'prautoblogger' ),
),
array(
'id' => 'authority',
'label' => __( 'Authority', 'prautoblogger' ),
'icon' => 'dashicons-admin-site-alt3',
'model_option' => null,
'capability' => 'settings',
'system_key' => null,
'agent_keys' => array(),
'description' => __( 'Master switch and per-category tier assignments for the Authority pipeline.', 'prautoblogger' ),
),
);
}