fix: workflow-authoring flat schema, bootstrap PATH guidance #111
Reference in New Issue
Block a user
Delete Branch "fix/110-bootstrap-workflow-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Fix remaining issues from 小糯's onboarding testing (#110).
#110.3 — flat schema
$status: { const: "done" }过不了 validatorworkflow-authoringreference 的 "Flat Schema (Single Status)" 示例用了 bareconst,但validate-semantic.ts的hasStatusEnum()要求enum或oneOf+const。Fix: 改为
enum: [done]格式,加注释说明 bareconst不合法。#110.4 —
hermesCLI 不在 PATHuwf-hermes直接 spawnhermes,但 venv 安装的 hermes 不在 PATH。Fix: bootstrap 加
which hermes检查和 venv PATH 指引。Already fixed in rc.1
examples/eval-simple.yaml不存在 → 已换成 inlinehello.yamlcapabilities→ 已有capabilities: []Ref
Fixes #110
LGTM ✅
flat schema —
const→enum: [done],加了type: object包裹,还注释说明了const只在oneOf里合法。新手不会再踩这个坑。PATH 指引 —
which hermes+ venv bin 路径提示,解决 hermes 装在 venv 但不在 PATH 的常见场景。