{
  "name": "@aihq/harness",
  "version": "6.1.0",
  "description": "Enterprise AI Bootstrapping Harness — governed AI-assisted coding for enterprise workstations and repos: TLS trust, repo canon, skill supply chain, evidence",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/samartomar/ai-harness.git"
  },
  "homepage": "https://github.com/samartomar/ai-harness#readme",
  "bugs": {
    "url": "https://github.com/samartomar/ai-harness/issues"
  },
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./schemas/*.json": "./schemas/*.json",
    "./package.json": "./package.json"
  },
  "bin": {
    "aih": "dist/cli.js"
  },
  "files": [
    "dist",
    "schemas",
    "src/baseline-evidence/vendor-lock.json",
    "src/baseline-evidence/ecc-install-preview.json",
    "src/ecc-profile/serena-runtime",
    "tools/cisco-skill-scanner",
    "tools/trust-scanners",
    "aih-packs.json",
    "packs",
    "!packs/**/__pycache__",
    "!packs/**/*.py[cod]",
    "guides",
    "docs/assets",
    "README.md",
    "CHANGELOG.md",
    "NOTICE"
  ],
  "engines": {
    "node": ">=20"
  },
  "scripts": {
    "build": "tsup && tsc -p tsconfig.dts.json",
    "dev": "tsx src/cli.ts",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:cov": "vitest run --coverage",
    "check:artifacts": "tsx src/internals/check-tracked-artifacts.ts",
    "check:ai-runtime": "tsx src/internals/ai-runtime-inventory.ts --root .",
    "check:bugbounty-report": "tsx src/internals/bugbounty-report.ts --source .internal/defects/BUGBOUNTY.md",
    "check:self-hosting-canon": "vitest run tests/self-hosting/self-hosting.test.ts",
    "check:ecc-installer": "tsx src/internals/check-ecc-installer.ts",
    "check:baseline-analyzers": "tsx src/internals/check-baseline-analyzers.ts",
    "check:native-identity": "tsx src/internals/check-native-identity.ts",
    "check:baseline-pins": "tsx src/internals/check-baseline-pin-currency.ts",
    "baseline:native-identity": "tsx src/internals/check-native-identity.ts --write",
    "check:baseline-installable": "tsx src/internals/check-baseline-installable.ts",
    "check:lock-migration": "tsx src/internals/assert-identity-only-lock-migration.ts",
    "baseline:vet": "tsx src/baseline-evidence/generate.ts",
    "baseline:check": "tsx src/baseline-evidence/generate.ts --check",
    "release:preflight": "tsx src/internals/release-preflight.ts",
    "check:published-bin": "node dist/cli.js --version && node dist/cli.js --help",
    "check:published-library": "node -e \"import('@aihq/harness').then((m)=>{ if (typeof m.runSessionGuardrails !== 'function') throw new Error('missing library export'); })\"",
    "docs:lint": "tsx src/internals/check-repo-docs.ts",
    "lint": "biome check src tests",
    "lint:fix": "biome check --write src tests",
    "lint:ci": "biome ci src tests",
    "format": "biome format --write src tests",
    "typecheck": "tsc --noEmit",
    "verify": "npm run check:artifacts && npm run check:self-hosting-canon && npm run check:ecc-installer && npm run check:baseline-analyzers && npm run check:native-identity && npm run check:baseline-pins && npm run check:baseline-installable && npm run check:ai-runtime && npm run check:bugbounty-report && npm run docs:lint && npm run typecheck && npm run lint:ci && npm run test:cov && npm run build && npm run check:published-bin && npm run check:published-library"
  },
  "keywords": [
    "ai",
    "harness",
    "bootstrap",
    "devsecops",
    "enterprise",
    "claude-code",
    "mcp"
  ],
  "license": "Apache-2.0",
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "commander": "^15.0.0",
    "jsonc-parser": "^3.3.1",
    "yaml": "2.9.0",
    "zod": "^4.4.3"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.5.1",
    "@types/node": "^26.1.1",
    "@vitest/coverage-v8": "^4.1.10",
    "acorn": "^8.17.0",
    "ajv": "^8.20.0",
    "ajv-formats": "^3.0.1",
    "fast-check": "^4.8.0",
    "happy-dom": "^20.10.6",
    "tsup": "^8.5.1",
    "tsx": "^4.23.0",
    "typescript": "^7.0.2",
    "vitest": "^4.1.10"
  },
  "overrides": {
    "esbuild": "^0.28.1"
  }
}
