Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
442 changes: 442 additions & 0 deletions .beans/archive/opencode-workflow-mu9x--command-patch-system.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
# opencode-workflow-gt5w
title: Patch plan command to write plan to bean instead of tasks/plan.md
status: completed
type: task
priority: normal
created_at: 2026-04-30T13:52:42Z
updated_at: 2026-04-30T13:53:16Z
---

Create a command patch for the plan command that changes the behavior to add the detailed plan to the matching bean (using the beans CLI) instead of saving it as tasks/plan.md and tasks/todo.md.

## Summary of Changes\n\nCreated `src/command-patches/plan.md` with an `append` patch strategy — mirrors the spec patch approach. The patch appends a single instruction telling the agent to add the detailed plan to the matching bean via the beans CLI instead of saving to `tasks/plan.md` and `tasks/todo.md`.\n\nBuild confirms patch applied: `dist/commands/plan.md`. All 15 tests pass.
184 changes: 0 additions & 184 deletions .beans/opencode-workflow-mu9x--command-patch-system.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
# opencode-workflow-rdud
title: Patch spec command to write spec to bean instead of SPEC.md
status: completed
type: task
priority: normal
created_at: 2026-04-30T13:39:52Z
updated_at: 2026-04-30T13:41:20Z
---

Create a command patch for the spec command that changes the behavior to write the spec body into a bean (using the beans CLI) instead of saving it as SPEC.md in the project root.

## Summary of Changes\n\nUpdated `src/command-patches/spec.md` to use a body-replacement patch strategy. The patch replaces the entire upstream body, changing the line that instructed saving a SPEC.md file to instead write the spec into a bean via the beans CLI. The patched `/spec` command now:\n- Checks for an existing bean before creating a new one\n- Appends the spec content to the bean body using `beans update --body-append`\n- Confirms with the user which bean was updated\n\nBuild and all 15 tests pass.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@statista-oss/opencode-workflow",
"version": "0.0.2",
"version": "0.1.0",
"keywords": [],
"license": "ISC",
"author": "",
Expand Down
4 changes: 4 additions & 0 deletions src/command-patches/plan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
append: |
Instead of saving the plan to tasks/plan.md and tasks/todo.md, add the detailed plan to the matching bean using the beans CLI.
---
4 changes: 4 additions & 0 deletions src/command-patches/spec.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
append: |
Instead of saving the spec as SPEC.md, write the spec into a bean using the beans CLI.
---
Loading
Loading