mirror of
https://github.com/walkinglabs/learn-harness-engineering.git
synced 2026-09-19 05:06:27 +08:00
79450b0729
Introduce Lecture 14 (From Single Loops to Graph Engineering) and Project 08 (Draw Your Workflow as a Graph), translated into all 15 locales. Update the sidebar config, per-locale READMEs (what's-new blocks, learning path phases 7-8, project evolution, and outline links pointing to each locale's docs), and the root/zh-CN READMEs. Key content: the four stacked layers (prompt to context to loop to graph) and where harness sits, the four parts of a graph, why in-loop checkpoints can't fix the three structural failures at scale, a framework-agnostic six-step build walkthrough, graph vs. workflow, anchors, and the open-source landscape before vs. after the name.
558 B
558 B
第 14 讲代码
使用此文件夹存放以下方面的示例:
- graph.md 图描述模板(节点 / 边 / 共享状态 / 路由规则)
- node-prompt.md 节点角色 prompt 模板
- routing-rules.md 路由规则模板
- maker_checker_graph.py 参考实现(框架绑定:LangGraph):把正文"从零构建"六步变成可运行代码——状态定义、节点、边、条件路由、checkpoint。正文示例框架无关,这是其中一种真实落地的写法
- 图控制脚本示例(执行图、检查 checkpoint、触发人工审批)