-
Notifications
You must be signed in to change notification settings - Fork 268
Expand file tree
/
Copy pathpackage.json
More file actions
157 lines (157 loc) · 13 KB
/
Copy pathpackage.json
File metadata and controls
157 lines (157 loc) · 13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "hve-core",
"version": "3.2.2",
"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 -File scripts/linting/Invoke-LinkLanguageCheck.ps1 -ExcludePaths \"scripts/tests/**\"",
"lint:md-links": "pwsh -File scripts/linting/Markdown-Link-Check.ps1",
"lint:frontmatter": "pwsh -NoProfile -File ./scripts/linting/Validate-MarkdownFrontmatter.ps1 -WarningsAsErrors -EnableSchemaValidation",
"lint:adr-consistency": "pwsh -NoProfile -File scripts/linting/Validate-AdrConsistency.ps1 -Paths docs/planning/adrs",
"lint:plugin-manifest": "pwsh -NoProfile -File scripts/plugins/Sync-PluginManifest.ps1 -Check",
"lint:hooks": "pwsh -File scripts/linting/Validate-HookManifests.ps1 -OutputPath logs/hook-manifest-validation-results.json",
"lint:design-intent": "pwsh -NoProfile -File scripts/linting/Validate-DesignIntent.ps1 -OutputPath logs/design-intent-validation-results.json",
"design-intent:schema:sync": "pwsh -NoProfile -File scripts/linting/Sync-DesignIntentSchema.ps1",
"lint:version-consistency": "pwsh -NoProfile -File ./scripts/security/Test-ActionVersionConsistency.ps1 -FailOnMismatch -Format Json -OutputPath logs/action-version-consistency-results.json",
"lint:permissions": "pwsh -NoProfile -File ./scripts/security/Test-WorkflowPermissions.ps1 -FailOnViolation",
"lint:workflow-runner": "pwsh -NoProfile -File ./scripts/security/Test-WorkflowRunner.ps1 -FailOnViolation",
"lint:extension-artifact-naming": "pwsh -NoProfile -File scripts/linting/Test-ExtensionArtifactNaming.ps1",
"lint:dangerous-workflow": "pwsh -NoProfile -File ./scripts/security/Test-DangerousWorkflow.ps1 -FailOnViolation",
"lint:dependency-pinning": "pwsh -NoProfile -File ./scripts/security/Test-DependencyPinning.ps1 -FailOnUnpinned",
"lint:public-dependency-feeds": "pwsh -NoProfile -File scripts/security/Test-PublicDependencyFeeds.ps1 -FailOnViolation",
"lint:pr-gate": "pwsh -NoProfile -File ./scripts/security/Test-PrValidationGate.ps1 -FailOnViolation",
"lint:ps-module-pins": "pwsh -NoProfile -File scripts/security/Test-PSModulePins.ps1",
"audit:pip": "pwsh -NoProfile -File scripts/security/Invoke-PipAudit.ps1",
"audit:npm": "npm run audit:npm:root && npm run audit:npm:docs",
"audit:npm:root": "audit-ci --config audit-ci.json",
"audit:npm:docs": "audit-ci --config audit-ci.json --directory docs/docusaurus",
"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 -File ./scripts/linting/Validate-PlannerArtifacts.ps1 -FailOnMissing",
"lint:asset-docs": "pwsh -NoProfile -File scripts/linting/Validate-AssetDocs.ps1 -FailOnMissing -CheckSync",
"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",
"validate:local": "npm run lint:plugin-manifest && npm run lint:tables && npm run lint:md && npm run lint:ps && npm run lint:yaml && npm run lint:json && npm run lint:links && npm run lint:md-links && npm run lint:frontmatter && npm run lint:adr-consistency && npm run lint:hooks && npm run lint:design-intent && npm run lint:version-consistency && npm run lint:permissions && npm run lint:workflow-runner && npm run lint:dangerous-workflow && npm run lint:dependency-pinning && npm run lint:public-dependency-feeds && npm run lint:pr-gate && npm run lint:ps-module-pins && npm run lint:extension-artifact-naming && npm run lint:py && npm run validate:skills && npm run lint:ai-artifacts && npm run lint:asset-docs && npm run lint:models && npm run validate:devcontainer-lockfile",
"lint:tables": "pwsh -NoProfile -File scripts/linting/Format-MarkdownTables.ps1 -Check",
"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 && npm run extension:postprocess",
"extension:postprocess": "markdownlint-cli2 \"extension/**/*.md\" --fix && markdown-table-formatter \"extension/**/*.md\"",
"extension:package": "pwsh ./scripts/extension/Package-Extension.ps1",
"extension:package:prerelease": "pwsh ./scripts/extension/Package-Extension.ps1 -PreRelease",
"validate:copyright": "pwsh -File scripts/linting/Test-CopyrightHeaders.ps1",
"validate:devcontainer-changelog": "pwsh -NoProfile -File scripts/devcontainer/Write-DevcontainerChangeLog.ps1",
"validate:devcontainer-lockfile": "pwsh -NoProfile -File ./scripts/devcontainer/Test-DevcontainerLockfile.ps1 -FailOnViolation",
"validate:skills": "pwsh -NoProfile -File ./scripts/linting/Validate-SkillStructure.ps1 -WarningsAsErrors",
"validate:gap-citations": "uv run --project .github/skills/project-planning/security-planning python .github/skills/project-planning/security-planning/scripts/validate_gap_citations.py",
"validate:ai-artifacts": "pwsh -NoProfile -File ./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",
"test:node": "node --test",
"ci:test:a11y:smoke": "node --test \".github/skills/accessibility/accessibility/tests/runtime_a11y/runner/probe-smoke/*.smoke.mjs\"",
"plugin:postprocess": "markdownlint-cli2 \"docs/plugins/*.md\" --fix && markdown-table-formatter \"docs/plugins/*.md\"",
"plugin:sync": "pwsh -NoProfile -File scripts/plugins/Sync-PluginManifest.ps1",
"plugin:validate": "npm run lint:plugin-manifest && npm run lint:hooks",
"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:generate": "pwsh -NoProfile -File scripts/docs/Generate-AssetDocs.ps1",
"docs:generate:check": "pwsh -NoProfile -File scripts/docs/Generate-AssetDocs.ps1 -WhatIf",
"docs:test:coverage": "npm --prefix docs/docusaurus run test:coverage",
"ci:docs:test:e2e": "npm --prefix docs/docusaurus run ci:test:e2e",
"ci:docs:setup:e2e": "npm --prefix docs/docusaurus exec -- playwright install --with-deps chrome",
"docs:lint": "npm --prefix docs/docusaurus run lint:a11y",
"docs:lint:labels": "npm --prefix docs/docusaurus run lint:label-registry",
"docs:typecheck": "npm --prefix docs/docusaurus run typecheck",
"validate:docs": "npm run docs:lint && npm run docs:lint:labels && npm run docs:typecheck && npm run docs:test",
"docs:serve": "npm --prefix docs/docusaurus run serve",
"ci:eval:lint:vally": "pwsh -NoProfile -File scripts/evals/Build-AgentBehaviorSpec.ps1 -WhatIf && vally lint --eval-spec evals/",
"ci:eval:lint:schema": "pwsh -NoProfile -File scripts/evals/Test-EvalSpec.ps1",
"ci:eval:lint:skills": "vally lint .github/skills/",
"ci:eval:lint:text": "pwsh -NoProfile -File scripts/evals/Test-EvalSpecText.ps1",
"ci:eval:lint:safety": "pwsh -NoProfile -File scripts/evals/Test-VallyTestSafety.ps1 -OutputPath logs/vally-test-safety.json",
"ci:eval:presence": "pwsh -NoProfile -File scripts/evals/Test-StimulusPresence.ps1 -ManifestPath logs/changed-ai-artifacts.json -EvalRoot evals/ -OutFile logs/stimulus-presence.json",
"ci:eval:execute": "pwsh -NoProfile -File scripts/evals/Invoke-VallyEvals.ps1 -ManifestPath logs/changed-ai-artifacts.json -LogsDir logs/",
"ci:eval:moderate": "pwsh -NoProfile -File scripts/evals/Invoke-ContentModeration.ps1",
"ci:eval:moderate:corpus": "pwsh -NoProfile -File scripts/evals/Invoke-CorpusModeration.ps1 -ManifestPath logs/changed-ai-artifacts.json -OutFile logs/moderation-corpus.json",
"ci:eval:moderate:artifacts": "pwsh -NoProfile -File scripts/evals/Invoke-ArtifactModeration.ps1 -ManifestPath logs/changed-ai-artifacts.json -OutFile logs/moderation-artifacts.json",
"ci:eval:moderate:test": "pwsh -NoProfile -File scripts/tests/Invoke-PesterTests.ps1 -TestPath scripts/tests/evals/Invoke-ContentModeration.Tests.ps1",
"ci:eval:run": "vally eval --suite skill-quality && vally eval --suite agent-behavior && vally eval --suite script-validation",
"ci:eval:run:skills": "vally eval --suite skill-quality",
"ci:eval:run:agents": "vally eval --suite agent-behavior",
"ci:eval:run:scripts": "vally eval --suite script-validation",
"ci:eval:run:conformance": "vally eval --suite agent-conformance-accessibility-planner && vally eval --suite agent-conformance-dt-coach && vally eval --suite agent-conformance-privacy-planner && vally eval --suite agent-conformance-rai-planner && vally eval --suite agent-conformance-security-planner && vally eval --suite agent-conformance-sssc-planner",
"ci:eval:compare": "vally compare",
"ci:eval:equivalence": "pwsh -NoProfile -File scripts/evals/Invoke-BaselineEquivalence.ps1",
"ci:eval:dashboard": "pwsh -NoProfile -File scripts/evals/New-EquivalenceDashboard.ps1",
"ci:eval:run:equivalence": "vally eval --eval-spec evals/baseline-equivalence/baseline/eval.yaml --eval-spec evals/baseline-equivalence/customized/eval.yaml",
"ci:eval:behavior-prompts": "vally eval --eval-spec evals/behavior-conformance/prompts.eval.yaml",
"ci:eval:behavior-instructions": "vally eval --eval-spec evals/behavior-conformance/instructions.eval.yaml",
"ci:eval:behavior-skills": "vally eval --eval-spec evals/behavior-conformance/skill-behavior.eval.yaml",
"ci:eval:agent": "pwsh -NoProfile -File scripts/evals/Invoke-AgentMatrix.ps1",
"ci:eval:agent:matrix": "pwsh -NoProfile -File scripts/evals/Invoke-AgentMatrix.ps1 -All -Tier nightly",
"ci:eval:agent:matrix:dryrun": "pwsh -NoProfile -File scripts/evals/Invoke-AgentMatrix.ps1 -All -Tier nightly -WhatIf",
"ci:eval:agent:changed": "pwsh -NoProfile -Command \"& scripts/evals/Invoke-AgentMatrix.ps1 -Changed @((git diff --name-only (([Environment]::GetEnvironmentVariable('EVAL_BASE_REF') ?? (git symbolic-ref --quiet --short refs/remotes/origin/HEAD) ?? 'origin/main') + '...HEAD'))) -Tier pr\"",
"ci:eval:agent:dashboard": "pwsh -NoProfile -File scripts/evals/New-AgentMatrixDashboard.ps1",
"ci:eval:agent:dashboard:open": "pwsh -NoProfile -File scripts/evals/New-AgentMatrixDashboard.ps1 -Open",
"ci:eval:agent:report": "npm run ci:eval:agent:matrix && npm run ci:eval:agent:dashboard",
"ci:eval:agent:report:dryrun": "npm run ci:eval:agent:matrix:dryrun && npm run ci:eval:agent:dashboard"
},
"devDependencies": {
"@cspell/cspell-json-reporter": "10.0.1",
"@microsoft/vally-cli": "0.14.0",
"@vscode/vsce": "3.9.2",
"alex": "11.0.1",
"audit-ci": "7.1.0",
"cspell": "10.0.1",
"markdown-link-check": "3.15.0",
"markdown-table-formatter": "1.7.0",
"markdownlint-cli2": "0.23.2",
"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": {
"@opentelemetry/core": "2.10.0",
"basic-ftp": "6.0.1",
"brace-expansion@^2": "2.1.4",
"brace-expansion@^5": "5.0.9",
"fast-uri": "3.1.5",
"form-data": "4.0.6",
"ip-address": "10.4.0",
"js-yaml": "4.3.1",
"linkify-it": "5.0.2",
"markdown-it": "14.2.0",
"picomatch@^2": "2.3.2",
"picomatch@^4": "4.0.4",
"smol-toml": "1.6.1",
"tmp": "0.2.7",
"undici": "7.29.0",
"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"
}