{
  "name": "hve-core",
  "version": "3.3.101",
  "description": "HVE Core",
  "private": true,
  "scripts": {
    "test:ps": "pwsh -NoProfile -File scripts/tests/Invoke-PesterTests.ps1",
    "test:activation": "pwsh -NoProfile -File scripts/tests/Invoke-PesterTests.ps1 -TestPath scripts/tests/agents/activation-harness/",
    "test:activation:baseline": "pwsh -NoProfile -File scripts/agents/activation-harness/Update-AgentActivationBaseline.ps1",
    "test:activation:baseline:check": "pwsh -NoProfile -File scripts/agents/activation-harness/Update-AgentActivationBaseline.ps1 -DryRun",
    "spell-check": "cspell \"**/*.{md,ts,js,json,yaml,yml}\"",
    "spell-check:fix": "cspell \"**/*.{md,ts,js,json,yaml,yml}\" --show-suggestions",
    "lint:md": "markdownlint-cli2 \"**/*.md\"",
    "lint:md:fix": "markdownlint-cli2 \"**/*.md\" --fix",
    "lint:ps": "pwsh -File scripts/linting/Invoke-PSScriptAnalyzer.ps1",
    "lint:yaml": "pwsh -File scripts/linting/Invoke-YamlLint.ps1",
    "lint:json": "pwsh -File scripts/linting/Invoke-JsonLint.ps1",
    "lint:links": "pwsh -NoProfile -Command \"& scripts/linting/Invoke-LinkLanguageCheck.ps1 -ExcludePaths 'scripts/tests/**'\"",
    "lint:md-links": "pwsh -File scripts/linting/Markdown-Link-Check.ps1",
    "lint:frontmatter": "pwsh -NoProfile -Command \"& './scripts/linting/Validate-MarkdownFrontmatter.ps1' -WarningsAsErrors -EnableSchemaValidation\"",
    "lint:adr-consistency": "pwsh -NoProfile -File scripts/linting/Validate-AdrConsistency.ps1 -Paths docs/planning/adrs",
    "lint:collections-metadata": "pwsh -NoProfile -Command \"./scripts/collections/Validate-Collections.ps1 -OutputPath logs/collection-validation-results.json\"",
    "lint:marketplace": "pwsh -File scripts/plugins/Validate-Marketplace.ps1 -OutputPath logs/marketplace-validation-results.json",
    "lint:version-consistency": "pwsh -NoProfile -Command \"./scripts/security/Test-ActionVersionConsistency.ps1 -FailOnMismatch -Format Json -OutputPath logs/action-version-consistency-results.json\"",
    "lint:permissions": "pwsh -NoProfile -Command \"& './scripts/security/Test-WorkflowPermissions.ps1' -FailOnViolation\"",
    "lint:dependency-pinning": "pwsh -NoProfile -Command \"& './scripts/security/Test-DependencyPinning.ps1' -FailOnUnpinned\"",
    "lint:ps-module-pins": "pwsh -NoProfile -File scripts/security/Test-PSModulePins.ps1",
    "audit:pip": "pwsh -NoProfile -File scripts/security/Invoke-PipAudit.ps1",
    "audit:npm": "audit-ci --config audit-ci.json",
    "rai:sign": "pwsh -NoProfile -File scripts/security/Sign-PlannerArtifacts.ps1",
    "security:sign": "pwsh -NoProfile -File scripts/security/Sign-PlannerArtifacts.ps1",
    "sssc:sign": "pwsh -NoProfile -File scripts/security/Sign-PlannerArtifacts.ps1",
    "lint:ai-artifacts": "pwsh -NoProfile -Command \"& './scripts/linting/Validate-PlannerArtifacts.ps1' -FailOnMissing\"",
    "lint:models": "pwsh -NoProfile -File scripts/linting/Test-ModelReferences.ps1 -OutputPath logs/model-validation-results.json",
    "lint:models:refresh": "pwsh -NoProfile -File scripts/linting/Update-ModelCatalog.ps1",
    "lint:all": "npm run format:tables && npm run lint:md && npm run lint:ps && npm run lint:yaml && npm run lint:json && npm run lint:links && npm run lint:frontmatter && npm run lint:adr-consistency && npm run lint:collections-metadata && npm run lint:marketplace && npm run lint:version-consistency && npm run lint:permissions && npm run lint:dependency-pinning && npm run lint:ps-module-pins && npm run lint:py && npm run validate:skills && npm run lint:ai-artifacts && npm run lint:models && npm run eval:lint:vally && npm run eval:lint:schema && npm run eval:lint:text && npm run eval:lint:safety",
    "format:tables": "pwsh -NoProfile -File scripts/linting/Format-MarkdownTables.ps1",
    "extension:prepare": "pwsh ./scripts/extension/Prepare-Extension.ps1 && npm run extension:postprocess",
    "extension:prepare:prerelease": "pwsh ./scripts/extension/Prepare-Extension.ps1 -Channel PreRelease && npm run extension:postprocess",
    "extension:postprocess": "markdownlint-cli2 \"extension/**/*.md\" \"collections/*.md\" --fix && markdown-table-formatter \"extension/**/*.md\" && markdown-table-formatter \"collections/*.md\"",
    "extension:package": "pwsh ./scripts/extension/Package-Extension.ps1",
    "package:extension": "npm run extension:package --",
    "extension:package:prerelease": "pwsh ./scripts/extension/Package-Extension.ps1 -PreRelease",
    "validate:copyright": "pwsh -File scripts/linting/Test-CopyrightHeaders.ps1",
    "validate:skills": "pwsh -NoProfile -Command \"& './scripts/linting/Validate-SkillStructure.ps1' -WarningsAsErrors\"",
    "validate:ai-artifacts": "pwsh -NoProfile -Command \"& './scripts/linting/Validate-PlannerArtifacts.ps1'\"",
    "lint:py": "pwsh -NoProfile -File ./scripts/linting/Invoke-PythonLint.ps1 -OutputPath logs/python-lint-results.json",
    "lint:py:fix": "pwsh -NoProfile -File ./scripts/linting/Invoke-PythonLint.ps1 -Fix -OutputPath logs/python-lint-fix-results.json",
    "test:py": "pwsh -NoProfile -File ./scripts/linting/Invoke-PythonTests.ps1 -OutputPath logs/python-test-results.json",
    "plugin:postprocess": "markdownlint-cli2 \"plugins/**/*.md\" \"collections/*.md\" --fix && markdown-table-formatter \"plugins/**/*.md\" && markdown-table-formatter \"collections/*.md\"",
    "plugin:generate": "pwsh -File scripts/plugins/Generate-Plugins.ps1 && npm run plugin:postprocess",
    "plugin:validate": "npm run lint:collections-metadata",
    "clean:logs": "pwsh -NoProfile -Command \"Get-ChildItem -Path logs -File -Recurse -Exclude .gitkeep | Remove-Item -Force\"",
    "docs:build": "npm --prefix docs/docusaurus run build",
    "docs:test": "npm --prefix docs/docusaurus test",
    "docs:serve": "npm --prefix docs/docusaurus run serve",
    "eval:lint:vally": "pwsh -NoProfile -File scripts/evals/Build-AgentBehaviorSpec.ps1 -WhatIf && vally lint --eval-spec evals/",
    "eval:lint:schema": "pwsh -NoProfile -File scripts/evals/Test-EvalSpec.ps1",
    "eval:lint:skills": "vally lint .github/skills/",
    "eval:lint:text": "pwsh -NoProfile -File scripts/evals/Test-EvalSpecText.ps1",
    "eval:lint:safety": "pwsh -NoProfile -File scripts/evals/Test-VallyTestSafety.ps1 -OutputPath logs/vally-test-safety.json",
    "eval:presence": "pwsh -NoProfile -File scripts/evals/Test-StimulusPresence.ps1 -ManifestPath logs/changed-ai-artifacts.json -EvalRoot evals/ -OutFile logs/stimulus-presence.json",
    "eval:execute": "pwsh -NoProfile -File scripts/evals/Invoke-VallyEvals.ps1 -ManifestPath logs/changed-ai-artifacts.json -LogsDir logs/",
    "eval:moderate": "pwsh -NoProfile -File scripts/evals/Invoke-ContentModeration.ps1",
    "eval:moderate:corpus": "pwsh -NoProfile -File scripts/evals/Invoke-CorpusModeration.ps1 -ManifestPath logs/changed-ai-artifacts.json -OutFile logs/moderation-corpus.json",
    "eval:run": "vally eval --suite skill-quality && vally eval --suite agent-behavior && vally eval --suite script-validation",
    "eval:run:skills": "vally eval --suite skill-quality",
    "eval:run:agents": "vally eval --suite agent-behavior",
    "eval:run:scripts": "vally eval --suite script-validation",
    "eval:compare": "vally compare",
    "eval:equivalence": "pwsh -NoProfile -File scripts/evals/Invoke-BaselineEquivalence.ps1",
    "eval:dashboard": "pwsh -NoProfile -File scripts/evals/New-EquivalenceDashboard.ps1",
    "eval:run:equivalence": "vally eval --eval-spec evals/baseline-equivalence/baseline/eval.yaml --eval-spec evals/baseline-equivalence/customized/eval.yaml",
    "eval:behavior-prompts": "vally eval evals/behavior-conformance/prompts.eval.yaml",
    "eval:behavior-instructions": "vally eval evals/behavior-conformance/instructions.eval.yaml",
    "eval:behavior-skills": "vally eval evals/behavior-conformance/skill-behavior.eval.yaml",
    "eval:agent": "pwsh -NoProfile -File scripts/evals/Invoke-AgentMatrix.ps1",
    "eval:agent:matrix": "pwsh -NoProfile -File scripts/evals/Invoke-AgentMatrix.ps1 -All -Tier nightly",
    "eval:agent:matrix:dryrun": "pwsh -NoProfile -Command \"& scripts/evals/Invoke-AgentMatrix.ps1 -All -Tier nightly -WhatIf\"",
    "eval:agent:changed": "pwsh -NoProfile -Command \"& { $base = $env:EVAL_BASE_REF; if (-not $base) { $base = (git symbolic-ref --quiet --short refs/remotes/origin/HEAD) }; if (-not $base) { $base = 'origin/main' }; $changed = (git diff --name-only ($base + '...HEAD')); if (-not $changed) { $changed = @() } ; & scripts/evals/Invoke-AgentMatrix.ps1 -Changed $changed -Tier pr }\"",
    "eval:agent:dashboard": "pwsh -NoProfile -File scripts/evals/New-AgentMatrixDashboard.ps1",
    "eval:agent:dashboard:open": "pwsh -NoProfile -File scripts/evals/New-AgentMatrixDashboard.ps1 -Open",
    "eval:agent:report": "npm run eval:agent:matrix && npm run eval:agent:dashboard:open",
    "eval:agent:report:dryrun": "npm run eval:agent:matrix:dryrun && npm run eval:agent:dashboard:open"
  },
  "devDependencies": {
    "@cspell/cspell-json-reporter": "10.0.1",
    "@microsoft/vally-cli": "0.5.0",
    "@vscode/vsce": "3.9.2",
    "alex": "11.0.1",
    "audit-ci": "7.1.0",
    "cspell": "10.0.1",
    "markdown-link-check": "3.14.2",
    "markdown-table-formatter": "1.7.0",
    "markdownlint-cli2": "0.22.1",
    "markdownlint-cli2-formatter-default": "0.0.6",
    "markdownlint-cli2-formatter-json": "0.0.9",
    "markdownlint-rule-search-replace": "1.2.0",
    "retext-english": "5.0.0",
    "retext-profanities": "8.0.0",
    "retext-stringify": "4.0.0",
    "unified": "11.0.5"
  },
  "overrides": {
    "basic-ftp": "6.0.1",
    "brace-expansion@^5": "5.0.6",
    "ip-address": "10.2.0",
    "markdown-it": "14.1.1",
    "picomatch@^2": "2.3.2",
    "picomatch@^4": "4.0.4",
    "smol-toml": "1.6.1",
    "tmp": "0.2.7",
    "undici": "7.24.1",
    "uuid": "14.0.0",
    "yaml": "2.8.3",
    "yauzl": "3.2.1"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/microsoft/hve-core.git"
  },
  "author": "Microsoft",
  "license": "MIT"
}
