index.html
26,146 bytes
eee2382e72a83f738bf346ca0ed7c586f6d8adc9eb216df70d425e8969d6cd83Actual output / 2026-09-24 / First-party demonstration
A controlled JavaScript exercise: a supplied cart-total function ignores quantity. Inspect Agent's repair and the reproducible regression tests.
Created with Donatello Agent 0.9.87, Microsoft Store (1.9.87.0), using OpenCode Free · space-bunny-free. No Donatello account was connected; 0 Donatello credits were used.
This isolated preview cannot access your Donatello account. Use fictional sample details only; this is not a real business or contact service.
Create two additional public demonstrations in this same project; do not change website/index.html. (1) game/index.html: a polished, self-contained vanilla HTML/CSS/JS 4x4 memory-pairs game called ORBIT PAIRS, with eight pairs of space-themed symbols, move counter, elapsed timer, matched count, win message, restart, keyboard-operable cards, and reduced-motion support. No packages, downloads, external assets, network calls, storage, credits or deployment. (2) A controlled bug-repair exercise, not a real production incident: preserve bugfix/before.js exactly as: export function totalCents(items) { return items.reduce((sum, item) => sum + Math.round(item.price * 100), 0); } . The defect is that it ignores quantity. Create bugfix/after.js correcting quantity; reject non-integer or negative quantities and negative or non-finite prices; quantity zero is allowed; empty cart totals zero. Provide bugfix/index.html showing the before/after code and a working demo of totals. Provide a README.md inside each folder with limitations and an honest account of checks. Only write these files. Do not launch browsers or execute commands; I will perform independent tests. End when files are written.
No validated end-to-end timing or general performance claim is made.
Generated source is preserved unchanged. Operator-created test records and presentation wrappers are identified above. Compare each file's SHA-256 with this record.
26,146 bytes
eee2382e72a83f738bf346ca0ed7c586f6d8adc9eb216df70d425e8969d6cd831,860 bytes
507657c1b165750eeccd4ef9e0b69078f92067535cab53b286ec8c6545611761113 bytes
890e0e4d6ed90a98791ba228f8f53b80c7c30e69bebcaec16a557695a6939a5f587 bytes
f6111af2887c6dbe545e623089cc7e4d3077f2ff83efad057ad0a70c67933f04All Agent cases and methodology · Download and learn about Agent