@gobing-ai/spur 0.3.0 → 0.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobing-ai/spur",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Spur CLI — local-first harness for mainstream coding agents: constraint checking, workflow orchestration, agent health, and history analytics. Bun-native; exposes the `spur` command.",
5
5
  "keywords": [
6
6
  "spur",
@@ -0,0 +1,30 @@
1
+ $schema: "@gobing-ai/spur/schemas/rule-file.schema.json"
2
+ # Vendor-boundary rule (task 0187, R11) — vendors/ is reference-only source material
3
+ # consumed by humans/agents authoring plugins/sp skills. Absorb its lessons into
4
+ # sp's own prose; never cite or link a vendors/ path FROM inside a shipped plugin
5
+ # file. A live reference makes plugins/sp depend on a directory that is not part
6
+ # of the installed plugin surface (vendors/ is not copied when sp is distributed),
7
+ # and it signals an unabsorbed lesson — copy the idea, then delete the pointer.
8
+ include:
9
+ - "plugins/sp/**/*.md"
10
+ - "plugins/sp/**/*.yaml"
11
+ - "plugins/sp/**/*.yml"
12
+ - "plugins/sp/**/*.json"
13
+ - "plugins/sp/**/*.ts"
14
+ exclude:
15
+ - "**/node_modules/**"
16
+ - "plugins/sp/tests/**"
17
+ rules:
18
+ - id: sp-no-vendor-refs
19
+ description: >
20
+ Do not reference a `vendors/` path from inside plugins/sp. vendors/ is
21
+ reference-only source material for authoring lessons; once a lesson is
22
+ absorbed into sp's own skills/references, the vendors/ pointer must be
23
+ removed, not left as a live citation. (Structural test R20 in
24
+ plugins/sp/tests/skill-structure.test.ts enforces the same invariant at
25
+ the file-content level; this rule enforces it at commit/pre-check time.)
26
+ severity: error
27
+ evaluator:
28
+ type: rg
29
+ config:
30
+ pattern: "vendors/"
package/spur.js CHANGED
@@ -69394,7 +69394,7 @@ import { join as join13, resolve as resolve4 } from "path";
69394
69394
  var CLI_CONFIG = {
69395
69395
  binaryName: "spur",
69396
69396
  binaryLabel: "spur",
69397
- binaryVersion: "0.3.0",
69397
+ binaryVersion: "0.3.1",
69398
69398
  configDir: ".spur",
69399
69399
  configFile: ".spur/config.yaml",
69400
69400
  databaseFile: ".spur/spur.db"