Commit 219b0bc
fix(sdk-expert): force loading campaigns.md and online docs for Console-driven questions
The sdk-expert agent was conflating Campaigns (SDK-managed, trigger-based) with
manual placement display, leading to wrong answers when users asked how to show a
campaign at app launch. Now the agent:
- Loads references/concepts/campaigns.md on any campaign/trigger/APP_STARTED/
readyToOpenDeeplink mention, and disambiguates trigger-based vs placement-based
delivery before writing code.
- Fetches https://docs.purchasely.com/docs/<topic> via ctx_fetch_and_index for
any Console-driven topic (campaigns, audiences, A/B tests, placement config,
Screens, Flows, surveys) and reconciles with bundled references.
- Adds pitfall #16 explicitly stating Campaigns are SDK-managed, not app-coded.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c9dfcb9 commit 219b0bc
2 files changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
5 | 16 | | |
6 | 17 | | |
7 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
0 commit comments