@sweny-ai/core 0.1.210 → 0.1.212

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.
@@ -1,8 +1,12 @@
1
+ spec_version: "2"
1
2
  id: seed-content
2
3
  name: Content Generation Pipeline
3
4
  workflow_type: content_generation
4
5
  description: Audit content gaps, generate educational content, validate quality, and publish to Supabase
5
6
  entry: audit
7
+ # Safe by default (spec_version 2): a node is read-only unless it declares
8
+ # permissions. generate inserts and validate updates rows, each through its
9
+ # Supabase tools only.
6
10
  nodes:
7
11
  audit:
8
12
  name: Audit Content Gaps
@@ -125,6 +129,12 @@ nodes:
125
129
  Return a summary of what was generated and inserted.
126
130
  skills:
127
131
  - supabase
132
+ permissions:
133
+ access: write
134
+ deny: [shell, write, edit, net, subagent]
135
+ tools:
136
+ allow:
137
+ - supabase_insert
128
138
  output:
129
139
  type: object
130
140
  properties:
@@ -179,6 +189,13 @@ nodes:
179
189
  Return a quality report.
180
190
  skills:
181
191
  - supabase
192
+ permissions:
193
+ access: write
194
+ deny: [shell, write, edit, net, subagent]
195
+ tools:
196
+ allow:
197
+ - supabase_query
198
+ - supabase_update
182
199
  output:
183
200
  type: object
184
201
  properties:
@@ -1,3 +1,4 @@
1
+ spec_version: "2"
1
2
  id: triage
2
3
  name: Alert Triage
3
4
  workflow_type: monitor
@@ -807,6 +808,12 @@ nodes:
807
808
  skills:
808
809
  - slack
809
810
  - notification
811
+ # #598: write only for the notification. The slack and notification skills
812
+ # hold nothing but notification tools; no shell, network or subagents.
813
+ # File writes stay for a notification written to a file.
814
+ permissions:
815
+ access: write
816
+ deny: [shell, net, subagent]
810
817
  edges:
811
818
  - from: gather
812
819
  to: investigate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sweny-ai/core",
3
- "version": "0.1.210",
3
+ "version": "0.1.212",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "sweny": "./dist/cli/main.js"