Skip to content

agent: add adapter for Allegro - #2629

Open
alectimison-maker wants to merge 1 commit into
webbrain-one:mainfrom
alectimison-maker:agent/allegro-pl-adapter
Open

agent: add adapter for Allegro#2629
alectimison-maker wants to merge 1 commit into
webbrain-one:mainfrom
alectimison-maker:agent/allegro-pl-adapter

Conversation

@alectimison-maker

Copy link
Copy Markdown
Contributor

Summary

  • add a focused Allegro.pl site adapter for Chrome and Firefox
  • guide the agent through sponsored placements, grouped variants and sellers, cart review, quick purchase, and conditional Smart! delivery
  • cover trusted storefront URLs, lookalike hosts, other Allegro country sites, and Chrome/Firefox parity

Motivation

Allegro.pl is listed as a high-priority regional site in CONTRIBUTING.md, but it had no adapter. The current search UI mixes Sponsorowane/Promowane placements with ordinary results, exposes a delivered-price sort, and can group multiple offers behind one product card. Without site guidance, an agent can mistake a paid/default result for the cheapest offer or enter the kup i zapłać quick-purchase path before the user reviews delivery and payment details.

The guidance was checked against the current search surface, Allegro's cart documentation, and its buyer flow documentation.

Design

  • match only allegro.pl and www.allegro.pl
  • deliberately exclude Allegro Lokalnie, lookalike hosts, and other country storefronts that need separate localization research
  • keep the six guidance bullets byte-identical across Chrome and Firefox
  • avoid hard-coding a Smart! threshold because eligibility depends on the seller, delivery method, and the account's current terms

Testing

  • node --check src/chrome/src/agent/adapters.js — passed
  • node --check src/firefox/src/agent/adapters.js — passed
  • git diff --check — passed
  • node test/security/injection-corpus.mjs — 60/60 passed
  • node test/run.js — new Allegro coverage passed; 1387 passed overall, with the existing unrelated version/CHANGELOG mismatch still failing (26.0.1 vs 26.0.0)

Compatibility and risks

This only adds a new exact-host adapter and does not change behavior on existing sites. The UI guidance is dated 2026-07 so future label drift is visible to maintainers.

Scope

Allegro Lokalnie and the Czech, Slovak, and Hungarian Allegro storefronts are intentionally deferred until their localized flows are researched independently.

@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

@alectimison-maker is attempting to deploy a commit to the esokullu's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant