specguard-mcp 0.1.27 → 0.1.28

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 CHANGED
@@ -328,7 +328,15 @@ newest refusal is newer than the newest *accepted* run, and true when nothing ha
328
328
  accepted, so a repository refused once and quiet since still answers `true`. Read it with
329
329
  `last_rejection_at` and judge recency yourself. Each retained rejection carries the endpoint's own
330
330
  reasons and, where the client reported one, the client
331
- version that sent it. A `latest_run` from days ago beside a live rejection stream is a suite
331
+ version that sent it, plus `served_by` — the build of the SpecGuard deployment that refused it,
332
+ stamped on the row at write time. That stamp answers a question the deployment's live version read
333
+ cannot: `get_server_version` reports which build is answering *now*, while retained refusals
334
+ outlive deploys, so for a past row the two routinely disagree — read `served_by` for which build
335
+ refused *that row*, never the live route. The row's two nulls mean *different* things and must not
336
+ be read as each other: a null `reported_client` means the client sent no `User-Agent` (the row
337
+ knows, and the client said nothing); a null `served_by` means the row predates the stamp —
338
+ refusals are retained across deploys, so the platform genuinely does not know which build answered
339
+ it. A `latest_run` from days ago beside a live rejection stream is a suite
332
340
  SpecGuard *stopped accepting*, not a suite nobody ran. `credential_health` covers the break that one
333
341
  structurally **cannot** see: a rejected key resolves no repository and writes no rejection row, so an
334
342
  authentication-broken pipeline is invisible to every rejection figure — it names any key that was
@@ -348,7 +356,25 @@ ranking for the whole set. Where **no** bound sits beside a list, it is everythi
348
356
  a finding and not a disclosure someone forgot.
349
357
 
350
358
  Figures are `null` where CI did not report them. A `null` means *not measured*; it is never a zero,
351
- because a zero would read as a measurement that was taken.
359
+ because a zero would read as a measurement that was taken. That rule is about nulls and does not
360
+ run backwards: a non-null figure is not thereby a measurement — a run that reported zero tests
361
+ serves a real `total_specs: 0` beside `suite_size_measured: false`, so it is that boolean, never
362
+ the nullness, that says whether the row measured a suite.
363
+
364
+ Three more keys ride **every** response, with no parameter to pass, and together they decide whether
365
+ two history rows may be *differenced at all* — which is what the history is for. `suite_size_measured`
366
+ is served on `latest_run` and on every `history[]` row, from the same predicate at both sites so one
367
+ run cannot disagree with itself: `false` means that run reported **no** tests, so its `total_specs`
368
+ is a *report*, not a measurement — never difference across a row where it is false. `shard_count`
369
+ and `timed_shard_count` ride every `history[]` row and are the two denominators: difference
370
+ `total_specs` only across rows of *equal* `shard_count`, because that count is a sum over the shards
371
+ **recorded**; difference `duration_seconds` only across rows of *equal* `timed_shard_count`, because
372
+ that figure is a max over the shards that **reported**. Ignore the second and a run whose four
373
+ shards all reported, differenced against a run whose two slowest were cancelled — identical
374
+ `shard_count`, identical `suite_size_measured`, only `timed_shard_count` differing — reads as a 70%
375
+ speedup produced entirely by telemetry loss. A half-reported run is the **ordinary** state, not an
376
+ exotic one: every sharded run passes through it while its shards are still arriving, and a job
377
+ cancelled after two of four shards leaves a half-sized row in the history permanently.
352
378
 
353
379
  ### `get_server_version`
354
380
 
@@ -667,8 +693,9 @@ nor `credential_health` (findings only — a never-presented replacement is neit
667
693
  presented-revoked) can answer this.
668
694
 
669
695
  **This is the id source for every row this session did not mint.** The mint response carries the
670
- id of the key IT minted (SPGD-993); a key minted in the web panel, or in an earlier session, has
671
- no other bridge-learnable id — list here to name a `key_id` for `revoke_repository_api_key`.
696
+ id of the key IT minted, in its `api_key` block (SPGD-993); a key minted in the web panel, or in
697
+ an earlier session, has no other bridge-learnable id — list here to name a `key_id` for
698
+ `revoke_repository_api_key`.
672
699
 
673
700
  `token_hint` is a hint, never the token — the plaintext existed for exactly one response at mint
674
701
  time and nothing persisted it. There is no regenerate: rotation is mint-and-replace
@@ -984,7 +1011,8 @@ The toolset fills in as more of SpecGuard lands. Adding one is two mechanical ed
984
1011
  There is no third — no third *wiring* edit, at least: every tool also earns a `### ` section above,
985
1012
  and every argument earns a row in that section's table, since this README ships as the package's
