moflo 4.8.43 → 4.8.44
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/.claude/guidance/shipped/memory-strategy.md +277 -276
- package/.claude/guidance/shipped/{task-swarm-integration.md → moflo-claude-swarm-cohesion.md} +4 -4
- package/.claude/guidance/shipped/moflo.md +2 -2
- package/.claude/guidance/shipped/{agent-bootstrap.md → subagents.md} +5 -19
- package/.claude/scripts/generate-code-map.mjs +956 -956
- package/.claude/scripts/index-all.mjs +14 -4
- package/.claude/scripts/index-guidance.mjs +11 -0
- package/.claude/scripts/index-tests.mjs +729 -729
- package/.claude/scripts/lib/moflo-resolve.mjs +14 -14
- package/README.md +15 -15
- package/bin/index-guidance.mjs +916 -905
- package/bin/setup-project.mjs +252 -252
- package/package.json +1 -1
- package/src/@claude-flow/cli/README.md +6 -6
- package/src/@claude-flow/cli/dist/src/commands/epic.js +767 -0
- package/src/@claude-flow/cli/dist/src/commands/index.js +1 -1
- package/src/@claude-flow/cli/dist/src/init/claudemd-generator.js +2 -2
- package/src/@claude-flow/cli/dist/src/init/moflo-init.js +7 -7
- package/src/@claude-flow/cli/dist/src/version.js +1 -1
- package/src/@claude-flow/cli/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared dependency resolver for moflo bin scripts.
|
|
3
|
-
* Resolves packages from moflo's own node_modules (not the consuming project's).
|
|
4
|
-
* On Windows, converts native paths to file:// URLs required by ESM import().
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import { createRequire } from 'module';
|
|
8
|
-
import { fileURLToPath, pathToFileURL } from 'url';
|
|
9
|
-
|
|
10
|
-
const __require = createRequire(fileURLToPath(import.meta.url));
|
|
11
|
-
|
|
12
|
-
export function mofloResolveURL(specifier) {
|
|
13
|
-
return pathToFileURL(__require.resolve(specifier)).href;
|
|
14
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Shared dependency resolver for moflo bin scripts.
|
|
3
|
+
* Resolves packages from moflo's own node_modules (not the consuming project's).
|
|
4
|
+
* On Windows, converts native paths to file:// URLs required by ESM import().
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import { createRequire } from 'module';
|
|
8
|
+
import { fileURLToPath, pathToFileURL } from 'url';
|
|
9
|
+
|
|
10
|
+
const __require = createRequire(fileURLToPath(import.meta.url));
|
|
11
|
+
|
|
12
|
+
export function mofloResolveURL(specifier) {
|
|
13
|
+
return pathToFileURL(__require.resolve(specifier)).href;
|
|
14
|
+
}
|
package/README.md
CHANGED
|
@@ -273,29 +273,29 @@ When you pass an issue number, `/flo` automatically checks if it's an epic — n
|
|
|
273
273
|
|
|
274
274
|
When an epic is detected, `/flo` processes each child story sequentially — full workflow per story (research → implement → test → PR), one at a time, in the order listed.
|
|
275
275
|
|
|
276
|
-
For simple epics with independent stories, `/flo <epic>` is all you need. For complex features where you want state tracking, resume capability, and auto-merge between stories, use `flo
|
|
276
|
+
For simple epics with independent stories, `/flo <epic>` is all you need. For complex features where you want state tracking, resume capability, and auto-merge between stories, use `flo epic` instead.
|
|
277
277
|
|
|
278
|
-
### Feature Orchestration (`flo
|
|
278
|
+
### Feature Orchestration (`flo epic`)
|
|
279
279
|
|
|
280
|
-
`flo
|
|
280
|
+
`flo epic` is the robust epic runner — it adds persistent state, resume from failure, and auto-merge between stories on top of `/flo`. It accepts either a GitHub issue number or a YAML file:
|
|
281
281
|
|
|
282
282
|
```bash
|
|
283
283
|
# From a GitHub epic (auto-detects stories)
|
|
284
|
-
flo
|
|
285
|
-
flo
|
|
286
|
-
flo
|
|
284
|
+
flo epic run 42 # Fetch epic #42, run all stories sequentially
|
|
285
|
+
flo epic run 42 --dry-run # Preview execution plan without running
|
|
286
|
+
flo epic run 42 --no-merge # Skip auto-merge between stories
|
|
287
287
|
|
|
288
288
|
# From a YAML definition (explicit dependencies)
|
|
289
|
-
flo
|
|
290
|
-
flo
|
|
291
|
-
flo
|
|
289
|
+
flo epic run feature.yaml # Execute stories in dependency order
|
|
290
|
+
flo epic run feature.yaml --dry-run # Show execution plan
|
|
291
|
+
flo epic run feature.yaml --verbose # Stream Claude output to terminal
|
|
292
292
|
|
|
293
293
|
# State management
|
|
294
|
-
flo
|
|
295
|
-
flo
|
|
294
|
+
flo epic status epic-42 # Check progress (which stories passed/failed)
|
|
295
|
+
flo epic reset epic-42 # Reset state for re-run
|
|
296
296
|
```
|
|
297
297
|
|
|
298
|
-
When given an issue number, `flo
|
|
298
|
+
When given an issue number, `flo epic` fetches the epic from GitHub, extracts child stories from checklists and numbered references, then runs each through `/flo` with state tracking. If a story fails, you can fix the issue and `flo epic run 42` again — it resumes from where it left off, skipping already-passed stories.
|
|
299
299
|
|
|
300
300
|
For features with inter-story dependencies (story B requires story A to be merged first), use a YAML definition:
|
|
301
301
|
|
|
@@ -317,9 +317,9 @@ feature:
|
|
|
317
317
|
depends_on: [story-1]
|
|
318
318
|
```
|
|
319
319
|
|
|
320
|
-
| | `/flo <epic>` | `flo
|
|
320
|
+
| | `/flo <epic>` | `flo epic run <epic>` |
|
|
321
321
|
|---|---|---|
|
|
322
|
-
| **State tracking** | No | Yes (`.claude-
|
|
322
|
+
| **State tracking** | No | Yes (`.claude-epic/state.json`) |
|
|
323
323
|
| **Resume from failure** | No | Yes (skips passed stories) |
|
|
324
324
|
| **Auto-merge PRs** | No | Yes (between stories) |
|
|
325
325
|
| **Dry-run preview** | No | Yes |
|
|
@@ -522,7 +522,7 @@ Here's how a typical task flows through both layers:
|
|
|
522
522
|
|
|
523
523
|
The key insight: **your client handles execution, MoFlo handles knowledge.** Your client is good at spawning agents and running code. MoFlo is good at remembering what happened, routing to the right agent, and ensuring prior knowledge is checked before exploring from scratch.
|
|
524
524
|
|
|
525
|
-
For complex work, MoFlo structures tasks into waves — a research wave discovers context, then an implementation wave acts on it — with dependencies tracked through both the client's task system and MoFlo's coordination layer. The full integration pattern is documented in `.claude/guidance/
|
|
525
|
+
For complex work, MoFlo structures tasks into waves — a research wave discovers context, then an implementation wave acts on it — with dependencies tracked through both the client's task system and MoFlo's coordination layer. The full integration pattern is documented in `.claude/guidance/moflo-claude-swarm-cohesion.md`.
|
|
526
526
|
|
|
527
527
|
The `/flo` skill ties both systems together for GitHub issues — driving a full workflow (research → enhance → implement → test → simplify → PR) with your client's agents for execution and MoFlo's memory for continuity.
|
|
528
528
|
|