Files
fn_registry/bash/functions/shell/validate_registry_paths.md
T
egutierrez fc4180cbb3 chore: auto-commit (129 archivos)
- .claude/agents/fn-analizador/SKILL.md
- .claude/agents/fn-constructor/SKILL.md
- .claude/agents/fn-executor/SKILL.md
- .claude/agents/fn-mejorador/SKILL.md
- .claude/agents/fn-orquestador/SKILL.md
- .claude/agents/fn-recopilador/SKILL.md
- .claude/commands/app.md
- .claude/commands/compile.md
- .claude/commands/cpp-app.md
- .claude/commands/create_functions.md
- ...

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-01 22:23:12 +02:00

1.3 KiB

name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, params, output, tested, tests, test_file_path, file_path
name kind lang domain version purity signature description tags uses_functions uses_types returns returns_optional error_type imports params output tested tests test_file_path file_path
validate_registry_paths function bash shell 1.0.0 impure validate_registry_paths(db_path: string, table: string, root_dir: string) -> tsv_stdout Consulta registry.db y verifica que cada file_path apunte a un archivo existente en disco. Imprime a stdout las rutas rotas en formato TSV (id, file_path, domain, tabla).
registry
validation
paths
audit
bash
false error_go_core
name desc
db_path ruta a registry.db
name desc
table tabla a validar: functions o types
name desc
root_dir directorio raíz del repositorio
TSV con id, file_path, domain, tabla de rutas inválidas false
bash/functions/shell/validate_registry_paths.sh

Ejemplo

source validate_registry_paths.sh
validate_registry_paths $HOME/fn_registry/registry.db functions $HOME/fn_registry

# Output (TSV):
# cdp_click_go_browser	functions/infra/cdp_click.go	browser	functions

Notas

Impura porque lee el filesystem y la base de datos. No modifica nada — solo reporta.

La salida TSV es consumible por otros scripts o pipelines. Si no hay rutas rotas, no imprime nada.