fee892f38e
Nueva funcion write_analysis_md_bash_infra genera analysis.md con frontmatter.
El pipeline ahora acepta --project para crear analisis directamente en
projects/{proyecto}/analysis/{nombre}/, valida que el proyecto exista,
genera analysis.md con dir_path correcto y ejecuta fn index al final.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.6 KiB
1.6 KiB
id, name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, example, tested, file_path, params, output
| id | name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | example | tested | file_path | params | output | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| write_analysis_md_bash_infra | write_analysis_md | function | bash | infra | 1.0.0 | impure | write_analysis_md(analysis_dir: string, name: string, description: string, tags_csv: string) -> string | Genera un archivo analysis.md con frontmatter valido para el registry. Calcula dir_path relativo a FN_REGISTRY_ROOT (o lo deduce buscando registry.db hacia arriba). Acepta tags como CSV. |
|
false | error_go_core | source write_analysis_md.sh && write_analysis_md projects/aurgi/analysis/ventas ventas 'Analisis de ventas' 'aurgi,ventas' | false | bash/functions/infra/write_analysis_md.sh |
|
Ruta absoluta del analysis.md creado |
Notas
Forma parte del workflow de creacion rapida de analyses dentro de proyectos.
Requiere que analysis_dir exista fisicamente antes de llamar (para resolver path absoluto). Normalmente se llama dentro del pipeline init_jupyter_analysis despues de crear la estructura de carpetas.
El dir_path del frontmatter debe ser relativo a la raiz del registry para que fn index lo enlace correctamente al project_id si esta bajo projects/{nombre}/analysis/.