Accept or discard retained CocoFlow proposals. Supports `$flow settle --accept <stage>` and `$flow settle --discard <stage>`.
Scanned 9/5/2026
Install to Claude Code
npx -y skills add Snowflake-Labs/cocoplus --skill execution-engine --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Execution Engine?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/snowflake-labs-execution-engine-4166eb11)More formats (shields.io, HTML) on the badges page.
---
name: "flow-settle"
description: "Accept or discard retained CocoFlow proposals. Supports `$flow settle --accept <stage>` and `$flow settle --discard <stage>`."
version: "2.0.0"
author: "CocoPlus"
tags:
- cocoplus
- cocoflow
- proposals
---
Your objective is to settle retained CocoFlow proposals.
## Behavior
Before proceeding, verify `.cocoplus/` exists.
If not, output: "CocoPlus not initialized in this directory. Run `$pod init` to begin." Then stop.
Proposals live under `.cocoplus/proposals/<stage-id>/<timestamp>/`. They represent Snowflake DDL, SQL file writes, or pipeline configuration changes that are intentionally held outside the live project until the operator settles them.
## Commands
- `$flow settle --accept <stage-id>`: list pending proposals for the stage, show the newest proposal summary, require explicit confirmation, apply the proposal to the live project or environment using the underlying feature's normal approval gates, then append an `ACCEPTED` record to `.cocoplus/proposals/proposal-log.jsonl`.
- `$flow settle --discard <stage-id>`: mark the newest pending proposal discarded, preserve the proposal directory for trace review, then append a `DISCARDED` record to `.cocoplus/proposals/proposal-log.jsonl`.
- `$flow settle --list`: show all pending proposals grouped by stage.
## Invariants
- Do not touch Snowflake, committed SQL, or pipeline configuration before `--accept`.
- Discard does not delete the proposal; it changes settlement status only.
- Settlement must preserve the original stage ID, timestamp, operator decision, and summary.
## Exit Criteria
- [ ] Accepted proposals have a settlement log record.
- [ ] Discarded proposals remain inspectable.
- [ ] No proposal-enabled stage writes directly to the live environment.
## Anti-Rationalization
| Shortcut / Temptation | Why It Fails |
|-----------------------|--------------|
| Treat the skill as complete because the file exists | Skill contracts must describe observable behavior and verification, not just command names. |
| Skip artifact and safety checks for a small command | Small commands still mutate state or guide execution; preserve the same gates. |

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!