独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
L

liuyingxuvka/FlowGuard

Executable finite-state models for designing and checking AI-agent workflows, UI flows, and development…

装之前:没有可直接复制的命令 · 许可证 MIT · 链接可访问

第一步:pip install -e . # engine, standard library only

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
★ 数取值
3 ★ · liuyingxuvka/FlowGuard · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-31 · 最近见到 2026-11-14 · 共见到 15 次 · 被 1 个来源列出
评分构成
综合分 103 · 3 ★ · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 liuyingxuvka/FlowGuard;我们收录于 2026-10-31;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# FlowGuard

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A "software DNA" for AI-assisted development: one living model tree with code owners, executable models of risky flows, tests and a target for planned changes.
中文说明
FlowGuard maps and checks its own repository (.flowguard/map.json, .flowguard/models/). Its model and boundaries are described in the concept guide.
## What it does
AI agents are good at local edits, but every new session has to rediscover: what parts does the
software have, who owns this behavior, what else does a change affect? FlowGuard keeps three
things in the project:
1. The map .flowguard/map.json - components, their responsibilities, owned state, side
effects, files, entrypoints, dependencies, tests and models. A new session reads the whole map
in a few thousand tokens and knows where to look.
2. Models - small executable Input x State -> Set(Output x State) models of risky flows
(retries, idempotency, caching, ordering, money, permissions, multi-step workflows). FlowGuard
explores every input sequence within a bound, reports counterexamples, checks that known-bad
variants fail, and replays model traces against the real code (conformance).
3. The target - the intended map and models for one planned behaviour or structure change;
implement and check that plan before promoting it to the current model.
The map and models form one tree. Root and component nodes come from the code and stay active;
behavior models are added beneath components when a task needs them, with tests on the same nodes.
python -m flowguard read --mermaid draws this tree.
The current tree lives in .flowguard/map.json and .flowguard/models/; planned changes live in one target under .flowguard/target/ at a time.
For behaviour or structure changes, write the target first, then make the code and tests match it.
Once target check has no ERROR or TO-DO, target promote replaces the current tree and removes the target.
Map and code verify each other: every source file belongs to exactly one component; entrypoints,
flow steps and model files must exist; every real import must be declared;
confirming a component records a fingerprint of its files, so any code change marks it STALE until
someone re-reads and re-confirms it. History lives in git.
## Five-minute start
bash
pip install -e . # engine, standard library only
# or from GitHub: python -m pip install "flowguard @ git+https://github.com/liuyingxuvka/FlowGuard.git@ "; the PyPI package named flowguard is a different project
python scripts/installskill.py --target ~/.claude/skills # skill for your agent (or $CODEXHOME/skills)
cd your-project
python -m flowguard map scan # 1. draft components; guess tests from imports (default max 40)
python -m flowguard map discover # inspect routes, commands, effects and state writers
python -m flowguard map digest all # 2. API outline, signatures, assignments and docstrings; size varies
# edit .flowguard/map.json: merge/split components, write summary, responsibilities, layer ...
python -m flowguard map deps --write # 3. dependencies from real imports
python -m flowguard map check # 4. fix until 0 errors
python -m flowguard map confirm all # 5. the map is current
python -m flowguard map lint # 6. architecture review
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/liuyingxuvka-flowguard/)
来源
github · https://github.com/liuyingxuvka/FlowGuard
按领域浏览
开源项目
Traction
3 ★
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引