opencode-plugin-flow 4.3.4 → 4.3.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/CHANGELOG.md CHANGED
@@ -2,6 +2,43 @@
2
2
 
3
3
  One short entry per release, written for users deciding whether to upgrade.
4
4
 
5
+ ## [4.3.6] - 2026-07-08
6
+
7
+ Phase-continuity lore removes the rough stop after three completed features and
8
+ adds sharper handoffs around long Flow sessions:
9
+
10
+ - Completed feature counts are now telemetry only; approved plans keep moving to
11
+ the next runnable feature instead of requiring a fresh session after three
12
+ completions.
13
+ - `flow_status` now includes a human-readable progress line, `nextFeature`,
14
+ `pendingFeatures`, and remaining feature count so resumed sessions name the
15
+ exact next slice.
16
+ - Hidden worker prompts now fail closed on empty or unstructured handoffs, and
17
+ worker model routing can be configured with `OPENCODE_FLOW_*_WORKER_MODEL`
18
+ environment variables.
19
+ - Release publishing now has `bun run release:monitor`, which watches the
20
+ release commit's CI and tag-triggered Release workflow before declaring the
21
+ release healthy.
22
+
23
+ ## [4.3.5] - 2026-07-08
24
+
25
+ Flow now stops long autonomous loops more deliberately without making reviews
26
+ shallower:
27
+
28
+ - Runtime budget telemetry records completed features since the last phase
29
+ boundary, feature/final review counts, failed review counts, per-feature
30
+ retry attempts, and host token telemetry availability.
31
+ - Failed feature and final reviews now pause by default, allow only one
32
+ autonomous repair plus one retry, then block the feature with a compact
33
+ resume packet instead of continuing to edit in the same root session.
34
+ - Feature completion now records `featureReviewDepth` and rejects evidence that
35
+ is shallower than the approved feature requires.
36
+ - Large sessions now checkpoint after three completed features and require an
37
+ explicit `phaseBoundaryAck` in a fresh phase before the next feature starts.
38
+ - Flow planning, running, review, README, maintainer docs, and wiki pages now
39
+ describe scoped review packets, risk-based review depth, retry limits, and
40
+ phase-boundary handoffs.
41
+
5
42
  ## [4.3.4] - 2026-07-07
6
43
 
7
44
  Planning and final-review lore sharpened without changing the runtime surface:
package/README.md CHANGED
@@ -17,8 +17,8 @@ Full project documentation is available in the
17
17
  ## Quick start
18
18
 
19
19
  ```bash
20
- opencode plugin opencode-plugin-flow@4.3.4 --global --force
21
- npx -y opencode-plugin-flow@4.3.4 sync
20
+ opencode plugin opencode-plugin-flow@4.3.6 --global --force
21
+ npx -y opencode-plugin-flow@4.3.6 sync
22
22
  ```
23
23
 
24
24
  Restart OpenCode, then give Flow a goal:
@@ -46,6 +46,7 @@ restart.
46
46
  ... implementation, tests ...
47
47
  flow_feature_complete
48
48
  validationRun: "bun test tests/middleware.test.ts" passed
49
+ featureReviewDepth: standard
49
50
  featureReview: passed
50
51
  flow_run_start feature: per-route-config
51
52
  ...
@@ -93,8 +94,8 @@ The runtime exposes seven tools:
93
94
  | `flow_session_close` | Archive the active session as completed, deferred, or abandoned. |
94
95
 
95
96
  Review evidence is part of `flow_feature_complete`: every completed feature
96
- needs a passing `featureReview`, and the final feature also needs a passing
97
- `finalReview`.
97
+ needs a passing `featureReview` at the feature's planned `reviewDepth`, and the
98
+ final feature also needs a passing `finalReview`.
98
99
 
99
100
  ## What the runtime enforces
100
101
 
@@ -107,6 +108,13 @@ The runtime owns only safety; judgment lives in the skills:
107
108
  - Completion requires passing validation evidence: `targeted` scope for
108
109
  ordinary features, `broad` scope plus a passing final review for the last
109
110
  one.
111
+ - Completion records `featureReviewDepth`; the runtime rejects review evidence
112
+ that is shallower than the approved feature requires.
113
+ - Failed reviews are bounded: a failed review pauses by default, and autonomous
114
+ repair is limited to one repair plus one retry before the feature blocks.
115
+ - Long sessions hit phase boundaries after a small number of completed
116
+ features. Flow returns a compact resume packet and requires explicit
117
+ `phaseBoundaryAck` before starting the next feature.
110
118
  - A session can close as `completed` only after final completion has passed.
111
119
  - Crash recovery is built in: stale session locks expire automatically and
112
120
  unreadable session files are quarantined with recovery guidance, never
@@ -135,7 +143,7 @@ To update a pinned Flow version, rerun the install command with the new
135
143
  version. To inspect skill health:
136
144
 
137
145
  ```bash
138
- npx -y opencode-plugin-flow@4.3.4 doctor
146
+ npx -y opencode-plugin-flow@4.3.6 doctor
139
147
  ```
140
148
 
141
149
  ## Experimental: compaction context
@@ -28,6 +28,11 @@ export declare function createTools(ctx: unknown): {
28
28
  completed: "completed";
29
29
  blocked: "blocked";
30
30
  }>>;
31
+ reviewDepth: import("zod").ZodOptional<import("zod").ZodEnum<{
32
+ quick: "quick";
33
+ standard: "standard";
34
+ detailed: "detailed";
35
+ }>>;
31
36
  targets: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
32
37
  validation: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
33
38
  dependsOn: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