986
1013
  published documentation, and `test/readme.test.ts` derives that obligation from the registry so a
987
- missing section or an undocumented parameter fails the suite. A tool that genuinely takes no
1014
+ missing section or an undocumented parameter fails the suite — as does a response key the tool's
1015
+ description names that the section never mentions. A tool that genuinely takes no
988
1016
  arguments (`list_repositories` is the first) still earns the section, and is named in that file's
989
1017
  `ARGUMENT_LESS_TOOLS` — a deliberate line to add, rather than a floor relaxed for everyone.
990
1018
  `src/server.ts` iterates that array and contains no per-tool code — no `switch`, no hard-coded name — and everything a tool
@@ -320,7 +320,7 @@ export declare function requireUserOrAgentApiConfig(config: Config): Credentiall
320
320
  *
321
321
  * The fourth sibling, and the first whose answer carries no key and no
322
322
  * `Credential`: the server's root-level `GET /version` (SPGD-1197, specguard
323
- * d434c2a) answers unauthenticated BY DESIGN — the platform's own doctrine
323
+ * 08ab408) answers unauthenticated BY DESIGN — the platform's own doctrine
324
324
  * places it outside the credential seam, at the root where the no-account
325
325
  * reads (`/up`, the schema mirror) already live. Demanding a key here would
326
326
  * invent a requirement the deployment does not have, and the
@@ -188,7 +188,7 @@ export function requireUserOrAgentApiConfig(config) {
188
188
  *
189
189
  * The fourth sibling, and the first whose answer carries no key and no
190
190
  * `Credential`: the server's root-level `GET /version` (SPGD-1197, specguard
191
- * d434c2a) answers unauthenticated BY DESIGN — the platform's own doctrine
191
+ * 08ab408) answers unauthenticated BY DESIGN — the platform's own doctrine
192
192
  * places it outside the credential seam, at the root where the no-account
193
193
  * reads (`/up`, the schema mirror) already live. Demanding a key here would
194
194
  * invent a requirement the deployment does not have, and the
@@ -33,11 +33,16 @@ export declare function createServer(options?: CreateServerOptions): Server;
33
33
  * The literal this replaced was written at bootstrap and never revisited: the
34
34
  * release bot bumps `package.json` alone, so every initialize handshake after
35
35
  * the first release told every client the bridge was still the bootstrap
36
- * version. Nothing caught the drift because the constant has exactly two
37
- * reader cells — this file's `serverInfo` and the `src/index.ts` re-export —
38
- * and no test named it. `SERVER_VERSION` stays a const export with the same
39
- * readers; the ONLY change is that its value now tracks the release instead of
40
- * the bootstrap.
36
+ * version. Nothing caught the drift in that bootstrap era: then, every reader
37
+ * cell of the constant relayed the stale literal unchecked, and no test named
38
+ * it. That era is over. Whatever a reader cell does with `SERVER_VERSION`, it
39
+ * now sees the tracked value — and the suite now names the constant too. The
40
+ * per-request User-Agent (`requestUserAgent()` in
41
+ * `src/support/specguard-api.ts`) stamps `specguard-mcp/<version>` onto every
42
+ * outbound call, and the transport tests assert that header against this very
43
+ * constant. The manifest-walk change kept `SERVER_VERSION` a const export and
44
+ * left every reader cell's access to it untouched; the ONLY change is that
45
+ * its value now tracks the release instead of the bootstrap.
41
46
  *
42
47
  * `SERVER_VERSION`'s module-scope initialization is the single read: the walk
43
48
  * runs once at import, and every later reader cell sees the cached result.
