Sign In

@shiplightai/quality-tools

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shiplightai/quality-tools - npm Package Compare versions

Comparing version
0.1.3
to
0.2.0
+349
dist/quality-map.schema.json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://shiplight.dev/schemas/quality-evidence/quality-map.schema.json",
"$comment": "GENERATED from @shiplightai/quality-map buildQualityMapJsonSchema(). Do not edit by hand — run `pnpm generate:qc-schema` to regenerate.",
"title": "Quality Evidence Map",
"type": "object",
"additionalProperties": false,
"required": [
"target",
"expectations"
],
"properties": {
"target": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"name",
"scope"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1
},
"scope": {
"enum": [
"feature",
"module",
"pr",
"ticket"
]
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"source_refs": {
"type": "array",
"items": {
"$ref": "#/$defs/sourceRef"
}
}
}
},
"expectations": {
"type": "array",
"items": {
"$ref": "#/$defs/expectation"
}
},
"structure_provenance": {
"$ref": "#/$defs/structureProvenance"
},
"checks_reviewed": {
"type": "boolean"
}
},
"$defs": {
"structureProvenance": {
"enum": [
"spec",
"user_authored",
"agent_generated",
"inferred_brownfield",
"unspecified"
]
},
"gapCategory": {
"enum": [
"missing",
"blocked",
"stale",
"deferred",
"manual-only",
"weak",
"failing",
"unavailable"
]
},
"evidenceType": {
"enum": [
"unit",
"contract",
"integration",
"e2e",
"agent",
"manual",
"telemetry",
"static",
"smoke",
"script",
"other"
]
},
"sourceRef": {
"type": "object",
"additionalProperties": false,
"properties": {
"path": {
"type": "string",
"minLength": 1
},
"url": {
"type": "string",
"minLength": 1
},
"label": {
"type": "string"
},
"anchor": {
"type": "string"
}
},
"anyOf": [
{
"required": [
"path"
]
},
{
"required": [
"url"
]
}
]
},
"task": {
"type": "object",
"additionalProperties": false,
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"path": {
"type": "string",
"minLength": 1
},
"status": {
"enum": [
"planned",
"in_progress",
"done",
"deferred",
"blocked",
"unknown"
]
},
"title": {
"type": "string"
}
}
},
"policyOverride": {
"type": "object",
"additionalProperties": false,
"properties": {
"preferred_modalities": {
"type": "array",
"items": {
"$ref": "#/$defs/evidenceType"
}
},
"discouraged_modalities": {
"type": "array",
"items": {
"$ref": "#/$defs/evidenceType"
}
},
"required_modalities": {
"type": "array",
"items": {
"$ref": "#/$defs/evidenceType"
}
},
"required_contexts": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"require_gate": {
"type": "boolean"
},
"notes": {
"type": "string"
}
}
},
"proofGap": {
"type": "object",
"additionalProperties": false,
"required": [
"summary"
],
"properties": {
"summary": {
"type": "string",
"minLength": 1
},
"next_step": {
"type": [
"string",
"null"
]
}
}
},
"evidence": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"type": {
"$ref": "#/$defs/evidenceType"
},
"path": {
"type": "string"
},
"url": {
"type": "string"
},
"command": {
"type": "string"
},
"contexts": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"notes": {
"type": "string"
},
"test_case": {
"type": "string"
}
}
},
"expectation": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"title",
"source_type",
"category",
"priority"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"title": {
"type": "string",
"minLength": 1
},
"description": {
"type": "string"
},
"source_type": {
"enum": [
"SOURCE",
"IMPLEMENTATION",
"INFERRED"
]
},
"structure_provenance": {
"$ref": "#/$defs/structureProvenance"
},
"source_refs": {
"type": "array",
"items": {
"$ref": "#/$defs/sourceRef"
}
},
"category": {
"enum": [
"billing",
"auth",
"security",
"data",
"ui",
"api",
"ops",
"performance",
"privacy",
"compliance",
"other"
]
},
"priority": {
"enum": [
"P0",
"P1",
"P2",
"P3",
"UNKNOWN"
]
},
"tasks": {
"type": "array",
"items": {
"$ref": "#/$defs/task"
}
},
"policy_override": {
"$ref": "#/$defs/policyOverride"
},
"evidence": {
"type": "array",
"items": {
"$ref": "#/$defs/evidence"
}
},
"proof_gap": {
"$ref": "#/$defs/proofGap"
},
"accepted_gaps": {
"type": "array",
"items": {
"$ref": "#/$defs/gapCategory"
}
}
}
}
}
}
+2
-1

