allye-opencode 1.2.5 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +36 -30
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -749,9 +749,15 @@ You drive delivery. You don't plan \u2014 that already happened in Technical Pla
|
|
|
749
749
|
|
|
750
750
|
## 1. On start
|
|
751
751
|
|
|
752
|
-
If you arrived via a \`technical-to-orchestration\` handover (see \`handover-protocol\`), read it in full \u2014 it's your only context, there is no prior conversation to fall back on.
|
|
752
|
+
If you arrived via a \`technical-to-orchestration\` handover (see \`handover-protocol\`), read it in full \u2014 it's your only context, there is no prior conversation to fall back on.
|
|
753
753
|
|
|
754
|
-
|
|
754
|
+
Then load the actual work. **The handover's list is an index to verify against, not a substitute for reading:**
|
|
755
|
+
|
|
756
|
+
1. **Read the full subtree under the handover's parent item.** \`work_get\` the parent (a feature \u2014 or an epic, when the user chose to hand over a whole epic), then walk \`work_children\` level by level all the way down (epic \u2192 features \u2192 stories \u2192 tasks), reading every item's description \u2014 not just its key and status. Nothing below the parent is out of scope just because the handover didn't happen to list it.
|
|
757
|
+
2. **Consult every reference the handover names.** Docs get opened via \`doc_get\` (locate via \`doc_full_tree\` if only named); suggested memory queries actually get run. A reference listed but never opened is a briefing you skipped.
|
|
758
|
+
3. **Cross-check against the handover's list.** If the subtree you loaded and the handover disagree \u2014 items in Allye missing from the handover, listed items that don't exist, wave structure that doesn't match \u2014 stop and ask before dispatching anything.
|
|
759
|
+
|
|
760
|
+
If you arrived without a handover (the user just wants to resume coordinating an in-progress feature), ask for the feature or epic key if it isn't already clear, then do the same full subtree read via \`work_get\`/\`work_children\`.
|
|
755
761
|
|
|
756
762
|
Search memories for relevant prior context (\`memory_search("Session State {feature key}")\`, \`memory_search("decision {feature key}")\`) \u2014 a delivery already in progress may have decisions and blockers recorded from earlier sessions.
|
|
757
763
|
|
|
@@ -1072,7 +1078,7 @@ After completing a task, pick the next one from the **handover's own wave-ordere
|
|
|
1072
1078
|
- If the current wave is done \u2192 move to the next wave (per the handover's list)
|
|
1073
1079
|
- If every task in the story has reached \`review\` (implementation complete, awaiting Reviewer) \u2192 emit an **\`execution-report\`** handover (see the \`handover-protocol\` skill) back to the Orchestrator
|
|
1074
1080
|
|
|
1075
|
-
Use \`work_children(id: "{story uuid}")\` only to **verify/check the status** of tasks already in the handover's list (e.g. confirming a dependency reached \`review\`) \u2014 never to discover new tasks to work on. If \`work_children\` reveals a task under this story that is **not** in the handover's task list, do not execute it \u2014 it wasn't in scope when the handover was dispatched. Instead, note it as an open question ("
|
|
1081
|
+
Use \`work_children(id: "{story uuid}")\` only to **verify/check the status** of tasks already in the handover's list (e.g. confirming a dependency reached \`review\`) \u2014 never to discover new tasks to work on. If \`work_children\` reveals a task under this story that is **not** in the handover's task list, do not execute it \u2014 it wasn't in scope when the handover was dispatched. Instead, note it as an open question ("Open questions") in the \`execution-report\` handover so the Orchestrator can decide whether to bring it into scope.
|
|
1076
1082
|
|
|
1077
1083
|
---
|
|
1078
1084
|
|
|
@@ -2006,29 +2012,29 @@ Generate a complete handoff using the shared marker format \u2014 same shape Cla
|
|
|
2006
2012
|
|
|
2007
2013
|
\`\`\`
|
|
2008
2014
|
## \uD83D\uDD04 Allye Handover \u2014 technical-to-orchestration
|
|
2009
|
-
**Skill
|
|
2015
|
+
**Skill to load:** orchestrator
|
|
2010
2016
|
|
|
2011
|
-
###
|
|
2012
|
-
|
|
2017
|
+
### Objective
|
|
2018
|
+
Drive delivery of {FEATURE-KEY} \u2014 {feature title}
|
|
2013
2019
|
|
|
2014
|
-
###
|
|
2020
|
+
### Required reading
|
|
2015
2021
|
- Epic: {EPIC-KEY}
|
|
2016
2022
|
- Feature: {FEATURE-KEY}
|
|
2017
|
-
- Stories
|
|
2023
|
+
- Stories and tasks by wave:
|
|
2018
2024
|
- {STORY-KEY} \u2014 {title}
|
|
2019
2025
|
- Wave 1: {TASK-KEY}, {TASK-KEY}
|
|
2020
2026
|
- Wave 2: {TASK-KEY}
|
|
2021
2027
|
|
|
2022
|
-
###
|
|
2028
|
+
### Locked architecture decisions
|
|
2023
2029
|
- {decision 1}: {rationale}
|
|
2024
2030
|
- {decision 2}: {rationale}
|
|
2025
2031
|
|
|
2026
|
-
###
|
|
2032
|
+
### Additional context
|
|
2027
2033
|
- {anything the user mentioned}
|
|
2028
2034
|
- {relevant memories saved during planning}
|
|
2029
2035
|
|
|
2030
2036
|
---
|
|
2031
|
-
|
|
2037
|
+
If anything is unclear, STOP and ask \u2014 don't proceed on a guess.
|
|
2032
2038
|
\`\`\`
|
|
2033
2039
|
|
|
2034
2040
|
### Step 4: Instruct the user
|
|
@@ -2090,7 +2096,7 @@ Generate a handoff scoped to exactly ONE story and its tasks \u2014 never a whol
|
|
|
2090
2096
|
|
|
2091
2097
|
\`\`\`
|
|
2092
2098
|
## \uD83D\uDD04 Allye Handover \u2014 story-execution
|
|
2093
|
-
**Skill
|
|
2099
|
+
**Skill to load:** execution
|
|
2094
2100
|
|
|
2095
2101
|
### Story
|
|
2096
2102
|
{STORY-KEY} \u2014 {title}, with acceptance criteria copied in full
|
|
@@ -2098,11 +2104,11 @@ Generate a handoff scoped to exactly ONE story and its tasks \u2014 never a whol
|
|
|
2098
2104
|
### Tasks
|
|
2099
2105
|
{TASK-KEY list with acceptance criteria}
|
|
2100
2106
|
|
|
2101
|
-
###
|
|
2107
|
+
### Applicable locked decisions
|
|
2102
2108
|
{locked decisions from planning}
|
|
2103
2109
|
|
|
2104
2110
|
---
|
|
2105
|
-
|
|
2111
|
+
If anything is unclear, STOP and ask \u2014 don't proceed on a guess.
|
|
2106
2112
|
\`\`\`
|
|
2107
2113
|
|
|
2108
2114
|
### Step 2: Receive the execution report, dispatch Review
|
|
@@ -2124,16 +2130,16 @@ Review returns its standard \u2705/\u26A0\uFE0F/\u274C-per-task output.
|
|
|
2124
2130
|
|
|
2125
2131
|
\`\`\`
|
|
2126
2132
|
## \uD83D\uDD04 Allye Handover \u2014 correction
|
|
2127
|
-
**Skill
|
|
2133
|
+
**Skill to load:** execution
|
|
2128
2134
|
|
|
2129
|
-
###
|
|
2135
|
+
### Findings to fix (\u274C only)
|
|
2130
2136
|
- {TASK-KEY}: "{finding, quoted literally}"
|
|
2131
2137
|
|
|
2132
|
-
###
|
|
2133
|
-
|
|
2138
|
+
### Correction round
|
|
2139
|
+
This is correction attempt {N} for this story.
|
|
2134
2140
|
|
|
2135
2141
|
---
|
|
2136
|
-
|
|
2142
|
+
Fix ONLY what's listed above \u2014 don't redo the whole story.
|
|
2137
2143
|
\`\`\`
|
|
2138
2144
|
|
|
2139
2145
|
**Escalate to the user instead of emitting a 4th correction handoff if the same task fails review 3 times.** Two rounds failing for different specific reasons is normal; three usually means something deeper is being missed.
|
|
@@ -2225,26 +2231,26 @@ When all tasks in the current story are done \u2014 or you've hit a genuine bloc
|
|
|
2225
2231
|
|
|
2226
2232
|
\`\`\`
|
|
2227
2233
|
## \uD83D\uDD04 Allye Handover \u2014 execution-report
|
|
2228
|
-
**Skill
|
|
2234
|
+
**Skill to load:** orchestrator
|
|
2229
2235
|
|
|
2230
|
-
### Story
|
|
2236
|
+
### Story implemented
|
|
2231
2237
|
{STORY-KEY} \u2014 {title}
|
|
2232
2238
|
|
|
2233
|
-
### Tasks
|
|
2234
|
-
- {TASK-KEY}: {\u2705
|
|
2235
|
-
- {
|
|
2239
|
+
### Tasks and status per acceptance criterion
|
|
2240
|
+
- {TASK-KEY}: {\u2705 done | \u26A0\uFE0F partial | \u274C blocked}
|
|
2241
|
+
- {criterion}: {met | not met \u2014 why}
|
|
2236
2242
|
|
|
2237
|
-
###
|
|
2243
|
+
### Files changed
|
|
2238
2244
|
- {path} \u2014 {what changed}
|
|
2239
2245
|
|
|
2240
|
-
###
|
|
2241
|
-
- {decision}, or "
|
|
2246
|
+
### New decisions made during implementation
|
|
2247
|
+
- {decision}, or "No new decision"
|
|
2242
2248
|
|
|
2243
|
-
###
|
|
2244
|
-
{anything unresolved, or "
|
|
2249
|
+
### Open questions
|
|
2250
|
+
{anything unresolved, or "None"}
|
|
2245
2251
|
|
|
2246
2252
|
---
|
|
2247
|
-
|
|
2253
|
+
If anything is unclear, STOP and ask \u2014 don't proceed on a guess.
|
|
2248
2254
|
\`\`\`
|
|
2249
2255
|
|
|
2250
2256
|
> "Story {STORY-KEY} is implemented. Switch to **Allye Orchestrator** (Ctrl+T \u2192 Allye Orchestrator) and paste the handover above \u2014 it'll dispatch review and handle status from here."
|
package/package.json
CHANGED