@@ -120,11 +120,16 @@ function indexByName(tools) {
120
120
  * The literal this replaced was written at bootstrap and never revisited: the
121
121
  * release bot bumps `package.json` alone, so every initialize handshake after
122
122
  * the first release told every client the bridge was still the bootstrap
123
- * version. Nothing caught the drift because the constant has exactly two
124
- * reader cells — this file's `serverInfo` and the `src/index.ts` re-export —
125
- * and no test named it. `SERVER_VERSION` stays a const export with the same
126
- * readers; the ONLY change is that its value now tracks the release instead of
127
- * the bootstrap.
123
+ * version. Nothing caught the drift in that bootstrap era: then, every reader
124
+ * cell of the constant relayed the stale literal unchecked, and no test named
125
+ * it. That era is over. Whatever a reader cell does with `SERVER_VERSION`, it
126
+ * now sees the tracked value — and the suite now names the constant too. The
127
+ * per-request User-Agent (`requestUserAgent()` in
128
+ * `src/support/specguard-api.ts`) stamps `specguard-mcp/<version>` onto every
129
+ * outbound call, and the transport tests assert that header against this very
130
+ * constant. The manifest-walk change kept `SERVER_VERSION` a const export and
131
+ * left every reader cell's access to it untouched; the ONLY change is that
132
+ * its value now tracks the release instead of the bootstrap.
128
133
  *
129
134
  * `SERVER_VERSION`'s module-scope initialization is the single read: the walk
130
135
  * runs once at import, and every later reader cell sees the cached result.
@@ -1 +1 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,OAAO,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G,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,cAAc,CAAC,CAEhC,CAAC;YACd,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,CAAC,IAAI,KAAK,eAAe,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ,EAAE,CAAC;gBACzF,OAAO,GAAG,CAAC,OAAO,CAAC;YACrB,CAAC;QACH,CAAC;QAAC,MAAM,CAAC;YACP,4DAA4D;QAC9D,CAAC;QACD,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;QAC5B,IAAI,MAAM,KAAK,GAAG;YAAE,MAAM,CAAC,sBAAsB;QACjD,GAAG,GAAG,MAAM,CAAC;IACf,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -1,10 +1,11 @@
1
1
  import type { ToolDefinition } from "./types.js";
2
2
  /**
3
3
  * `GET /version` as a tool — the server's OWN identity, askable at last
4
- * (shipped: SPGD-1197, specguard `d434c2a`, root-level and unauthenticated by
5
- * design — `config/routes.rb` mounts it beside `/up` and the schema mirror,
6
- * exactly because the credential seam under `api/` fails closed and this read
7
- * is the platform's deliberate no-account exception at the root).
4
+ * (shipped: SPGD-1197, specguard `08ab408`; first served by release 0.1.46,
5
+ * `d434c2a` — root-level and unauthenticated by design — `config/routes.rb`
6
+ * mounts it beside `/up` and the schema mirror, exactly because the credential
7
+ * seam under `api/` fails closed and this read is the platform's deliberate
8
+ * no-account exception at the root).
8
9
  *
9
10
  * == What it answers, and the one distinction the whole tool exists to carry
10
11
  *
@@ -1,10 +1,11 @@
1
1
  import { getJsonObject, requireEndpointApiConfig } from "../support/specguard-api.js";
2
2
  /**
3
3
  * `GET /version` as a tool — the server's OWN identity, askable at last
4
- * (shipped: SPGD-1197, specguard `d434c2a`, root-level and unauthenticated by
5
- * design — `config/routes.rb` mounts it beside `/up` and the schema mirror,
6
- * exactly because the credential seam under `api/` fails closed and this read
7
- * is the platform's deliberate no-account exception at the root).
4
+ * (shipped: SPGD-1197, specguard `08ab408`; first served by release 0.1.46,
5
+ * `d434c2a` — root-level and unauthenticated by design — `config/routes.rb`
6
+ * mounts it beside `/up` and the schema mirror, exactly because the credential
7
+ * seam under `api/` fails closed and this read is the platform's deliberate
8
+ * no-account exception at the root).
8
9
  *
9
10
  * == What it answers, and the one distinction the whole tool exists to carry
10
11
  *
@@ -1 +1 @@
1
- {"version":3,"file":"get-server-version.js","sourceRoot":"","sources":["../../../src/tools/get-server-version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAGtF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAM,gBAAgB,GAAmB;IACvC,IAAI,EAAE,oBAAoB;IAC1B,KAAK,EAAE,gBAAgB;IACvB,WAAW,EACT,+FAA+F;QAC/F,iGAAiG;QACjG,4FAA4F;QAC5F,2FAA2F;QAC3F,8FAA8F;QAC9F,+FAA+F;QAC/F,iGAAiG;QACjG,0FAA0F;QAC1F,gGAAgG;QAChG,+FAA+F;QAC/F,8FAA8F;QAC9F,iGAAiG;QACjG,gGAAgG;QAChG,gGAAgG;QAChG,iGAAiG;QACjG,+FAA+F;QAC/F,gDAAgD;IAClD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,4EAA4E;QAC5E,0EAA0E;QAC1E,0EAA0E;QAC1E,0EAA0E;QAC1E,mDAAmD;QACnD,oBAAoB,EAAE,KAAK;KAC5B;IAED,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO;QACtB,MAAM,GAAG,GAAG,wBAAwB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAErD,MAAM,MAAM,GAAG,MAAM,aAAa,CAAC,GAAG,EAAE,UAAU,EAAE,EAAE,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;QAEvE,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,E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 -184,7 +184,7 @@ import type { ToolDefinition } from "./types.js";
184
184
  * == The first tool that needs NO credential
185
185
  *
186
186
  * - `get_server_version` wraps the server's root-level `GET /version`
187
- * (shipped: SPGD-1197, specguard `d434c2a`).
187
+ * (shipped: SPGD-1197, specguard `08ab408`).
188
188
  *
189
189
  * The platform's own doctrine placed this read OUTSIDE the credential seam
190
190
  * rather than inside with an exception: every controller under `api/` must
@@ -202,7 +202,7 @@ import updateRepositoryMemberPermissions from "./update-repository-member-permis
202
202
  * == The first tool that needs NO credential
203
203
  *
204
204
  * - `get_server_version` wraps the server's root-level `GET /version`
205
- * (shipped: SPGD-1197, specguard `d434c2a`).
205
+ * (shipped: SPGD-1197, specguard `08ab408`).
206
206
  *
207
207
  * The platform's own doctrine placed this read OUTSIDE the credential seam
208
208
  * rather than inside with an exception: every controller under `api/` must
@@ -516,8 +516,16 @@ const getRepositoryOverview = {
516
516
  "nothing has ever been accepted — so read it with `last_rejection_at` and judge recency " +
517
517
  "yourself, because a repository refused once and quiet since still answers true. Each retained " +
518
518
  "rejection carries the endpoint's own reasons and, where the client reported one, the client " +
519
- "version that sent it. A `latest_run` from days ago beside a live rejection stream is a suite " +
520
- "SpecGuard STOPPED ACCEPTING, not a suite nobody ran. " +
519
+ "version that sent it, plus `served_by` — the build of the SpecGuard deployment that refused it, " +
520
+ "stamped on the row at write time. That stamp answers a question the deployment's live version " +
521
+ "read cannot: `get_server_version` reports which build is answering NOW, while retained " +
522
+ "refusals outlive deploys, so for a past row the two routinely disagree — read `served_by` for " +
523
+ "WHICH BUILD REFUSED THAT ROW, never the live route. The row's two nulls mean DIFFERENT things " +
524
+ "and must not be read as each other: a null `reported_client` means the client sent no " +
525
+ "`User-Agent` (the row knows, and the client said nothing); a null `served_by` means the row " +
526
+ "predates the stamp — refusals are retained across deploys, so the platform genuinely does not " +
527
+ "know which build answered it. A `latest_run` from days ago beside a live rejection stream is a " +
528
+ "suite SpecGuard STOPPED ACCEPTING, not a suite nobody ran. " +
521
529
  "`credential_health` covers the break that one structurally CANNOT see — a rejected key " +
522
530
  "resolves no repository and writes no rejection row, so an authentication-broken pipeline is " +
523
531
  "invisible to every rejection figure — by naming any key that was ROTATED and has not " +
@@ -1 +1 @@
1
- {"version":3,"file":"repository-overview.js","sourceRoot":"","sources":["../../../src/tools/repository-overview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAG5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAidG;AACH,MAAM,qBAAqB,GAAmB;IAC5C,IAAI,EAAE,yBAAyB;IAE/B,KAAK,EAAE,mCAAmC;IAE1C,WAAW,EACT,2FAA2F;QAC3F,6FAA6F;QAC7F,yFAAyF;QACzF,+FAA+F;QAC/F,8FAA8F;QAC9F,gEAAgE;QAChE,gGAAgG;QAChG,wFAAwF;QACxF,6FAA6F;QAC7F,4BAA4B;QAC5B,gFAAgF;QAChF,yFAAyF;QACzF,4FAA4F;QAC5F,qFAAqF;QACrF,yFAAy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vB,CAAC;QACF,yEAAyE;QACzE,oEAAoE;QACpE,sEAAsE;QACtE,uEAAuE;QACvE,wEAAwE;QACxE,gEAAgE;QAChE,qEAAqE;QACrE,sEAAsE;QACtE,sEAAsE;QACtE,mCAAmC;QACnC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,gBAAgB,CAAC,OAAO,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;QAEnE,MAAM,QAAQ,GAAG,MAAM,aAAa,CAClC,GAAG,EACH,IAAI,EACJ;YACE,MAAM;YACN,cAAc,EAAE,aAAa;YAC7B,SAAS,EAAE,QAAQ;YACnB,oBAAoB,EAAE,mBAAmB;YACzC,aAAa,EAAE,YAAY;YAC3B,UAAU,EAAE,SAAS;YACrB,oBAAoB,EAAE,mBAAmB,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;SACxE,EACD,OAAO,CAAC,KAAK,CACd,CAAC;QAEF,OAAO;YACL,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC;YAC1B,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,eAAe,qBAAqB,CAAC;AAErC;;;;;;;;;;;GAWG;AACH,SAAS,UAAU,CAAC,QAAiC;IACnD,OAAO,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;AAC3C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specguard-mcp",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "MCP server exposing SpecGuard suite intelligence to AI coding agents",
5
5
  "license": "ISC",
6
6
  "type": "module",