@@ -1,2 +0,3 @@

export { BuildRecommendationExportInput, FixPromptRecord, GenerateFixPromptsInput, GenerateFixPromptsResult, RankedRecommendationRecord, RecommendationExportBuildResult, RecommendationExportFile, RecommendationFixPromptRecord, RecommendationProfileRecord, RecommendationScope, buildRecommendationExport, collectFixPrompts, fixPromptsOutputPath, generateFixPrompts, recommendationExportOutputPath, renderFixPromptsMarkdown } from '@quality-center/core';
export { BuildRecommendationExportInput, FixPromptRecord, GenerateFixPromptsInput, GenerateFixPromptsResult, RankedRecommendationRecord, RecommendationExportBuildResult, RecommendationExportFile, RecommendationFixPromptRecord, RecommendationProfileRecord, RecommendationScope, buildRecommendationExport, collectFixPrompts, fixPromptsOutputPath, generateFixPrompts, recommendationExportOutputPath, renderFixPromptsMarkdown } from '@shiplightai/quality-core';
export { GAP_CATEGORIES, GapCategory, JsonSchema, ParsedQualityMap, QualityMapDiagnostic, QualityMapDocument, QualityMapSource, QualityMapValidationResult, buildQualityMapJsonSchema, parseQualityMap, parseQualityMaps, serializeQualityMapJsonSchema, validateQualityMap } from '@shiplightai/quality-map';

@@ -3,0 +4,0 @@ interface CommandResult {

{
"name": "@shiplightai/quality-tools",
"version": "0.1.3",
"version": "0.2.0",
"type": "module",

@@ -18,2 +18,3 @@ "description": "Repo-local quality evidence analysis and fix-prompt tools.",

},
"./quality-map.schema.json": "./dist/quality-map.schema.json",
"./package.json": "./package.json"

@@ -32,3 +33,3 @@ },

"type": "git",
"url": "git+https://github.com/ShiplightAI/quality-center.git",
"url": "git+https://github.com/ShiplightAI/shipyard.git",
"directory": "packages/quality-tools"

@@ -40,2 +41,9 @@ },

},
"scripts": {
"build": "tsup",
"check:size": "node scripts/check-package-size.mjs",
"clean": "rm -rf dist",
"prepublishOnly": "pnpm -w test && pnpm build && pnpm check:size",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {

@@ -47,13 +55,8 @@ "adm-zip": "0.5.16",

"devDependencies": {
"@shiplightai/quality-core": "workspace:*",
"@shiplightai/quality-map": "workspace:*",
"@types/node": "25.9.1",
"tsup": "8.3.5",
"typescript": "5.9.3",
"@quality-center/core": "0.0.0"
},
"scripts": {
"build": "tsup",
"check:size": "node scripts/check-package-size.mjs",
"clean": "rm -rf dist",
"typecheck": "tsc -p tsconfig.json --noEmit"
"typescript": "5.9.3"
}
}
}

@@ -24,3 +24,3 @@ # @shiplightai/quality-tools

optional saved QC view, and writes recommendation JSON under
`.quality-center/generated/recommendations/`.
`.quality/generated/recommendations/`.

@@ -32,3 +32,3 @@ ## Generate Fix Prompts

--project-path . \
--output .quality-center/fix-prompts.md
--output .quality/fix-prompts.md
```

@@ -35,0 +35,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display