Respond in the creator's language (creador.json → idioma: es/en).
- Find the project and version: the creator names the slug, or it is the last one edited (
ls -t proyectos/ | head). The version is the highestedicion-vN.json. - Copy the version:
npx tsx herramientas/ajustar.ts <slug> --desde Ncreatesedicion-v(N+1).json(vN stays read-only). - Edit the new version with the file tools, changing ONLY what they asked. Examples:
- "move k2 down 100 px" →
stickers[id=k2].caja.y += 100(base coordinates 1080×1920;caja.x/caja.y= center). - "remove the SFX on k5" →
stickers[id=k5].sfx = null. - "change the card 'Free' to 'No cost'" →
tarjetas[id=…].texto. - "the title should say …" →
titular.texto(2 lines with\n, ≤ 24 characters each). - A new sticker: make it with
/stickers(logo or their own PNG) and add it with its timing; its SFX comes fromnpx tsx herramientas/sfx/elegir.ts --edicion <v(N+1)> --salida <v(N+2)>.
- "move k2 down 100 px" →
- Check the diff:
npx tsx herramientas/ajustar.ts <slug> --desde N(if v(N+1) already exists, it validates it and prints the changes). It must contain exactly what they asked. - Render:
npx tsx herramientas/render.ts <slug> --version N+1andnpx tsx herramientas/qa.ts <slug> --version N+1(excluded: each alone in its Bash call). Show what changed, with numbers. - General preferences ("never put stickers above X", "bigger cards", "faster"): besides the change, save it in the active style (
notas-director.json→estilo, orcreador.json→estilo_activo):- The creator's words, literal and dated, in the history of
estilo/estilos/<id>/perfil.md, and the rule updated above it. - A value the engine reads (speed, air cuts, safe zone, whether layers may cover the face, pace) →
perfil.json→motor(shape inherramientas/lib/perfil-estilo.ts), with adecisionthat quotes them. - A rule that should be checked automatically (and the profile cannot express) → propose a new rule in
herramientas/validar.tswith its test, and wait for their yes before changing code. - Offer one commit per change, with a message in the creator's language.
- The creator's words, literal and dated, in the history of
Never overwrite a version or a final already delivered.