Repository navigation
fix(hooks): Stop no bloquea al editar docs en un repo sin vault.yaml (#19) - #20
Merged
Merged
Conversation
…19) El sensor huérfano (#6) anotaba cada .mdx o docs/*.md editado en un repo sin vault.yaml y en el Stop emitía decision:block. Claude Code lo muestra como «Stop hook error» y fuerza otro turno, aunque nadie fuera a publicar (p. ej. editar ~/dotfiles). Avisaba de un publish que no ocurrió. El riesgo solo es real al publicar, así que lo cubre el CLI: `basalt publish` marca la fila con no_vault_binding (cofoundy/basalt#746). Se quitan el bucket huérfano, is_doc() y orphan_file(). Los tests del sensor se reemplazan por controles de silencio, que fallan contra el código viejo. Closes #19 Claude-Session: https://claude.ai/code/session_019gtVkMuC73Eu2LYfFT2svh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #19.
Problema. Editar un
.mdxo undocs/*.mden cualquier repo sinvault.yamlhacía que Stop emitieradecision:block. Claude Code lo muestra como «Stop hook error», gasta un turno extra y avisa de un publish que nunca ocurrió. Pasó editando~/dotfiles.Fix. Se quita el bucket huérfano (
post-edit.sh,stop.sh,is_doc(),orphan_file()). El riesgo real (docs/PRD.md→ espaciodocs, exit 0) lo avisa ahora el CLI al publicar, con el warningno_vault_binding(cofoundy/basalt#746). Se actualizan el skill (cli-path.md), el comando/basalty una nota en el ADR 0002. Versión 0.3.3.Verificación.
hooks/tests/run.sh: 94/94 ✓. Los 3 controles nuevos (#19) fallan contra el código viejo, reproduciendo el block exacto, y pasan con el nuevo.https://claude.ai/code/session_019gtVkMuC73Eu2LYfFT2svh