abd-synthesis-orchestrator by agilebydesign/agilebydesign-skills
npx skills add https://github.com/agilebydesign/agilebydesign-skills --skill abd-synthesis-orchestrator驱动完整的合成流程:create_strategy -> run_slice(每个切片)-> validate。使用 abd-story-synthesizer 生成指令和进行验证。支持检查点和重复错误停止。
当编排器处于活动状态时,所有给合成器的指令必须通过编排器传递给代理。
strategy.md、interaction-tree.md 或 state-model.md。build.py get_instructions 并将输出交给代理。runs/slice-N-run-M-instructions.md(或 create_strategy 指令)。代理从编排器的输出接收这些指令。广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
已安装合成器技能(abd-story-synthesizer)
技能空间文件夹设置为一个已存在的文件夹
使用 --skill-space <路径> 运行:python scripts/run_orchestrator.py --skill-space C:/dev/agile_bots_demo/mm3e
abd-config.json 必须位于合成器技能中,而不是在技能空间里。
| 位置 | 包含内容 | 配置? |
|---|---|---|
abd-story-synthesizer/conf/abd-config.json | 引擎配置(skills, context_paths, skill_space_path) | 是 — 配置放在这里 |
技能空间(例如 mm3e/) | 要合成的内容(goal.md, context/, docs/) | 否 — 切勿将 abd-config 放在技能空间 |
技能空间是工作区/内容根目录。引擎从合成器技能读取配置,并使用该配置中的 skill_space_path 来查找工作区。
在 abd-synthesis-orchestrator 目录下:
cd .../agilebydesign-skills/skills/abd-synthesis-orchestrator
python scripts/run_orchestrator.py --skill-space <技能空间路径>
| 选项 | 默认值 | 描述 |
|---|---|---|
--skill-space | 必需 | 技能空间文件夹路径;编排器将其传递给合成器(编排器不设置它) |
--slice N | all | 仅运行切片 N(从 1 开始计数) |
--checkpoint | stage | 何时暂停:never, stage, slice, run |
--max-consecutive-failures | 3 | 在 N 次连续验证失败后停止 |
--max-inner-iterations | 5 | 每个切片的最大 validate->correct->re-run 迭代次数 |
--stop-on-correction | off | 在第一次验证失败时立即退出;修复后重新运行 |
--strategy-only | off | 在策略创建后停止(测试运行);跳过切片运行 |
--test-mode | off | 在每个步骤处停止;提示接受 N 以执行 N 次运行然后退出;状态持久化以便恢复 |
--max-runs N | - | (test-mode)本次会话的最大运行次数;然后退出并保存状态以便恢复 |
--correct-level | run | 失败时的纠正深度:none, run, session, skill, all |
--archive-dir | C:\dev\synchronizer_runs | 会话结束时用于归档输出的目录 |
--no-archive | off | 跳过会话结束时的归档 |
--branch NAME | - | 用于技能版本控制的 Git 分支;通过时提交,回归时回滚 |
--no-rollback | off | 当输出质量下降时,禁用自动回滚技能更改 |
skill-space/story-synthesizer/runs/slice-N-run-M-instructions.md 中的指令运行代理--checkpoint never 进行完全自动化的运行(例如 CI)--test-mode:在每个步骤(create_strategy、每个 run_slice、每个 validate)处停止skill-space/story-synthesizer/runs/orchestrator-state.json--test-mode 以从上次中断处恢复--max-runs N 执行 N 次运行然后退出(例如,代理说“继续 3 次运行” → --max-runs 3)编排器集成了合成器的三层纠正系统。使用 --correct-level 来控制深度:
| 级别 | 验证失败时发生的情况 |
|---|---|
none | 不纠正 — 仅记录并重新运行 |
run(默认) | correct_run:在运行日志中捕获 DO/DO NOT 以及错误/正确示例 |
session | run + correct_session:将纠正内容纳入会话策略,供未来运行使用 |
skill | run + session + correct_skill:将纠正内容提升为技能规则(跨项目) |
all | 一次性执行所有三层 |
纠正指令保存在 runs/slice-N-run-M-corrections.md 中,与运行指令放在一起。
在每个会话结束时,编排器将 story-synthesizer/ 输出复制到归档目录以供历史记录。默认:C:\dev\synchronizer_runs\<技能空间名称>\<时间戳>\。
--archive-dir <路径> 更改归档位置--no-archive 跳过归档使用 --branch <名称> 为合成器技能启用基于 git 的版本控制:
--correct-level skill 或 all 时:技能更改将提交到分支--rollback-on-regression 时:技能更改将回滚到纠正前的状态--no-rollback 即使在输出质量下降时也保留技能更改(用于人工审查)典型用法:
python scripts/run_orchestrator.py --skill-space C:/dev/mm3e --correct-level all --branch orchestrator
这将创建一个由会话纠正驱动的、可追溯的技能演进历史。
生命周期阶段: shaping → discovery → exploration → specification。每个切片按顺序经历所有四个阶段。
策略验证: (1) 从识别角度看,策略是否有意义?(2) 它是否切片以覆盖完整的领域模型?切片必须验证整个领域(概念、效果、属性;共性或多样性)。
验证流程: 从合成器技能运行 validate(包括扫描器)。失败时,纠正流水线会根据配置的级别(--correct-level)自动运行。纠正指令会保存给代理。
重新运行: 当重新运行同一阶段时,使用先前运行的纠正内容作为输入。
输出存储: 每次运行的文件在 runs/ 中;整合后的输出在 interaction-tree.md 和 state-model.md 中。策略和输出是工作区特定的(技能空间);合成器从工作区读取并写入工作区。
所有输出都在技能空间文件夹中:
skill-space/story-synthesizer/runs/slice-N-run-M-instructions.mdskill-space/story-synthesizer/runs/run-N.mdskill-space/story-synthesizer/interaction-tree.md, state-model.md每周安装数
1
仓库
首次出现
1 天前
安全审计
安装于
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1
Drives the full synthesis flow: create_strategy -> run_slice (per slice) -> validate. Uses abd-story-synthesizer for instructions and validation. Supports checkpointing and stop-on-repeated-errors.
When the orchestrator is active, all instructions for the synthesizer MUST go through the orchestrator to the agent.
strategy.md, interaction-tree.md, or state-model.md yourself.build.py get_instructions directly and hand output to the agent.runs/slice-N-run-M-instructions.md (or create_strategy instructions). The agent receives those instructions from the orchestrator's output.Synthesizer skill (abd-story-synthesizer) installed
Skill space folder set to a folder that exists
Run with --skill-space <path>: python scripts/run_orchestrator.py --skill-space C:/dev/agile_bots_demo/mm3e
abd-config.json MUST live in the synthesizer skill, NOT in the skill space.
| Location | Contains | Config? |
|---|---|---|
abd-story-synthesizer/conf/abd-config.json | Engine config (skills, context_paths, skill_space_path) | YES — config goes here |
Skill space (e.g. mm3e/) | Content to synthesize (goal.md, context/, docs/) | NO — never put abd-config in the skill space |
The skill space is the workspace/content root. The engine reads config from the synthesizer skill and uses skill_space_path in that config to find the workspace.
From abd-synthesis-orchestrator:
cd .../agilebydesign-skills/skills/abd-synthesis-orchestrator
python scripts/run_orchestrator.py --skill-space <path-to-skill-space>
| Option | Default | Description |
|---|---|---|
--skill-space | required | Path to skill space folder; orchestrator passes to synthesizer (orchestrator does not set it) |
--slice N | all | Run only slice N (1-based) |
--checkpoint | stage | When to pause: never, stage, slice, run |
--max-consecutive-failures | 3 | Stop after N consecutive validation failures |
--max-inner-iterations |
skill-space/story-synthesizer/runs/slice-N-run-M-instructions.md--checkpoint never for fully automated runs (e.g. CI)--test-mode: stops at every step (create_strategy, each run_slice, each validate)skill-space/story-synthesizer/runs/orchestrator-state.json when you exit--test-mode to resume from where you left off--max-runs N to do N runs then exit (e.g. agent says "proceed with 3 runs" → --max-runs 3)The orchestrator integrates with the synthesizer's three-layer correction system. Use --correct-level to control depth:
| Level | What happens on validation failure |
|---|---|
none | No correction — just log and re-run |
run (default) | correct_run: capture DO/DO NOT in run log with wrong/correct examples |
session | run + correct_session: fold corrections into session strategy for future runs |
skill | run + + : promote corrections to skill rules (cross-project) |
Correction instructions are saved to runs/slice-N-run-M-corrections.md alongside the run instructions.
At the end of every session, the orchestrator copies the story-synthesizer/ output to an archive directory for history. Default: C:\dev\synchronizer_runs\<skill-space-name>\<timestamp>\.
--archive-dir <path> to change the archive location--no-archive to skip archivalUse --branch <name> to enable git-based version control for the synthesizer skill:
--correct-level skill or all: skill changes are committed to the branch--rollback-on-regression: skill changes are rolled back to the pre-correction state--no-rollback to keep skill changes even when output degrades (for manual review)Typical usage:
python scripts/run_orchestrator.py --skill-space C:/dev/mm3e --correct-level all --branch orchestrator
This creates a traceable history of skill evolution driven by session corrections.
Lifecycle stages: shaping → discovery → exploration → specification. Each slice goes through all four stages in order.
Strategy validation: (1) Does the strategy make sense from an identification perspective? (2) Does it slice to cover the full domain model? Slices must validate the entire domain (concepts, effects, attributes; commonality or diversity).
Validation flow: Run validate from the synthesizer skill (includes scanners). On failure, the correction pipeline runs automatically at the configured level (--correct-level). Correction instructions are saved for the agent.
Re-runs: When re-running the same stage, use corrections from the previous run as input.
Output storage: Per-run files in runs/; consolidated output in interaction-tree.md and state-model.md. Strategy and output are workspace-specific (skill-space); the synthesizer reads from and writes to the workspace.
All output is in the skill space folder:
skill-space/story-synthesizer/runs/slice-N-run-M-instructions.mdskill-space/story-synthesizer/runs/run-N.mdskill-space/story-synthesizer/interaction-tree.md, state-model.mdWeekly Installs
1
Repository
First Seen
1 day ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
62,200 周安装
Playwright E2E测试模式:构建稳定快速可维护的端到端测试套件
1,800 周安装
dbs-deconstruct:AI概念拆解工具,用维特根斯坦哲学与奥派经济学解构商业术语
1,900 周安装
dbs-benchmark对标分析AI:五重过滤法精准筛选高利润模仿对象,加速0到1
1,900 周安装
迭代检索模式:解决多智能体工作流上下文问题的4阶段循环方案
1,900 周安装
Java 17+ 编码规范与最佳实践 | Spring Boot 项目代码质量提升指南
1,900 周安装
部署模式详解:滚动部署、蓝绿部署、金丝雀部署与Docker多阶段构建最佳实践
1,800 周安装
| 5 |
| Max validate->correct->re-run iterations per slice |
--stop-on-correction | off | Exit immediately on first validation failure; fix and re-run |
--strategy-only | off | Stop after strategy creation (test run); skip slice runs |
--test-mode | off | Stop at every step; prompt accepts N to do N runs then exit; state persisted for resume |
--max-runs N | - | (test-mode) Max runs this session; then exit and save state for resume |
--correct-level | run | Correction depth on failure: none, run, session, skill, all |
--archive-dir | C:\dev\synchronizer_runs | Directory to archive session output at end |
--no-archive | off | Skip session archival at end |
--branch NAME | - | Git branch for skill version control; commits on pass, rolls back on regression |
--no-rollback | off | Disable automatic rollback of skill changes when output degrades |
sessioncorrect_skillall | All three layers in one shot |