SShortSingh.
Back to feed

Hackathon shopping agent wrongly blocked a women's T-shirt over a negation bug

0
·3 views

A developer building a shopping concierge agent for the Agentware 2026 hackathon found its deterministic guardrail misreading user intent. When the shopper asked for a cotton T-shirt with no men's cuts, the rule read the word men's as a request and refused a women's shirt three times. A separate test with a hoodie for a boyfriend also revealed the system failing to identify the intended recipient. Neither case led to a purchase, since the agent is designed to never pay and to hand off checkout. The author concluded that the guardrail itself needs testing with real, natural-language sentences, and that recording a demo early is a cheap way to find such flaws.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Google Play closed test: what happens if testers drop below 12

Google requires at least 12 testers opted in continuously for the 14 days before a developer applies for production access, and counts each tester's run separately. A tester who opts out ends only their own run, and anyone who returns later must restart the 14-day count from zero. The guidance notes that uninstalling an app does not by itself remove a tester from the opt-in, though Google also cites low tester engagement as a concern. Developers are advised to identify who left, recruit replacements promptly, and release a build to keep testers engaged. A 14-day calculator is referenced to help work out the earliest eligible apply date.

0
ProgrammingDEV Community ·

Solo developer's Android clipboard manager shows how privacy rules reshaped its design

A solo developer building the clipboard manager ClipFox found that Android's privacy changes reshaped the app more than any other part of it. Since Android 10, background services can no longer read clipboard contents, so the app now reads the clipboard only when it gains input focus, such as when the user opens it or its floating bubble. Reading too early can return null, so the developer reads on focus instead of at startup. Since Android 12, the system displays a notice whenever an app reads another app's clipboard data, which pushed the design toward reading once per open rather than continuously. On Android 13 and later, apps can detect a sensitive flag set by password managers, and ClipFox ignores such text by default, though not every app sets that flag.

0
ProgrammingDEV Community ·

nginx -t can pass while nginx keeps serving the old config; how to deploy safely

A common deploy pattern runs nginx -t and then nginx -s reload, assuming a zero exit status means the new config is live. That assumption can be wrong. The -t check parses configuration without binding listening ports, so port conflicts only surface when the master process starts listening. The reload command is also asynchronous: it only signals the master and exits, and if the master fails to apply the new config, it silently keeps the old one. The article proposes versioned config directories, an atomic symlink swap, a confirmed reload, and a fallback for when nginx fails to start.

0
ProgrammingDEV Community ·

XXE Flaws Stem From Parser Settings; Disabling DTD Processing Is the Fix

The article explains that XML External Entity (XXE) injection can affect an application's XML import feature when the parser runs on default settings. It describes a safe lab-only probe that checks whether the parser resolves an external entity, without reading sensitive data. The author argues that string-based filtering of uploads is unreliable, and that the real remedy is configuring the parser itself, such as disabling DTD processing or using hardened libraries like defusedxml. The piece also notes that many file formats, including SVG, DOCX and XLSX, rely on XML internally and can reach parsers unexpectedly.