openvibers/openvibe.markets AGENTS.md
AGENTS.md
| 1 | # AGENTS.md — OpenVibe.Markets |
| 2 | |
| 3 | openvibe.markets: every marketplace, one search (plan §L.1). Node.js/Express, CommonJS, no build step, no database. |
| 4 | |
| 5 | - `server/app.js` the pages (`/`, `/search?q=`) and the API (`/api/v1/search`); `server/views.js` the markup in the |
| 6 | network's shell (openvibe-shared `shell`, `kit.css`) with `public/markets.css`; `server/deals.js` the Deals client |
| 7 | (`GET /api/v1/search`); `server/elsewhere.js` the marketplaces opened with the search filled in. |
| 8 | - **Rules:** no second catalogue (products and offers are Deals'); a price is shown only as of its observation; a |
| 9 | commission never raises a result; nothing about the person is kept; a marketplace is fetched only through a permitted |
| 10 | API or a licensed feed, otherwise it is a link the person follows. |
| 11 | - **Style:** 4-space indent, single quotes, semicolons; theme tokens only in CSS; 44 px targets; every value through |
| 12 | `esc()`. |
| 13 | - **Tests:** `npm test` (openvibe-shared's runner over `test/*.test.js`); `node --check` every changed file. |
| 14 | - **Commits:** OpenVibers identity; gitleaks before every commit. |
| 15 |