You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: rewrite workflow skills with --agent and cross-step retrieval
All 4 workflow skills now use --agent and teach agents to reuse ref_ids
across steps via sync-ctl retrieve. Security gate in deploy pipeline uses
compressed output status field instead of raw JSON parsing.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: skills/workflows/syncable-deploy-pipeline.md
+31-8Lines changed: 31 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,22 +47,25 @@ sync-ctl env select <ENV_ID>
47
47
### Step 2: Analyze the project
48
48
49
49
```bash
50
-
sync-ctl analyze <PATH> --json
50
+
sync-ctl analyze <PATH> --agent
51
51
```
52
52
53
+
Save the `full_data_ref` from the analyze output — do not re-run analyze in later steps; use `sync-ctl retrieve` with this ref_id instead.
54
+
53
55
### Step 3: Pre-deploy security audit
54
56
55
57
Execute the `syncable-security-audit` workflow inline (all its steps and decision logic). **Note:** Step 2's analyze output is reused here — do not re-run analyze.
Copy file name to clipboardExpand all lines: skills/workflows/syncable-iac-pipeline.md
+24-2Lines changed: 24 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,15 @@ Validate all infrastructure-as-code files in a project by chaining IaC linting w
18
18
### Step 1: Analyze the project
19
19
20
20
```bash
21
-
sync-ctl analyze <PATH> --json
21
+
sync-ctl analyze <PATH> --agent
22
22
```
23
23
24
24
Parse the output to determine:
25
25
- Which IaC types exist (Dockerfile, Compose, Terraform, K8s manifests)
26
26
- Whether K8s manifests are present — needed for step 3
27
27
28
+
Save the `full_data_ref` from the analyze output — the ref_id from this step can be reused in later steps to retrieve IaC file details without re-running analyze.
**Decision point:** If step 1 shows no config files, secrets files, or environment files, use `--mode lightning` instead of `--mode balanced` to save time.
35
37
36
38
### Step 3: Vulnerability scan
37
39
38
40
```bash
39
-
sync-ctl vulnerabilities <PATH> --format json
41
+
sync-ctl vulnerabilities <PATH> --agent
40
42
```
41
43
42
44
**Decision point:** If step 1 detected no dependencies (no package.json, requirements.txt, Cargo.toml, go.mod, etc.), **skip this step entirely** and note "No dependencies detected" in the report.
@@ -77,3 +79,23 @@ Produce a security audit report:
77
79
5.**Remediation Priority** — ordered list of actions to resolve findings
78
80
79
81
**If critical findings exist:** Explicitly warn the user. If this audit is part of a deploy pipeline, recommend blocking deployment until critical issues are resolved.
82
+
83
+
## Cross-Step Retrieval
84
+
85
+
Each step produces a `full_data_ref` in its output. You can retrieve details from any previous step at any time:
0 commit comments