@ryuenn3123/agentic-senior-core 4.4.0 → 5.2.0
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.
- package/.agents/plugins/agentic-senior-core/plugin.json +3 -0
- package/.agents/plugins/agentic-senior-core/rules/agentic-senior-core.md +131 -0
- package/.agents/plugins/agentic-senior-core/skills/asc/SKILL.md +16 -0
- package/.agents/plugins/agentic-senior-core/skills/asc-audit/SKILL.md +28 -0
- package/.agents/plugins/agentic-senior-core/skills/asc-refactor/SKILL.md +35 -0
- package/.agents/plugins/agentic-senior-core/skills/asc-review/SKILL.md +54 -0
- package/.agents/rules/agentic-senior-core.md +131 -0
- package/.claude-plugin/marketplace.json +17 -0
- package/.claude-plugin/plugin.json +17 -0
- package/.clinerules/agentic-senior-core.md +94 -0
- package/.codex-plugin/plugin.json +24 -0
- package/.cursor/rules/agentic-senior-core.mdc +99 -0
- package/.devin-plugin/plugin.json +13 -0
- package/.github/copilot-instructions.md +94 -0
- package/.github/plugin/marketplace.json +20 -0
- package/.github/plugin/plugin.json +16 -0
- package/.kiro/steering/agentic-senior-core.md +94 -0
- package/.openclaw/skills/asc/SKILL.md +23 -0
- package/.openclaw/skills/asc-audit/SKILL.md +28 -0
- package/.openclaw/skills/asc-review/SKILL.md +54 -0
- package/.opencode/plugins/agentic-senior-core.mjs +31 -0
- package/.windsurf/rules/agentic-senior-core.md +94 -0
- package/AGENTS.md +126 -127
- package/CONTRIBUTING.md +93 -63
- package/README.md +190 -110
- package/__init__.py +61 -0
- package/bin/agentic-senior-core.js +42 -41
- package/commands/asc-audit.md +1 -0
- package/commands/asc-audit.toml +2 -0
- package/commands/asc-help.md +9 -0
- package/commands/asc-help.toml +2 -0
- package/commands/asc-refactor.md +1 -0
- package/commands/asc-refactor.toml +2 -0
- package/commands/asc-review.md +1 -0
- package/commands/asc-review.toml +2 -0
- package/gemini-extension.json +10 -0
- package/hooks/copilot-hooks.json +21 -0
- package/hooks/hooks.json +31 -0
- package/hooks/session-start.js +36 -0
- package/hooks/subagent-start.js +38 -0
- package/lib/cli/commands/adapter.mjs +109 -0
- package/lib/cli/commands/clean.mjs +63 -0
- package/lib/cli/commands/status.mjs +94 -0
- package/package.json +43 -60
- package/plugin.yaml +16 -0
- package/scripts/uninstall.js +38 -0
- package/skills/asc/SKILL.md +16 -0
- package/skills/asc-audit/SKILL.md +28 -0
- package/skills/asc-refactor/SKILL.md +35 -0
- package/skills/asc-review/SKILL.md +54 -0
- package/.agent-context/policies/llm-judge-threshold.json +0 -29
- package/.agent-context/prompts/bootstrap-design.md +0 -63
- package/.agent-context/prompts/compact-natural-mode.md +0 -100
- package/.agent-context/prompts/init-project.md +0 -60
- package/.agent-context/prompts/refactor.md +0 -38
- package/.agent-context/prompts/review-code.md +0 -31
- package/.agent-context/review-checklists/architecture-review.md +0 -57
- package/.agent-context/review-checklists/pr-checklist.md +0 -134
- package/.agent-context/rules/api-docs.md +0 -24
- package/.agent-context/rules/api-versioning.md +0 -16
- package/.agent-context/rules/architecture.md +0 -38
- package/.agent-context/rules/background-jobs.md +0 -17
- package/.agent-context/rules/config-and-flags.md +0 -16
- package/.agent-context/rules/database-design.md +0 -18
- package/.agent-context/rules/docker-runtime.md +0 -17
- package/.agent-context/rules/error-handling.md +0 -16
- package/.agent-context/rules/event-driven.md +0 -16
- package/.agent-context/rules/frontend-architecture.md +0 -54
- package/.agent-context/rules/microservices.md +0 -16
- package/.agent-context/rules/migrations.md +0 -16
- package/.agent-context/rules/observability.md +0 -16
- package/.agent-context/rules/performance.md +0 -16
- package/.agent-context/rules/realtime.md +0 -16
- package/.agent-context/rules/resilience.md +0 -18
- package/.agent-context/rules/security.md +0 -18
- package/.agent-context/rules/testing.md +0 -16
- package/.agent-context/state/README.md +0 -25
- package/.agent-context/state/architecture-map.md +0 -40
- package/.agent-context/state/benchmark-comparison-schema.json +0 -181
- package/.agent-context/state/benchmark-reproducibility.json +0 -87
- package/.agent-context/state/benchmark-thresholds.json +0 -10
- package/.agent-context/state/benchmark-writer-judge-config.json +0 -58
- package/.agent-context/state/dependency-map.md +0 -41
- package/.agent-context/state/memory-adapter-contract.json +0 -52
- package/.agent-context/state/memory-schema-v1.json +0 -88
- package/GEMINI.md +0 -1
- package/benchmarks/README.md +0 -60
- package/benchmarks/compact-natural-mode/fixtures.mjs +0 -359
- package/benchmarks/compact-natural-mode/scorer.mjs +0 -331
- package/benchmarks/runtime-token-saver/fixtures.mjs +0 -836
- package/lib/cli/adaptive-context/catalog.mjs +0 -394
- package/lib/cli/adaptive-context/file-signals.mjs +0 -100
- package/lib/cli/adaptive-context/implications.mjs +0 -44
- package/lib/cli/adaptive-context.mjs +0 -151
- package/lib/cli/audits/typography-palette-anti-repeat/color-utils.mjs +0 -156
- package/lib/cli/audits/typography-palette-anti-repeat/file-scanner.mjs +0 -103
- package/lib/cli/audits/typography-palette-anti-repeat/typography-utils.mjs +0 -70
- package/lib/cli/backup.mjs +0 -210
- package/lib/cli/commands/context.mjs +0 -140
- package/lib/cli/commands/init/project-context.mjs +0 -60
- package/lib/cli/commands/init/runtime-environment.mjs +0 -59
- package/lib/cli/commands/init/setup-decisions.mjs +0 -83
- package/lib/cli/commands/init.mjs +0 -654
- package/lib/cli/commands/launch.mjs +0 -76
- package/lib/cli/commands/optimize.mjs +0 -284
- package/lib/cli/commands/rollback.mjs +0 -64
- package/lib/cli/commands/upgrade/token-optimization-state.mjs +0 -51
- package/lib/cli/commands/upgrade.mjs +0 -451
- package/lib/cli/compiler.mjs +0 -187
- package/lib/cli/constants.mjs +0 -136
- package/lib/cli/detector/constants.mjs +0 -135
- package/lib/cli/detector/design-evidence/collector.mjs +0 -256
- package/lib/cli/detector/design-evidence/constants.mjs +0 -39
- package/lib/cli/detector/design-evidence/file-traversal.mjs +0 -83
- package/lib/cli/detector/design-evidence/structured-attribute-evidence.mjs +0 -117
- package/lib/cli/detector/design-evidence/summary.mjs +0 -109
- package/lib/cli/detector/design-evidence/utility-helpers.mjs +0 -122
- package/lib/cli/detector/design-evidence.mjs +0 -25
- package/lib/cli/detector/stack-detection.mjs +0 -243
- package/lib/cli/detector/ui-signals.mjs +0 -150
- package/lib/cli/detector/workspace-scan.mjs +0 -177
- package/lib/cli/detector.mjs +0 -23
- package/lib/cli/init-detection-flow.mjs +0 -48
- package/lib/cli/init-options.mjs +0 -237
- package/lib/cli/init-selection.mjs +0 -29
- package/lib/cli/memory-continuity.mjs +0 -537
- package/lib/cli/preflight.mjs +0 -76
- package/lib/cli/project-scaffolder/constants.mjs +0 -69
- package/lib/cli/project-scaffolder/discovery.mjs +0 -272
- package/lib/cli/project-scaffolder/prompt-builders.mjs +0 -171
- package/lib/cli/project-scaffolder/storage.mjs +0 -144
- package/lib/cli/project-scaffolder/ui-scope-detection.mjs +0 -36
- package/lib/cli/project-scaffolder.mjs +0 -29
- package/lib/cli/rollback.mjs +0 -66
- package/lib/cli/token-optimization.mjs +0 -401
- package/lib/cli/utils/filesystem.mjs +0 -81
- package/lib/cli/utils/managed-surface.mjs +0 -280
- package/lib/cli/utils/prompting.mjs +0 -44
- package/lib/cli/utils.mjs +0 -479
- package/mcp.json +0 -134
- package/scripts/adaptive-context/fixtures.mjs +0 -183
- package/scripts/adaptive-context-benchmark.mjs +0 -9
- package/scripts/ascx-runtime-token-saver-benchmark.mjs +0 -9
- package/scripts/benchmark-evidence-bundle.mjs +0 -645
- package/scripts/benchmark-gate.mjs +0 -121
- package/scripts/benchmark-intelligence.mjs +0 -33
- package/scripts/benchmark-writer-judge-matrix.mjs +0 -379
- package/scripts/build-release-benchmark-bundle.mjs +0 -202
- package/scripts/bump-version.mjs +0 -103
- package/scripts/clean-local-artifacts.mjs +0 -78
- package/scripts/compact-natural-mode-benchmark.mjs +0 -9
- package/scripts/context-triggered-audit.mjs +0 -391
- package/scripts/detection-benchmark.mjs +0 -127
- package/scripts/docs-quality-drift-report.mjs +0 -358
- package/scripts/documentation-boundary-audit.mjs +0 -305
- package/scripts/explain-on-demand-audit.mjs +0 -427
- package/scripts/forbidden-content-check.mjs +0 -123
- package/scripts/frontend-usability-audit.mjs +0 -243
- package/scripts/generate-sbom.mjs +0 -61
- package/scripts/governance-weekly-report.mjs +0 -466
- package/scripts/llm-judge/checklist-loader.mjs +0 -45
- package/scripts/llm-judge/constants.mjs +0 -66
- package/scripts/llm-judge/diff-collection.mjs +0 -74
- package/scripts/llm-judge/prompting.mjs +0 -78
- package/scripts/llm-judge/providers.mjs +0 -111
- package/scripts/llm-judge/verdict.mjs +0 -134
- package/scripts/llm-judge.mjs +0 -200
- package/scripts/memory-continuity-benchmark.mjs +0 -322
- package/scripts/quality-trend-report.mjs +0 -289
- package/scripts/release-gate/audit-checks.mjs +0 -441
- package/scripts/release-gate/constants.mjs +0 -53
- package/scripts/release-gate/runtime.mjs +0 -63
- package/scripts/release-gate/static-checks.mjs +0 -182
- package/scripts/release-gate.mjs +0 -42
- package/scripts/rules-guardian-audit.mjs +0 -580
- package/scripts/single-source-lazy-loading-audit.mjs +0 -449
- package/scripts/sync-thin-adapters.mjs +0 -72
- package/scripts/token-optimization-benchmark.mjs +0 -252
- package/scripts/ui-design-judge/constants.mjs +0 -13
- package/scripts/ui-design-judge/design-execution-summary.mjs +0 -81
- package/scripts/ui-design-judge/git-input.mjs +0 -134
- package/scripts/ui-design-judge/prompting.mjs +0 -52
- package/scripts/ui-design-judge/providers.mjs +0 -102
- package/scripts/ui-design-judge/reporting.mjs +0 -183
- package/scripts/ui-design-judge/rubric-calibration.mjs +0 -214
- package/scripts/ui-design-judge/rubric-goldset.json +0 -188
- package/scripts/ui-design-judge.mjs +0 -319
- package/scripts/ui-rubric-calibration.mjs +0 -35
- package/scripts/validate/audits/cache-layer-contract.mjs +0 -230
- package/scripts/validate/audits/caching-scope-hygiene.mjs +0 -235
- package/scripts/validate/audits/file-size.mjs +0 -158
- package/scripts/validate/audits/reflection-citations.mjs +0 -130
- package/scripts/validate/audits/release-bundle.mjs +0 -135
- package/scripts/validate/audits/rule-id-uniqueness.mjs +0 -278
- package/scripts/validate/config.mjs +0 -501
- package/scripts/validate/coverage-checks.mjs +0 -446
- package/scripts/validate/file-structure.mjs +0 -158
- package/scripts/validate/markdown-content.mjs +0 -109
- package/scripts/validate/project-metadata.mjs +0 -166
- package/scripts/validate/utils.mjs +0 -52
- package/scripts/validate.mjs +0 -267
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
// @ts-check
|
|
2
|
-
|
|
3
|
-
import { existsSync } from 'node:fs';
|
|
4
|
-
import { resolve } from 'node:path';
|
|
5
|
-
import {
|
|
6
|
-
ARCHITECTURE_REVIEW_CHECKLIST_PATH,
|
|
7
|
-
BACKEND_ARCHITECTURE_RULE_PATH,
|
|
8
|
-
BACKEND_REVIEW_CHECKLIST_PATH,
|
|
9
|
-
REFACTOR_PROMPT_PATH,
|
|
10
|
-
REPOSITORY_ROOT,
|
|
11
|
-
REQUIRED_ARCHITECTURE_REVIEW_CHECKLIST_SNIPPETS,
|
|
12
|
-
REQUIRED_BACKEND_ARCHITECTURE_RULE_SNIPPETS,
|
|
13
|
-
REQUIRED_BACKEND_REVIEW_CHECKLIST_SNIPPETS,
|
|
14
|
-
REQUIRED_REFACTOR_PROMPT_SNIPPETS,
|
|
15
|
-
VERSION_PATTERN,
|
|
16
|
-
} from './constants.mjs';
|
|
17
|
-
import { pushResult, readText } from './runtime.mjs';
|
|
18
|
-
|
|
19
|
-
export function runStaticReleaseChecks(results, diagnostics) {
|
|
20
|
-
const packageJsonPath = 'package.json';
|
|
21
|
-
const changelogPath = 'CHANGELOG.md';
|
|
22
|
-
|
|
23
|
-
const packageJsonContent = readText(packageJsonPath);
|
|
24
|
-
if (!packageJsonContent) {
|
|
25
|
-
pushResult(results, false, 'package-json-exists', `Missing ${packageJsonPath}`);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
let packageManifest = null;
|
|
29
|
-
if (packageJsonContent) {
|
|
30
|
-
try {
|
|
31
|
-
packageManifest = JSON.parse(packageJsonContent);
|
|
32
|
-
pushResult(results, true, 'package-json-parse', 'package.json is valid JSON');
|
|
33
|
-
} catch (packageParseError) {
|
|
34
|
-
const parseMessage = packageParseError instanceof Error ? packageParseError.message : 'Unknown parse error';
|
|
35
|
-
pushResult(results, false, 'package-json-parse', `Cannot parse package.json: ${parseMessage}`);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
const releaseVersion = packageManifest?.version;
|
|
40
|
-
diagnostics.releaseVersion = releaseVersion ?? null;
|
|
41
|
-
|
|
42
|
-
if (!releaseVersion || !VERSION_PATTERN.test(releaseVersion)) {
|
|
43
|
-
pushResult(results, false, 'version-semver', `Invalid package version: ${String(releaseVersion)}`);
|
|
44
|
-
} else {
|
|
45
|
-
pushResult(results, true, 'version-semver', `Version ${releaseVersion} matches SemVer format`);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
const changelogContent = readText(changelogPath);
|
|
49
|
-
if (!changelogContent) {
|
|
50
|
-
pushResult(results, false, 'changelog-exists', `Missing ${changelogPath}`);
|
|
51
|
-
} else if (!releaseVersion) {
|
|
52
|
-
pushResult(results, false, 'changelog-version-entry', 'Cannot check changelog because version is invalid');
|
|
53
|
-
} else if (!changelogContent.includes(`## ${releaseVersion} - `)) {
|
|
54
|
-
pushResult(results, false, 'changelog-version-entry', `Missing release header for ${releaseVersion} in CHANGELOG.md`);
|
|
55
|
-
} else {
|
|
56
|
-
pushResult(results, true, 'changelog-version-entry', `Found release header for ${releaseVersion}`);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
const historyPath = 'docs/archive/HISTORY.md';
|
|
60
|
-
const historyContent = readText(historyPath);
|
|
61
|
-
if (!historyContent) {
|
|
62
|
-
pushResult(results, false, 'history-exists', `Missing ${historyPath}`);
|
|
63
|
-
} else if (!historyContent.includes('V1.8')) {
|
|
64
|
-
pushResult(results, false, 'history-v18', 'Project history does not mention V1.8 release track');
|
|
65
|
-
} else {
|
|
66
|
-
pushResult(results, true, 'history-v18', 'Project history includes V1.8 release track');
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
const requiredOperationsFiles = [
|
|
71
|
-
'.agent-context/review-checklists/architecture-review.md',
|
|
72
|
-
'.github/workflows/release-gate.yml',
|
|
73
|
-
'.github/workflows/sbom-compliance.yml',
|
|
74
|
-
'.github/workflows/governance-weekly-report.yml',
|
|
75
|
-
'scripts/governance-weekly-report.mjs',
|
|
76
|
-
];
|
|
77
|
-
|
|
78
|
-
for (const requiredOperationsFile of requiredOperationsFiles) {
|
|
79
|
-
const absoluteRequiredPath = resolve(REPOSITORY_ROOT, requiredOperationsFile);
|
|
80
|
-
if (!existsSync(absoluteRequiredPath)) {
|
|
81
|
-
pushResult(results, false, 'required-operations-file', `Missing ${requiredOperationsFile}`);
|
|
82
|
-
continue;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
pushResult(results, true, 'required-operations-file', `${requiredOperationsFile} is present`);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
pushResult(
|
|
89
|
-
results,
|
|
90
|
-
true,
|
|
91
|
-
'compatibility-manifest-coverage',
|
|
92
|
-
'Skill compatibility manifest gate has been retired in V3 purge mode'
|
|
93
|
-
);
|
|
94
|
-
|
|
95
|
-
const backendArchitectureRuleContent = readText(BACKEND_ARCHITECTURE_RULE_PATH);
|
|
96
|
-
if (!backendArchitectureRuleContent) {
|
|
97
|
-
pushResult(results, false, 'backend-universal-principles-rule-exists', `Missing ${BACKEND_ARCHITECTURE_RULE_PATH}`);
|
|
98
|
-
} else {
|
|
99
|
-
pushResult(results, true, 'backend-universal-principles-rule-exists', `${BACKEND_ARCHITECTURE_RULE_PATH} is present`);
|
|
100
|
-
|
|
101
|
-
const missingBackendArchitectureRuleSnippets = REQUIRED_BACKEND_ARCHITECTURE_RULE_SNIPPETS.filter(
|
|
102
|
-
(requiredSnippet) => !backendArchitectureRuleContent.includes(requiredSnippet)
|
|
103
|
-
);
|
|
104
|
-
|
|
105
|
-
if (missingBackendArchitectureRuleSnippets.length === 0) {
|
|
106
|
-
pushResult(results, true, 'backend-universal-principles-rule-coverage', 'Backend universal rule snippets are complete');
|
|
107
|
-
} else {
|
|
108
|
-
pushResult(
|
|
109
|
-
results,
|
|
110
|
-
false,
|
|
111
|
-
'backend-universal-principles-rule-coverage',
|
|
112
|
-
`Missing backend universal rule snippets: ${missingBackendArchitectureRuleSnippets.join(', ')}`
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
const backendReviewChecklistContent = readText(BACKEND_REVIEW_CHECKLIST_PATH);
|
|
118
|
-
if (!backendReviewChecklistContent) {
|
|
119
|
-
pushResult(results, false, 'backend-universal-principles-checklist-exists', `Missing ${BACKEND_REVIEW_CHECKLIST_PATH}`);
|
|
120
|
-
} else {
|
|
121
|
-
pushResult(results, true, 'backend-universal-principles-checklist-exists', `${BACKEND_REVIEW_CHECKLIST_PATH} is present`);
|
|
122
|
-
|
|
123
|
-
const missingBackendChecklistSnippets = REQUIRED_BACKEND_REVIEW_CHECKLIST_SNIPPETS.filter(
|
|
124
|
-
(requiredSnippet) => !backendReviewChecklistContent.includes(requiredSnippet)
|
|
125
|
-
);
|
|
126
|
-
|
|
127
|
-
if (missingBackendChecklistSnippets.length === 0) {
|
|
128
|
-
pushResult(results, true, 'backend-universal-principles-checklist-coverage', 'Backend review checklist snippets are complete');
|
|
129
|
-
} else {
|
|
130
|
-
pushResult(
|
|
131
|
-
results,
|
|
132
|
-
false,
|
|
133
|
-
'backend-universal-principles-checklist-coverage',
|
|
134
|
-
`Missing backend review checklist snippets: ${missingBackendChecklistSnippets.join(', ')}`
|
|
135
|
-
);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
const refactorPromptContent = readText(REFACTOR_PROMPT_PATH);
|
|
140
|
-
if (!refactorPromptContent) {
|
|
141
|
-
pushResult(results, false, 'backend-universal-principles-refactor-guidance-exists', `Missing ${REFACTOR_PROMPT_PATH}`);
|
|
142
|
-
} else {
|
|
143
|
-
pushResult(results, true, 'backend-universal-principles-refactor-guidance-exists', `${REFACTOR_PROMPT_PATH} is present`);
|
|
144
|
-
|
|
145
|
-
const missingRefactorPromptSnippets = REQUIRED_REFACTOR_PROMPT_SNIPPETS.filter(
|
|
146
|
-
(requiredSnippet) => !refactorPromptContent.includes(requiredSnippet)
|
|
147
|
-
);
|
|
148
|
-
|
|
149
|
-
if (missingRefactorPromptSnippets.length === 0) {
|
|
150
|
-
pushResult(results, true, 'backend-universal-principles-refactor-guidance-coverage', 'Backend refactor guidance snippets are complete');
|
|
151
|
-
} else {
|
|
152
|
-
pushResult(
|
|
153
|
-
results,
|
|
154
|
-
false,
|
|
155
|
-
'backend-universal-principles-refactor-guidance-coverage',
|
|
156
|
-
`Missing backend refactor guidance snippets: ${missingRefactorPromptSnippets.join(', ')}`
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
const architectureReviewChecklistContent = readText(ARCHITECTURE_REVIEW_CHECKLIST_PATH);
|
|
162
|
-
if (!architectureReviewChecklistContent) {
|
|
163
|
-
pushResult(results, false, 'architecture-review-checklist-exists', `Missing ${ARCHITECTURE_REVIEW_CHECKLIST_PATH}`);
|
|
164
|
-
} else {
|
|
165
|
-
pushResult(results, true, 'architecture-review-checklist-exists', `${ARCHITECTURE_REVIEW_CHECKLIST_PATH} is present`);
|
|
166
|
-
|
|
167
|
-
const missingArchitectureChecklistSnippets = REQUIRED_ARCHITECTURE_REVIEW_CHECKLIST_SNIPPETS.filter(
|
|
168
|
-
(requiredSnippet) => !architectureReviewChecklistContent.includes(requiredSnippet)
|
|
169
|
-
);
|
|
170
|
-
|
|
171
|
-
if (missingArchitectureChecklistSnippets.length === 0) {
|
|
172
|
-
pushResult(results, true, 'architecture-review-checklist-coverage', 'Architecture review checklist sections are complete');
|
|
173
|
-
} else {
|
|
174
|
-
pushResult(
|
|
175
|
-
results,
|
|
176
|
-
false,
|
|
177
|
-
'architecture-review-checklist-coverage',
|
|
178
|
-
`Missing architecture review checklist sections: ${missingArchitectureChecklistSnippets.join(', ')}`
|
|
179
|
-
);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
package/scripts/release-gate.mjs
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* release-gate.mjs
|
|
5
|
-
*
|
|
6
|
-
* Operations release gate for V1.8.
|
|
7
|
-
* Produces machine-readable output for CI and fails fast on missing release evidence.
|
|
8
|
-
*
|
|
9
|
-
* Validation anchors kept here intentionally:
|
|
10
|
-
* - documentation-boundary-hard-rule
|
|
11
|
-
* - documentation-boundary-diagnostics-machine-readable
|
|
12
|
-
* - diagnostics.documentationBoundaryAudit
|
|
13
|
-
* - auto-docs-sync-scope-phase1
|
|
14
|
-
* - auto-docs-sync-rollout-metrics
|
|
15
|
-
* - ui-design-judge-structured-diagnostics
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
import { runAuditReleaseChecks } from './release-gate/audit-checks.mjs';
|
|
19
|
-
import { runStaticReleaseChecks } from './release-gate/static-checks.mjs';
|
|
20
|
-
|
|
21
|
-
function runReleaseGate() {
|
|
22
|
-
const results = [];
|
|
23
|
-
const diagnostics = {};
|
|
24
|
-
|
|
25
|
-
runStaticReleaseChecks(results, diagnostics);
|
|
26
|
-
runAuditReleaseChecks(results, diagnostics);
|
|
27
|
-
|
|
28
|
-
const failureCount = results.filter((checkResult) => !checkResult.passed).length;
|
|
29
|
-
const releaseGateReport = {
|
|
30
|
-
generatedAt: new Date().toISOString(),
|
|
31
|
-
gateName: 'release-gate',
|
|
32
|
-
passed: failureCount === 0,
|
|
33
|
-
failureCount,
|
|
34
|
-
diagnostics,
|
|
35
|
-
results,
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
console.log(JSON.stringify(releaseGateReport, null, 2));
|
|
39
|
-
process.exit(releaseGateReport.passed ? 0 : 1);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
runReleaseGate();
|