mandrel 2.110.0 → 2.112.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/agents/acceptance-critic.md +14 -0
- package/.agents/agents/auditor.md +14 -0
- package/.agents/agents/plan-critic.md +5 -0
- package/.agents/agents/story-worker.md +4 -1
- package/.agents/audit-checklists/state-machines.md +21 -0
- package/.agents/docs/agentrc-reference.json +23 -10
- package/.agents/docs/configuration.md +362 -15
- package/.agents/docs/execution-reference.md +11 -0
- package/.agents/docs/workflows.md +2 -1
- package/.agents/rules/ci-remediation.md +28 -4
- package/.agents/rules/git-conventions-reference.md +7 -0
- package/.agents/schemas/agentrc.schema.json +179 -13
- package/.agents/schemas/audit-rules.json +28 -0
- package/.agents/schemas/baselines/baseline-envelope.schema.json +16 -4
- package/.agents/schemas/baselines/bundle-size.schema.json +1 -0
- package/.agents/schemas/baselines/coverage.schema.json +1 -0
- package/.agents/schemas/baselines/crap.schema.json +37 -10
- package/.agents/schemas/baselines/duplication.schema.json +1 -0
- package/.agents/schemas/baselines/maintainability.schema.json +1 -0
- package/.agents/schemas/baselines/mutation.schema.json +1 -0
- package/.agents/schemas/crap-report.schema.json +6 -5
- package/.agents/schemas/story-deliver-terminal.schema.json +49 -3
- package/.agents/schemas/story-progress.schema.json +1 -1
- package/.agents/schemas/validation-evidence.schema.json +2 -2
- package/.agents/scripts/boot-sweep.js +41 -3
- package/.agents/scripts/coverage-capture.js +39 -3
- package/.agents/scripts/coverage-ratchet.js +106 -0
- package/.agents/scripts/evidence-gate.js +84 -21
- package/.agents/scripts/file-ci-gap.js +220 -10
- package/.agents/scripts/lib/audit-baselines/read.js +8 -1
- package/.agents/scripts/lib/audit-baselines/trend.js +2 -1
- package/.agents/scripts/lib/audit-to-stories/audit-lenses.js +1 -0
- package/.agents/scripts/lib/baseline-loader.js +4 -2
- package/.agents/scripts/lib/baselines/codec.js +57 -0
- package/.agents/scripts/lib/baselines/crap-preview-incremental.js +8 -3
- package/.agents/scripts/lib/baselines/crap-preview-scan.js +10 -16
- package/.agents/scripts/lib/baselines/crap-updater-cli.js +4 -13
- package/.agents/scripts/lib/baselines/kernel.js +19 -1
- package/.agents/scripts/lib/baselines/kinds/_crap-codec.js +171 -0
- package/.agents/scripts/lib/baselines/kinds/_crap-read.js +56 -16
- package/.agents/scripts/lib/baselines/kinds/_shared-metric.js +0 -59
- package/.agents/scripts/lib/baselines/kinds/crap.js +283 -319
- package/.agents/scripts/lib/baselines/preview-gates.js +29 -10
- package/.agents/scripts/lib/baselines/reader.js +36 -9
- package/.agents/scripts/lib/baselines/refresh-service.js +79 -18
- package/.agents/scripts/lib/baselines/seat-missing.js +173 -7
- package/.agents/scripts/lib/baselines/writer.js +36 -21
- package/.agents/scripts/lib/changed-files.js +70 -6
- package/.agents/scripts/lib/child-exec.js +10 -0
- package/.agents/scripts/lib/claude/agents-projection.js +5 -5
- package/.agents/scripts/lib/close-lock-events.js +8 -3
- package/.agents/scripts/lib/close-validation/ci-deferral.js +40 -0
- package/.agents/scripts/lib/close-validation/gates.js +156 -32
- package/.agents/scripts/lib/close-validation/process.js +16 -7
- package/.agents/scripts/lib/close-validation/projections/crap.js +43 -10
- package/.agents/scripts/lib/close-validation/runner.js +160 -41
- package/.agents/scripts/lib/close-validation/skip-branch-test.js +144 -0
- package/.agents/scripts/lib/close-validation/test-delta.js +33 -8
- package/.agents/scripts/lib/codex/agents-projection.js +6 -0
- package/.agents/scripts/lib/config/agentrc-overlay.js +9 -5
- package/.agents/scripts/lib/config/explain.js +5 -2
- package/.agents/scripts/lib/config/gates/coverage.schema.js +53 -0
- package/.agents/scripts/lib/config/gates/crap-incremental-coverage.schema.js +1 -1
- package/.agents/scripts/lib/config/git-roots.js +38 -4
- package/.agents/scripts/lib/config/handoff.js +24 -0
- package/.agents/scripts/lib/config/quality.js +28 -12
- package/.agents/scripts/lib/config/worktree-isolation.js +2 -5
- package/.agents/scripts/lib/config-resolver.js +22 -2
- package/.agents/scripts/lib/config-settings-schema-delivery.js +87 -4
- package/.agents/scripts/lib/config-settings-schema-quality.js +36 -1
- package/.agents/scripts/lib/config-settings-schema.js +1 -1
- package/.agents/scripts/lib/coverage-capture-affected.js +1 -0
- package/.agents/scripts/lib/coverage-capture-delta.js +164 -32
- package/.agents/scripts/lib/coverage-capture-own-fix.js +232 -0
- package/.agents/scripts/lib/coverage-capture-usage.js +2 -2
- package/.agents/scripts/lib/coverage-capture.js +31 -0
- package/.agents/scripts/lib/coverage-deferral.js +96 -0
- package/.agents/scripts/lib/coverage-ratchet.js +187 -0
- package/.agents/scripts/lib/crap-baseline-join.js +5 -5
- package/.agents/scripts/lib/crap-engine.js +3 -3
- package/.agents/scripts/lib/crap-method-identity.js +104 -48
- package/.agents/scripts/lib/escomplex-anchor.js +135 -0
- package/.agents/scripts/lib/escomplex-kernel.js +30 -1
- package/.agents/scripts/lib/failure-rows.js +121 -0
- package/.agents/scripts/lib/full-suite-lock.js +44 -4
- package/.agents/scripts/lib/full-suite-queue.js +89 -13
- package/.agents/scripts/lib/generated/agentrc-validator.js +8 -2
- package/.agents/scripts/lib/gh-env.js +3 -6
- package/.agents/scripts/lib/gh-pr-rest.js +1 -0
- package/.agents/scripts/lib/git/base-sync-probe.js +182 -0
- package/.agents/scripts/lib/git-branch-lifecycle.js +9 -0
- package/.agents/scripts/lib/observability/close-telemetry.js +37 -2
- package/.agents/scripts/lib/observability/handoff-telemetry.js +170 -0
- package/.agents/scripts/lib/observability/review-dispositions.js +23 -6
- package/.agents/scripts/lib/observability/runtime-friction.js +17 -4
- package/.agents/scripts/lib/observability/source-classifier.js +3 -0
- package/.agents/scripts/lib/observability/story-outcome.js +393 -0
- package/.agents/scripts/lib/orchestration/check-baselines/phases/compare.js +2 -1
- package/.agents/scripts/lib/orchestration/check-baselines/phases/evaluate.js +19 -1
- package/.agents/scripts/lib/orchestration/check-baselines/phases/fail-detail.js +84 -0
- package/.agents/scripts/lib/orchestration/check-baselines/phases/pipeline.js +14 -5
- package/.agents/scripts/lib/orchestration/check-baselines/phases/refresh-ack.js +3 -2
- package/.agents/scripts/lib/orchestration/check-baselines/phases/report.js +26 -6
- package/.agents/scripts/lib/orchestration/ci-rerun-guard.js +124 -23
- package/.agents/scripts/lib/orchestration/code-review.js +223 -19
- package/.agents/scripts/lib/orchestration/handoff-gates.js +217 -44
- package/.agents/scripts/lib/orchestration/handoff-rescore.js +169 -0
- package/.agents/scripts/lib/orchestration/handoff-suite-of-record.js +45 -0
- package/.agents/scripts/lib/orchestration/plan-persist/run-plan-persist.js +5 -1
- package/.agents/scripts/lib/orchestration/plan-persist/source-rewrite.js +76 -4
- package/.agents/scripts/lib/orchestration/plan-persist/story-ops.js +2 -2
- package/.agents/scripts/lib/orchestration/preflight-lanes.js +208 -0
- package/.agents/scripts/lib/orchestration/review-base-ref.js +40 -17
- package/.agents/scripts/lib/orchestration/review-deposit.js +38 -12
- package/.agents/scripts/lib/orchestration/review-depth.js +21 -0
- package/.agents/scripts/lib/orchestration/review-history.js +124 -20
- package/.agents/scripts/lib/orchestration/review-providers/claude-verdict.js +23 -8
- package/.agents/scripts/lib/orchestration/review-providers/code-review.js +82 -39
- package/.agents/scripts/lib/orchestration/review-providers/critical-verifier.js +64 -11
- package/.agents/scripts/lib/orchestration/review-providers/degraded-gates.js +98 -3
- package/.agents/scripts/lib/orchestration/review-providers/finding-identity.js +6 -2
- package/.agents/scripts/lib/orchestration/review-providers/findings-renderer.js +55 -8
- package/.agents/scripts/lib/orchestration/review-providers/review-guidance.js +1 -0
- package/.agents/scripts/lib/orchestration/review-providers/review-provider-factory.js +42 -15
- package/.agents/scripts/lib/orchestration/review-providers/types.js +6 -0
- package/.agents/scripts/lib/orchestration/single-story-close/failed-terminal.js +10 -1
- package/.agents/scripts/lib/orchestration/single-story-close/gate-log.js +10 -0
- package/.agents/scripts/lib/orchestration/single-story-close/phases/base-sync.js +7 -4
- package/.agents/scripts/lib/orchestration/single-story-close/phases/close-validation.js +17 -2
- package/.agents/scripts/lib/orchestration/single-story-close/phases/code-review.js +59 -2
- package/.agents/scripts/lib/orchestration/single-story-close/phases/confirm-merge.js +13 -1
- package/.agents/scripts/lib/orchestration/single-story-close/phases/finish.js +15 -4
- package/.agents/scripts/lib/orchestration/single-story-close/phases/land-review-record.js +213 -0
- package/.agents/scripts/lib/orchestration/single-story-close/phases/normalize-pr-title.js +17 -2
- package/.agents/scripts/lib/orchestration/single-story-close/phases/open-pr.js +42 -20
- package/.agents/scripts/lib/orchestration/single-story-close/phases/post-land.js +51 -26
- package/.agents/scripts/lib/orchestration/single-story-close/phases/pre-push.js +3 -1
- package/.agents/scripts/lib/orchestration/single-story-close/phases/pull-request.js +51 -15
- package/.agents/scripts/lib/orchestration/single-story-close/phases/push.js +59 -11
- package/.agents/scripts/lib/orchestration/single-story-close/phases/reconcile-done.js +1 -0
- package/.agents/scripts/lib/orchestration/single-story-close/phases/review-block.js +31 -13
- package/.agents/scripts/lib/orchestration/single-story-close/phases/review-halt.js +29 -6
- package/.agents/scripts/lib/orchestration/single-story-close/phases/review-outcome.js +10 -12
- package/.agents/scripts/lib/orchestration/single-story-close/phases/review-override.js +19 -4
- package/.agents/scripts/lib/orchestration/single-story-close/result.js +43 -13
- package/.agents/scripts/lib/orchestration/single-story-close/review-overlap.js +73 -39
- package/.agents/scripts/lib/orchestration/single-story-close/runner.js +11 -2
- package/.agents/scripts/lib/orchestration/story-close/baseline-upward-writeback.js +3 -2
- package/.agents/scripts/lib/orchestration/story-close/duplication-close-rescore.js +20 -8
- package/.agents/scripts/lib/orchestration/story-deliver-terminal.js +7 -0
- package/.agents/scripts/lib/orchestration/story-handoff.js +789 -196
- package/.agents/scripts/lib/orchestration/ticketing/reads.js +2 -0
- package/.agents/scripts/lib/pr-body-lines.js +32 -0
- package/.agents/scripts/lib/single-story/ci-ratchet-gate.js +140 -0
- package/.agents/scripts/lib/single-story/confirm-and-land.js +17 -7
- package/.agents/scripts/lib/single-story/confirm-merge.js +12 -3
- package/.agents/scripts/lib/single-story-sweep/report-stalled-executing.js +202 -0
- package/.agents/scripts/lib/standalone-ratchets.js +37 -0
- package/.agents/scripts/lib/suite-admission.js +20 -8
- package/.agents/scripts/lib/suite-sizing.js +146 -0
- package/.agents/scripts/lib/workspace-provisioner.js +2 -2
- package/.agents/scripts/merge-baseline.js +14 -3
- package/.agents/scripts/providers/github/comments.js +19 -3
- package/.agents/scripts/providers/github.js +1 -0
- package/.agents/scripts/review-dispositions-report.js +1 -1
- package/.agents/scripts/role-scope-guard.js +267 -0
- package/.agents/scripts/single-story-close.js +4 -4
- package/.agents/scripts/single-story-confirm-merge.js +31 -5
- package/.agents/scripts/single-story-init.js +24 -4
- package/.agents/scripts/story-handoff.js +3 -3
- package/.agents/scripts/story-outcomes-report.js +231 -0
- package/.agents/scripts/story-review-compute.js +9 -5
- package/.agents/scripts/update-coverage-baseline.js +12 -2
- package/.agents/scripts/update-crap-baseline.js +9 -1
- package/.agents/workflows/audit-state-machines.md +213 -0
- package/.agents/workflows/helpers/code-review.md +63 -9
- package/.agents/workflows/helpers/deliver-digest.md +53 -54
- package/.agents/workflows/helpers/deliver-reference.md +236 -63
- package/.agents/workflows/helpers/deliver-story-reference.md +19 -8
- package/.agents/workflows/helpers/deliver-story.md +7 -2
- package/.agents/workflows/helpers/parallel-tooling.md +29 -0
- package/.agents/workflows/helpers/plan-reference.md +10 -2
- package/docs/CHANGELOG.md +56 -0
- package/lib/cli/doctor-checks/coverage-ratchet.js +54 -0
- package/lib/cli/doctor-checks/effective-agentrc.js +23 -0
- package/lib/cli/doctor-checks/llm-review.js +2 -11
- package/lib/cli/doctor-checks/sync-parity.js +5 -1
- package/lib/cli/doctor-checks/test-credit-path.js +7 -2
- package/lib/cli/registry.js +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// lib/cli/doctor-checks/coverage-ratchet.js — Doctor check: coverage-ratchet.
|
|
2
|
+
|
|
3
|
+
import fs from 'node:fs';
|
|
4
|
+
import { readEffectiveAgentrc } from './effective-agentrc.js';
|
|
5
|
+
|
|
6
|
+
const KEY = 'delivery.quality.gates.coverage';
|
|
7
|
+
|
|
8
|
+
/** Which setting hands the coverage ratchet to CI, else `null`. */
|
|
9
|
+
function deferringSetting(gate) {
|
|
10
|
+
if (gate.suiteOfRecord === 'ci') return `${KEY}.suiteOfRecord: "ci"`;
|
|
11
|
+
if (gate.onOverBudget === 'defer-to-ci') {
|
|
12
|
+
return `${KEY}.onOverBudget: "defer-to-ci"`;
|
|
13
|
+
}
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Fails when coverage can be deferred to CI (`suiteOfRecord: "ci"` or
|
|
19
|
+
* `onOverBudget: "defer-to-ci"`) with no `ciRatchetCheck` naming the CI check
|
|
20
|
+
* that ratchets it — a deferred Story would land unratcheted.
|
|
21
|
+
*
|
|
22
|
+
* @param {{ projectRoot?: string, cwd?: () => string, fsImpl?: { readFileSync: Function, existsSync: Function } }} [opts]
|
|
23
|
+
* @returns {Promise<{ ok: boolean, detail: string, remedy?: string }>}
|
|
24
|
+
*/
|
|
25
|
+
export async function runCoverageRatchet({
|
|
26
|
+
projectRoot,
|
|
27
|
+
cwd,
|
|
28
|
+
fsImpl = fs,
|
|
29
|
+
} = {}) {
|
|
30
|
+
const root = projectRoot ?? (cwd ?? (() => process.cwd()))();
|
|
31
|
+
// The `ci` posture is a host setting, so the local overlay counts.
|
|
32
|
+
const gate =
|
|
33
|
+
readEffectiveAgentrc(root, fsImpl)?.delivery?.quality?.gates?.coverage ??
|
|
34
|
+
{};
|
|
35
|
+
const setting = deferringSetting(gate);
|
|
36
|
+
if (!setting) {
|
|
37
|
+
return {
|
|
38
|
+
ok: true,
|
|
39
|
+
detail: 'coverage is never deferred to CI on this host',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
const check = gate.ciRatchetCheck;
|
|
43
|
+
if (typeof check === 'string' && check.trim().length > 0) {
|
|
44
|
+
return {
|
|
45
|
+
ok: true,
|
|
46
|
+
detail: `${setting} — CI check "${check}" ratchets deferred Stories`,
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
ok: false,
|
|
51
|
+
detail: `${setting} can defer coverage to CI, but no CI check is named to ratchet it — a deferred Story lands with no coverage or CRAP ratchet`,
|
|
52
|
+
remedy: `Set ${KEY}.ciRatchetCheck to the CI check that runs .agents/scripts/coverage-ratchet.js on a deferred PR.`,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Shared doctor-check config read: .agentrc.json with the local overlay.
|
|
2
|
+
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
import { applyLocalOverlay } from '../../../.agents/scripts/lib/config/agentrc-overlay.js';
|
|
5
|
+
import { readJsonOrNull } from '../../../.agents/scripts/lib/json-utils.js';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* `.agentrc.json` with `.agentrc.local.json` merged over it; an unparseable
|
|
9
|
+
* overlay leaves the committed file in force (the config check reports it).
|
|
10
|
+
*
|
|
11
|
+
* @param {string} projectRoot
|
|
12
|
+
* @param {{ readFileSync: Function, existsSync: Function }} fsImpl
|
|
13
|
+
* @returns {object}
|
|
14
|
+
*/
|
|
15
|
+
export function readEffectiveAgentrc(projectRoot, fsImpl) {
|
|
16
|
+
const committed =
|
|
17
|
+
readJsonOrNull(path.join(projectRoot, '.agentrc.json'), fsImpl) ?? {};
|
|
18
|
+
try {
|
|
19
|
+
return applyLocalOverlay({ fsImpl, projectRoot, committed }).effective;
|
|
20
|
+
} catch {
|
|
21
|
+
return committed;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
// lib/cli/doctor-checks/llm-review.js — Doctor check: llm-review-provider.
|
|
2
2
|
|
|
3
3
|
import fs from 'node:fs';
|
|
4
|
-
import path from 'node:path';
|
|
5
|
-
import { applyLocalOverlay } from '../../../.agents/scripts/lib/config/agentrc-overlay.js';
|
|
6
4
|
import { DEFAULT_REVIEW_PROVIDERS } from '../../../.agents/scripts/lib/config/review-chain-default.js';
|
|
7
5
|
import { REVIEW_PROVIDER_CLIS } from '../../../.agents/scripts/lib/config/review-provider-clis.js';
|
|
8
|
-
import {
|
|
6
|
+
import { readEffectiveAgentrc } from './effective-agentrc.js';
|
|
9
7
|
import { spawn } from './spawn.js';
|
|
10
8
|
|
|
11
9
|
const NATIVE_ONLY_ADVISORY =
|
|
@@ -20,14 +18,7 @@ const NATIVE_ONLY_ADVISORY =
|
|
|
20
18
|
* @returns {{ entries: ReadonlyArray<object>, pinned: boolean }}
|
|
21
19
|
*/
|
|
22
20
|
function readReviewChain(projectRoot, fsImpl) {
|
|
23
|
-
const
|
|
24
|
-
readJsonSafe(path.join(projectRoot, '.agentrc.json'), fsImpl) ?? {};
|
|
25
|
-
let effective = committed;
|
|
26
|
-
try {
|
|
27
|
-
effective = applyLocalOverlay({ fsImpl, projectRoot, committed }).effective;
|
|
28
|
-
} catch {
|
|
29
|
-
// An unparseable overlay is the config check's to report.
|
|
30
|
-
}
|
|
21
|
+
const effective = readEffectiveAgentrc(projectRoot, fsImpl);
|
|
31
22
|
const providers = effective?.delivery?.codeReview?.providers;
|
|
32
23
|
return Array.isArray(providers) && providers.length > 0
|
|
33
24
|
? { entries: providers, pinned: true }
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
listGeneratedClaudeCommands,
|
|
14
14
|
} from '../../../.agents/scripts/lib/claude/commands-projection.js';
|
|
15
15
|
import { getDeliveryRouting } from '../../../.agents/scripts/lib/config/delivery-routing.js';
|
|
16
|
+
import { overlayRoot } from '../../../.agents/scripts/lib/config/git-roots.js';
|
|
16
17
|
import { projectionParity, readTextOrNull } from './codex.js';
|
|
17
18
|
import { readJsonSafe } from './read-json.js';
|
|
18
19
|
|
|
@@ -61,7 +62,10 @@ export function runCommandsInSync({ projectRoot, cwd } = {}) {
|
|
|
61
62
|
*/
|
|
62
63
|
function resolveRoleScopedAgentsFlag(projectRoot) {
|
|
63
64
|
const base = readJsonSafe(path.join(projectRoot, '.agentrc.json'), fs);
|
|
64
|
-
const local = readJsonSafe(
|
|
65
|
+
const local = readJsonSafe(
|
|
66
|
+
path.join(overlayRoot(projectRoot), '.agentrc.local.json'),
|
|
67
|
+
fs,
|
|
68
|
+
);
|
|
65
69
|
const merged = {
|
|
66
70
|
delivery: {
|
|
67
71
|
routing: {
|
|
@@ -4,6 +4,7 @@ import fs from 'node:fs';
|
|
|
4
4
|
import path from 'node:path';
|
|
5
5
|
import { COMMANDS_DEFAULTS } from '../../../.agents/scripts/lib/config/commands.js';
|
|
6
6
|
import { COVERAGE_CAPTURE_DEFAULTS } from '../../../.agents/scripts/lib/config/gates/coverage.schema.js';
|
|
7
|
+
import { overlayRoot } from '../../../.agents/scripts/lib/config/git-roots.js';
|
|
7
8
|
import { packageScriptArgv } from '../../../.agents/scripts/lib/detect-package-manager.js';
|
|
8
9
|
import { toPosix } from '../../../.agents/scripts/lib/util/paths.js';
|
|
9
10
|
import { readJsonSafe } from './read-json.js';
|
|
@@ -103,9 +104,13 @@ function scriptNamed(scripts, name) {
|
|
|
103
104
|
*/
|
|
104
105
|
function overlaidValue(projectRoot, readFileImpl, pick, accept) {
|
|
105
106
|
let value;
|
|
106
|
-
|
|
107
|
+
const files = [
|
|
108
|
+
path.join(projectRoot, '.agentrc.json'),
|
|
109
|
+
path.join(overlayRoot(projectRoot), '.agentrc.local.json'),
|
|
110
|
+
];
|
|
111
|
+
for (const file of files) {
|
|
107
112
|
const candidate = pick(
|
|
108
|
-
readJsonSafe(
|
|
113
|
+
readJsonSafe(file, {
|
|
109
114
|
readFileSync: readFileImpl,
|
|
110
115
|
}),
|
|
111
116
|
);
|
package/lib/cli/registry.js
CHANGED
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
runCodexInstructions,
|
|
18
18
|
runCodexSkillsInSync,
|
|
19
19
|
} from './doctor-checks/codex.js';
|
|
20
|
+
import { runCoverageRatchet } from './doctor-checks/coverage-ratchet.js';
|
|
20
21
|
import { runLlmReviewProvider } from './doctor-checks/llm-review.js';
|
|
21
22
|
import { runMergeDriver } from './doctor-checks/merge-driver.js';
|
|
22
23
|
import { runAgentsDrift, runPinCurrent } from './doctor-checks/payload.js';
|
|
@@ -138,6 +139,10 @@ export const registry = [
|
|
|
138
139
|
advisory: true,
|
|
139
140
|
run: (opts) => runTestCreditPath(opts),
|
|
140
141
|
},
|
|
142
|
+
{
|
|
143
|
+
name: 'coverage-ratchet',
|
|
144
|
+
run: (opts) => runCoverageRatchet(opts),
|
|
145
|
+
},
|
|
141
146
|
];
|
|
142
147
|
|
|
143
148
|
export default registry;
|
package/package.json
CHANGED