Documentation
¶
Overview ¶
The smoke-m1 helper walks the M1 lifecycle against one initialized project directory (实施计划 M1.7): 创建项目 → 建任务 → 记录决策 → 完成. It drives the real domain layers — workitem, events, run, record, config — so the produced files are exactly what a normal session would leave behind. The project ID is read from the initialized .devsys/project.yaml (not hard coded); every artifact is created via the public APIs; references between records use the IDs the storage layer assigned.
go run scripts/smoke-m1-helper.go <project-root> # seed the scenario go run scripts/smoke-m1-helper.go --verify <project-root> # read it back
Any error is propagated to stderr with a non-zero exit code. The seed run prints the IDs it assigned so the surrounding script can assert on them.
Directories
¶
| Path | Synopsis |
|---|---|
|
Command m3helper prepares and inspects M3.3 smoke fixtures for scripts/smoke-m3.*: stage gates, the claim-time quality gate and completion propagation.
|
Command m3helper prepares and inspects M3.3 smoke fixtures for scripts/smoke-m3.*: stage gates, the claim-time quality gate and completion propagation. |
|
Command m4helper drives a scripted MCP session against a devsys binary and asserts the M4 acceptance: profile filtering, the health tool, a record round-trip through the tool surface, the session interface, and the error taxonomy.
|
Command m4helper drives a scripted MCP session against a devsys binary and asserts the M4 acceptance: profile filtering, the health tool, a record round-trip through the tool surface, the session interface, and the error taxonomy. |