mustflow 2.107.1 → 2.107.3
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
|
@@ -369,6 +369,9 @@ commands when a repository uses another runner or has a faster related-test entr
|
|
|
369
369
|
- `lifecycle = "oneshot"`
|
|
370
370
|
- `run_policy = "agent_allowed"`
|
|
371
371
|
- `stdin = "closed"`
|
|
372
|
+
- `timeout_seconds` is a positive integer
|
|
373
|
+
- a command is declared with `argv`, or with `mode = "shell"` plus `cmd` and `allow_shell = true`
|
|
374
|
+
- `cwd` resolves inside the current mustflow root
|
|
372
375
|
|
|
373
376
|
Development servers, watch modes, browser UIs, interactive commands, and background processes do not run directly. `mf run` also rejects obvious long-running `argv` shapes, such as shell-wrapper background payloads, interpreter loops, package-manager development scripts, watchers, and development servers declared as one-shot commands. If a bounded one-shot command has a name that matches a common long-running pattern, the intent can explicitly acknowledge that with `allow_long_running_command_patterns = true`; background shell patterns remain blocked.
|
|
374
377
|
|
|
@@ -468,6 +471,7 @@ mf run docs_validate_fast
|
|
|
468
471
|
mf run docs_validate
|
|
469
472
|
mf run mustflow_check
|
|
470
473
|
mf run release_npm_version_available
|
|
474
|
+
mf run release_npm_publish
|
|
471
475
|
mf run release_npm_published_verify
|
|
472
476
|
```
|
|
473
477
|
|
|
@@ -481,7 +485,7 @@ Run the full release check before publishing:
|
|
|
481
485
|
bun run release:check
|
|
482
486
|
```
|
|
483
487
|
|
|
484
|
-
`release:check` validates the CLI, builds the documentation site, packs the npm tarball, installs it into a temporary project, and runs the public `mf` workflow. Maintainer npm publishing uses the `Publish npm package` GitHub Actions workflow from a
|
|
488
|
+
`release:check` validates the CLI, builds the documentation site, packs the npm tarball, installs it into a temporary project, and runs the public `mf` workflow. Maintainer npm publishing uses the `Publish npm package` GitHub Actions workflow from a release tag. The release tag must match the `package.json` version, with an optional leading `v`. Run `mf run release_npm_version_available` before creating the tag, `mf run release_npm_publish` to push the release tag that triggers trusted publishing and GitHub Release creation, and `mf run release_npm_published_verify` after the publish workflow completes. npm Trusted Publishing must be configured for the workflow before maintainers publish through it.
|
|
485
489
|
|
|
486
490
|
## Documentation site
|
|
487
491
|
|
package/package.json
CHANGED
|
@@ -40,7 +40,7 @@ translations.hi = { path = "locales/hi/.mustflow/context/PROJECT.md", source_rev
|
|
|
40
40
|
[documents."docs.agent-workflow"]
|
|
41
41
|
source = "locales/en/.mustflow/docs/agent-workflow.md"
|
|
42
42
|
source_locale = "en"
|
|
43
|
-
revision =
|
|
43
|
+
revision = 27
|
|
44
44
|
translations.ko = { path = "locales/ko/.mustflow/docs/agent-workflow.md", source_revision = 23, status = "needs_review" }
|
|
45
45
|
translations.zh = { path = "locales/zh/.mustflow/docs/agent-workflow.md", source_revision = 18, status = "needs_review" }
|
|
46
46
|
translations.es = { path = "locales/es/.mustflow/docs/agent-workflow.md", source_revision = 18, status = "needs_review" }
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
mustflow_doc: docs.agent-workflow
|
|
3
3
|
locale: en
|
|
4
4
|
canonical: true
|
|
5
|
-
revision:
|
|
5
|
+
revision: 27
|
|
6
6
|
lifecycle: mustflow-owned
|
|
7
7
|
authority: workflow-policy
|
|
8
8
|
---
|
|
@@ -233,12 +233,12 @@ A command intent is eligible for agent use only when all of these are true:
|
|
|
233
233
|
- `run_policy = "agent_allowed"`
|
|
234
234
|
- `stdin = "closed"`
|
|
235
235
|
- `timeout_seconds` is a positive integer
|
|
236
|
-
- A command is declared with `argv`, or with `mode = "shell"` and `
|
|
236
|
+
- A command is declared with `argv`, or with `mode = "shell"`, `cmd`, and `allow_shell = true`
|
|
237
237
|
- `cwd` remains inside the current mustflow root
|
|
238
238
|
|
|
239
239
|
`manual_only` is a status for new configurations. `run_policy = "manual_only"` may be read for older configs, but new templates should use `status = "manual_only"` instead.
|
|
240
240
|
|
|
241
|
-
Prefer `mf run <intent>` so the project receives a concise run record in `.mustflow/state/runs/latest.json`.
|
|
241
|
+
Prefer `mf run <intent>` so the project receives a concise run record in `.mustflow/state/runs/latest.json` and a retained run index in `.mustflow/state/runs/latest.index.json`.
|
|
242
242
|
|
|
243
243
|
Run `mf run` command intents serially. Do not start a second `mf run` while another configured intent is still running. Intents that declare non-empty `writes` are exclusive verification phases; wait for them to finish before running any other `mf run`. This is especially important when an intent rewrites package output such as `dist/`, because the local `mf` executable may load from that output.
|
|
244
244
|
|
|
@@ -268,6 +268,7 @@ Generated files should be refreshed by tools:
|
|
|
268
268
|
- `REPO_MAP.md` through `mf map --write`
|
|
269
269
|
- `.mustflow/cache/mustflow.sqlite` through `mf index`
|
|
270
270
|
- `.mustflow/state/runs/latest.json` through `mf run <intent>`
|
|
271
|
+
- `.mustflow/state/runs/latest.index.json` through `mf run <intent>`
|
|
271
272
|
|
|
272
273
|
## Verification
|
|
273
274
|
|