feat: M3 edit + single-step re-run — input versioning, human-modified audit, staged re-run (v0.20.0) (#161)

QA: REJECT@6ed639d (CTO rebase header P1) -> APPROVE@6727e07 (qa-reviews/prautoblogger/2026-06-12-6727e07.md)
CPO guardrails 1-5 verified hard-AC. CEO conditional greenlight 2026-06-12 in chat (QA-APPROVE condition met).

Agent-Session: cto-m3-merge-20260612
This commit is contained in:
peptiderepo
2026-06-12 21:46:49 +07:00
committed by GitHub
parent 3b6a302f95
commit ac2f20de7e
55 changed files with 5826 additions and 137 deletions

View File

@@ -37,6 +37,14 @@ class DossierDataAssemblerTest extends BaseTestCase {
// Stub PRAutoBlogger_Run_Stage_State::is_available() to return true.
// Static method -- stubbed via wpdb table check returning the table name.
\PRAutoBlogger_Run_Stage_State::flush_cache();
\PRAutoBlogger_Run_State::flush_cache();
\PRAutoBlogger_Stage_Input_Store::flush_cache();
// v0.20.0 additions: image data + eligibility paths.
Functions\when( 'get_post_thumbnail_id' )->justReturn( 0 );
Functions\when( 'get_children' )->justReturn( array() );
Functions\when( 'wp_get_attachment_image_url' )->justReturn( '' );
Functions\when( 'apply_filters' )->returnArg( 2 );
// table_name returns wp_prautoblogger_run_stages.
$this->wpdb->prefix = 'wp_';