Skip to content
Back to skills

Execution Engine

ASecurity

Accept or discard retained CocoFlow proposals. Supports `$flow settle --accept <stage>` and `$flow settle --discard <stage>`.

  • 726 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 5, 2026
ai-agentssql

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add Snowflake-Labs/cocoplus --skill flow-settle --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Execution Engine?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Execution Engine
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/snowflake-labs-execution-engine-4166eb11/badge)](https://www.skillsdirectory.com/skills/snowflake-labs-execution-engine-4166eb11)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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. |

Files in this skill

  • flow-event-reader.skill.md3.1 KB
  • flow-gate-clear.skill.md1.6 KB
  • flow-gate-status.skill.md1.4 KB
  • flow-pause.skill.md1.2 KB
  • flow-research.skill.md1.9 KB
  • flow-resume.skill.md1.6 KB
  • flow-run.skill.md23.3 KB
  • flow-settle.skill.md2.1 KB
  • flow-status.skill.md3.4 KB
  • flow-template.skill.md3.4 KB
  • flow-view.skill.md4.3 KB
  • model-tier-resolve.skill.md1.6 KB
  • noop-check.skill.md1.5 KB
  • runtime-queue.skill.md3.3 KB
  • templates/drain-loop.md392 B
  • templates/hitl-gate.md358 B
  • templates/litmus-test.md398 B
  • templates/noop-workflow.md441 B
  • templates/per-project-working-directory.md408 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.