specguard-mcp 0.1.14 → 0.1.16
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/README.md +9 -5
- package/dist/src/support/specguard-api.js +66 -3
- package/dist/src/support/specguard-api.js.map +1 -1
- package/dist/src/tools/index.d.ts +6 -6
- package/dist/src/tools/index.js +6 -6
- package/dist/src/tools/remove-repository.js +11 -5
- package/dist/src/tools/remove-repository.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,8 +34,8 @@ refuses to boot and takes the tools that needed no configuration down with it.
|
|
|
34
34
|
| --- | --- | --- | --- |
|
|
35
35
|
| `SPECGUARD_ENDPOINT` | `get_repository_overview`, `list_repositories`, `add_repository`, `registrable_repositories` | — | your SpecGuard instance's root URL, **including the scheme** — e.g. `https://specguard.example.com`, or `http://localhost:3000`. A value with no scheme is refused by name (`SPECGUARD_ENDPOINT is not a usable URL: "sg.example.com"`) rather than surfacing later as an opaque failure. `SPECGUARD_URL` is accepted as an alias, and is the name every message uses when it is the one you set. A blank value counts as unset, so leaving `SPECGUARD_ENDPOINT` empty in a templated config falls through to `SPECGUARD_URL` instead of suppressing it |
|
|
36
36
|
| `SPECGUARD_API_KEY` | `get_repository_overview`, `near_duplicate_clusters` (default calls) | — | an agent/CI API key (`sgk_…`) issued by that deployment — a **per-repository** key, which is the single repository those tools answer about by default |
|
|
37
|
-
| `SPECGUARD_USER_API_KEY` | `list_repositories` (fallback), `add_repository`, `registrable_repositories`, `remove_repository
|
|
38
|
-
| `SPECGUARD_AGENT_API_KEY` | `list_repositories` (preferred), `get_repository_overview` / `near_duplicate_clusters` **with** `repository` | — | an **agent** API key (`sga_…`), minted from that deployment's account page (Agent keys panel) with an explicit set of repositories and permissions. It speaks for nobody: its reach is exactly the set granted onto it, fixed at mint time, and every read is bounded by that set server-side. This is the credential to give an automated agent — one key, many repositories, none of a person's rights. When it and `SPECGUARD_USER_API_KEY` are both set, `list_repositories`
|
|
37
|
+
| `SPECGUARD_USER_API_KEY` | `list_repositories` (fallback), `add_repository`, `registrable_repositories`, `remove_repository` (fallback), `create_repository_api_key`, `revoke_repository_api_key`, `list_repository_agent_keys`, `revoke_repository_agent_key`, `list_repository_agent_keys_presented_revoked`, `list_repository_members`, `add_repository_member`, `update_repository_member_permissions`, `remove_repository_member`, `rename_repository` | — | a **user** API key (`sgu_…`), minted from that deployment's account page. A different credential from the one above, not a second place to put the same value: SpecGuard decides which of them a request may use from the token's prefix, before it reads anything, and answers `401` for the other one. Set whichever your tools need — both, if you use both |
|
|
38
|
+
| `SPECGUARD_AGENT_API_KEY` | `list_repositories` (preferred), `remove_repository` (preferred), `get_repository_overview` / `near_duplicate_clusters` **with** `repository` | — | an **agent** API key (`sga_…`), minted from that deployment's account page (Agent keys panel) with an explicit set of repositories and permissions. It speaks for nobody: its reach is exactly the set granted onto it, fixed at mint time, and every read is bounded by that set server-side. This is the credential to give an automated agent — one key, many repositories, none of a person's rights. When it and `SPECGUARD_USER_API_KEY` are both set, `list_repositories` and `remove_repository` use **this** one, so discovery stays inside the set the other tools can reach |
|
|
39
39
|
| `SPECGUARD_LINT_COMMAND` | `lint_intent_annotations` | `specguard-lint` | the command that runs the linter. Most Ruby projects need `bundle exec specguard-lint` |
|
|
40
40
|
| `SPECGUARD_TIMEOUT_MS` | HTTP tools | `30000` | how long a call to SpecGuard may take |
|
|
41
41
|
|
|
@@ -562,9 +562,13 @@ Authorization is the `repo.delete` capability at **either surface** — an owner
|
|
|
562
562
|
`repo.delete`, may remove the repository. A member without it is refused `403` with SpecGuard's own
|
|
563
563
|
sentence, verbatim. The repository's CI keys stop authenticating the moment it succeeds.
|
|
564
564
|
|
|
565
|
-
It reads
|
|
566
|
-
|
|
567
|
-
|
|
565
|
+
It reads either of two credentials, whichever is set — and a different one from the `sgk_…` key
|
|
566
|
+
`get_repository_overview` uses. `SPECGUARD_AGENT_API_KEY` (`sga_…`) when it is set: the call then
|
|
567
|
+
reaches only the repositories granted onto that key at mint time, and only where the grant carries
|
|
568
|
+
`repo.delete` — a repository outside that set is answered `404` in SpecGuard's own words.
|
|
569
|
+
`SPECGUARD_USER_API_KEY` (`sgu_…`) when no agent key is set: the same **person** key `add_repository`
|
|
570
|
+
reads. With both set the **agent** key wins, so the removal answers inside the same set
|
|
571
|
+
`list_repositories` reports.
|
|
568
572
|
|
|
569
573
|
### `create_repository_api_key`
|
|
570
574
|
|
|
@@ -288,9 +288,18 @@ function timedOut(api) {
|
|
|
288
288
|
* The status turned into something the agent can act on.
|
|
289
289
|
*
|
|
290
290
|
* 401 is called out by name because it is the one an operator will actually
|
|
291
|
-
* hit
|
|
292
|
-
*
|
|
293
|
-
*
|
|
291
|
+
* hit. SpecGuard's 401 body is a contract — `{error: "unauthorized"}` plus a
|
|
292
|
+
* `message` — in which `reason` appears on exactly one fork: a token whose
|
|
293
|
+
* digest resolves a REVOKED key answers `reason: "revoked"` with a message
|
|
294
|
+
* naming the remedy. The backend licenses that disclosure precisely because
|
|
295
|
+
* only someone presenting the exact token can land on the branch, so where the
|
|
296
|
+
* body carries it, this one stops discarding the body and hands the platform's
|
|
297
|
+
* sentence through (`revokedCredentialMessage` below) — the same
|
|
298
|
+
* surfacing-not-reshaping doctrine `refusalMessage` follows for 400/403. In
|
|
299
|
+
* EVERY other case — `reason` absent, a blank or non-string `message`, a body
|
|
300
|
+
* that does not parse — the generic body still names no cause at all, so the
|
|
301
|
+
* useful half of the diagnosis is supplied from this side and the key keeps
|
|
302
|
+
* reading as an unknown key.
|
|
294
303
|
*
|
|
295
304
|
* WHICH VARIABLE AND WHICH PREFIX ARE READ OFF `api.credential`, never spelled
|
|
296
305
|
* out here. SpecGuard has three credential kinds that refuse each other's
|
|
@@ -305,6 +314,12 @@ function timedOut(api) {
|
|
|
305
314
|
*/
|
|
306
315
|
function describeFailure(status, body, api) {
|
|
307
316
|
if (status === 401) {
|
|
317
|
+
// The one 401 whose cause the platform names itself. Everything else —
|
|
318
|
+
// including an unparseable body — must keep reading as an unknown key, so
|
|
319
|
+
// the fallback below stays byte-identical to what it has always been.
|
|
320
|
+
const revoked = revokedCredentialMessage(body);
|
|
321
|
+
if (revoked !== undefined)
|
|
322
|
+
return new ApiError(revoked, status);
|
|
308
323
|
const { variable, prefix, rejection } = api.credential;
|
|
309
324
|
return new ApiError(`SpecGuard rejected the API key (401). ${variable} must be an ${prefix}… key issued by ` +
|
|
310
325
|
`${api.endpoint} ${rejection}.`, status);
|
|
@@ -373,5 +388,53 @@ function refusalMessage(body, status) {
|
|
|
373
388
|
return undefined;
|
|
374
389
|
return `SpecGuard refused the request (${status}): ${message.trim()}`;
|
|
375
390
|
}
|
|
391
|
+
/**
|
|
392
|
+
* The one 401 whose cause SpecGuard names itself, or nothing.
|
|
393
|
+
*
|
|
394
|
+
* `Api::BaseController` forks a single arm off the generic 401: a Bearer token
|
|
395
|
+
* whose digest resolves a REVOKED key renders
|
|
396
|
+
* `{error: "unauthorized", reason: "revoked", message: …}`. The backend
|
|
397
|
+
* licenses that disclosure because only someone presenting the exact token can
|
|
398
|
+
* reach the branch — the lookup runs on the digest they carried — and the
|
|
399
|
+
* message names the remedy: mint a replacement and update whatever presents
|
|
400
|
+
* this one. That is the OPPOSITE move from what the canned sentence in
|
|
401
|
+
* `describeFailure` prescribes (re-check which variable holds which kind of
|
|
402
|
+
* key), which is why flattening this arm back into that sentence sends a
|
|
403
|
+
* revoked-key operator to configuration when the actual fix is rotation.
|
|
404
|
+
*
|
|
405
|
+
* SURFACING IT IS THE OPPOSITE OF RESHAPING IT, the same doctrine
|
|
406
|
+
* `refusalMessage` states one branch over: the platform's message is a
|
|
407
|
+
* complete, operator-ready sentence, so it is handed through verbatim — no
|
|
408
|
+
* prefix, no framing; only a whitespace-only `message` counts as absent. The
|
|
409
|
+
* 401 status still rides the `ApiError`, so nothing downstream loses it.
|
|
410
|
+
*
|
|
411
|
+
* The discriminator is the `reason` FIELD, never the presence of a `message`:
|
|
412
|
+
* the generic 401 body carries a message too and carries NO `reason`, and the
|
|
413
|
+
* backend pins that an unknown token must keep reading as an unknown token —
|
|
414
|
+
* the canned sentence stays the contract for everything that is not this
|
|
415
|
+
* disclosure. Returns `undefined` rather than a fallback for the same reason
|
|
416
|
+
* `refusalMessage` does, so the decision about what to say stays in one place:
|
|
417
|
+
* a body that does not parse, is not an object, carries any other `reason`, or
|
|
418
|
+
* whose `message` is absent, blank or not a string falls back to the canned
|
|
419
|
+
* sentence rather than to a thrown parse error or an invented reading.
|
|
420
|
+
*/
|
|
421
|
+
function revokedCredentialMessage(body) {
|
|
422
|
+
let parsed;
|
|
423
|
+
try {
|
|
424
|
+
parsed = JSON.parse(body);
|
|
425
|
+
}
|
|
426
|
+
catch {
|
|
427
|
+
return undefined;
|
|
428
|
+
}
|
|
429
|
+
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed))
|
|
430
|
+
return undefined;
|
|
431
|
+
const record = parsed;
|
|
432
|
+
if (record["reason"] !== "revoked")
|
|
433
|
+
return undefined;
|
|
434
|
+
const message = record["message"];
|
|
435
|
+
if (typeof message !== "string" || message.trim() === "")
|
|
436
|
+
return undefined;
|
|
437
|
+
return message;
|
|
438
|
+
}
|
|
376
439
|
export { requireApiConfig, requireUserApiConfig, requireAgentApiConfig, requireUserOrAgentApiConfig };
|
|
377
440
|
//# sourceMappingURL=specguard-api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specguard-api.js","sourceRoot":"","sources":["../../../src/support/specguard-api.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,2BAA2B,GAE5B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,GAAc,EACd,IAAY,EACZ,KAAyC,EACzC,SAAkC;IAElC,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAA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AAI,MAAM,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;QAAE,OAAO,SAAS,CAAC;IAE7F,MAAM,OAAO,GAAI,MAAkC,CAAC,SAAS,CAAC,CAAC;IAC/D,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE;QAAE,OAAO,SAAS,CAAC;IAE3E,OAAO,kCAAkC,MAAM,MAAM,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC;AACxE,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAS,wBAAwB,CAAC,IAAY;IAC5C,IAAI,MAAe,CAAC;IACpB,IAAI,CAAC;QACH,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAY,CAAC;IACvC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;QAAE,OAAO,SAAS,CAAC;IAE7F,MAAM,MAAM,GAAG,MAAiC,CAAC;IACjD,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAErD,MAAM,OAAO,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;IAClC,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE;QAAE,OAAO,SAAS,CAAC;IAE3E,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,CAAC"}
|
|
@@ -78,12 +78,12 @@ import type { ToolDefinition } from "./types.js";
|
|
|
78
78
|
* carrying the same `{error, message}` contract — the identical defect, given
|
|
79
79
|
* the identical remedy.
|
|
80
80
|
*
|
|
81
|
-
* The
|
|
82
|
-
*
|
|
83
|
-
* unchanged and still binding,
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
81
|
+
* The registration gate was the newest user-scoped entry when it landed; the
|
|
82
|
+
* sections below record how the surface grew after it. The standing rule is
|
|
83
|
+
* unchanged and still binding, and what it keeps out today is what has not
|
|
84
|
+
* shipped — `/check-intent` has no backing endpoint (`routes.rb` mounts it as
|
|
85
|
+
* a comment only), so it stays unwrapped. What moved was the platform, not
|
|
86
|
+
* the bar.
|
|
87
87
|
*
|
|
88
88
|
* == Removal and the key lifecycle
|
|
89
89
|
*
|
package/dist/src/tools/index.js
CHANGED
|
@@ -94,12 +94,12 @@ import updateRepositoryMemberPermissions from "./update-repository-member-permis
|
|
|
94
94
|
* carrying the same `{error, message}` contract — the identical defect, given
|
|
95
95
|
* the identical remedy.
|
|
96
96
|
*
|
|
97
|
-
* The
|
|
98
|
-
*
|
|
99
|
-
* unchanged and still binding,
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
97
|
+
* The registration gate was the newest user-scoped entry when it landed; the
|
|
98
|
+
* sections below record how the surface grew after it. The standing rule is
|
|
99
|
+
* unchanged and still binding, and what it keeps out today is what has not
|
|
100
|
+
* shipped — `/check-intent` has no backing endpoint (`routes.rb` mounts it as
|
|
101
|
+
* a comment only), so it stays unwrapped. What moved was the platform, not
|
|
102
|
+
* the bar.
|
|
103
103
|
*
|
|
104
104
|
* == Removal and the key lifecycle
|
|
105
105
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { deleteJson,
|
|
1
|
+
import { deleteJson, requireUserOrAgentApiConfig } from "../support/specguard-api.js";
|
|
2
2
|
import { requireString } from "./args.js";
|
|
3
3
|
/**
|
|
4
4
|
* `DELETE /api/v1/repositories/:id` as a tool — shipped in the platform
|
|
@@ -44,9 +44,15 @@ const removeRepository = {
|
|
|
44
44
|
"cannot be brought back. " +
|
|
45
45
|
"Takes `repository_id` — the numeric id `add_repository` and `list_repositories` " +
|
|
46
46
|
"report, not the `org/repo` handle. " +
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
47
|
+
"It authenticates with EITHER of this server's two repository-administration credentials, " +
|
|
48
|
+
"whichever is set: SPECGUARD_AGENT_API_KEY (an sga_… key — the call then reaches only the " +
|
|
49
|
+
"repositories granted onto that key at mint time, and only where the grant carries " +
|
|
50
|
+
"`repo.delete`; a repository outside that set answers 404 in SpecGuard's own words, never " +
|
|
51
|
+
"a probe here) and, when that is not set, SPECGUARD_USER_API_KEY (an sgu_… key, the same " +
|
|
52
|
+
"credential `add_repository` writes with). With both set the agent key wins, so the " +
|
|
53
|
+
"removal answers inside the same set `list_repositories` reports. " +
|
|
54
|
+
"Either way it is a DIFFERENT credential from the sgk_… repository key " +
|
|
55
|
+
"`get_repository_overview` uses; SpecGuard refuses each in the other's place.",
|
|
50
56
|
inputSchema: {
|
|
51
57
|
type: "object",
|
|
52
58
|
properties: {
|
|
@@ -66,7 +72,7 @@ const removeRepository = {
|
|
|
66
72
|
},
|
|
67
73
|
async run(args, context) {
|
|
68
74
|
const repositoryId = requireString(args["repository_id"], "repository_id");
|
|
69
|
-
const api =
|
|
75
|
+
const api = requireUserOrAgentApiConfig(context.config);
|
|
70
76
|
const body = await deleteJson(api, `/api/v1/repositories/${encodeURIComponent(repositoryId)}`, context.fetch);
|
|
71
77
|
// 204 with no body. Nothing upstream to pass through, so the result says
|
|
72
78
|
// what the verb did — in the tool's own words, because the deployment's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-repository.js","sourceRoot":"","sources":["../../../src/tools/remove-repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"remove-repository.js","sourceRoot":"","sources":["../../../src/tools/remove-repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AACtF,OAAO,EA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