Skip to content

feat: support subdirectories in .one/flows/#103

Merged
moekatib merged 1 commit intomainfrom
feat/flow-subdirectories
Apr 14, 2026
Merged

feat: support subdirectories in .one/flows/#103
moekatib merged 1 commit intomainfrom
feat/flow-subdirectories

Conversation

@moekatib
Copy link
Copy Markdown
Contributor

Summary

  • Flows can now be organized into subdirectory groups: .one/flows/<group>/<key>/flow.json
  • flow list shows group-prefixed keys (e.g. research/company-research)
  • flow execute and flow validate resolve both namespaced keys (research/company-research) and bare keys (scans subdirs automatically)
  • flow create accepts group/key format to place flows in subdirectories
  • Fully backward compatible — ungrouped flows and legacy single-file layout work unchanged

Closes #96

Test plan

  • flow list shows grouped and ungrouped flows correctly
  • flow validate research/company-research resolves namespaced key
  • flow validate company-research scans subdirs for bare key
  • flow create infra/cache-clear --definition ... saves to correct path
  • Ungrouped flows resolve as before
  • Build clean, no type errors

🤖 Generated with Claude Code

Closes #96

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@moekatib moekatib merged commit 1273d65 into main Apr 14, 2026
@moekatib moekatib deleted the feat/flow-subdirectories branch April 14, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: support subdirectories in .one/flows/

1 participant