PT
apps/cryo-studio / BRIEF.md · commit 76aa68d
# Cryo StudioCryo Studio : interface graphique (fenêtres et formulaires dessinés en PHP) pour analyser les snapshots .cryo produits par l'extension C ext-cryo (projet PhpCryo, dépôt privé séparé).Écrans : 1. Vue d'ensemble d'un snapshot (format, version PHP, epoch, nœuds, arêtes, objets, orphelins, octets) + top des classes / des sites d'allocation.2. Racines du graphe (globales, propriétés statiques, variables de frame, orphelins).3. Delta multi-snapshots par site d'allocation : nouveaux objets par intervalle, survivants, taux de survie, drapeau « croissant » -> pointe la ligne qui fuit, avec un extrait du code source surligné.Dans le navigateur ext-cryo n'est pas présente : l'application embarque un lecteur pur PHP du format .cryo v1 (STRS/NODE/EDGE/ROOT/SITE) et des snapshots d'exemple générés par la démo demo_leak.php (un SqlLogger qui garde chaque requête). En natif, si ext-cryo est chargée, elle utilise CryoReader. L'utilisateur peut aussi ouvrir ses propres fichiers .cryo.## An application with windows and forms (JumPHP\Gui)This project is an **application**, not a game: windows with buttons, lists, fields, drawn by PHP (no HTML),the same on the desktop, in the browser and on phones. Follow `AGENTS.md` section 17 and `docs/gui.md`; example:`games/hello-gui`. A window = `forms/<Name>.form.yaml` (its widgets: what the JumPHP IDE's visual editor writes) +`src/Form/<Name>.php` (its code). Test each feature as you write it (`GameTestCase`: click, type, check what theform shows), check the screens with `bin/jumphp shot cryo-studio`.---## The JumPHP playgroundThis project was made on the JumPHP playground: the application's page is https://jumphp.net/cryo-studio (in its "Applications").- The application is `apps/cryo-studio/`. Read `AGENTS.md` (the JumPHP  contract) first; replace the skeleton with the application described above; tests for each feature, as you  write them; screenshots you look at.- **Publishing**: every push to `main` is online within a minute (Git webhook). The MCP tool `sync_project`  (server `jumphp`) publishes at once and returns the errors.- **Its home page**: `apps/cryo-studio/site/` (AGENTS.md section 13, with the application's real screenshots) and  `apps/cryo-studio/assets/thumbnail.png`.- When it is done: MCP `update_project` with `listed: true` shows it in the playground's applications.