@vibekiln/cutline-mcp-cli 0.11.1 → 0.11.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.
|
@@ -4455,17 +4455,6 @@ var UNIVERSAL_CONSTRAINTS = [
|
|
|
4455
4455
|
file_patterns: ["**/auth/**", "**/api/session*", "**/api/login*", "**/middleware/**", "**/config/**"],
|
|
4456
4456
|
framework: "baseline"
|
|
4457
4457
|
},
|
|
4458
|
-
{
|
|
4459
|
-
id_suffix: "password_reset_token_expiry",
|
|
4460
|
-
category: "security",
|
|
4461
|
-
summary: "Password reset tokens/links MUST be single-use and time-limited. Expired or reused reset tokens must fail closed.",
|
|
4462
|
-
keywords: ["password-reset", "token", "expiry", "single-use", "account-takeover"],
|
|
4463
|
-
severity: "critical",
|
|
4464
|
-
action: "Enforce reset token TTL and one-time use semantics. Invalidate outstanding reset tokens after successful password change.",
|
|
4465
|
-
checklist_ref: "A10",
|
|
4466
|
-
file_patterns: ["**/auth/**", "**/api/reset*", "**/api/forgot*", "**/api/password*"],
|
|
4467
|
-
framework: "baseline"
|
|
4468
|
-
},
|
|
4469
4458
|
{
|
|
4470
4459
|
id_suffix: "backup_testing",
|
|
4471
4460
|
category: "stability",
|
|
@@ -4711,83 +4700,6 @@ var RELIABILITY_CONSTRAINTS = [
|
|
|
4711
4700
|
checklist_ref: "J10",
|
|
4712
4701
|
file_patterns: ["**/utils/**", "**/lib/**", "**/services/**", "**/api/**"],
|
|
4713
4702
|
framework: "baseline"
|
|
4714
|
-
},
|
|
4715
|
-
{
|
|
4716
|
-
id_suffix: "startup_env_schema_validation",
|
|
4717
|
-
category: "stability",
|
|
4718
|
-
summary: "Runtime environment variables MUST be validated against an explicit schema at startup, and app boot must fail fast on invalid critical config.",
|
|
4719
|
-
keywords: ["env", "startup", "schema", "validation", "fail-fast", "configuration"],
|
|
4720
|
-
severity: "critical",
|
|
4721
|
-
action: "Create startup env schema checks for server and public runtime variables. Crash startup when required production config is missing or malformed.",
|
|
4722
|
-
checklist_ref: "J11",
|
|
4723
|
-
file_patterns: ["**/config/**", "**/env/**", "**/server/**", "**/.env*"],
|
|
4724
|
-
framework: "baseline"
|
|
4725
|
-
},
|
|
4726
|
-
{
|
|
4727
|
-
id_suffix: "ui_error_boundaries",
|
|
4728
|
-
category: "stability",
|
|
4729
|
-
summary: "Critical user-facing UI surfaces MUST be wrapped in error boundaries to prevent full-app white screens during component crashes.",
|
|
4730
|
-
keywords: ["error-boundary", "react", "ui", "crash", "fallback", "reliability"],
|
|
4731
|
-
severity: "warning",
|
|
4732
|
-
action: "Add error boundaries around major routes/layouts and high-risk widgets. Provide fallback UI and telemetry when boundaries catch errors.",
|
|
4733
|
-
checklist_ref: "J12",
|
|
4734
|
-
file_patterns: ["**/components/**", "**/pages/**", "**/app/**", "**/*error*"],
|
|
4735
|
-
framework: "baseline"
|
|
4736
|
-
},
|
|
4737
|
-
{
|
|
4738
|
-
id_suffix: "health_readiness_endpoints",
|
|
4739
|
-
category: "stability",
|
|
4740
|
-
summary: "Services MUST expose dedicated liveness and readiness endpoints (e.g., /api/health and /api/readyz) for monitoring and deployment safety checks.",
|
|
4741
|
-
keywords: ["health", "readyz", "liveness", "readiness", "monitoring", "probe"],
|
|
4742
|
-
severity: "critical",
|
|
4743
|
-
action: "Implement lightweight health/readiness endpoints with no sensitive payload data. Integrate endpoints into uptime monitoring and deployment probes.",
|
|
4744
|
-
checklist_ref: "J13",
|
|
4745
|
-
file_patterns: ["**/api/health*", "**/api/ready*", "**/monitoring/**", "**/deploy/**"],
|
|
4746
|
-
framework: "baseline"
|
|
4747
|
-
},
|
|
4748
|
-
{
|
|
4749
|
-
id_suffix: "structured_production_logging",
|
|
4750
|
-
category: "stability",
|
|
4751
|
-
summary: "Production logging MUST be structured and include correlation/request IDs, with automatic redaction of tokens, API keys, and credentials.",
|
|
4752
|
-
keywords: ["logging", "structured", "correlation-id", "request-id", "redaction", "observability"],
|
|
4753
|
-
severity: "critical",
|
|
4754
|
-
action: "Emit JSON logs in production and propagate request/correlation IDs across handlers and background jobs. Apply secret-redaction middleware before log emission.",
|
|
4755
|
-
checklist_ref: "J14",
|
|
4756
|
-
file_patterns: ["**/logger/**", "**/api/**", "**/middleware/**", "**/monitoring/**"],
|
|
4757
|
-
framework: "baseline"
|
|
4758
|
-
},
|
|
4759
|
-
{
|
|
4760
|
-
id_suffix: "typed_ai_generated_code",
|
|
4761
|
-
category: "stability",
|
|
4762
|
-
summary: "AI-generated production code MUST use TypeScript (or equivalent static typing) and pass strict type-check gates before merge.",
|
|
4763
|
-
keywords: ["ai-generated", "typescript", "typing", "typecheck", "ci-gate", "quality"],
|
|
4764
|
-
severity: "warning",
|
|
4765
|
-
action: "Require strict type-check in CI for generated code changes and block merges on type errors. Prefer typed templates for agent-generated modules.",
|
|
4766
|
-
checklist_ref: "J15",
|
|
4767
|
-
file_patterns: ["**/*.ts", "**/*.tsx", "**/ai/**", "**/agents/**", "**/.github/**"],
|
|
4768
|
-
framework: "baseline"
|
|
4769
|
-
},
|
|
4770
|
-
{
|
|
4771
|
-
id_suffix: "async_email_dispatch",
|
|
4772
|
-
category: "performance",
|
|
4773
|
-
summary: "Transactional emails SHOULD be dispatched asynchronously (queue/background workers) so request handlers do not block on provider latency.",
|
|
4774
|
-
keywords: ["email", "async", "queue", "worker", "latency", "smtp", "request-path"],
|
|
4775
|
-
severity: "warning",
|
|
4776
|
-
action: "Move email delivery to async jobs/queues and return request responses before provider completion. Add retry/backoff for transient send failures.",
|
|
4777
|
-
checklist_ref: "J16",
|
|
4778
|
-
file_patterns: ["**/api/**", "**/jobs/**", "**/workers/**", "**/email/**", "**/notifications/**"],
|
|
4779
|
-
framework: "baseline"
|
|
4780
|
-
},
|
|
4781
|
-
{
|
|
4782
|
-
id_suffix: "cdn_media_delivery",
|
|
4783
|
-
category: "performance",
|
|
4784
|
-
summary: "User-uploaded media MUST be stored in object storage and delivered through CDN caching, not served directly from app servers.",
|
|
4785
|
-
keywords: ["cdn", "media", "uploads", "object-storage", "cache", "bandwidth"],
|
|
4786
|
-
severity: "warning",
|
|
4787
|
-
action: "Store uploads in object storage (S3/GCS/etc.) and serve via CDN URLs with cache headers. Keep app servers out of large media delivery paths.",
|
|
4788
|
-
checklist_ref: "J17",
|
|
4789
|
-
file_patterns: ["**/api/upload*", "**/storage/**", "**/media/**", "**/cdn/**", "**/config/**"],
|
|
4790
|
-
framework: "baseline"
|
|
4791
4703
|
}
|
|
4792
4704
|
];
|
|
4793
4705
|
var IAC_CONSTRAINTS = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibekiln/cutline-mcp-cli",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "CLI and MCP servers for Cutline — authenticate, then run constraint-aware MCP servers in Cursor or any MCP client.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|