Idea Realization
Execute one idea from docs/idea-list.md through a fixed workflow with progress tracking.
Use this workflow
- •Identify target idea.
- •Write implementation plan.
- •Implement code.
- •Add or update tests.
- •Run verification commands.
- •Update docs and progress.
- •Commit changes.
- •Push to remote.
Target selection rules
- •Read
docs/idea-list.md. - •Read
docs/idea-progress.mdif it exists. - •If user specifies an ID (for example
BB-IDEA-03), implement that ID. - •If user does not specify an ID, pick the first TODO in priority order
P1 -> P2 -> P3. - •Implement only one idea per commit unless user explicitly requests batch implementation.
Progress tracking rules
- •Keep progress in
docs/idea-progress.md. - •Use the table format in
references/progress-template.md. - •Track each idea with status:
TODO | IN_PROGRESS | DONE | BLOCKED. - •Update one row when work starts and again when work ends.
- •Record commit hash for DONE rows.
Implementation rules
- •Start with the idea's
最小導入版indocs/idea-list.md. - •Keep architecture boundaries:
- •Rules:
src/game/gamePipeline.ts,src/game/roundSystem.ts - •Physics:
src/game/physicsCore.ts,src/game/physicsApply.ts - •Items:
src/game/itemRegistry.ts,src/game/itemSystem.ts - •UI:
src/game/renderPresenter.ts,src/ui/overlay.ts,src/game/hud.ts - •Audio:
src/audio/audioDirector.ts,src/audio/sfx.ts,src/audio/bgmCatalog.ts
- •Rules:
- •Avoid unrelated refactors during idea implementation.
- •Preserve existing behavior outside the selected idea scope.
Testing and verification rules
Run in this order after implementation:
- •
bun run check - •
bun test - •
bun run e2e
If e2e cannot run due environment constraints, report the reason clearly and continue with passed gates.
Documentation update rules
- •Update
docs/idea-progress.mdstatus and notes. - •Update
README.mdonly when user-facing behavior changes. - •Update
docs/architecture.mdonly when module boundaries or data flow change. - •Keep
docs/idea-list.mdas proposal source; do not delete implemented ideas.
Commit rules
- •Create one commit per idea.
- •Use commit message format:
- •
feat(idea): implement BB-IDEA-XX <short-slug>
- •
- •Include tests and docs updates in the same commit.
- •After successful commit, push to
origin/mainby default. - •Do not wait for extra confirmation unless the user explicitly says not to push.
Response contract
Always report:
- •Implemented idea ID and name.
- •Files changed.
- •Test command results.
- •Updated progress status.
- •Commit hash.
- •Push result (
origin/main).