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.
- package/SPECLOCK-INSTRUCTIONS.md +2 -0
- package/bin/speclock.js +2 -0
- package/package.json +1 -1
- package/src/core/git.js +3 -0
- package/src/core/hooks.js +1 -0
- package/src/core/semantics.js +1 -0
- package/src/core/storage.js +3 -0
- package/src/core/templates.js +1 -0
- package/src/mcp/http-server.js +5 -5
package/SPECLOCK-INSTRUCTIONS.md
CHANGED
|
@@ -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
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
"name": "speclock",
|
|
4
4
|
|
|
5
|
-
"version": "5.0.
|
|
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
package/src/core/hooks.js
CHANGED
package/src/core/semantics.js
CHANGED
|
@@ -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
|
// ===================================================================
|
package/src/core/storage.js
CHANGED
package/src/core/templates.js
CHANGED
package/src/mcp/http-server.js
CHANGED
|
@@ -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:
|
|
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)
|
|
899
|
-
tools:
|
|
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.
|
|
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:
|
|
922
|
+
tools: 39,
|
|
923
923
|
categories: [
|
|
924
924
|
"Memory Management",
|
|
925
925
|
"Change Tracking",
|