mustflow 2.38.0 → 2.39.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -299,6 +299,9 @@ Automation and agents should use `--json` output or `mf api serve --stdio` JSONL
299
299
  ## Command execution policy
300
300
 
301
301
  Runnable work is declared in `.mustflow/config/commands.toml` so agents do not guess commands.
302
+ New projects start with Bun-backed `test`, `test_related`, and `test_fast` intents so agents can run
303
+ basic verification immediately after `mf init`. Replace those defaults with narrower project-specific
304
+ commands when a repository uses another runner or has a faster related-test entrypoint.
302
305
 
303
306
  `mf run` executes only commands that meet all these conditions:
304
307
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mustflow",
3
- "version": "2.38.0",
3
+ "version": "2.39.1",
4
4
  "description": "Agent workflow documents and CLI for mustflow repository roots.",
5
5
  "type": "module",
6
6
  "license": "MIT-0",
@@ -25,24 +25,48 @@ description = "Generated mustflow SQLite local index under .mustflow/cache/."
25
25
  concurrency = "exclusive_writer"
26
26
 
27
27
  [intents.test]
28
- status = "unknown"
29
- description = "Run the test suite."
30
- reason = "This repository has not declared its test command yet."
31
- agent_action = "do_not_guess_report_missing"
32
- required_after = ["code_change", "behavior_change"]
28
+ status = "configured"
29
+ lifecycle = "oneshot"
30
+ run_policy = "agent_allowed"
31
+ description = "Run the default Bun test suite."
32
+ argv = ["bun", "test"]
33
+ cwd = "."
34
+ timeout_seconds = 600
35
+ stdin = "closed"
36
+ success_exit_codes = [0]
37
+ writes = []
38
+ network = false
39
+ destructive = false
40
+ required_after = ["release_risk", "cross_cutting_code_change", "full_test_request"]
33
41
 
34
42
  [intents.test_related]
35
- status = "unknown"
36
- description = "Run tests directly related to changed files."
37
- reason = "This repository has not declared its related-test command yet."
38
- agent_action = "do_not_guess_report_missing"
43
+ status = "configured"
44
+ lifecycle = "oneshot"
45
+ run_policy = "agent_allowed"
46
+ description = "Run the default Bun test suite for changed code when no narrower test command exists."
47
+ argv = ["bun", "test"]
48
+ cwd = "."
49
+ timeout_seconds = 600
50
+ stdin = "closed"
51
+ success_exit_codes = [0]
52
+ writes = []
53
+ network = false
54
+ destructive = false
39
55
  required_after = ["code_change", "behavior_change", "test_change"]
40
56
 
41
57
  [intents.test_fast]
42
- status = "unknown"
43
- description = "Run the fast test baseline."
44
- reason = "This repository has not declared its fast-test command yet."
45
- agent_action = "do_not_guess_report_missing"
58
+ status = "configured"
59
+ lifecycle = "oneshot"
60
+ run_policy = "agent_allowed"
61
+ description = "Run the default Bun test suite as the fast baseline until the repository narrows it."
62
+ argv = ["bun", "test"]
63
+ cwd = "."
64
+ timeout_seconds = 600
65
+ stdin = "closed"
66
+ success_exit_codes = [0]
67
+ writes = []
68
+ network = false
69
+ destructive = false
46
70
  required_after = ["low_risk_code_change", "copy_change", "i18n_change", "unknown_change"]
47
71
 
48
72
  [intents.test_coverage]
@@ -57,7 +81,7 @@ status = "unknown"
57
81
  description = "Inspect stale or redundant test candidates."
58
82
  reason = "This repository has not declared its test-audit command yet."
59
83
  agent_action = "do_not_guess_report_missing"
60
- required_after = ["test_change", "behavior_removed", "public_api_change"]
84
+ required_after = []
61
85
 
62
86
  [intents.test_release]
63
87
  status = "unknown"
@@ -85,7 +109,7 @@ status = "unknown"
85
109
  description = "Run linting or static analysis."
86
110
  reason = "This repository has not declared its lint command yet."
87
111
  agent_action = "do_not_guess_report_missing"
88
- required_after = ["code_change", "style_change"]
112
+ required_after = []
89
113
 
90
114
  [intents.line_endings_check]
91
115
  status = "configured"
@@ -1,6 +1,6 @@
1
1
  id = "default"
2
2
  name = "default"
3
- version = "2.38.0"
3
+ version = "2.39.1"
4
4
  description = "Minimal workflow for LLM agents to read, edit, and verify their work in a repository."
5
5
  common_root = "common"
6
6
  locales_root = "locales"
@@ -132,7 +132,8 @@ after_install = [
132
132
  "Read AGENTS.md for repository-specific working rules.",
133
133
  "Run mf doctor to inspect the current state before editing.",
134
134
  "Generate REPO_MAP.md with mf map when a repository map is needed.",
135
- "Add your test, lint, and build commands to .mustflow/config/commands.toml.",
135
+ "Review the default Bun-backed test intents in .mustflow/config/commands.toml and replace them with narrower project commands when useful.",
136
+ "Add your lint and build commands to .mustflow/config/commands.toml.",
136
137
  "Review repository-specific language and style defaults in .mustflow/config/preferences.toml.",
137
138
  "Record preferred frameworks, libraries, runtimes, and tools in .mustflow/config/technology.toml when useful.",
138
139
  "Confirm that .mustflow/context/PROJECT.md describes the project goals and non-goals.",