wogiflow 1.0.11 → 1.0.13
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/.workflow/specs/architecture.md.template +24 -0
- package/.workflow/specs/stack.md.template +33 -0
- package/.workflow/specs/testing.md.template +36 -0
- package/README.md +90 -1
- package/lib/unified-wizard.js +569 -30
- package/package.json +1 -1
- package/scripts/MEMORY-ARCHITECTURE.md +150 -0
- package/scripts/flow +20 -19
- package/scripts/flow-auto-context.js +97 -3
- package/scripts/flow-conflict-resolver.js +735 -0
- package/scripts/flow-context-gatherer.js +520 -0
- package/scripts/flow-context-monitor.js +148 -19
- package/scripts/flow-damage-control.js +5 -1
- package/scripts/flow-export-profile +168 -1
- package/scripts/flow-import-profile +257 -6
- package/scripts/flow-instruction-richness.js +182 -18
- package/scripts/flow-knowledge-router.js +2 -0
- package/scripts/flow-knowledge-sync.js +2 -0
- package/scripts/{flow-transcript-chunking.js → flow-long-input-chunking.js} +4 -2
- package/scripts/{flow-transcript-parsing.js → flow-long-input-parsing.js} +35 -0
- package/scripts/{flow-transcript-stories.js → flow-long-input-stories.js} +86 -38
- package/scripts/{flow-transcript-digest.js → flow-long-input.js} +231 -15
- package/scripts/flow-memory-db.js +386 -1
- package/scripts/flow-memory-sync.js +2 -0
- package/scripts/flow-model-adapter.js +53 -29
- package/scripts/flow-model-router.js +246 -1
- package/scripts/flow-morning.js +94 -0
- package/scripts/flow-onboard +223 -10
- package/scripts/flow-orchestrate-validation.js +539 -0
- package/scripts/flow-orchestrate.js +16 -507
- package/scripts/flow-pattern-extractor.js +1265 -0
- package/scripts/flow-prompt-composer.js +222 -2
- package/scripts/flow-quality-guard.js +594 -0
- package/scripts/flow-section-index.js +713 -0
- package/scripts/flow-section-resolver.js +484 -0
- package/scripts/flow-session-end.js +188 -2
- package/scripts/flow-skill-create.js +19 -3
- package/scripts/flow-skill-matcher.js +122 -7
- package/scripts/flow-statusline-setup.js +218 -0
- package/scripts/flow-step-review.js +19 -0
- package/scripts/flow-tech-debt.js +734 -0
- package/scripts/flow-utils.js +2 -0
- package/scripts/hooks/core/long-input-gate.js +293 -0
- package/scripts/flow-parallel-detector.js +0 -399
- package/scripts/flow-parallel-dispatch.js +0 -987
- /package/scripts/{flow-transcript-language.js → flow-long-input-language.js} +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Architecture
|
|
2
|
+
|
|
3
|
+
## Pattern
|
|
4
|
+
|
|
5
|
+
<!-- Detected during onboarding -->
|
|
6
|
+
<!-- Examples: MVC, Clean Architecture, DDD, Microservices, Monolith -->
|
|
7
|
+
|
|
8
|
+
## Structure
|
|
9
|
+
|
|
10
|
+
<!-- Project structure overview -->
|
|
11
|
+
<!-- Key directories and their purposes -->
|
|
12
|
+
|
|
13
|
+
## Key Decisions
|
|
14
|
+
|
|
15
|
+
<!-- Architecture decisions made for this project -->
|
|
16
|
+
<!-- Trade-offs and rationale -->
|
|
17
|
+
|
|
18
|
+
## Dependencies
|
|
19
|
+
|
|
20
|
+
<!-- Major dependencies and their purposes -->
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
*This file is auto-populated during `flow onboard`. Update manually as architecture evolves.*
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Tech Stack
|
|
2
|
+
|
|
3
|
+
## Framework
|
|
4
|
+
|
|
5
|
+
<!-- Primary framework (e.g., Next.js, NestJS, FastAPI) -->
|
|
6
|
+
|
|
7
|
+
## Language
|
|
8
|
+
|
|
9
|
+
<!-- Primary language (e.g., TypeScript, Python, Go) -->
|
|
10
|
+
|
|
11
|
+
## Database
|
|
12
|
+
|
|
13
|
+
<!-- Database system if applicable (e.g., PostgreSQL, MongoDB) -->
|
|
14
|
+
|
|
15
|
+
## Package Manager
|
|
16
|
+
|
|
17
|
+
<!-- npm, yarn, pnpm, pip, etc. -->
|
|
18
|
+
|
|
19
|
+
## Build Tools
|
|
20
|
+
|
|
21
|
+
<!-- Build and bundling tools (e.g., Vite, Webpack, esbuild) -->
|
|
22
|
+
|
|
23
|
+
## Testing
|
|
24
|
+
|
|
25
|
+
<!-- Test frameworks (e.g., Jest, Vitest, pytest) -->
|
|
26
|
+
|
|
27
|
+
## Other Tools
|
|
28
|
+
|
|
29
|
+
<!-- Linters, formatters, CI/CD tools -->
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
*This file is auto-populated during `flow onboard`. Update manually as stack evolves.*
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Testing
|
|
2
|
+
|
|
3
|
+
## Test Framework
|
|
4
|
+
|
|
5
|
+
<!-- Primary test framework (e.g., Jest, Vitest, pytest) -->
|
|
6
|
+
|
|
7
|
+
## Test Commands
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
# Run all tests
|
|
11
|
+
npm test
|
|
12
|
+
|
|
13
|
+
# Run tests in watch mode
|
|
14
|
+
npm run test:watch
|
|
15
|
+
|
|
16
|
+
# Run specific test file
|
|
17
|
+
npm test -- path/to/test.ts
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Test Structure
|
|
21
|
+
|
|
22
|
+
<!-- Where tests are located -->
|
|
23
|
+
<!-- Naming conventions -->
|
|
24
|
+
|
|
25
|
+
## Coverage
|
|
26
|
+
|
|
27
|
+
<!-- Coverage requirements if any -->
|
|
28
|
+
<!-- Coverage commands -->
|
|
29
|
+
|
|
30
|
+
## E2E Testing
|
|
31
|
+
|
|
32
|
+
<!-- E2E framework if used (e.g., Playwright, Cypress) -->
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
*This file is auto-populated during `flow onboard`. Update manually as testing strategy evolves.*
|
package/README.md
CHANGED
|
@@ -1315,6 +1315,8 @@ When working on files that match a skill's patterns, Claude automatically:
|
|
|
1315
1315
|
|
|
1316
1316
|
## Team Backend
|
|
1317
1317
|
|
|
1318
|
+
> **Note**: Team Backend infrastructure (Terraform) is defined but Lambda functions are not yet implemented. The local team sync features work, but cloud sync is a placeholder. This is planned for a future release.
|
|
1319
|
+
|
|
1318
1320
|
AWS-powered backend for team collaboration with shared memory, proposals, and activity tracking.
|
|
1319
1321
|
|
|
1320
1322
|
### Architecture
|
|
@@ -1568,9 +1570,96 @@ flow team status # Show team connection status
|
|
|
1568
1570
|
flow team sync # Sync local memory to team
|
|
1569
1571
|
flow team activity # Show team activity
|
|
1570
1572
|
|
|
1571
|
-
#
|
|
1573
|
+
# Hooks
|
|
1574
|
+
flow setup-hooks install # Install git hooks
|
|
1572
1575
|
flow setup-hooks --status # Check hook status
|
|
1573
1576
|
flow setup-hooks --remove # Remove hooks
|
|
1577
|
+
|
|
1578
|
+
# Worktree Isolation
|
|
1579
|
+
flow worktree enable # Enable worktree per task
|
|
1580
|
+
flow worktree disable # Disable worktree isolation
|
|
1581
|
+
flow worktree list # List active worktrees
|
|
1582
|
+
flow worktree cleanup # Remove stale worktrees
|
|
1583
|
+
|
|
1584
|
+
# Task Queue
|
|
1585
|
+
flow queue init <id1> <id2> # Initialize multi-task queue
|
|
1586
|
+
flow queue status # Show queue status
|
|
1587
|
+
flow queue advance # Move to next task
|
|
1588
|
+
flow queue clear # Clear the queue
|
|
1589
|
+
|
|
1590
|
+
# Suspend/Resume (Durable Sessions)
|
|
1591
|
+
flow suspend # Suspend current task
|
|
1592
|
+
flow suspend --wait-ci # Wait for CI/CD
|
|
1593
|
+
flow suspend --review # Wait for human review
|
|
1594
|
+
flow resume # Resume suspended task
|
|
1595
|
+
flow resume --approve # Approve and resume
|
|
1596
|
+
flow session status # Show session status
|
|
1597
|
+
|
|
1598
|
+
# Issue Tracker Integration
|
|
1599
|
+
flow jira list # List assigned Jira issues
|
|
1600
|
+
flow jira sync # Import issues to ready.json
|
|
1601
|
+
flow jira push # Push completed tasks
|
|
1602
|
+
flow linear list # List assigned Linear issues
|
|
1603
|
+
flow linear sync # Import issues to ready.json
|
|
1604
|
+
flow external-tasks # List from all integrations
|
|
1605
|
+
|
|
1606
|
+
# Background Sync
|
|
1607
|
+
flow sync-daemon start # Start background sync
|
|
1608
|
+
flow sync-daemon stop # Stop daemon
|
|
1609
|
+
flow sync-daemon status # Show daemon status
|
|
1610
|
+
|
|
1611
|
+
# Intelligent Routing
|
|
1612
|
+
flow route "<task>" # Get routing recommendation
|
|
1613
|
+
flow route --strategy <s> # Use specific strategy
|
|
1614
|
+
|
|
1615
|
+
# Multi-Approach Sessions
|
|
1616
|
+
flow multi-approach # Start multi-approach session
|
|
1617
|
+
flow multi-approach --analyze # Analyze without starting
|
|
1618
|
+
|
|
1619
|
+
# Metrics & Analysis
|
|
1620
|
+
flow metrics # Show command statistics
|
|
1621
|
+
flow metrics --problems # Show only failures
|
|
1622
|
+
flow metrics --reset # Clear all metrics
|
|
1623
|
+
|
|
1624
|
+
# Cascade Fallback
|
|
1625
|
+
flow cascade status # Show cascade state
|
|
1626
|
+
flow cascade reset # Reset failure tracking
|
|
1627
|
+
flow cascade config # Show configuration
|
|
1628
|
+
|
|
1629
|
+
# Memory Management
|
|
1630
|
+
flow entropy # Show memory entropy
|
|
1631
|
+
flow entropy --auto # Auto-compact if high
|
|
1632
|
+
flow memory-sync # Check pattern promotion
|
|
1633
|
+
flow memory-sync --auto # Auto-promote patterns
|
|
1634
|
+
flow compact-memory # Run full compaction
|
|
1635
|
+
|
|
1636
|
+
# PRD Management
|
|
1637
|
+
flow prd load <file> # Load PRD into memory
|
|
1638
|
+
flow prd context <task> # Get PRD context for task
|
|
1639
|
+
flow prd list # List loaded PRDs
|
|
1640
|
+
flow prd clear # Clear PRD data
|
|
1641
|
+
|
|
1642
|
+
# Release Channels
|
|
1643
|
+
flow channel show # Show current channel
|
|
1644
|
+
flow channel set <name> # Set channel (stable/beta/canary)
|
|
1645
|
+
flow channel list # List available channels
|
|
1646
|
+
|
|
1647
|
+
# Complexity & Context
|
|
1648
|
+
flow complexity "<task>" # Assess task complexity
|
|
1649
|
+
flow context-init "<task>" # Initialize context for task
|
|
1650
|
+
flow auto-context "<task>" # Preview auto-loaded context
|
|
1651
|
+
|
|
1652
|
+
# Models
|
|
1653
|
+
flow models list # List registered models
|
|
1654
|
+
flow models info <model> # Show model details
|
|
1655
|
+
flow models route <type> # Get routing recommendation
|
|
1656
|
+
flow models stats # Show performance stats
|
|
1657
|
+
flow model-adapter # Show adapter info
|
|
1658
|
+
flow model-adapter --stats # Show per-model statistics
|
|
1659
|
+
|
|
1660
|
+
# Learning System
|
|
1661
|
+
flow learning tiers # Show patterns by confidence
|
|
1662
|
+
flow learning stats # Show learning statistics
|
|
1574
1663
|
```
|
|
1575
1664
|
|
|
1576
1665
|
---
|