CLAUDE.md: jj + NORMAS_ESENCIALES

This commit is contained in:
reugenio 2025-12-25 19:19:22 +01:00
parent b0b8346355
commit ae55ea5488
2 changed files with 12 additions and 7 deletions

View file

@ -8,15 +8,16 @@
### Paso 1: Leer normas del equipo
```
/mnt/cello2/arno/re/recode/teamdocs/LAST_UPDATE.md
/mnt/cello2/arno/re/recode/teamdocs/NORMAS_ESENCIALES.md
```
Contiene: rutas, VCS (jj), flujo de trabajo, credenciales.
### Paso 2: Leer normas completas si es necesario
```
/mnt/cello2/arno/re/recode/teamdocs/normas/NORMAS_TRABAJO_CONSENSUADAS.md
/mnt/cello2/arno/re/recode/teamdocs/QUICK_REFERENCE.md
/mnt/cello2/arno/re/recode/teamdocs/agenda/2025-12_diciembre.md # Trabajo diario
### Paso 2: Verificar estado con jj
```bash
jj status && jj log --limit 5
zig build test
```
**Nota:** Usamos jj (Jujutsu) en lugar de git. Ver `teamdocs/INFRASTRUCTURE/JJ_JUJUTSU_VCS.md`
### Paso 3: Leer documentación del proyecto
```

View file

@ -415,7 +415,11 @@ fn drawRow(
if (table_state.getRow(row_idx)) |row| {
const value = row.get(col.name);
var format_buf: [128]u8 = undefined;
const text = value.format(&format_buf);
const formatted = value.format(&format_buf);
// Copy text to frame arena to ensure it persists until rendering
// (format_buf is stack-allocated and goes out of scope)
const text = ctx.frameAllocator().dupe(u8, formatted) catch formatted;
// Draw cell text
const text_y = bounds.y + @as(i32, @intCast((config.row_height - 8) / 2));