speclock 5.0.1 → 5.0.2

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,5 +1,7 @@
1
1
  # SpecLock Project Instructions — Copy-Paste Templates
2
2
 
3
+ > Developed by **Sandeep Roy** ([github.com/sgroy10](https://github.com/sgroy10))
4
+
3
5
  These are **project-level instructions** that you paste into your AI coding platform's settings. They force the AI to use SpecLock on every action — turning it from a passive notepad into an active guardrail.
4
6
 
5
7
  ---
package/bin/speclock.js CHANGED
@@ -1,2 +1,4 @@
1
1
  #!/usr/bin/env node
2
+ // SpecLock CLI — AI Constraint Engine
3
+ // Developed by Sandeep Roy (https://github.com/sgroy10)
2
4
  import "../src/cli/index.js";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  "name": "speclock",
4
4
 
5
- "version": "5.0.1",
5
+ "version": "5.0.2",
6
6
 
7
7
  "description": "AI Constraint Engine for autonomous systems governance. Spec Compiler (NL→constraints), Code Graph (blast radius, lock-to-file mapping), Typed constraints (numerical, range, state, temporal), REST API v2, Python SDK, ROS2 integration. 39 MCP tools, Gemini LLM hybrid, HMAC audit chain, RBAC, encryption, SOC 2/HIPAA compliance.",
8
8
 
package/src/core/git.js CHANGED
@@ -1,3 +1,6 @@
1
+ // SpecLock Git Integration — Checkpoints, diffs, repo status
2
+ // Developed by Sandeep Roy (https://github.com/sgroy10)
3
+
1
4
  import fs from "fs";
2
5
  import path from "path";
3
6
  import { spawnSync } from "child_process";
package/src/core/hooks.js CHANGED
@@ -1,4 +1,5 @@
1
1
  // SpecLock Git Hook Management
2
+ // Developed by Sandeep Roy (https://github.com/sgroy10)
2
3
 
3
4
  import fs from "fs";
4
5
  import path from "path";
@@ -2,6 +2,7 @@
2
2
  // SpecLock Semantic Analysis Engine v3
3
3
  // Subject-aware conflict detection with scope matching.
4
4
  // Zero external dependencies — pure JavaScript.
5
+ // Developed by Sandeep Roy (https://github.com/sgroy10)
5
6
  // ===================================================================
6
7
 
7
8
  // ===================================================================
@@ -1,3 +1,6 @@
1
+ // SpecLock Storage — brain.json and events.log read/write with encryption support
2
+ // Developed by Sandeep Roy (https://github.com/sgroy10)
3
+
1
4
  import fs from "fs";
2
5
  import path from "path";
3
6
  import crypto from "crypto";
@@ -1,4 +1,5 @@
1
1
  // SpecLock Constraint Templates — Pre-built lock packs for common frameworks
2
+ // Developed by Sandeep Roy (https://github.com/sgroy10)
2
3
 
3
4
  export const TEMPLATES = {
4
5
  nextjs: {
@@ -881,7 +881,7 @@ app.get("/health", (req, res) => {
881
881
  status: "healthy",
882
882
  version: VERSION,
883
883
  uptime: Math.floor((Date.now() - START_TIME) / 1000),
884
- tools: 35,
884
+ tools: 39,
885
885
  auditChain: auditStatus,
886
886
  authEnabled: isAuthEnabled(PROJECT_ROOT),
887
887
  rateLimit: { limit: RATE_LIMIT, windowMs: RATE_WINDOW_MS },
@@ -895,8 +895,8 @@ app.get("/", (req, res) => {
895
895
  name: "speclock",
896
896
  version: VERSION,
897
897
  author: AUTHOR,
898
- description: "AI Constraint Engine for autonomous systems governance. Typed constraints (numerical, range, state, temporal) + REST API v2 with batch checking & SSE streaming. Python SDK + ROS2 integration. Policy-as-Code, OAuth/OIDC SSO, admin dashboard, telemetry, RBAC, AES-256-GCM encryption, hard enforcement, HMAC audit chain, SOC 2/HIPAA compliance. 35 MCP tools.",
899
- tools: 35,
898
+ description: "AI Constraint Engine for autonomous systems governance. Spec Compiler (NL→constraints), Code Graph (blast radius, lock-to-file mapping), Typed constraints (numerical, range, state, temporal), REST API v2 with batch checking & SSE streaming. Python SDK + ROS2 integration. Policy-as-Code, RBAC, AES-256-GCM encryption, hard enforcement, HMAC audit chain, SOC 2/HIPAA compliance. 39 MCP tools. 940 tests, 99.4% accuracy.",
899
+ tools: 39,
900
900
  mcp_endpoint: "/mcp",
901
901
  health_endpoint: "/health",
902
902
  npm: "https://www.npmjs.com/package/speclock",
@@ -910,7 +910,7 @@ app.get("/.well-known/mcp/server-card.json", (req, res) => {
910
910
  res.json({
911
911
  name: "SpecLock",
912
912
  version: VERSION,
913
- description: "AI Constraint Engine for autonomous systems governance. Typed constraints + REST API v2 with batch checking & SSE streaming. Python SDK (pip install speclock) + ROS2 Guardian Node. Hybrid heuristic + Gemini LLM. Policy-as-Code, OAuth/OIDC SSO, admin dashboard, telemetry, RBAC, AES-256-GCM encryption, hard enforcement, HMAC audit chain, SOC 2/HIPAA compliance. 35 MCP tools + CLI. Works with Claude Code, Cursor, Windsurf, Cline, Bolt.new, Lovable.",
913
+ description: "AI Constraint Engine for autonomous systems governance. Spec Compiler (NL→constraints via Gemini Flash), Code Graph (dependency parsing, blast radius, lock-to-file mapping), Typed constraints (numerical, range, state, temporal), REST API v2, Python SDK + ROS2 Guardian Node. Hybrid heuristic + Gemini LLM. Policy-as-Code, RBAC, AES-256-GCM encryption, hard enforcement, HMAC audit chain, SOC 2/HIPAA compliance. 39 MCP tools. 940 tests, 99.4% accuracy. Works with Claude Code, Cursor, Windsurf, Cline, Bolt.new, Lovable.",
914
914
  author: {
915
915
  name: "Sandeep Roy",
916
916
  url: "https://github.com/sgroy10",
@@ -919,7 +919,7 @@ app.get("/.well-known/mcp/server-card.json", (req, res) => {
919
919
  homepage: "https://sgroy10.github.io/speclock/",
920
920
  license: "MIT",
921
921
  capabilities: {
922
- tools: 35,
922
+ tools: 39,
923
923
  categories: [
924
924
  "Memory Management",
925
925
  "Change Tracking",