feat(core): implement notebook parsing and safe parameter rendering (#1)

Parse YAML frontmatter, shell steps and conditional sections with source ranges and diagnostics. Resolve typed defaults and runtime values through one script substitution path, keeping secrets env-only and validating artifact metadata.

Add yaml for standards-compliant frontmatter parsing and bounded alias handling rather than implementing YAML locally. Cover the spec example and edge cases with 59 core tests, including 256 POSIX shell quoting round trips.
This commit is contained in:
Florian Schmidt
2026-11-16 00:05:27 +01:00
parent d06f4336ae
commit f0d5de691a
6 changed files with 520 additions and 27 deletions
+3
View File
@@ -10,5 +10,8 @@
"build": "tsc -p tsconfig.json --noEmit",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run --passWithNoTests"
},
"dependencies": {
"yaml": "^2.8.1"
}
}