@catalyst-cloud/cli 0.14.5 → 0.14.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 +4 -0
- package/dist/legacy.js +145 -32
- package/package.json +1 -1
- package/skills/catalyst-github/SKILL.md +1 -1
- package/skills/catalyst-linear/SKILL.md +1 -1
- package/skills/catalyst-onboard/SKILL.md +1 -1
- package/skills/run-this-project/SKILL.md +1 -1
- package/skills/unstick/SKILL.md +1 -1
- package/skills/what-needs-me/SKILL.md +1 -1
- package/skills/what-this-repo-needs/SKILL.md +1 -1
- package/skills/whats-happening/SKILL.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.14.6
|
|
4
|
+
|
|
5
|
+
- A current Catalyst data folder no longer triggers a legacy-runtime cleanup warning. Legacy checks and removal keep current shared data and report it separately.
|
|
6
|
+
|
|
3
7
|
## 0.14.5
|
|
4
8
|
|
|
5
9
|
- Onboarding checks the server's advertised support before provider and repository setup. An unavailable route waits with a public web link instead of reporting declined consent.
|
package/dist/legacy.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// The list is fixed on purpose. A prefix match would one day catch a current job (the housekeeping
|
|
8
8
|
// job, the sandbox credit guard, jobs a person made); this matches names the old runtime installed,
|
|
9
9
|
// read at the source commit below, and nothing else. Shared data folders are always kept. The historical --data flag cannot remove them.
|
|
10
|
-
import { existsSync, lstatSync, readFileSync, readdirSync, unlinkSync } from "node:fs";
|
|
10
|
+
import { existsSync, lstatSync, readFileSync, readdirSync, unlinkSync, } from "node:fs";
|
|
11
11
|
import { spawnSync } from "node:child_process";
|
|
12
12
|
import { join } from "node:path";
|
|
13
13
|
import { flagBool, positionals } from "./args.js";
|
|
@@ -44,17 +44,34 @@ export const OLD_LAUNCHD_LABELS = [
|
|
|
44
44
|
const OLD_ROLE_PREFIX = "com.catalyst.role.";
|
|
45
45
|
/** systemd user units (~/.config/systemd/user) the old runtime's workstation pieces used on Linux. System
|
|
46
46
|
* units under /etc/systemd/system are a host's, current, and never looked at. */
|
|
47
|
-
export const OLD_USER_UNITS = [
|
|
47
|
+
export const OLD_USER_UNITS = [
|
|
48
|
+
"catalyst.service",
|
|
49
|
+
"catalyst-monitor.service",
|
|
50
|
+
];
|
|
48
51
|
/** Command files the old runtime put on the person's PATH. `~/.local/bin/catalyst` is NOT one: that
|
|
49
52
|
* name belongs to the current CLI wherever npm put it. */
|
|
50
|
-
export const OLD_BINS = [
|
|
53
|
+
export const OLD_BINS = [
|
|
54
|
+
".local/bin/catalyst-events",
|
|
55
|
+
".local/bin/catalyst-filter",
|
|
56
|
+
".local/bin/catalyst-hud",
|
|
57
|
+
".local/bin/catalyst-monitor",
|
|
58
|
+
".local/bin/catalyst-myown",
|
|
59
|
+
];
|
|
51
60
|
/** Shared roots also hold current skills, logs, hosts and seats. Never remove these directories. */
|
|
52
|
-
export const OLD_DATA_DIRS = [
|
|
61
|
+
export const OLD_DATA_DIRS = [
|
|
62
|
+
".catalyst",
|
|
63
|
+
".config/catalyst",
|
|
64
|
+
".local/state/catalyst",
|
|
65
|
+
".local/state/catalyst-fleet-runner",
|
|
66
|
+
".local/state/catalyst-ledger",
|
|
67
|
+
];
|
|
53
68
|
const RECOMMEND = "Remove them: the cloud runtime replaced them, and left in place they can start old jobs or shadow current commands.";
|
|
54
69
|
function readJson(path) {
|
|
55
70
|
try {
|
|
56
71
|
const v = JSON.parse(readFileSync(path, "utf8"));
|
|
57
|
-
return v !== null && typeof v === "object"
|
|
72
|
+
return v !== null && typeof v === "object"
|
|
73
|
+
? v
|
|
74
|
+
: null;
|
|
58
75
|
}
|
|
59
76
|
catch {
|
|
60
77
|
return null;
|
|
@@ -67,7 +84,8 @@ function findPlugins(home) {
|
|
|
67
84
|
const old = Object.entries(marketplaces)
|
|
68
85
|
.filter(([, v]) => {
|
|
69
86
|
const src = v?.source;
|
|
70
|
-
return typeof src?.repo === "string" &&
|
|
87
|
+
return (typeof src?.repo === "string" &&
|
|
88
|
+
src.repo.toLowerCase() === OLD_MARKETPLACE_REPO);
|
|
71
89
|
})
|
|
72
90
|
.map(([name]) => name);
|
|
73
91
|
if (old.length === 0)
|
|
@@ -77,10 +95,18 @@ function findPlugins(home) {
|
|
|
77
95
|
for (const key of Object.keys(installed)) {
|
|
78
96
|
const at = key.lastIndexOf("@");
|
|
79
97
|
if (at > 0 && old.includes(key.slice(at + 1)))
|
|
80
|
-
items.push({
|
|
98
|
+
items.push({
|
|
99
|
+
kind: "plugin",
|
|
100
|
+
name: key,
|
|
101
|
+
path: join(dir, "installed_plugins.json"),
|
|
102
|
+
});
|
|
81
103
|
}
|
|
82
104
|
for (const name of old)
|
|
83
|
-
items.push({
|
|
105
|
+
items.push({
|
|
106
|
+
kind: "marketplace",
|
|
107
|
+
name,
|
|
108
|
+
path: join(dir, "known_marketplaces.json"),
|
|
109
|
+
});
|
|
84
110
|
return items;
|
|
85
111
|
}
|
|
86
112
|
function findJobs(home, platform) {
|
|
@@ -96,35 +122,63 @@ function findJobs(home, platform) {
|
|
|
96
122
|
return files
|
|
97
123
|
.filter((f) => f.endsWith(".plist"))
|
|
98
124
|
.map((f) => f.slice(0, -".plist".length))
|
|
99
|
-
.filter((label) => OLD_LAUNCHD_LABELS.includes(label) ||
|
|
125
|
+
.filter((label) => OLD_LAUNCHD_LABELS.includes(label) ||
|
|
126
|
+
label.startsWith(OLD_ROLE_PREFIX))
|
|
100
127
|
.sort()
|
|
101
|
-
.map((label) => ({
|
|
128
|
+
.map((label) => ({
|
|
129
|
+
kind: "job",
|
|
130
|
+
name: label,
|
|
131
|
+
path: join(dir, `${label}.plist`),
|
|
132
|
+
}));
|
|
102
133
|
}
|
|
103
134
|
if (platform === "linux") {
|
|
104
135
|
const dir = join(home, ".config", "systemd", "user");
|
|
105
|
-
return OLD_USER_UNITS.filter((u) => existsSync(join(dir, u))).map((u) => ({
|
|
136
|
+
return OLD_USER_UNITS.filter((u) => existsSync(join(dir, u))).map((u) => ({
|
|
137
|
+
kind: "job",
|
|
138
|
+
name: u,
|
|
139
|
+
path: join(dir, u),
|
|
140
|
+
}));
|
|
106
141
|
}
|
|
107
142
|
return [];
|
|
108
143
|
}
|
|
109
144
|
const tilde = (rel) => `~/${rel}`;
|
|
110
145
|
function findFiles(home) {
|
|
111
|
-
const bins = OLD_BINS.filter((rel) => existsSync(join(home, rel))).map((rel) => ({
|
|
112
|
-
|
|
146
|
+
const bins = OLD_BINS.filter((rel) => existsSync(join(home, rel))).map((rel) => ({
|
|
147
|
+
kind: "bin",
|
|
148
|
+
name: tilde(rel),
|
|
149
|
+
path: join(home, rel),
|
|
150
|
+
}));
|
|
151
|
+
const data = OLD_DATA_DIRS.filter((rel) => existsSync(join(home, rel))).map((rel) => ({
|
|
152
|
+
kind: "data",
|
|
153
|
+
name: tilde(rel),
|
|
154
|
+
path: join(home, rel),
|
|
155
|
+
data: true,
|
|
156
|
+
}));
|
|
113
157
|
return [...bins, ...data];
|
|
114
158
|
}
|
|
115
159
|
/** Every old piece on this machine, in removal order: plugins, their marketplace, jobs, bins, data. Never writes. */
|
|
116
160
|
export function findLegacy(home, platform) {
|
|
117
|
-
return [
|
|
161
|
+
return [
|
|
162
|
+
...findPlugins(home),
|
|
163
|
+
...findJobs(home, platform),
|
|
164
|
+
...findFiles(home),
|
|
165
|
+
];
|
|
118
166
|
}
|
|
119
167
|
const defaultRun = (cmd, args) => {
|
|
120
168
|
const r = spawnSync(cmd, args, { encoding: "utf8", timeout: 60_000 });
|
|
121
|
-
return {
|
|
169
|
+
return {
|
|
170
|
+
status: r.status ?? 1,
|
|
171
|
+
stdout: r.stdout ?? "",
|
|
172
|
+
stderr: r.error ? r.error.message : (r.stderr ?? ""),
|
|
173
|
+
};
|
|
122
174
|
};
|
|
123
175
|
/** Remove one item through the tool that owns it. Returns null on success, else the reason it is still there. */
|
|
124
176
|
function remove(item, run, platform, uid) {
|
|
125
177
|
const tool = (cmd, args, what) => {
|
|
126
178
|
const r = run(cmd, args);
|
|
127
|
-
return r.status === 0
|
|
179
|
+
return r.status === 0
|
|
180
|
+
? null
|
|
181
|
+
: `${what} failed: ${(r.stderr || r.stdout).trim().split("\n")[0] || `exit ${r.status}`}`;
|
|
128
182
|
};
|
|
129
183
|
try {
|
|
130
184
|
if (item.kind === "plugin")
|
|
@@ -132,7 +186,9 @@ function remove(item, run, platform, uid) {
|
|
|
132
186
|
if (item.kind === "marketplace")
|
|
133
187
|
return tool("claude", ["plugin", "marketplace", "remove", item.name], "claude plugin marketplace remove");
|
|
134
188
|
if (item.kind === "job") {
|
|
135
|
-
const why = platform === "darwin"
|
|
189
|
+
const why = platform === "darwin"
|
|
190
|
+
? tool("launchctl", ["bootout", `gui/${uid}/${item.name}`], "launchctl bootout")
|
|
191
|
+
: tool("systemctl", ["--user", "disable", "--now", item.name], "systemctl --user disable --now");
|
|
136
192
|
if (why !== null)
|
|
137
193
|
return why;
|
|
138
194
|
unlinkSync(item.path);
|
|
@@ -159,21 +215,51 @@ export async function cmdLegacy(args, ctx, deps = {}) {
|
|
|
159
215
|
const uid = deps.uid ?? (typeof process.getuid === "function" ? process.getuid() : 0);
|
|
160
216
|
const run = deps.run ?? defaultRun;
|
|
161
217
|
const found = findLegacy(ctx.home, platform);
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
ctx.stdout(
|
|
167
|
-
|
|
168
|
-
|
|
218
|
+
const legacy = found.filter((item) => !item.data);
|
|
219
|
+
const shared = found.filter((item) => item.data);
|
|
220
|
+
const emit = (body, lines) => {
|
|
221
|
+
if (args.json)
|
|
222
|
+
ctx.stdout(JSON.stringify(body));
|
|
223
|
+
else
|
|
224
|
+
for (const l of lines)
|
|
225
|
+
ctx.stdout(l);
|
|
226
|
+
};
|
|
227
|
+
if (legacy.length === 0) {
|
|
228
|
+
emit({
|
|
229
|
+
sourceCommit: LEGACY_SOURCE_COMMIT,
|
|
230
|
+
found: [],
|
|
231
|
+
removed: [],
|
|
232
|
+
remaining: [],
|
|
233
|
+
kept: shared,
|
|
234
|
+
}, [
|
|
235
|
+
"no leftovers of the old local Catalyst runtime on this machine",
|
|
236
|
+
...(shared.length
|
|
237
|
+
? ["shared current Catalyst data folders are present and kept"]
|
|
238
|
+
: []),
|
|
239
|
+
]);
|
|
169
240
|
return 0;
|
|
170
241
|
}
|
|
171
242
|
const listLines = [
|
|
172
|
-
`Leftovers of the old local Catalyst runtime on this machine (${
|
|
173
|
-
...
|
|
243
|
+
`Leftovers of the old local Catalyst runtime on this machine (${legacy.length}):`,
|
|
244
|
+
...legacy.map((f) => ` ${f.kind}: ${f.name}${f.kind === "job" ? ` — ${f.path}` : ""}`),
|
|
245
|
+
...(shared.length
|
|
246
|
+
? [
|
|
247
|
+
"Shared current data folders (kept):",
|
|
248
|
+
...shared.map((f) => ` ${f.kind}: ${f.name} (kept: shared current state)`),
|
|
249
|
+
]
|
|
250
|
+
: []),
|
|
174
251
|
];
|
|
175
252
|
if (!wantRemove) {
|
|
176
|
-
emit({
|
|
253
|
+
emit({
|
|
254
|
+
sourceCommit: LEGACY_SOURCE_COMMIT,
|
|
255
|
+
found,
|
|
256
|
+
removed: [],
|
|
257
|
+
remaining: found,
|
|
258
|
+
}, [
|
|
259
|
+
...listLines,
|
|
260
|
+
RECOMMEND,
|
|
261
|
+
"Run: catalyst legacy --remove (all data folders are kept)",
|
|
262
|
+
]);
|
|
177
263
|
return 1;
|
|
178
264
|
}
|
|
179
265
|
// the one question, only on a terminal; --yes answers it without asking
|
|
@@ -181,16 +267,34 @@ export async function cmdLegacy(args, ctx, deps = {}) {
|
|
|
181
267
|
if (!go) {
|
|
182
268
|
const tty = (deps.isTty ?? stdinIsTty)();
|
|
183
269
|
if (!tty) {
|
|
184
|
-
emit({
|
|
270
|
+
emit({
|
|
271
|
+
sourceCommit: LEGACY_SOURCE_COMMIT,
|
|
272
|
+
found,
|
|
273
|
+
removed: [],
|
|
274
|
+
remaining: found,
|
|
275
|
+
asked: false,
|
|
276
|
+
}, [
|
|
277
|
+
...listLines,
|
|
278
|
+
RECOMMEND,
|
|
279
|
+
"nothing removed: no terminal to ask on; run catalyst legacy --remove --yes to remove these without a question (all data folders are kept)",
|
|
280
|
+
]);
|
|
185
281
|
return 1;
|
|
186
282
|
}
|
|
187
283
|
for (const l of listLines)
|
|
188
284
|
ctx.stdout(l);
|
|
189
285
|
ctx.stdout(RECOMMEND);
|
|
190
|
-
const answer = (await (deps.prompt ?? ((q) => promptSecret(q)))(`Remove ${
|
|
286
|
+
const answer = (await (deps.prompt ?? ((q) => promptSecret(q)))(`Remove ${legacy.length} item${legacy.length === 1 ? "" : "s"}, keeping all data folders? [y/N] `))
|
|
287
|
+
.trim()
|
|
288
|
+
.toLowerCase();
|
|
191
289
|
go = answer === "y" || answer === "yes";
|
|
192
290
|
if (!go) {
|
|
193
|
-
emit({
|
|
291
|
+
emit({
|
|
292
|
+
sourceCommit: LEGACY_SOURCE_COMMIT,
|
|
293
|
+
found,
|
|
294
|
+
removed: [],
|
|
295
|
+
remaining: found,
|
|
296
|
+
asked: true,
|
|
297
|
+
}, ["nothing removed; run catalyst legacy --remove again when ready"]);
|
|
194
298
|
return 1;
|
|
195
299
|
}
|
|
196
300
|
}
|
|
@@ -217,7 +321,16 @@ export async function cmdLegacy(args, ctx, deps = {}) {
|
|
|
217
321
|
// re-check from the same list, so the report says what the machine holds now, not what was attempted
|
|
218
322
|
const remaining = findLegacy(ctx.home, platform).filter((f) => !f.data);
|
|
219
323
|
const keptNote = kept.length > 0 ? "; all shared data folders were kept" : "";
|
|
220
|
-
lines.push(remaining.length === 0
|
|
221
|
-
|
|
324
|
+
lines.push(remaining.length === 0
|
|
325
|
+
? `re-checked: nothing of the old runtime remains${keptNote}`
|
|
326
|
+
: `re-checked: ${remaining.length} item${remaining.length === 1 ? "" : "s"} of the old runtime remain${remaining.length === 1 ? "s" : ""}${keptNote}: ${remaining.map((r) => `${r.kind} ${r.name}`).join(", ")}`);
|
|
327
|
+
emit({
|
|
328
|
+
sourceCommit: LEGACY_SOURCE_COMMIT,
|
|
329
|
+
found,
|
|
330
|
+
removed,
|
|
331
|
+
remaining: [...remaining, ...kept],
|
|
332
|
+
kept,
|
|
333
|
+
failed,
|
|
334
|
+
}, lines);
|
|
222
335
|
return remaining.length === 0 ? 0 : 1;
|
|
223
336
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@catalyst-cloud/cli",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.6",
|
|
4
4
|
"description": "Customer skill bundle for Catalyst Cloud, named from the executive's seat \u2014 get set up, see what is happening, see what needs you, run a project, unstick what is stuck \u2014 plus the catalyst CLI that reads through the Catalyst Cloud SDK, writes through the agent proxy, and connects your machine to your cloud account with one command. The skills directory is the roster; this line never counts it.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -4,7 +4,7 @@ description: >-
|
|
|
4
4
|
Catalyst's GitHub: show a ticket's pull request with its checks, reviews and review threads, say whether it is mergeable under this repository's policy, and explain what a PR accumulates as the ticket moves (the branch, the draft, the rewrite, the force-pushes, the labels, the queue). Use when someone asks "show me the PR", "what are the checks saying", "why hasn't it merged", "what does the queue need", "what does that label mean", or wants the branch and merge conventions Catalyst follows.
|
|
5
5
|
allowed-tools: Bash(catalyst:*) Bash(npx -p @catalyst-cloud/cli catalyst:*)
|
|
6
6
|
---
|
|
7
|
-
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.
|
|
7
|
+
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.6 — written in this repository for customer accounts -->
|
|
8
8
|
|
|
9
9
|
# Catalyst's GitHub
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ description: >-
|
|
|
4
4
|
Catalyst's view of Linear on the customer's own cloud account. Reads a ticket with its comments, relations, labels, linked pull requests and agent sessions inline, from the local replica when it is fresh and the origin-fresh API otherwise, always naming the source; searches tickets, PRs, projects and initiatives; writes comments, card moves, labels and new tickets through the account's agent proxy as the app actor, with every route, stage id, label id and marker read from the account's contract. Knows what a ticket accumulates as Catalyst works it (phase-outcome comments, the document per phase, the agent session, the labels, the single blocks relation, the bookkeeping marker, the eyes acknowledgement). Use when a person says "show me the ticket", "what did Catalyst write on it", "comment on it", "move it", "label it" or "file a ticket". Not for raising a decision for a human (what-needs-me) and not for pull requests (catalyst-github).
|
|
5
5
|
allowed-tools: Bash(catalyst:*) Bash(npx -p @catalyst-cloud/cli catalyst:*)
|
|
6
6
|
---
|
|
7
|
-
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.
|
|
7
|
+
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.6 — written in this repository for customer accounts -->
|
|
8
8
|
|
|
9
9
|
# Catalyst Linear
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ description: >-
|
|
|
4
4
|
Set up Catalyst Cloud and say whether setup is working. Walks a person from nothing to their first ticket running, one step at a time: the coding account, the project, the integrations and connected accounts, each repository's settings file, then one real ticket moving. Also logs this machine in, reads the readiness verdict with who can fix each failure, and checks the optional local replica. Use when someone says "set me up", "onboard me", "I just signed up", "get me started", "what do I do first", "log me in", "which account is this machine on", "am I set up", "what is missing", "why does nothing happen" or "is the replica running", when a login expired, or when a skill script exits 2 saying this machine is not connected. Does every step a key can do through the catalyst CLI, hands over the exact page for the steps only a browser can do, and never claims a step it did not watch succeed.
|
|
5
5
|
allowed-tools: Bash(catalyst:*) Bash(npx -p @catalyst-cloud/cli catalyst:*)
|
|
6
6
|
---
|
|
7
|
-
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.
|
|
7
|
+
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.6 — written in this repository for customer accounts -->
|
|
8
8
|
|
|
9
9
|
# Onboard me
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ description: >-
|
|
|
4
4
|
Own one Catalyst Cloud project end to end until it closes. Use when the person says "run this project for me", "own this until it ships", "keep this moving", or hands you a project id or a set of tickets to drive. Subscribes to the account's event stream for the scope through the catalyst CLI, reacts to each change in the same turn, makes tickets ready and moves them to dispatch, parks what should stop, chases stalls, escalates inward, and keeps one status summary current. Writes to Linear as the app actor; never polls.
|
|
5
5
|
allowed-tools: Bash(catalyst:*) Bash(npx -p @catalyst-cloud/cli catalyst:*)
|
|
6
6
|
---
|
|
7
|
-
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.
|
|
7
|
+
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.6 — written in this repository for customer accounts -->
|
|
8
8
|
|
|
9
9
|
# Run this project
|
|
10
10
|
|
package/skills/unstick/SKILL.md
CHANGED
|
@@ -4,7 +4,7 @@ description: >-
|
|
|
4
4
|
Get a stuck Catalyst Cloud ticket moving again. Use when the person asks "why is this parked and can you release it?", "unpark this", "get things flowing again", "the outage is over, retry what failed", or hands you a ticket that is not moving. Reads why nothing runs and what holds the ticket through the catalyst CLI, decides whether the recorded cause is fixed, previews the release, releases every governor holding the ticket the right way (or one failure class across a team), and raises an ask only for what a person has to do. Never releases a cause it cannot show changed without saying so.
|
|
5
5
|
allowed-tools: Bash(catalyst:*) Bash(npx -p @catalyst-cloud/cli catalyst:*)
|
|
6
6
|
---
|
|
7
|
-
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.
|
|
7
|
+
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.6 — written in this repository for customer accounts -->
|
|
8
8
|
|
|
9
9
|
# Unstick
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ description: >-
|
|
|
4
4
|
The human's decision inbox on Catalyst Cloud, and the one way an agent raises a decision on their behalf. Use when the person asks "what needs me?", "what am I blocking?", or when active work is gated on a choice only they can make. Lists open asks ranked by how much open work each one holds, files an ask through the cloud's ask route with the account's own template, and records the answer so the held work releases. Never answers as the human, never duplicates an open ask.
|
|
5
5
|
allowed-tools: Bash(catalyst:*) Bash(npx -p @catalyst-cloud/cli catalyst:*)
|
|
6
6
|
---
|
|
7
|
-
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.
|
|
7
|
+
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.6 — written in this repository for customer accounts -->
|
|
8
8
|
|
|
9
9
|
# What needs me
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ description: >-
|
|
|
4
4
|
What environment variable names does this repository need, and where does each one come from? Scans the repository offline (no login, no network) and lists the names in three groups (build/test, deploy-only, bindings), each with where it was found, what uses it, and where a local value would come from. Never reads a value or prints one. Also checks the environment variable table in `.catalyst/catalyst.toml` offline. Use when someone asks "what does catalyst.env.json mean", "what env vars does this repo need", "why does the container need this", or before reviewing or writing the declaration.
|
|
5
5
|
allowed-tools: Bash(catalyst:*) Bash(npx -p @catalyst-cloud/cli catalyst:*)
|
|
6
6
|
---
|
|
7
|
-
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.
|
|
7
|
+
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.6 — written in this repository for customer accounts -->
|
|
8
8
|
|
|
9
9
|
# What this repository needs
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ description: >-
|
|
|
4
4
|
Use for "what's happening?", "where are we?", "why is that stuck?", "what closed?", "what's next?", "how does this work?", "why did it do that?", "how does it prioritise?" and "what does this setting do, where is it set?" in Catalyst Cloud, or asks for something to be done rather than known. Reads the contract via catalyst CLI. Read-only: route work/decisions, never answer as the human.
|
|
5
5
|
allowed-tools: Bash(catalyst:*) Bash(npx -p @catalyst-cloud/cli catalyst:*)
|
|
6
6
|
---
|
|
7
|
-
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.
|
|
7
|
+
<!-- vendored-from: @catalyst-cloud/catalyst-skills@0.14.6 — written in this repository for customer accounts -->
|
|
8
8
|
|
|
9
9
|
# What's happening
|
|
10
10
|
|