返回 last30days-skill
prompting-gpt-image-2-resolved-block.md
根目录 / tests / fixtures / prompting-gpt-image-2-resolved-block.md
1 # Fixture: `Prompting GPT Image 2` Resolved-block regression
2
3 Documentation-grade fixture. Captures the pre-fix and post-fix shape of the
4 Step 0.55 Resolved block for the topic `Prompting GPT Image 2`. Not parsed
5 by test code — read by reviewers when evaluating regressions in
6 `scripts/lib/categories.py` or the SKILL.md Step 0.55 block.
7
8 The live assertion lives in `tests/test_category_integration.py`. This
9 markdown fixture exists so reviewers can eyeball expected behavior without
10 running pytest.
11
12 ## Failing run (2026-04-22, pre-fix)
13
14 User ran `/last30days Prompting GPT Image 2`. Step 0.55 WebSearch returned
15 OpenAI-brand communities. The model resolved exactly those.
16
17 ```
18 Resolved:
19 - X: @OpenAI (+ @sama, @openaidevs)
20 - Reddit: r/OpenAI, r/ChatGPT, r/singularity, r/artificial, r/ChatGPTpromptengineering
21 - TikTok: #gptimage2, #openai, #aiart
22 ```
23
24 Engine run returned thin results. User manually intervened with "make sure
25 to check image generatorion reddits too" and re-ran with the image-gen
26 peer subs added.
27
28 ## Expected run (post-fix, no user intervention)
29
30 After Step 0.55 Section 2a (category-peer expansion) and Unit 2's engine-side
31 merge in `auto_resolve`, the same topic produces:
32
33 ```
34 Resolved:
35 - X: @OpenAI (+ @sama, @openaidevs)
36 - Reddit: r/OpenAI, r/ChatGPT, r/singularity, r/ChatGPTpromptengineering, r/StableDiffusion, r/midjourney, r/dalle2, r/aiArt (+ ai_image_generation peers)
37 - TikTok: #gptimage2, #openai, #aiart
38 ```
39
40 The peer subs (`StableDiffusion, midjourney, dalle2, aiArt`) appear alongside
41 the WebSearch-returned brand subs. The `(+ ai_image_generation peers)`
42 annotation is the observable contract — its absence on a product-in-a-known-
43 category topic is a Step 0.55 regression.
44
45 ## Guards
46
47 - `tests/test_categories.py::DetectCategoryHappyPath::test_prompting_gpt_image_2_matches_image_generation`
48 - `tests/test_resolve.py::MergeCategoryPeersHappyPath::test_image_gen_topic_appends_peers`
49 - `tests/test_resolve.py::AutoResolveCategoryIntegration::test_auto_resolve_returns_category_key`
50 - `tests/test_category_integration.py` — end-to-end over `auto_resolve` with
51 a stubbed WebSearch that mimics the original failing response.
52
53 ## When to update this fixture
54
55 - Category map changed (a peer sub was reordered, added, or removed).
56 - The observable Resolved-block annotation format changed.
57 - A new category was added that affects this topic.
58
59 Do not update casually. This file is the pre/post record of the 2026-04-22
60 failure.
61
61 lines MARKDOWN