Repository navigation
v0.2.4
The plan gate sees every file in the repository, and every hook is fuzzed in CI.
2026-11-23 · stable · English · Español
What this release means for you
While a plan in odd/tasks/ has no deck, the plan gate denies edits outside odd/. It decided whether a file was outside the repository by checking whether its relative path started with two dots, so a file inside the repository whose name starts with two dots, such as ..notes.go or ..cache/x.go, slipped through. It now treats a path as outside only when it really leaves the root. The rest of the release hardens the hooks: every hook that reads JSON is fuzzed with arbitrary input, and CI runs a short fuzzing pass on every push. Patch releases such as this one now publish without a manual approval.
Highlights
| No gap in the plan gate | Hooks fuzzed | Fuzzing in CI |
|---|---|---|
| Names that start with two dots are gated like any other file. | Six JSON hooks never panic, never fail and never block on input they cannot parse. | A 20 second pass per fuzz target on every push and pull request. |
The plan gate
| File edited while the plan has no deck | Before | Now |
|---|---|---|
src/main.go |
denied | denied |
..notes.go, ..cache/x.go (inside the repository) |
allowed | denied |
odd/tasks/plan.md, docs/decks/plan.deck.json |
allowed | allowed |
| a file outside the repository | allowed | allowed |
Fuzzing the hooks
| Target | What it checks |
|---|---|
FuzzPlanGatePath |
for any relative name, the gate agrees with an independent oracle built from the cleaned path |
FuzzHookInput |
lessons, design-gate, plan-gate, design-shot-stop, rate-guard and repo-profile return no error, print nothing or one JSON value, and never deny or block on invalid JSON |
FuzzLessonMatch, FuzzLessonBody |
the lesson triggers and bodies (since v0.2.2) |
go test ./cmd/aval -run '^$' -fuzz '^FuzzHookInput$' -fuzztime 60sA finding turns CI red, which also blocks releases, and the job keeps the failing input as an artifact. rtk-rewrite and pre-push are not fuzzed: they start processes. Fuzzing the guard on shell commands waits for #24.
Fixes
- deck: the plan gate denies files whose name starts with two dots
Upgrade notes
Important
Nothing to do. An edit to a file named like ..notes.go is now denied while the active plan has no deck, as every other source file already was.
Verify this release
gh release download v0.2.4 -R alvaroofernaandez/aval
shasum -a 256 -c SHA256SUMS --ignore-missing
gh attestation verify aval_0.2.4_<os>_<arch>.tar.gz --repo alvaroofernaandez/aval
npx @alvaroofernaandez/aval@latest versionv0.2.4
La puerta del plan ve todos los archivos del repositorio, y cada hook se somete a fuzzing en la CI.
2026-11-23 · estable · English · Español
Qué significa esta versión para usted
Mientras un plan de odd/tasks/ no tiene deck, la puerta del plan deniega las ediciones fuera de odd/. Decidía si un archivo estaba fuera del repositorio comprobando si su ruta relativa empezaba por dos puntos, de modo que un archivo dentro del repositorio cuyo nombre empieza por dos puntos, como ..notes.go o ..cache/x.go, se colaba. Ahora una ruta solo se considera fuera cuando sale de verdad de la raíz. El resto de la versión refuerza los hooks: cada hook que lee JSON se somete a fuzzing con entradas arbitrarias, y la CI ejecuta una pasada corta de fuzzing en cada push. Las versiones de parche como esta se publican ya sin aprobación manual.
Lo más destacado
| Sin hueco en la puerta del plan | Hooks con fuzzing | Fuzzing en la CI |
|---|---|---|
| Los nombres que empiezan por dos puntos pasan por la puerta como cualquier otro archivo. | Seis hooks JSON nunca entran en pánico, nunca fallan y nunca bloquean con una entrada que no pueden leer. | Una pasada de 20 segundos por objetivo de fuzzing en cada push y pull request. |
La puerta del plan
| Archivo editado mientras el plan no tiene deck | Antes | Ahora |
|---|---|---|
src/main.go |
denegado | denegado |
..notes.go, ..cache/x.go (dentro del repositorio) |
permitido | denegado |
odd/tasks/plan.md, docs/decks/plan.deck.json |
permitido | permitido |
| un archivo fuera del repositorio | permitido | permitido |
Fuzzing de los hooks
| Objetivo | Qué comprueba |
|---|---|
FuzzPlanGatePath |
para cualquier nombre relativo, la puerta coincide con un oráculo independiente construido a partir de la ruta limpia |
FuzzHookInput |
lessons, design-gate, plan-gate, design-shot-stop, rate-guard y repo-profile no devuelven error, no imprimen nada o imprimen un solo valor JSON, y nunca deniegan ni bloquean con JSON no válido |
FuzzLessonMatch, FuzzLessonBody |
los disparadores y cuerpos de las lecciones (desde v0.2.2) |
go test ./cmd/aval -run '^$' -fuzz '^FuzzHookInput$' -fuzztime 60sUn hallazgo pone la CI en rojo, lo que también bloquea las versiones, y el job conserva la entrada que falla como artefacto. rtk-rewrite y pre-push no se someten a fuzzing: inician procesos. El fuzzing de la guardia de comandos de shell espera a #24.
Correcciones
- deck: la puerta del plan deniega los archivos cuyo nombre empieza por dos puntos
Notas de actualización
Important
No hay nada que hacer. Una edición de un archivo con un nombre como ..notes.go se deniega ahora mientras el plan activo no tiene deck, como ya ocurría con cualquier otro archivo fuente.
Verificar esta versión
gh release download v0.2.4 -R alvaroofernaandez/aval
shasum -a 256 -c SHA256SUMS --ignore-missing
gh attestation verify aval_0.2.4_<os>_<arch>.tar.gz --repo alvaroofernaandez/aval
npx @alvaroofernaandez/aval@latest version