Problem Statement
Flowspec configuration files are currently scattered across 15+ directories in the project root, making it difficult to:
- Understand what belongs to flowspec vs. project-specific files
- Set up flowspec in new projects (requires copying multiple directories)
- Manage flowspec upgrades (no single location to update)
- Configure gitignore rules for flowspec-generated artifacts
Proposed Solution
Consolidate all flowspec-related files into a single .flowspec directory:
.flowspec/
├── .version # Version manifest
├── workflow.yml # State machine (from flowspec_workflow.yml)
│
├── agents/ # From .github/agents/
│ ├── flow.assess.agent.md
│ ├── flow.specify.agent.md
│ ├── flow.plan.agent.md
│ ├── flow.implement.agent.md
│ ├── flow.validate.agent.md
│ └── flow.submit-n-watch-pr.agent.md
│
├── commands/ # From commands/
│ ├── flow/
│ └── vibe/
│
├── constitutions/ # From constitutions/
│
├── github/ # From github/
│ ├── ISSUE_TEMPLATE/
│ └── workflows/
│
├── github-actions/ # From github-actions/
│
├── hooks/ # Existing
│ ├── hooks.yaml
│ └── *.sh
│
├── logs/ # Merged from .flowspec/logs/ and logs/
│ ├── active-work/
│ ├── decisions/
│ └── events/
│
├── memory/ # From memory/
│ ├── constitution.md
│ └── repo-facts.md
│
├── partials/ # From partials/
│ └── flow/
│
├── pre-commit/ # From pre-commit/
│
├── security-rules/ # From security-rules/
│ ├── javascript/
│ └── python/
│
├── skills/ # From skills/
│ ├── architect/
│ ├── constitution-checker/
│ ├── context-extractor/
│ ├── pm-planner/
│ ├── qa-validator/
│ ├── security-fixer/
│ ├── security-reporter/
│ ├── security-reviewer/
│ └── security-workflow/
│
├── templates/ # From docs/prp/
│ └── prp-base-flowspec.md
│
└── vscode/ # From .vscode/ and vscode/
└── settings.json
Use Cases
- New Project Setup
Before: Copy 15+ directories and files, hope nothing is missed, manually verify structure.
After: cp -r /path/to/flowspec-template/.flowspec . or flowspec init
- Gitignore Management
Before: Multiple gitignore entries for different flowspec directories.
After: Single rule like .flowspec/logs/ for generated content
- Multi-Tool Projects
Before: Flowspec directories mixed with other tooling
After: Clear separation - .flowspec/ is flowspec, everything else is project or other tools
- Project Cleanup / Removal
Before: Hunt through project to remove all flowspec artifacts.
After: rm -rf .flowspec removes everything
Alternatives Considered
No response
Priority
Medium - Would improve my workflow
Related Backlog Task
No response
Contribution
Problem Statement
Flowspec configuration files are currently scattered across 15+ directories in the project root, making it difficult to:
Proposed Solution
Consolidate all flowspec-related files into a single .flowspec directory:
.flowspec/
├── .version # Version manifest
├── workflow.yml # State machine (from flowspec_workflow.yml)
│
├── agents/ # From .github/agents/
│ ├── flow.assess.agent.md
│ ├── flow.specify.agent.md
│ ├── flow.plan.agent.md
│ ├── flow.implement.agent.md
│ ├── flow.validate.agent.md
│ └── flow.submit-n-watch-pr.agent.md
│
├── commands/ # From commands/
│ ├── flow/
│ └── vibe/
│
├── constitutions/ # From constitutions/
│
├── github/ # From github/
│ ├── ISSUE_TEMPLATE/
│ └── workflows/
│
├── github-actions/ # From github-actions/
│
├── hooks/ # Existing
│ ├── hooks.yaml
│ └── *.sh
│
├── logs/ # Merged from .flowspec/logs/ and logs/
│ ├── active-work/
│ ├── decisions/
│ └── events/
│
├── memory/ # From memory/
│ ├── constitution.md
│ └── repo-facts.md
│
├── partials/ # From partials/
│ └── flow/
│
├── pre-commit/ # From pre-commit/
│
├── security-rules/ # From security-rules/
│ ├── javascript/
│ └── python/
│
├── skills/ # From skills/
│ ├── architect/
│ ├── constitution-checker/
│ ├── context-extractor/
│ ├── pm-planner/
│ ├── qa-validator/
│ ├── security-fixer/
│ ├── security-reporter/
│ ├── security-reviewer/
│ └── security-workflow/
│
├── templates/ # From docs/prp/
│ └── prp-base-flowspec.md
│
└── vscode/ # From .vscode/ and vscode/
└── settings.json
Use Cases
Before: Copy 15+ directories and files, hope nothing is missed, manually verify structure.
After: cp -r /path/to/flowspec-template/.flowspec . or flowspec init
Before: Multiple gitignore entries for different flowspec directories.
After: Single rule like .flowspec/logs/ for generated content
Before: Flowspec directories mixed with other tooling
After: Clear separation - .flowspec/ is flowspec, everything else is project or other tools
Before: Hunt through project to remove all flowspec artifacts.
After: rm -rf .flowspec removes everything
Alternatives Considered
No response
Priority
Medium - Would improve my workflow
Related Backlog Task
No response
Contribution