Add SVO Bestellstrecke domain skill#500
Open
VibeVik89 wants to merge 2 commits into
Open
Conversation
Journey-Engine widget structure, private wlp.cloud APIs (zips/prices/ providers/dates/submissions), shadow-DOM interaction patterns, and traps learned while crawling the svo.de order funnel. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SfJ1DGncLdiaThzdHiv8VH
✅ Skill review passedReviewed 1 file(s) — no findings. |
Contributor
There was a problem hiding this comment.
1 issue found across 1 file
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="domain-skills/svo/bestellstrecke.md">
<violation number="1" location="domain-skills/svo/bestellstrecke.md:30">
P3: This skill currently tells agents that `gw.production.wlp.cloud` has no CORS headers, but the gateway returns `Access-Control-Allow-Origin: https://www.svo.de` for the SVO page origin. That makes the note misleading: page-context `fetch` works because the origin is allowed, while arbitrary external origins may still need a proxy. Consider narrowing the CORS wording so future agents do not avoid a working browser-context request path for the wrong reason.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| - `GET /api/v1/providers?energyType=electricity|gas` — ~1.300 Vorversorger `{id, name, codeNumber}` (BDEW-Nummer). | ||
| - `GET /encore_tools/market_communication/dates?energy=…` — `provider_change_dates.next_with_cancelation/.next_without_cancelation`, `relocation_dates.earliest_possible`. | ||
| - Submit: `POST https://experiences-bff.production.wlp.cloud/svo/customer_journey/submissions`. | ||
| - **Kein CORS-Header** auf gw.production.wlp.cloud → fremde Origins brauchen einen Proxy; `fetch` im Seitenkontext (js()) funktioniert. |
Contributor
There was a problem hiding this comment.
P3: This skill currently tells agents that gw.production.wlp.cloud has no CORS headers, but the gateway returns Access-Control-Allow-Origin: https://www.svo.de for the SVO page origin. That makes the note misleading: page-context fetch works because the origin is allowed, while arbitrary external origins may still need a proxy. Consider narrowing the CORS wording so future agents do not avoid a working browser-context request path for the wrong reason.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At domain-skills/svo/bestellstrecke.md, line 30:
<comment>This skill currently tells agents that `gw.production.wlp.cloud` has no CORS headers, but the gateway returns `Access-Control-Allow-Origin: https://www.svo.de` for the SVO page origin. That makes the note misleading: page-context `fetch` works because the origin is allowed, while arbitrary external origins may still need a proxy. Consider narrowing the CORS wording so future agents do not avoid a working browser-context request path for the wrong reason.</comment>
<file context>
@@ -0,0 +1,50 @@
+- `GET /api/v1/providers?energyType=electricity|gas` — ~1.300 Vorversorger `{id, name, codeNumber}` (BDEW-Nummer).
+- `GET /encore_tools/market_communication/dates?energy=…` — `provider_change_dates.next_with_cancelation/.next_without_cancelation`, `relocation_dates.earliest_possible`.
+- Submit: `POST https://experiences-bff.production.wlp.cloud/svo/customer_journey/submissions`.
+- **Kein CORS-Header** auf gw.production.wlp.cloud → fremde Origins brauchen einen Proxy; `fetch` im Seitenkontext (js()) funktioniert.
+- Direkter `http_get` auf die BFF gibt teils 406 → `Accept: application/json` Header nötig (im Seitenkontext fetchen ist am robustesten).
+
</file context>
…oxes) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SfJ1DGncLdiaThzdHiv8VH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the svo.de order funnel (Tarifrechner Strom/Gas) for future agents:
input[name$=".field"]selectors, scroll+measure+click in one call, native value setter for date inputs, combobox pitfalls.Complements the existing
domain-skills/svo/zaehlerstandsmeldung.md.🤖 Generated with Claude Code
https://claude.ai/code/session_01SfJ1DGncLdiaThzdHiv8VH
Summary by cubic
Adds SVO Bestellstrecke domain skill docs for the Strom/Gas order funnel, covering the
wlp.cloudJourney-Engine widget, APIs, robust Shadow DOM interaction, and key gotchas. Complementsdomain-skills/svo/zaehlerstandsmeldung.md.experiences-bffendpoint to fetch full steps/fields/logic as JSON.Accept: application/jsonnotes.input[name$=".field"]selectors, scroll+measure+click in one call, native date setter, combobox quirks; MaLo/Zähler requirements; do not click final submit on production.usePresscheckboxes ignore CDP clicks (click_at_xy); useel.click()or Playwright; overlay dialogs; prefer Performance API overdrain_events(); link to the journey theme CSS.Written for commit 9e7b631. Summary will update on new commits.