This repository was archived by the owner on Mar 18, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Add loop.sh and PROMPT files for beads-loop workflow #3
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,27 @@ | ||
| 0a. Run `bd list --json` to understand all issues in the project. | ||
| 0b. Run `bd ready --json` to see what work has no blockers. | ||
| 0c. Run `bd dep tree <epic-id>` for each epic to understand the dependency graph. | ||
| 0d. Study the plugin directory structure with subagents to understand shared patterns & conventions (see CLAUDE.md). | ||
| 0a. Run `br list --json` to understand all issues in the project. | ||
| 0b. Run `br ready --json` to see what work has no blockers. | ||
| 0c. Run `br dep tree <epic-id>` for each epic to understand the dependency graph. | ||
| 0d. Study `src/lib/*` with subagents to understand shared utilities & components. | ||
|
|
||
| 1. Analyze the beads database for gaps and issues: | ||
| - Run `bd list --status open --json` to get all open issues | ||
| - Run `br list --status open --json` to get all open issues | ||
| - For each epic, verify child tasks cover all aspects of the specification | ||
| - Check for missing dependencies using `bd dep cycles` (should be empty) | ||
| - Check for missing dependencies using `br dep cycles` (should be empty) | ||
| - Identify any tasks that should block others but don't | ||
|
|
||
| 2. Update the beads database to fix any issues found: | ||
| - Create missing tasks with `bd create "title" -t task -p <priority> -d "description"` | ||
| - Add missing dependencies with `bd dep add <child> <parent> --type blocks` | ||
| - Update priorities if needed with `bd update <id> --priority <0-4>` | ||
| - Add labels for better organization with `bd label add <id> <labels>` | ||
| - Create missing tasks with `br create "title" -t task -p <priority> -d "description"` | ||
| - Add missing dependencies with `br dep add <child> <parent> --type blocks` | ||
| - Update priorities if needed with `br update <id> --priority <0-4>` | ||
| - Add labels for better organization with `br label add <id> <labels>` | ||
|
|
||
| 3. Verify the plan is complete: | ||
| - `bd ready` should show the correct next task(s) | ||
| - `bd blocked` should show tasks waiting on dependencies | ||
| - `bd stats` should show accurate counts | ||
| - `br ready` should show the correct next task(s) | ||
| - `br blocked` should show tasks waiting on dependencies | ||
| - `br stats` should show accurate counts | ||
|
|
||
| IMPORTANT: Plan only. Do NOT implement anything. Do NOT assume functionality is missing; | ||
| use `bd list` and code search to verify first. | ||
| use `br list` and code search to verify first. | ||
|
|
||
| ULTIMATE GOAL: Refactor all knowledge-work plugins from generic Anthropic templates to FashionUnited-specific workflows, tools, and domain context. Ensure all necessary tasks exist as beads with proper dependencies so `bd ready` always shows the right next work. | ||
| ULTIMATE GOAL: We want to achieve [project-specific goal]. Ensure all necessary tasks | ||
| exist as beads with proper dependencies so `br ready` always shows the right next work. | ||
|
Comment on lines
+26
to
+27
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Useful? React with 👍 / 👎. |
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This prompt now tells agents to look in
src/*/src/lib/*, but this repository is organized as top-level plugin directories (seeAGENTS.mdrepository structure section) and has nosrctree. In build/plan mode, this misroutes code search and edits to non-existent paths, so tasks can be marked incomplete or implemented in the wrong place even when the required plugin files already exist.Useful? React with 👍 / 👎.