@@ -46,6 +51,7 @@ export declare function createTools(ctx: unknown): {
46
51
  id: string;
47
52
  title: string;
48
53
  status?: "pending" | "in_progress" | "completed" | "blocked" | undefined;
54
+ reviewDepth?: "quick" | "standard" | "detailed" | undefined;
49
55
  targets?: string[] | undefined;
50
56
  validation?: string[] | undefined;
51
57
  dependsOn?: string[] | undefined;
@@ -63,9 +69,11 @@ export declare function createTools(ctx: unknown): {
63
69
  description: string;
64
70
  args: {
65
71
  featureId: import("zod").ZodOptional<import("zod").ZodString>;
72
+ phaseBoundaryAck: import("zod").ZodOptional<import("zod").ZodBoolean>;
66
73
  };
67
74
  execute(args: {
68
75
  featureId?: string | undefined;
76
+ phaseBoundaryAck?: boolean | undefined;
69
77
  }, context: ToolContext): Promise<import("@opencode-ai/plugin").ToolResult>;
70
78
  };
71
79
  flow_feature_complete: {
@@ -92,6 +100,11 @@ export declare function createTools(ctx: unknown): {
92
100
  targeted: "targeted";
93
101
  broad: "broad";
94
102
  }>>;
103
+ featureReviewDepth: import("zod").ZodOptional<import("zod").ZodEnum<{
104
+ quick: "quick";
105
+ standard: "standard";
106
+ detailed: "detailed";
107
+ }>>;
95
108
  featureReview: import("zod").ZodOptional<import("zod").ZodObject<{
96
109
  status: import("zod").ZodEnum<{
97
110
  passed: "passed";
@@ -156,6 +169,7 @@ export declare function createTools(ctx: unknown): {
156
169
  summary: string;
157
170
  }[] | undefined;
158
171
  validationScope?: "targeted" | "broad" | undefined;
172
+ featureReviewDepth?: "quick" | "standard" | "detailed" | undefined;
159
173
  featureReview?: {
160
174
  status: "passed" | "failed";
161
175
  summary: string;
package/dist/cli.js CHANGED
@@ -15,6 +15,11 @@ worker report of record: it must include the assigned scope, what was actually
15
15
  covered, the evidence for each useful claim, and the remaining gaps. End worker
16
16
  prompts with "Return only this Flow handoff."
17
17
 
18
+ Empty or unstructured worker output is a failed handoff. If the worker cannot
19
+ cover the assigned scope, verify the evidence, or satisfy the handoff shape, it
20
+ must return \`Status: blocked\` with the missing elements, and the manager must
21
+ not treat the slice as complete.
22
+
18
23
  Sections: evidence/review/validation/audit worker report, verifier worker report,
19
24
  and candidate implementation worker report.
20
25
 
@@ -178,7 +183,7 @@ stay separate:
178
183
  | --- | --- | --- |
179
184
  | Repo shape is unclear before planning | Discovery pass | Requirements, decisions, targets, validation entries, or a review-first feature |
180
185
  | A broad finding set needs refutation | Audit pass | Surviving findings with guards checked and gaps named |
181
- | Changed files or risk lenses are too broad for one review pass | Review pass | One \`featureReview\` or \`finalReview\` payload owned by the manager |
186
+ | Changed files or risk lenses are too broad for one review pass | Review pass | One feature review packet or \`finalReview\` payload owned by the manager |
182
187
  | Test strategy or route coverage is unclear | Validation pass | Candidate commands or authorized raw command evidence |
183
188
  | A claim is single-source, surprising, high-stakes, or payload-bound | Verification pass | Per-claim keep, narrow, rewrite, or remove decisions |
184
189
  | Multiple implementation paths are plausible | Candidate pass | Candidate patches inspected and validated by the manager before use |
@@ -230,10 +235,15 @@ carry the permission boundaries for each mode.
230
235
  | \`verifier\` | \`flow-verifier-worker\` | Per-claim verdicts against cited evidence or commands | No | \`flow_status\` only if needed |
231
236
  | \`candidate-implementation\` | \`flow-candidate-worker\` | Candidate patch summary from an isolated worktree or exact path-owned slice | Only with explicit user authorization plus isolation or exact non-overlapping path ownership | No state-changing Flow tools |
232
237
 
233
- If the runtime exposes per-worker model or effort choices, spend them where
234
- being wrong is expensive: read-heavy discovery slices tolerate the cheapest
235
- configured option, while verifier and review slices deserve the strongest.
236
- Otherwise route by scope: give weaker slices narrower, more countable scope.
238
+ Use worker-specific model routing where the installation can support it:
239
+ \`OPENCODE_FLOW_READONLY_WORKER_MODEL\` for evidence, validation, and audit
240
+ workers; \`OPENCODE_FLOW_REVIEW_WORKER_MODEL\` for reviewer and verifier workers;
241
+ \`OPENCODE_FLOW_CANDIDATE_WORKER_MODEL\` for candidate implementation workers; and
242
+ \`OPENCODE_FLOW_WORKER_MODEL\` as a fallback for all hidden Flow workers. Model IDs
243
+ are OpenCode installation-specific (\`provider/model\`), so leave these unset when
244
+ the configured provider is unknown. Spend stronger models where being wrong is
245
+ expensive; read-heavy discovery slices tolerate the cheapest configured option,
246
+ while verifier and review slices deserve the strongest.
237
247
 
238
248
  ## Permission contract
239
249
 
@@ -334,8 +344,9 @@ Continue non-overlapping manager work while workers run.
334
344
  ## Stage 5 — Account
335
345
 
336
346
  Check every manifest row off against a returned handoff before synthesis. A
337
- worker that never returns, errors out, or reports \`partial\` or \`blocked\` is a
338
- hole in the pass, and synthesizing around it silently drops a slice.
347
+ worker that never returns, errors out, returns empty or unstructured output, or
348
+ reports \`partial\` or \`blocked\` is a hole in the pass, and synthesizing around it
349
+ silently drops a slice.
339
350
 
340
351
  Worker failure ladder:
341
352
 
@@ -350,7 +361,8 @@ Worker failure ladder:
350
361
  \`Status: success\` only says the worker believes its slice is done. Accept a
351
362
  handoff only after a cheap manager-side pass:
352
363
 
353
- - \`Status\` is present and terminal: \`success\`, \`partial\`, or \`blocked\`.
364
+ - \`Status\` is present and terminal: \`success\`, \`partial\`, or \`blocked\`; empty or
365
+ unstructured output fails this check.
354
366
  - Coverage matches the assigned slice, or skips are explicit.
355
367
  - Important claims have concrete evidence and confidence tags.
356
368
  - Cited paths, commands, screenshots, URLs, or metrics resolve.
@@ -412,7 +424,7 @@ Where accepted evidence goes:
412
424
  - Validation evidence may become \`validationRun\` only when the worker was
413
425
  explicitly authorized to run the command and reported the exact command,
414
426
  status, and raw outcome summary.
415
- - Review evidence informs \`featureReview\` or \`finalReview\`, but the manager
427
+ - Review evidence informs \`featureReviewDepth\` plus \`featureReview\`, or \`finalReview\`, but the manager
416
428
  owns the pass/fail verdict and must resolve blockers, contradictions, and
417
429
  coverage gaps before returning the payload.
418
430
  - Audit evidence becomes findings only after refutation; blocking findings need
@@ -539,10 +551,10 @@ suggestions do not move into the next pass or user-facing answer.
539
551
  `;
540
552
 
541
553
  // skills/flow/references/recovery-playbook.md
542
- var recovery_playbook_default = '# Recovery playbook\n\nUse this when a Flow tool returns `status: "error"`, a blocker, or a `nextAction` that conflicts with memory.\n\n## First response\n\n1. Re-anchor with `flow_status`.\n2. Read the returned `summary`, `recovery`, `lastError`, and active feature.\n3. Fix the cause, then retry the smallest valid Flow action.\n\n## Common cases\n\n- `missing_session`: start with `flow_plan_save` using the user\'s goal.\n- `missing_goal`: ask for a concrete goal before planning.\n- `Approved plans cannot be changed`: use `flow_feature_reset` when only affected features need another pass; otherwise close and start a new goal.\n- `No feature is currently running`: call `flow_run_start` before completing.\n- `already in progress`: finish, reset, or block the active feature before starting another.\n- `Completion requires recorded validation evidence`: run real validation and include at least one passing `validationRun`.\n- `Completion requires all recorded validation to pass`: fix failures and rerun. Do not relabel failed checks as passed.\n- `Non-final feature completion requires targeted validation`: use `validationScope: "targeted"` for ordinary features.\n- `Final feature completion requires broad validation`: run the project-level gate and use `validationScope: "broad"`.\n- `Completion requires a passing featureReview`: run or request a real review and include a passing `featureReview` only when there are no blocking findings.\n- `Final feature completion requires a finalReview`: perform final review and include `finalReview`.\n- `Final review depth must match the plan policy`: use `reviewDepth` equal to the approved plan\'s `finalReviewPolicy`; valid final-review values are `broad` and `detailed`.\n- `Cannot close ... unfinished features`: complete, reset, defer, or abandon honestly. Do not mark completed while work remains.\n\n## Reset guidance\n\nUse `flow_feature_reset` when the active or completed work was built on the wrong assumption, validation revealed a design issue, dependencies need to be rerun, or dependent features must be invalidated. Resetting a feature also resets its dependents.\n\n## Closure guidance\n\nUse `flow_session_close`:\n\n- `completed`: only after all planned features are complete.\n- `deferred`: the user intentionally postpones unfinished work.\n- `abandoned`: the session should be archived without claiming delivery.\n\nAfter closure, the active `.flow/session.json` is removed and the archived JSON is stored under `.flow/history/`.\n';
554
+ var recovery_playbook_default = '# Recovery playbook\n\nUse this when a Flow tool returns `status: "error"`, a blocker, or a `nextAction` that conflicts with memory.\n\n## First response\n\n1. Re-anchor with `flow_status`.\n2. Read the returned `summary`, `recovery`, `lastError`, and active feature.\n3. Fix the cause, then retry the smallest valid Flow action.\n\n## Common cases\n\n- `missing_session`: start with `flow_plan_save` using the user\'s goal.\n- `missing_goal`: ask for a concrete goal before planning.\n- `Approved plans cannot be changed`: use `flow_feature_reset` when only affected features need another pass; otherwise close and start a new goal.\n- `No feature is currently running`: call `flow_run_start` before completing.\n- `already in progress`: finish, reset, or block the active feature before starting another.\n- `Completion requires recorded validation evidence`: run real validation and include at least one passing `validationRun`.\n- `Completion requires all recorded validation to pass`: fix failures and rerun. Do not relabel failed checks as passed.\n- `Non-final feature completion requires targeted validation`: use `validationScope: "targeted"` for ordinary features.\n- `Final feature completion requires broad validation`: run the project-level gate and use `validationScope: "broad"`.\n- `Feature review depth ... does not meet the plan requirement`: rerun review\n at the feature\'s planned depth or reset/replan if the depth was chosen\n incorrectly.\n- `Completion requires a passing featureReview`: run or request a real review and include a passing `featureReview` only when there are no blocking findings.\n- `Review retry budget exhausted`: stop and report the remaining blocker. Do\n not keep patching; reset or replan only after explicit user direction.\n- `Final feature completion requires a finalReview`: perform final review and include `finalReview`.\n- `Final review depth must match the plan policy`: use `reviewDepth` equal to the approved plan\'s `finalReviewPolicy`; valid final-review values are `broad` and `detailed`.\n- `Cannot close ... unfinished features`: complete, reset, defer, or abandon honestly. Do not mark completed while work remains.\n\n## Reset guidance\n\nUse `flow_feature_reset` when the active or completed work was built on the wrong assumption, validation revealed a design issue, dependencies need to be rerun, or dependent features must be invalidated. Resetting a feature also resets its dependents.\n\n## Closure guidance\n\nUse `flow_session_close`:\n\n- `completed`: only after all planned features are complete.\n- `deferred`: the user intentionally postpones unfinished work.\n- `abandoned`: the session should be archived without claiming delivery.\n\nAfter closure, the active `.flow/session.json` is removed and the archived JSON is stored under `.flow/history/`.\n';
543
555
 
544
556
  // skills/flow/SKILL.md
545
- var SKILL_default = "---\nname: flow\ndescription: Manage the end-to-end Flow loop for skills-first OpenCode work. Use when a user asks for Flow-guided delivery from goal to completion, resumable autonomous delivery, or resuming or closing a Flow session. For plan-only work use flow-plan; for executing one approved feature use flow-run.\n---\n\n# Flow\n\nUse Flow as a minimal state ledger, not as a framework. Skills provide judgment; the runtime only records the approved plan, active feature, validation evidence, review evidence, and closure.\n\nRouting: this manager skill owns the whole loop and every state-changing `flow_*` call. Load `flow-plan` alone for plan-only requests and `flow-run` alone when an approved plan needs one feature executed. Answer status-only questions with `flow_status`; no skill load is needed. `flow-test`, `flow-deslop`, and `flow-ui-quality` are optional helpers loaded from inside the loop; `flow-commit` is user-triggered only and never part of the autonomous loop.\n\n## Loop\n\n1. Call `flow_status` first. Trust its active session and next action over conversation memory.\n If the result includes `setup.skills`, follow the Skill Availability rules\n below before loading any Flow skill.\n2. If there is no active session and the user gave a goal, load `flow-plan`, save a plan with `flow_plan_save`, then approve it with `flow_plan_approve` only after explicit user approval or prior authorization for autonomous implementation. If there is no goal, ask for one.\n3. Load `flow-run`, call `flow_run_start`, implement exactly one feature, validate it, and prepare a `flow_feature_complete` payload. For validation-heavy, regression-sensitive, browser QA, route QA, or failure-prone work, use `flow-test` to choose and summarize evidence before completion.\n4. Load `flow-review` for the required feature review. The reviewer reports a `featureReview` payload; the manager records it inside `flow_feature_complete`.\n5. On the final feature, run broad validation and include `finalReview` in the same `flow_feature_complete` call. Its `reviewDepth` must match the plan's `finalReviewPolicy`.\n6. After all features are complete, archive the session with `flow_session_close` using `kind: \"completed\"`.\n\nUse `references/parallel-orchestration.md` for broad read-only discovery, audit, validation, review, verification, or candidate implementation passes. It is the whole pass playbook — orient, slice, manifest, fan out, account, verify, synthesize, extend or stop — and its `references/handoff-format.md` companion holds the worker report templates the manager pastes into prompts. Hidden Flow workers are injected by plugin config; invoke the named worker when it is available. The manager owns every `flow_*` state change.\n\nDo not commit, push, amend, rebase, publish, or mutate releases during the\nautonomous Flow loop. Load `flow-commit` only when the user explicitly asks for\ncommit preparation or commit creation.\n\n## Skill Availability\n\nIf `flow_status` returns `setup.skills`, report that setup status and stop\nnative-loading Flow skills in the current OpenCode startup. Missing, incomplete,\nor outdated managed skills require a sync/restart cycle before their native skill\ninstructions can be trusted by the running process. Public command bundles are\nself-contained and may continue when the command prompt already embeds the\nrequired Flow instructions.\n\nIf optional helper skills such as `flow-test`, `flow-deslop`, or\n`flow-ui-quality` are unavailable, continue only with explicit coverage gaps. Do\nnot copy their rubrics into another skill and do not claim their quality checks\nwere completed.\n\n## Runtime Surface\n\n- `flow_status`: read the active session.\n- `flow_plan_save`: create a session and/or save a draft plan.\n- `flow_plan_approve`: lock the draft plan.\n- `flow_run_start`: start one runnable feature.\n- `flow_feature_complete`: record completion or a real blocker with validation and review evidence.\n- `flow_feature_reset`: reset one feature and its dependents.\n- `flow_session_close`: archive the active session as `completed`, `deferred`, or `abandoned`.\n\nThere is no `flow_context`, no separate review-record tool, and no multi-session activation surface. The single active source of truth is `.flow/session.json`; closed sessions are archived under `.flow/history/`.\n\nPlanning and running require loaded Flow tools; do not simulate plan approval or feature completion when the runtime is unavailable. Review may still return advisory output when tools, skills, or references are stale or unavailable, but the manager must not record it as Flow-gated evidence.\n\n## Hard Gates\n\n- Approved plans are immutable. To change direction, reset affected features or close the session and start a new goal.\n- Only one feature can be active at a time.\n- Completion requires at least one passing `validationRun` entry.\n- Non-final completion requires `validationScope: \"targeted\"`.\n- Final completion requires `validationScope: \"broad\"` and a passing `finalReview`.\n- Every completed feature requires a passing `featureReview` with no blocking findings.\n- `flow_session_close` accepts `kind: \"completed\"` only after an approved plan has passed final completion.\n\n## Recovery\n\n- Confused state: call `flow_status` and follow `nextAction`.\n- Wrong assumption or failed implementation path: use `flow_feature_reset` for the feature and dependents, then rerun from the corrected plan.\n- Missing validation or review evidence: gather real evidence, then call `flow_feature_complete`.\n- Approved plan is materially wrong: reset the affected features, save a revised plan if the session is back in planning; otherwise close and start a new goal.\n- Unknown runtime error: read `summary` and `recovery`; see `references/recovery-playbook.md` for common cases.\n\nNever fabricate validation output, backfill review approval you did not perform, or close as `deferred`/`abandoned` merely to avoid an unfinished-work blocker.\n";
557
+ var SKILL_default = "---\nname: flow\ndescription: Manage the end-to-end Flow loop for skills-first OpenCode work. Use when a user asks for Flow-guided delivery from goal to completion, resumable autonomous delivery, or resuming or closing a Flow session. For plan-only work use flow-plan; for executing one approved feature use flow-run.\n---\n\n# Flow\n\nUse Flow as a minimal state ledger, not as a framework. Skills provide judgment; the runtime only records the approved plan, active feature, validation evidence, review evidence, and closure.\n\nRouting: this manager skill owns the whole loop and every state-changing `flow_*` call. Load `flow-plan` alone for plan-only requests and `flow-run` alone when an approved plan needs one feature executed. Answer status-only questions with `flow_status`; no skill load is needed. `flow-test`, `flow-deslop`, and `flow-ui-quality` are optional helpers loaded from inside the loop; `flow-commit` is user-triggered only and never part of the autonomous loop.\n\n## Loop\n\n1. Call `flow_status` first. Trust its active session and next action over conversation memory.\n If the result includes `setup.skills`, follow the Skill Availability rules\n below before loading any Flow skill.\n If it includes `session.resumePacket` or `session.budget.phaseBoundary`, stop\n and report the resume instructions unless this is a fresh user invocation\n explicitly resuming the session. Only then may the next `flow_run_start` use\n `phaseBoundaryAck: true`.\n2. If there is no active session and the user gave a goal, load `flow-plan`, save a plan with `flow_plan_save`, then approve it with `flow_plan_approve` only after explicit user approval or prior authorization for autonomous implementation. If there is no goal, ask for one.\n3. Load `flow-run`, call `flow_run_start`, implement exactly one feature, validate it, and prepare a `flow_feature_complete` payload. For validation-heavy, regression-sensitive, browser QA, route QA, or failure-prone work, use `flow-test` to choose and summarize evidence before completion.\n4. Load `flow-review` for the required feature review. Send a compact review\n packet, not the accumulated root transcript. The reviewer reports\n `featureReviewDepth` and `featureReview`; the manager records both inside\n `flow_feature_complete`.\n5. On the final feature, run broad validation and include `finalReview` in the same `flow_feature_complete` call. Its `reviewDepth` must match the plan's `finalReviewPolicy`.\n6. After all features are complete, archive the session with `flow_session_close` using `kind: \"completed\"`.\n\nUse `references/parallel-orchestration.md` for broad read-only discovery, audit, validation, review, verification, or candidate implementation passes. It is the whole pass playbook — orient, slice, manifest, fan out, account, verify, synthesize, extend or stop — and its `references/handoff-format.md` companion holds the worker report templates the manager pastes into prompts. Hidden Flow workers are injected by plugin config; invoke the named worker when it is available. The manager owns every `flow_*` state change.\n\nDo not commit, push, amend, rebase, publish, or mutate releases during the\nautonomous Flow loop. Load `flow-commit` only when the user explicitly asks for\ncommit preparation or commit creation.\n\n## Skill Availability\n\nIf `flow_status` returns `setup.skills`, report that setup status and stop\nnative-loading Flow skills in the current OpenCode startup. Missing, incomplete,\nor outdated managed skills require a sync/restart cycle before their native skill\ninstructions can be trusted by the running process. Public command bundles are\nself-contained and may continue when the command prompt already embeds the\nrequired Flow instructions.\n\nIf optional helper skills such as `flow-test`, `flow-deslop`, or\n`flow-ui-quality` are unavailable, continue only with explicit coverage gaps. Do\nnot copy their rubrics into another skill and do not claim their quality checks\nwere completed.\n\n## Runtime Surface\n\n- `flow_status`: read the active session.\n- `flow_plan_save`: create a session and/or save a draft plan.\n- `flow_plan_approve`: lock the draft plan.\n- `flow_run_start`: start one runnable feature.\n- `flow_feature_complete`: record completion or a real blocker with validation and review evidence.\n- `flow_feature_reset`: reset one feature and its dependents.\n- `flow_session_close`: archive the active session as `completed`, `deferred`, or `abandoned`.\n\nThere is no `flow_context`, no separate review-record tool, and no multi-session activation surface. The single active source of truth is `.flow/session.json`; closed sessions are archived under `.flow/history/`.\n\nPlanning and running require loaded Flow tools; do not simulate plan approval or feature completion when the runtime is unavailable. Review may still return advisory output when tools, skills, or references are stale or unavailable, but the manager must not record it as Flow-gated evidence.\n\n## Hard Gates\n\n- Approved plans are immutable. To change direction, reset affected features or close the session and start a new goal.\n- Only one feature can be active at a time.\n- Each feature's planned `reviewDepth` is the minimum accepted\n `featureReviewDepth` for completion.\n- Completion requires at least one passing `validationRun` entry.\n- Non-final completion requires `validationScope: \"targeted\"`.\n- Final completion requires `validationScope: \"broad\"` and a passing `finalReview`.\n- Every completed feature requires a passing `featureReview` with no blocking findings.\n- Failed reviews pause the loop by default. Autonomous repair may make at most\n one repair plus one retry review before stopping.\n- Phase boundaries stop the current root session; resume from\n `.flow/session.json` in a fresh OpenCode session.\n- `flow_session_close` accepts `kind: \"completed\"` only after an approved plan has passed final completion.\n\n## Budget And Retry Boundaries\n\nFlow enforces review retry counts in the runtime ledger and tracks completed\nfeature counts as telemetry only. The current OpenCode plugin surface does not\nexpose per-turn token usage to Flow; when usage is visible in the host UI or\nlogs, stop the current autonomous loop once the root session is large enough to\nthreaten latency or cost and report a compact handoff instead of continuing.\nTreat high visible tokens, high non-cache tokens, or repeated reviewer fan-out\nas a reason to finish the current feature, emit the resume packet, and continue\nin a fresh session.\n\n## Recovery\n\n- Confused state: call `flow_status` and follow `nextAction`.\n- Wrong assumption or failed implementation path: use `flow_feature_reset` for the feature and dependents, then rerun from the corrected plan.\n- Missing validation or review evidence: gather real evidence, then call `flow_feature_complete`.\n- Approved plan is materially wrong: reset the affected features, save a revised plan if the session is back in planning; otherwise close and start a new goal.\n- Unknown runtime error: read `summary` and `recovery`; see `references/recovery-playbook.md` for common cases.\n\nNever fabricate validation output, backfill review approval you did not perform, or close as `deferred`/`abandoned` merely to avoid an unfinished-work blocker.\n";
546
558
 
547
559
  // skills/flow-commit/SKILL.md
548
560
  var SKILL_default2 = `---
@@ -1207,6 +1219,7 @@ Call \`flow_plan_save\` with:
1207
1219
  "id": "lowercase-kebab-case",
1208
1220
  "title": "Short title",
1209
1221
  "summary": "Outcome this feature delivers",
1222
+ "reviewDepth": "standard",
1210
1223
  "targets": ["files, modules, routes, commands, or docs in scope"],
1211
1224
  "validation": ["focused checks expected before completion"],
1212
1225
  "dependsOn": []
@@ -1218,6 +1231,14 @@ Call \`flow_plan_save\` with:
1218
1231
 
1219
1232
  Use only \`finalReviewPolicy: "broad"\` or \`"detailed"\`. These are the canonical final-review policy and \`reviewDepth\` enum values. Use \`"broad"\` only for low-risk, narrow work. Use \`"detailed"\` for behavioral changes, cross-module edits, migrations, releases, security-sensitive code, or large refactors.
1220
1233
 
1234
+ Set each feature's \`reviewDepth\` to one of:
1235
+
1236
+ - \`quick\`: docs, comments, config-only changes, generated output, or mechanical changes fully covered by tooling.
1237
+ - \`standard\`: the default for ordinary implementation slices. The review reads every changed file and relevant tests.
1238
+ - \`detailed\`: persistence, migrations, concurrency, security, cross-module behavior, release/package surfaces, large refactors, weak validation, or any work where a missed edge case would be expensive.
1239
+
1240
+ Do not make reviews shallower to save tokens. Reduce token use by splitting features, keeping \`targets\` precise, and using scoped review packets during execution.
1241
+
1221
1242
  ## Plan quality gate
1222
1243
 
1223
1244
  Before saving or asking for approval, load
@@ -1237,6 +1258,10 @@ to execute.
1237
1258
  validation entry should name the expected test level, such as targeted unit,
1238
1259
  integration, browser/e2e, package/build, docs/static, cleanup preservation, or
1239
1260
  broad project gate.
1261
+ - Assign \`reviewDepth\` from risk. Use \`detailed\` for persistence, migration,
1262
+ concurrency, security, final-delivery-adjacent, or cross-module slices; use
1263
+ \`standard\` for normal code changes; reserve \`quick\` for low-risk non-behavioral
1264
+ work.
1240
1265
 
1241
1266
  ## Approval
1242
1267
 
@@ -1321,9 +1346,12 @@ Feature review:
1321
1346
 
1322
1347
  \`\`\`json
1323
1348
  {
1324
- "status": "passed",
1325
- "summary": "Reviewed changed runtime files and focused tests; validation covers the new gate.",
1326
- "blockingFindings": []
1349
+ "featureReviewDepth": "standard",
1350
+ "featureReview": {
1351
+ "status": "passed",
1352
+ "summary": "Reviewed changed runtime files and focused tests; validation covers the new gate.",
1353
+ "blockingFindings": []
1354
+ }
1327
1355
  }
1328
1356
  \`\`\`
1329
1357
 
@@ -1331,14 +1359,17 @@ Failed feature review:
1331
1359
 
1332
1360
  \`\`\`json
1333
1361
  {
1334
- "status": "failed",
1335
- "summary": "Validation does not exercise the changed persistence path.",
1336
- "blockingFindings": [
1337
- {
1338
- "summary": "No test covers archive removal of .flow/session.json after close.",
1339
- "severity": "blocking"
1340
- }
1341
- ]
1362
+ "featureReviewDepth": "detailed",
1363
+ "featureReview": {
1364
+ "status": "failed",
1365
+ "summary": "Validation does not exercise the changed persistence path.",
1366
+ "blockingFindings": [
1367
+ {
1368
+ "summary": "No test covers archive removal of .flow/session.json after close.",
1369
+ "severity": "blocking"
1370
+ }
1371
+ ]
1372
+ }
1342
1373
  }
1343
1374
  \`\`\`
1344
1375
 
@@ -1398,6 +1429,11 @@ These instructions run in two contexts, and only one of them can load helpers:
1398
1429
 
1399
1430
  - Call \`flow_status\` when available.
1400
1431
  - Identify whether this is a feature review or final review.
1432
+ - Prefer the manager's compact review packet over parent-session memory. The
1433
+ packet should name the active feature, minimum \`reviewDepth\`, changed files,
1434
+ diff summary, validation evidence, and targeted paths or risk lenses. If the
1435
+ packet is missing important scope or evidence, record that as a coverage gap
1436
+ or blocker instead of searching the full conversation transcript.
1401
1437
  - Read the approved plan fields relevant to the work: \`requirements\`, \`decisions\`, feature \`targets\`, feature \`validation\`, and dependencies.
1402
1438
  - For final review, also compare the original goal, full feature list, completed
1403
1439
  feature evidence, changed artifacts, and final validation against the
@@ -1419,16 +1455,23 @@ These instructions run in two contexts, and only one of them can load helpers:
1419
1455
 
1420
1456
  ## Output
1421
1457
 
1422
- For a feature review, return:
1458
+ For a feature review, return a packet the manager can copy into
1459
+ \`flow_feature_complete\`:
1423
1460
 
1424
1461
  \`\`\`json
1425
1462
  {
1426
- "status": "passed",
1427
- "summary": "what was reviewed and why it is acceptable",
1428
- "blockingFindings": []
1463
+ "featureReviewDepth": "standard",
1464
+ "featureReview": {
1465
+ "status": "passed",
1466
+ "summary": "what was reviewed and why it is acceptable",
1467
+ "blockingFindings": []
1468
+ }
1429
1469
  }
1430
1470
  \`\`\`
1431
1471
 
1472
+ \`featureReviewDepth\` must be at least the feature's planned \`reviewDepth\`.
1473
+ Use the actual depth performed: \`quick\`, \`standard\`, or \`detailed\`.
1474
+
1432
1475
  For a final review, return:
1433
1476
 
1434
1477
  \`\`\`json
@@ -1580,96 +1623,7 @@ Never trim failing output, relabel a failed command as passed, or use "not run"
1580
1623
  `;
1581
1624
 
1582
1625
  // skills/flow-run/SKILL.md
1583
- var SKILL_default6 = `---
1584
- name: flow-run
1585
- description: "Use when an approved Flow plan has a feature to implement, validate, or complete in the v4 runtime, and the work is scoped to one active feature. For planning a goal first use flow-plan; for the full goal-to-completion loop or resuming a session use flow."
1586
- ---
1587
-
1588
- # Flow Run
1589
-
1590
- Use this skill for implementation after a Flow plan is approved. Work one feature at a time.
1591
-
1592
- If \`flow_run_start\` is unavailable, stop and tell the user to check that \`opencode-plugin-flow\` is loaded in OpenCode.
1593
-
1594
- ## Start
1595
-
1596
- - Call \`flow_status\`.
1597
- - Call \`flow_run_start\` with no \`featureId\` unless the user or plan requires a specific runnable feature.
1598
- - Treat the returned feature as the sole scope until it is completed, blocked, or reset.
1599
- - Helper rule: when a named helper skill is unavailable, record the gap and
1600
- keep the corresponding claims conservative instead of simulating its checks.
1601
- - Load \`flow-deslop\` for cleanup/refactor features.
1602
- - Load \`flow-ui-quality\` for frontend, UX, responsive, accessibility, or visual work.
1603
-
1604
- ## Implement
1605
-
1606
- - Read the feature \`targets\`, \`summary\`, \`validation\`, dependencies, and plan \`requirements\`/\`decisions\`.
1607
- - Keep edits scoped to the active feature. If new scope appears, stop and replan or defer it to another feature.
1608
- - Preserve unrelated user changes in the worktree.
1609
- - When a wrong assumption invalidates the feature, use \`flow_feature_reset\`; do not pile patches onto a bad path.
1610
- - Do not stage, commit, push, amend, rebase, publish, or mutate releases as part
1611
- of feature execution. If the user explicitly asks for commit preparation, load
1612
- \`flow-commit\` only after \`flow_feature_complete\` has been recorded, unless the
1613
- user explicitly asks for a WIP commit path. Keep Git boundaries separate from
1614
- Flow state recording.
1615
-
1616
- ## Validate
1617
-
1618
- - For complex validation, regression-sensitive changes, browser QA, route QA,
1619
- failure-prone checks, unclear coverage, exploratory QA, or
1620
- \`validationRun\` summarization, load \`flow-test\` (helper rule applies).
1621
- - Read \`references/validation-rubric.md\` before completing.
1622
- - Run the strongest practical checks for the changed behavior.
1623
- - Record concrete command names, status, and observed results. "Tests pass" is not evidence.
1624
- - Non-final features complete with \`validationScope: "targeted"\`.
1625
- - The final feature must run a broad project-level gate and use \`validationScope: "broad"\`.
1626
-
1627
- For broad validation research, risky changes, or unclear coverage, use
1628
- \`../flow/references/parallel-orchestration.md\` to fan out named Flow workers.
1629
- Use the mode-to-agent mapping in that reference instead of generic subagents.
1630
- Write its pass manifest before fan-out, paste the matching handoff template
1631
- from \`../flow/references/handoff-format.md\` into every worker prompt, and
1632
- apply its verification tiers to the handoffs that come back.
1633
- They may report command output they actually ran or propose focused checks; the
1634
- manager decides what is strong enough to record.
1635
-
1636
- For independent implementation attempts, use candidate workers only with
1637
- explicit user authorization plus isolated worktrees or exact non-overlapping
1638
- path ownership. Treat their output as candidate patches. The manager inspects,
1639
- merges, validates, and records Flow state serially.
1640
-
1641
- ## Review and complete
1642
-
1643
- Before \`flow_feature_complete\`, obtain a \`featureReview\` payload. Load
1644
- \`flow-review\`; for read-only subagent reviews, the manager receives the payload
1645
- and records it.
1646
-
1647
- If \`flow_status\` reports \`setup.skills\` or \`flow-review\` cannot be loaded, do
1648
- not record a Flow-gated \`featureReview\` or \`finalReview\`. You may perform an
1649
- advisory review using available context or the bundled review fallback provided
1650
- by plugin config, then complete with \`status: "needs_input"\` if review evidence
1651
- is required to proceed.
1652
-
1653
- For the final feature, also obtain a \`finalReview\` payload whose \`reviewDepth\` equals the approved plan's \`finalReviewPolicy\`.
1654
-
1655
- Complete with:
1656
-
1657
- \`\`\`json
1658
- {
1659
- "status": "ok",
1660
- "featureId": "active-feature-id",
1661
- "summary": "what changed",
1662
- "artifactsChanged": [{ "path": "src/file.ts" }],
1663
- "validationRun": [
1664
- { "command": "bun test tests/foo.test.ts", "status": "passed", "summary": "3 pass, exercised foo behavior" }
1665
- ],
1666
- "validationScope": "targeted",
1667
- "featureReview": { "status": "passed", "summary": "review summary", "blockingFindings": [] }
1668
- }
1669
- \`\`\`
1670
-
1671
- If genuinely blocked, call \`flow_feature_complete\` with \`status: "needs_input"\` and an \`outcome\` that explains the blocker and next step. Never fabricate validation or review evidence to force progress.
1672
- `;
1626
+ var SKILL_default6 = '---\nname: flow-run\ndescription: "Use when an approved Flow plan has a feature to implement, validate, or complete in the v4 runtime, and the work is scoped to one active feature. For planning a goal first use flow-plan; for the full goal-to-completion loop or resuming a session use flow."\n---\n\n# Flow Run\n\nUse this skill for implementation after a Flow plan is approved. Work one feature at a time.\n\nIf `flow_run_start` is unavailable, stop and tell the user to check that `opencode-plugin-flow` is loaded in OpenCode.\n\n## Start\n\n- Call `flow_status`.\n- If `flow_status` returns a `session.resumePacket` or\n `session.budget.phaseBoundary`, stop the current autonomous loop and report\n the resume instructions. Only call `flow_run_start` with\n `phaseBoundaryAck: true` at the start of a fresh user invocation that is\n explicitly resuming the Flow session; do not acknowledge a boundary inside\n the same uninterrupted loop that created it.\n- Call `flow_run_start` with no `featureId` unless the user or plan requires a specific runnable feature.\n- Treat the returned feature as the sole scope until it is completed, blocked, or reset.\n- Helper rule: when a named helper skill is unavailable, record the gap and\n keep the corresponding claims conservative instead of simulating its checks.\n- Load `flow-deslop` for cleanup/refactor features.\n- Load `flow-ui-quality` for frontend, UX, responsive, accessibility, or visual work.\n\n## Implement\n\n- Read the feature `targets`, `summary`, `validation`, dependencies, and plan `requirements`/`decisions`.\n- Treat the feature\'s `reviewDepth` as the minimum feature-review depth that\n must be recorded in `flow_feature_complete`.\n- Keep edits scoped to the active feature. If new scope appears, stop and replan or defer it to another feature.\n- Preserve unrelated user changes in the worktree.\n- When a wrong assumption invalidates the feature, use `flow_feature_reset`; do not pile patches onto a bad path.\n- Do not stage, commit, push, amend, rebase, publish, or mutate releases as part\n of feature execution. If the user explicitly asks for commit preparation, load\n `flow-commit` only after `flow_feature_complete` has been recorded, unless the\n user explicitly asks for a WIP commit path. Keep Git boundaries separate from\n Flow state recording.\n\n## Validate\n\n- For complex validation, regression-sensitive changes, browser QA, route QA,\n failure-prone checks, unclear coverage, exploratory QA, or\n `validationRun` summarization, load `flow-test` (helper rule applies).\n- Read `references/validation-rubric.md` before completing.\n- Run the strongest practical checks for the changed behavior.\n- Record concrete command names, status, and observed results. "Tests pass" is not evidence.\n- Non-final features complete with `validationScope: "targeted"`.\n- The final feature must run a broad project-level gate and use `validationScope: "broad"`.\n\nFor broad validation research, risky changes, or unclear coverage, use\n`../flow/references/parallel-orchestration.md` to fan out named Flow workers.\nUse the mode-to-agent mapping in that reference instead of generic subagents.\nWrite its pass manifest before fan-out, paste the matching handoff template\nfrom `../flow/references/handoff-format.md` into every worker prompt, and\napply its verification tiers to the handoffs that come back.\nThey may report command output they actually ran or propose focused checks; the\nmanager decides what is strong enough to record.\n\nFor independent implementation attempts, use candidate workers only with\nexplicit user authorization plus isolated worktrees or exact non-overlapping\npath ownership. Treat their output as candidate patches. The manager inspects,\nmerges, validates, and records Flow state serially.\n\n## Review and complete\n\nBefore `flow_feature_complete`, obtain a `featureReview` payload. Load\n`flow-review`; for read-only subagent reviews, the manager receives the review\npacket and records both `featureReviewDepth` and `featureReview`.\n\nSend reviewers a compact review packet. Do not rely on the accumulated parent\nconversation. Include only:\n\n- active feature id, title, summary, `reviewDepth`, targets, validation, and dependencies\n- relevant plan requirements, decisions, and final review policy\n- changed files and a short diff summary\n- validation evidence with exact commands, status, and observed result\n- targeted paths or risk lenses the reviewer must inspect\n\nIf the review returns `status: "failed"`, do not fix inside the review pass.\nRecord the failed attempt by calling `flow_feature_complete` with the otherwise\nprepared completion payload, the failed `featureReview`, and the attempted\n`featureReviewDepth`; the runtime will reject completion and update the retry\nbudget. Default to stopping and reporting the blocker. When the user already\nauthorized autonomous implementation, make at most one repair and run one retry\nreview. If the retry fails or the runtime reports review retry budget\nexhausted, stop with the blocker.\n\nIf `flow_status` reports `setup.skills` or `flow-review` cannot be loaded, do\nnot record a Flow-gated `featureReview` or `finalReview`. You may perform an\nadvisory review using available context or the bundled review fallback provided\nby plugin config, then complete with `status: "needs_input"` if review evidence\nis required to proceed.\n\nFor the final feature, also obtain a `finalReview` payload whose `reviewDepth` equals the approved plan\'s `finalReviewPolicy`.\n\nComplete with:\n\n```json\n{\n "status": "ok",\n "featureId": "active-feature-id",\n "summary": "what changed",\n "artifactsChanged": [{ "path": "src/file.ts" }],\n "validationRun": [\n { "command": "bun test tests/foo.test.ts", "status": "passed", "summary": "3 pass, exercised foo behavior" }\n ],\n "validationScope": "targeted",\n "featureReviewDepth": "standard",\n "featureReview": { "status": "passed", "summary": "review summary", "blockingFindings": [] }\n}\n```\n\nIf `flow_feature_complete` returns a `session.resumePacket` or\n`session.budget.phaseBoundary`, stop after reporting the compact handoff. If\ngenuinely blocked, call `flow_feature_complete` with `status: "needs_input"` and\nan `outcome` that explains the blocker and next step. Never fabricate validation\nor review evidence to force progress.\n';
1673
1627
 
1674
1628
  // skills/flow-test/SKILL.md
1675
1629
  var SKILL_default7 = `---
@@ -2593,4 +2547,4 @@ main(process.argv).catch((error) => {
2593
2547
  process.exitCode = 1;
2594
2548
  });
2595
2549
 
2596
- //# debugId=FC1C55B9B975BD0964756E2164756E21
2550
+ //# debugId=70ED7108866181D964756E2164756E21
package/dist/cli.js.map CHANGED
@@ -6,7 +6,7 @@
6
6
  "import flowHandoffFormatDoc from \"../../skills/flow/references/handoff-format.md\" with {\n\ttype: \"text\",\n};\nimport flowParallelOrchestrationDoc from \"../../skills/flow/references/parallel-orchestration.md\" with {\n\ttype: \"text\",\n};\nimport flowParallelPassExampleDoc from \"../../skills/flow/references/parallel-pass-example.md\" with {\n\ttype: \"text\",\n};\nimport flowRecoveryPlaybookDoc from \"../../skills/flow/references/recovery-playbook.md\" with {\n\ttype: \"text\",\n};\nimport flowSkillDoc from \"../../skills/flow/SKILL.md\" with { type: \"text\" };\nimport flowCommitSkillDoc from \"../../skills/flow-commit/SKILL.md\" with {\n\ttype: \"text\",\n};\nimport flowDeslopRefactorWorkflowDoc from \"../../skills/flow-deslop/references/refactor-workflow.md\" with {\n\ttype: \"text\",\n};\nimport flowDeslopSmellRubricDoc from \"../../skills/flow-deslop/references/smell-rubric.md\" with {\n\ttype: \"text\",\n};\nimport flowDeslopSkillDoc from \"../../skills/flow-deslop/SKILL.md\" with {\n\ttype: \"text\",\n};\nimport flowPlanParallelDiscoveryDoc from \"../../skills/flow-plan/references/parallel-discovery.md\" with {\n\ttype: \"text\",\n};\nimport flowPlanPlanQualityChecklistDoc from \"../../skills/flow-plan/references/plan-quality-checklist.md\" with {\n\ttype: \"text\",\n};\nimport flowPlanPlanningExamplesDoc from \"../../skills/flow-plan/references/planning-examples.md\" with {\n\ttype: \"text\",\n};\nimport flowPlanSkillDoc from \"../../skills/flow-plan/SKILL.md\" with {\n\ttype: \"text\",\n};\nimport flowReviewReviewRubricDoc from \"../../skills/flow-review/references/review-rubric.md\" with {\n\ttype: \"text\",\n};\nimport flowReviewSkillDoc from \"../../skills/flow-review/SKILL.md\" with {\n\ttype: \"text\",\n};\nimport flowRunAuditRubricDoc from \"../../skills/flow-run/references/audit-rubric.md\" with {\n\ttype: \"text\",\n};\nimport flowRunValidationRubricDoc from \"../../skills/flow-run/references/validation-rubric.md\" with {\n\ttype: \"text\",\n};\nimport flowRunSkillDoc from \"../../skills/flow-run/SKILL.md\" with {\n\ttype: \"text\",\n};\nimport flowTestSkillDoc from \"../../skills/flow-test/SKILL.md\" with {\n\ttype: \"text\",\n};\nimport flowUiQualityUiRubricDoc from \"../../skills/flow-ui-quality/references/ui-rubric.md\" with {\n\ttype: \"text\",\n};\nimport flowUiQualityVisualVerificationDoc from \"../../skills/flow-ui-quality/references/visual-verification.md\" with {\n\ttype: \"text\",\n};\nimport flowUiQualitySkillDoc from \"../../skills/flow-ui-quality/SKILL.md\" with {\n\ttype: \"text\",\n};\n\nexport type FlowSkillFile = {\n\trelativePath: string;\n\tcontent: string;\n};\n\nexport type FlowSkillDefinition = {\n\tname: string;\n\tfiles: FlowSkillFile[];\n};\n\nexport const FLOW_SKILL_DEFINITIONS: readonly FlowSkillDefinition[] = [\n\t{\n\t\tname: \"flow\",\n\t\tfiles: [\n\t\t\t{ relativePath: \"SKILL.md\", content: flowSkillDoc },\n\t\t\t{\n\t\t\t\trelativePath: \"references/recovery-playbook.md\",\n\t\t\t\tcontent: flowRecoveryPlaybookDoc,\n\t\t\t},\n\t\t\t{\n\t\t\t\trelativePath: \"references/parallel-orchestration.md\",\n\t\t\t\tcontent: flowParallelOrchestrationDoc,\n\t\t\t},\n\t\t\t{\n\t\t\t\trelativePath: \"references/parallel-pass-example.md\",\n\t\t\t\tcontent: flowParallelPassExampleDoc,\n\t\t\t},\n\t\t\t{\n\t\t\t\trelativePath: \"references/handoff-format.md\",\n\t\t\t\tcontent: flowHandoffFormatDoc,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"flow-plan\",\n\t\tfiles: [\n\t\t\t{ relativePath: \"SKILL.md\", content: flowPlanSkillDoc },\n\t\t\t{\n\t\t\t\trelativePath: \"references/planning-examples.md\",\n\t\t\t\tcontent: flowPlanPlanningExamplesDoc,\n\t\t\t},\n\t\t\t{\n\t\t\t\trelativePath: \"references/plan-quality-checklist.md\",\n\t\t\t\tcontent: flowPlanPlanQualityChecklistDoc,\n\t\t\t},\n\t\t\t{\n\t\t\t\trelativePath: \"references/parallel-discovery.md\",\n\t\t\t\tcontent: flowPlanParallelDiscoveryDoc,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"flow-run\",\n\t\tfiles: [\n\t\t\t{ relativePath: \"SKILL.md\", content: flowRunSkillDoc },\n\t\t\t{\n\t\t\t\trelativePath: \"references/validation-rubric.md\",\n\t\t\t\tcontent: flowRunValidationRubricDoc,\n\t\t\t},\n\t\t\t{\n\t\t\t\trelativePath: \"references/audit-rubric.md\",\n\t\t\t\tcontent: flowRunAuditRubricDoc,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"flow-test\",\n\t\tfiles: [{ relativePath: \"SKILL.md\", content: flowTestSkillDoc }],\n\t},\n\t{\n\t\tname: \"flow-review\",\n\t\tfiles: [\n\t\t\t{ relativePath: \"SKILL.md\", content: flowReviewSkillDoc },\n\t\t\t{\n\t\t\t\trelativePath: \"references/review-rubric.md\",\n\t\t\t\tcontent: flowReviewReviewRubricDoc,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"flow-deslop\",\n\t\tfiles: [\n\t\t\t{ relativePath: \"SKILL.md\", content: flowDeslopSkillDoc },\n\t\t\t{\n\t\t\t\trelativePath: \"references/smell-rubric.md\",\n\t\t\t\tcontent: flowDeslopSmellRubricDoc,\n\t\t\t},\n\t\t\t{\n\t\t\t\trelativePath: \"references/refactor-workflow.md\",\n\t\t\t\tcontent: flowDeslopRefactorWorkflowDoc,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"flow-ui-quality\",\n\t\tfiles: [\n\t\t\t{ relativePath: \"SKILL.md\", content: flowUiQualitySkillDoc },\n\t\t\t{\n\t\t\t\trelativePath: \"references/ui-rubric.md\",\n\t\t\t\tcontent: flowUiQualityUiRubricDoc,\n\t\t\t},\n\t\t\t{\n\t\t\t\trelativePath: \"references/visual-verification.md\",\n\t\t\t\tcontent: flowUiQualityVisualVerificationDoc,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tname: \"flow-commit\",\n\t\tfiles: [{ relativePath: \"SKILL.md\", content: flowCommitSkillDoc }],\n\t},\n];\n",
7
7
  "import {\n\ttype FlowSkillDoctorReport,\n\tformatFlowSkillDoctor,\n\tinspectFlowSkillInstall,\n\tisChangedSyncAction,\n\tresolveFlowPluginVersion,\n\tsyncFlowSkills,\n\tuninstallFlowSkills,\n} from \"./distribution/sync\";\n\nfunction usage(): string {\n\treturn [\n\t\t\"usage: opencode-plugin-flow <doctor|sync|uninstall> [options]\",\n\t\t\"\",\n\t\t\"commands:\",\n\t\t\" doctor Inspect managed Flow skills\",\n\t\t\" sync Install or refresh managed Flow skills\",\n\t\t\" uninstall Remove pristine Flow-owned managed skills\",\n\t\t\"\",\n\t\t\"doctor options:\",\n\t\t\" --json Write the doctor report as JSON\",\n\t\t\" --check, --strict Exit nonzero when doctor status is not ok\",\n\t\t\"\",\n\t\t\"uninstall options:\",\n\t\t\" --dry-run Preview removals without deleting anything\",\n\t\t\"\",\n\t\t\"global options:\",\n\t\t\" --help Show this help\",\n\t\t\" --version Print the plugin version\",\n\t].join(\"\\n\");\n}\n\nfunction hasOnlyKnownFlags(flags: string[], known: Set<string>): boolean {\n\treturn flags.every((flag) => known.has(flag));\n}\n\nfunction writeDoctorReport(\n\treport: FlowSkillDoctorReport,\n\toptions: { json: boolean },\n): void {\n\tif (options.json) {\n\t\tprocess.stdout.write(`${JSON.stringify(report, null, 2)}\\n`);\n\t\treturn;\n\t}\n\tprocess.stdout.write(formatFlowSkillDoctor(report));\n}\n\nasync function main(argv: string[]): Promise<void> {\n\tconst command = argv[2];\n\tconst flags = argv.slice(3);\n\tif (command === \"--help\" || command === \"-h\") {\n\t\tprocess.stdout.write(`${usage()}\\n`);\n\t\treturn;\n\t}\n\tif (command === \"--version\" || command === \"-v\") {\n\t\tprocess.stdout.write(`${resolveFlowPluginVersion()}\\n`);\n\t\treturn;\n\t}\n\tif (command !== \"uninstall\" && command !== \"doctor\" && command !== \"sync\") {\n\t\tprocess.stderr.write(`${usage()}\\n`);\n\t\tprocess.exitCode = 2;\n\t\treturn;\n\t}\n\tif (command === \"doctor\") {\n\t\tconst knownDoctorFlags = new Set([\"--json\", \"--check\", \"--strict\"]);\n\t\tif (!hasOnlyKnownFlags(flags, knownDoctorFlags)) {\n\t\t\tprocess.stderr.write(`${usage()}\\n`);\n\t\t\tprocess.exitCode = 2;\n\t\t\treturn;\n\t\t}\n\t\tconst report = await inspectFlowSkillInstall();\n\t\twriteDoctorReport(report, { json: flags.includes(\"--json\") });\n\t\tif (\n\t\t\t(report.status === \"sync_required\" ||\n\t\t\t\treport.status === \"action_required\") &&\n\t\t\t(flags.includes(\"--check\") || flags.includes(\"--strict\"))\n\t\t) {\n\t\t\tprocess.exitCode = 1;\n\t\t}\n\t\treturn;\n\t}\n\tconst knownUninstallFlags = new Set([\"--dry-run\"]);\n\tif (\n\t\tcommand === \"uninstall\" &&\n\t\t!hasOnlyKnownFlags(flags, knownUninstallFlags)\n\t) {\n\t\tprocess.stderr.write(`${usage()}\\n`);\n\t\tprocess.exitCode = 2;\n\t\treturn;\n\t}\n\tif (command === \"sync\" && flags.length > 0) {\n\t\tprocess.stderr.write(`${usage()}\\n`);\n\t\tprocess.exitCode = 2;\n\t\treturn;\n\t}\n\tif (command === \"sync\") {\n\t\tconst version = resolveFlowPluginVersion();\n\t\tconst results = await syncFlowSkills(version);\n\t\tconst changed = results.filter((result) =>\n\t\t\tisChangedSyncAction(result.action),\n\t\t);\n\t\tconst actionRequired = results.filter(\n\t\t\t(result) => result.action === \"skipped_foreign\",\n\t\t);\n\t\tprocess.stdout.write(`Flow skill sync (${version})\\n`);\n\t\tfor (const result of results) {\n\t\t\tprocess.stdout.write(`- ${result.name}: ${result.action}\\n`);\n\t\t\tfor (const backupPath of result.backupPaths ?? []) {\n\t\t\t\tprocess.stdout.write(` backup: ${backupPath}\\n`);\n\t\t\t}\n\t\t}\n\t\tif (changed.length > 0) {\n\t\t\tprocess.stdout.write(\n\t\t\t\t\"Restart OpenCode so the refreshed skill registry is used.\\n\",\n\t\t\t);\n\t\t}\n\t\tif (actionRequired.length > 0) {\n\t\t\tprocess.stdout.write(\n\t\t\t\t\"Some managed skill folders are user-owned or edited; run doctor for repair guidance.\\n\",\n\t\t\t);\n\t\t}\n\t\treturn;\n\t}\n\tconst dryRun = flags.includes(\"--dry-run\");\n\tconst result = await uninstallFlowSkills(undefined, { dryRun });\n\tfor (const path of result.removed) {\n\t\tprocess.stdout.write(\n\t\t\t`${dryRun ? \"Would remove\" : \"Removed\"} Flow skill: ${path}\\n`,\n\t\t);\n\t}\n\tfor (const path of result.kept) {\n\t\tprocess.stdout.write(`Kept non-Flow or user-edited skill: ${path}\\n`);\n\t}\n\tif (result.removedBackups.length > 0) {\n\t\tprocess.stdout.write(\n\t\t\t`${dryRun ? \"Would remove\" : \"Removed\"} Flow-created backup files holding your earlier edits:\\n`,\n\t\t);\n\t\tfor (const path of result.removedBackups) {\n\t\t\tprocess.stdout.write(` ${path}\\n`);\n\t\t}\n\t}\n\tprocess.stdout.write(\n\t\tdryRun\n\t\t\t? \"Dry run: no files were removed.\\n\"\n\t\t\t: \"Remove opencode-plugin-flow from your OpenCode plugin config and restart OpenCode.\\n\",\n\t);\n}\n\nmain(process.argv).catch((error) => {\n\tprocess.stderr.write(\n\t\t`${error instanceof Error ? error.message : String(error)}\\n`,\n\t);\n\tprocess.exitCode = 1;\n});\n"
8
8
  ],
9
- "mappings": ";;;AAAA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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