@joshuafolkken/kit 1.1010.0 → 1.1035.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/.claude/settings.json +1 -5
- package/.claude/skills/dependency-update/SKILL.md +6 -3
- package/.claude/skills/epic-commands/SKILL.md +46 -17
- package/.claude/skills/workflow-commands/SKILL.md +8 -23
- package/.claude/skills/workflow-commands/backlogrun-child.md +4 -2
- package/.claude/skills/workflow-commands/backlogrun.md +3 -12
- package/.claude/skills/workflow-commands/fullrun-steps.md +4 -3
- package/.claude/skills/workflow-commands/fullrun.md +1 -1
- package/.claude/skills/workflow-commands/halfrun.md +2 -1
- package/.claude/skills/workflow-commands/into-target.md +1 -1
- package/.claude/skills/workflow-commands/observation-filing.md +42 -43
- package/.claude/skills/workflow-commands/prerequisite.md +1 -1
- package/.codex/hooks.json +1 -5
- package/.github/workflows/sonar-qube.yml +1 -1
- package/AGENTS.md +4 -25
- package/CLAUDE.md +24 -38
- package/GEMINI.md +4 -24
- package/README.md +22 -56
- package/dist/CLAUDE.md +24 -38
- package/dist/hooks/batch-guard.js +4 -4
- package/dist/hooks/{chunk-WMIR5SNX.js → chunk-D67KVGGY.js} +3 -3
- package/dist/hooks/{chunk-EZLHXKJ6.js → chunk-EIFCAJRB.js} +70 -27
- package/dist/hooks/{chunk-KPZN42RT.js → chunk-GJT4BNVE.js} +3 -3
- package/dist/hooks/{chunk-PAXMLGSS.js → chunk-GLBDBJOK.js} +44 -24
- package/dist/hooks/{chunk-GBJUERYK.js → chunk-HOYJU5RM.js} +1 -1
- package/dist/hooks/{chunk-6PSTVOLH.js → chunk-HU66PWWL.js} +33 -57
- package/dist/hooks/{chunk-A2H5I2VD.js → chunk-KG6PZD72.js} +2 -2
- package/dist/hooks/{chunk-AWTFKKFW.js → chunk-XPLP27WA.js} +3 -8
- package/dist/hooks/{chunk-4GDR2YTV.js → chunk-Y27M6A7X.js} +4 -4
- package/dist/hooks/{chunk-56LGMJJV.js → chunk-ZXNE6NY3.js} +2 -2
- package/dist/hooks/codex-hook-adapter.js +10 -10
- package/dist/hooks/duplicate-read-guard.js +5 -5
- package/dist/hooks/format-edited.js +2 -2
- package/dist/hooks/investigation-guard.js +5 -5
- package/dist/hooks/pretool-guard.js +9 -9
- package/dist/hooks/stop-guard.js +11 -15
- package/dist/josh.js +38 -19
- package/dist/version/index.js +93 -41
- package/eslint/base.js +2 -11
- package/package.json +31 -5
- package/prompts/coding-standards.md +15 -290
- package/prompts/collaboration-workflow/cross-repo-epic.md +2 -51
- package/prompts/collaboration-workflow/epic-audit.md +2 -53
- package/prompts/collaboration-workflow/epic-bundle.md +2 -106
- package/prompts/collaboration-workflow/issue-template.md +4 -4
- package/prompts/collaboration-workflow/operating-rules.md +18 -75
- package/prompts/collaboration-workflow/principles.md +74 -0
- package/prompts/collaboration-workflow/residency.md +54 -14
- package/prompts/collaboration-workflow/rule-delivery.md +1 -11
- package/prompts/collaboration-workflow/upstream-interrupt.md +1 -1
- package/prompts/collaboration-workflow.md +22 -28
- package/scripts/adopt/adopt-logic.ts +2 -2
- package/scripts/adopt/adopt-toolkits.ts +1 -1
- package/scripts/adopt/adopt.ts +2 -2
- package/scripts/agent/agent-event.ts +2 -9
- package/scripts/agent/agent-exit-record.ts +2 -9
- package/scripts/backlog/backlog-budget-cli.ts +2 -6
- package/scripts/backlog/backlog-drive-cli.ts +20 -10
- package/scripts/backlog/backlog-drive.ts +50 -16
- package/scripts/backlog/backlog-offer-cli.ts +6 -5
- package/scripts/backlog/backlog-plan.ts +1 -1
- package/scripts/build/build-bin.ts +2 -1
- package/scripts/build/build-config-merge.ts +2 -1
- package/scripts/build/build-hooks.ts +24 -4
- package/scripts/build/build-managed-marker.ts +2 -1
- package/scripts/build/build-self-sync-guard.ts +2 -1
- package/scripts/build/build-version.ts +2 -1
- package/scripts/cases/cases-logic.ts +2 -6
- package/scripts/ci/pr-classification.ts +13 -11
- package/scripts/cost-runtime/cost-transcript.ts +4 -11
- package/scripts/doctor/doctor-consumer.ts +5 -12
- package/scripts/doctor/doctor-ports.ts +2 -2
- package/scripts/document/document-byte-budget.ts +8 -16
- package/scripts/document/document-section.ts +2 -6
- package/scripts/document/entry-read-budget.ts +1 -1
- package/scripts/{git/git-epic-add-body.ts → epic/epic-add-body.ts} +23 -23
- package/scripts/{git/git-epic-add-plan.ts → epic/epic-add-plan.ts} +23 -26
- package/scripts/{git/git-epic-add.ts → epic/epic-add.ts} +17 -17
- package/scripts/epic/epic-audit-cli.ts +4 -4
- package/scripts/epic/epic-audit-orphans.ts +2 -2
- package/scripts/epic/epic-audit-rationale.ts +1 -1
- package/scripts/epic/epic-audit.ts +1 -1
- package/scripts/{git/git-epic-body.ts → epic/epic-body.ts} +6 -6
- package/scripts/epic/epic-bundle-cli.ts +1 -1
- package/scripts/epic/epic-bundle.ts +2 -2
- package/scripts/epic/epic-candidate-confirm.ts +2 -1
- package/scripts/{git/git-epic-chains.ts → epic/epic-chains.ts} +4 -4
- package/{scripts-ai → scripts/epic}/epic-check.ts +5 -4
- package/{scripts-ai → scripts/epic}/epic-cli.ts +4 -4
- package/scripts/{git/git-epic-close-comment.ts → epic/epic-close-comment.ts} +9 -9
- package/scripts/{git/git-epic-close.ts → epic/epic-close.ts} +23 -19
- package/scripts/epic/epic-cross-repo.ts +21 -38
- package/scripts/{git/git-epic-decision.ts → epic/epic-decision.ts} +12 -14
- package/scripts/epic/epic-fetch.ts +3 -3
- package/scripts/epic/epic-graph.ts +3 -3
- package/scripts/epic/epic-index.ts +2 -2
- package/scripts/epic/epic-issue.ts +1 -1
- package/scripts/epic/epic-next.ts +3 -3
- package/scripts/{git/git-epic-parse.ts → epic/epic-parse.ts} +3 -3
- package/scripts/{git/git-epic-promote.ts → epic/epic-promote.ts} +10 -10
- package/scripts/{git/git-epic-read.ts → epic/epic-read.ts} +9 -9
- package/scripts/{git/git-epic-reconcile.ts → epic/epic-reconcile.ts} +18 -20
- package/scripts/{git/git-epic-reference.ts → epic/epic-reference.ts} +4 -23
- package/scripts/epic/epic-relation-recheck.ts +4 -3
- package/scripts/{git/git-epic-relations.ts → epic/epic-relations.ts} +5 -5
- package/scripts/{git/git-epic-remove-plan.ts → epic/epic-remove-plan.ts} +17 -19
- package/scripts/{git/git-epic-remove.ts → epic/epic-remove.ts} +13 -13
- package/scripts/{git/git-epic-run.ts → epic/epic-run.ts} +27 -27
- package/scripts/{git/git-epic-sections.ts → epic/epic-sections.ts} +6 -6
- package/scripts/{git/git-epic-shape.ts → epic/epic-shape.ts} +7 -7
- package/scripts/{git/git-epic-validate.ts → epic/epic-validate.ts} +13 -13
- package/{scripts-ai → scripts/epic}/epic.ts +17 -16
- package/scripts/gh/fix-gh-packages.ts +2 -1
- package/scripts/gh/gh-spawn.ts +12 -10
- package/scripts/git/constants.ts +1 -1
- package/scripts/git/git-branch.ts +10 -1
- package/scripts/git/git-command.ts +1 -1
- package/scripts/git/git-error.ts +2 -5
- package/{scripts-ai → scripts/git}/git-followup-finish.ts +7 -7
- package/scripts/git/git-followup-flush.ts +74 -48
- package/scripts/git/git-followup-issue-close.ts +2 -2
- package/scripts/git/git-followup-label.ts +1 -1
- package/scripts/git/git-followup-pending.ts +1 -1
- package/{scripts-ai → scripts/git}/git-followup-workflow.ts +23 -11
- package/scripts/git/git-gh-exec.ts +85 -26
- package/scripts/git/git-gh-issue-read.ts +2 -2
- package/scripts/git/git-gh-issue-rest.ts +2 -2
- package/scripts/git/git-gh-issue-write.ts +6 -6
- package/scripts/git/git-gh-pr-read.ts +0 -21
- package/scripts/git/git-gh-pr.ts +2 -23
- package/scripts/git/git-pr-followup-wrapup.ts +2 -6
- package/scripts/git/git-preflight.ts +3 -6
- package/scripts/git/git-staging.ts +21 -9
- package/{scripts-ai → scripts/git}/git-workflow.ts +11 -11
- package/scripts/git/github-issue-url.ts +1 -1
- package/scripts/git/issue-labels.ts +1 -1
- package/scripts/git/issue-reference.ts +19 -0
- package/scripts/git/main-merge.ts +2 -1
- package/scripts/git/main-sync.ts +3 -2
- package/scripts/git/schemas.ts +1 -1
- package/scripts/git/stash-pop-args.ts +7 -13
- package/scripts/git/stash-pop-cli.ts +2 -1
- package/{scripts-ai → scripts/git}/telegram-test-logic.ts +2 -2
- package/{scripts-ai → scripts/git}/telegram-test.ts +7 -7
- package/scripts/hooks/format-rewrite-notice.ts +2 -8
- package/scripts/init/init-ai-copy.ts +2 -5
- package/scripts/init/init.ts +8 -4
- package/scripts/init/start-steps.ts +2 -1
- package/scripts/init/start.ts +2 -1
- package/scripts/issue/issue-comment-cli.ts +2 -1
- package/scripts/issue/issue-file-cli.ts +2 -1
- package/scripts/issue/issue-fold-cli.ts +9 -16
- package/scripts/issue/issue-scout-cli.ts +8 -13
- package/scripts/issue/measure-rerun-cli.ts +7 -6
- package/scripts/josh/josh-commands-ai.ts +2 -2
- package/scripts/josh/josh-commands-backlog.ts +1 -1
- package/scripts/josh/josh-commands-development.ts +1 -1
- package/scripts/josh/josh-commands-workflow.ts +4 -4
- package/scripts/lane/lane-cli.ts +2 -1
- package/scripts/lane/lane-open.ts +3 -2
- package/scripts/lane/lane-registry.ts +3 -6
- package/scripts/lib/cli-flags.ts +20 -2
- package/scripts/lib/error-message.ts +9 -0
- package/scripts/lib/read-file.ts +26 -2
- package/scripts/observations/observation-ledger-home.ts +98 -26
- package/scripts/observations/observation-ledger-migrate.ts +26 -21
- package/scripts/observations/observation-ledger-prepare.ts +10 -20
- package/scripts/observations/observation-ledger.ts +58 -25
- package/scripts/observations/observations-flush-cli.ts +6 -23
- package/scripts/observations/observations-flush-landing.ts +2 -1
- package/scripts/observations/observations-flush.ts +29 -20
- package/scripts/package/package-scout-cli.ts +8 -16
- package/scripts/ports/port-command.ts +2 -1
- package/scripts/propagate/propagate-publish.ts +6 -7
- package/scripts/propagate/propagate-steps.ts +2 -1
- package/scripts/propagate/propagate.ts +3 -2
- package/scripts/refactor/import-graph.ts +2 -6
- package/scripts/registry-migration/migrate.ts +3 -2
- package/scripts/registry-migration/user-npmrc.ts +2 -2
- package/scripts/release/release-cli.ts +2 -1
- package/scripts/repo/repo-setting.ts +10 -8
- package/scripts/review/review-finding-ledger.ts +3 -3
- package/scripts/review/review-findings-cli.ts +4 -11
- package/scripts/review/review-record-cli.ts +14 -11
- package/scripts/review/review-record.ts +6 -16
- package/scripts/rules/decision-oracle.ts +2 -2
- package/scripts/rules/rule-body-guard.ts +2 -2
- package/scripts/rules/rule-value-cache.ts +99 -0
- package/scripts/rules/rule-value-cli.ts +10 -9
- package/scripts/rules/rule-value.ts +1 -1
- package/scripts/run/run-carry-args.ts +2 -6
- package/scripts/run/run-carry-cli.ts +5 -7
- package/scripts/run/run-cut-args.ts +7 -13
- package/scripts/run/run-ending-cli.ts +4 -7
- package/scripts/run/run-event-stream.ts +2 -5
- package/scripts/run/run-liveness-cli.ts +4 -7
- package/scripts/run/run-progress-args.ts +2 -6
- package/scripts/run/run-progress-cli.ts +2 -1
- package/scripts/run/run-tail-cli.ts +3 -3
- package/scripts/run/run-tidy-stashes.ts +7 -14
- package/scripts/run/run-wake-cli.ts +2 -6
- package/scripts/run/run-wake-driver.ts +15 -2
- package/scripts/run/run-wake-session.ts +14 -4
- package/scripts/safe-chain/project-config.ts +3 -6
- package/scripts/security/security-audit-provision.ts +6 -7
- package/scripts/sonar/sonar-hotspots-cli.ts +2 -1
- package/scripts/sync/directory-copy-guard.ts +2 -1
- package/scripts/sync/sync-ai-files.ts +3 -3
- package/scripts/sync/template-source-logic.ts +3 -4
- package/scripts/test/e2e-retry-check.ts +3 -6
- package/scripts/ui/ui-routes-cli.ts +3 -6
- package/scripts/version/bump-version.ts +2 -1
- package/scripts/version/version-remote.ts +18 -27
- package/scripts/version/version-targets.ts +3 -3
- package/.claude/skills/workflow-commands/rule-residency.md +0 -267
- package/evals/scenarios/consult-not-execute.json +0 -20
- package/evals/scenarios/no-implicit-workflow.json +0 -26
- package/evals/scenarios/overrides-both-locations.json +0 -29
- package/evals/scenarios/upstream-interrupt.json +0 -23
- package/evals/scenarios/workflow-skill-loaded.json +0 -16
- package/prompts/agent-lint-protocol.json +0 -79
- package/prompts/agent-rules.md +0 -63
- package/prompts/collaboration-workflow/consultation-vs-execution.md +0 -8
- package/prompts/collaboration-workflow/distributed-docs.md +0 -7
- package/prompts/collaboration-workflow/durable-rules.md +0 -24
- package/prompts/collaboration-workflow/latest-first.md +0 -14
- package/prompts/collaboration-workflow/no-clones.md +0 -11
- package/prompts/collaboration-workflow/simplicity-first.md +0 -9
- package/prompts/collaboration-workflow/single-source-rules.md +0 -13
- package/scripts/build/shim-shell.ts +0 -25
- package/scripts/claude/skill-meta.ts +0 -37
- package/scripts/document/document-scan.ts +0 -108
- package/scripts/document/generate-catalog.ts +0 -69
- package/scripts/document/retired-phrases.ts +0 -143
- package/scripts/document/review-agent-type.ts +0 -46
- package/scripts/document/single-source.ts +0 -73
- package/scripts/git/git-fixture-workspace.ts +0 -88
- package/scripts/hooks/format-edited-file-fixtures.ts +0 -109
- package/scripts/hooks/prompt-hooks.ts +0 -38
- package/scripts/init/hook-command-bootstrap.ts +0 -83
- package/scripts/issue/issue-logic.ts +0 -50
- package/scripts/josh/__snapshots__/josh-command-map.test.ts.snap +0 -1227
- package/scripts/josh/josh-script-reader.ts +0 -11
- package/scripts/package/production-dependency-graph.ts +0 -68
- package/scripts/retrospective/retrospective-cli.ts +0 -97
- package/scripts/retrospective/retrospective.ts +0 -127
- package/scripts/rules/delivered-rules-harness.ts +0 -72
- package/scripts/rules/top-level-scripts-guard.ts +0 -47
- package/scripts/run/run-carry-flush.ts +0 -58
- package/scripts/run/run-transcript.golden.txt +0 -57
- package/scripts/run/run-wake-work.ts +0 -108
- package/scripts/sync/dependabot-pin-logic.ts +0 -135
- package/scripts/test/classify-isolation.ts +0 -149
- package/scripts/test/http-fault-injection.ts +0 -79
- package/scripts/test/josh-harness-environment.ts +0 -260
- package/scripts/test/josh-harness.ts +0 -96
- package/scripts/test/pilot-files.ts +0 -452
- package/scripts/test/pilot-measure.ts +0 -78
- package/scripts/test/test-network-guard.ts +0 -453
- package/scripts/test/test-repository-guard.ts +0 -317
- package/scripts/test/test-state-guard.ts +0 -85
- package/scripts/test/test-stdout-guard.ts +0 -54
- package/scripts/test/test-telegram-guard.ts +0 -90
- package/scripts/test/unit-guard-environment.ts +0 -12
- package/scripts/test/unit-projects.ts +0 -139
- package/scripts/test/vitest-include-globs.ts +0 -12
- package/scripts/time-runtime/time-batch-guard-fixtures.ts +0 -66
- package/scripts-ai/completion-gate.ts +0 -13
- package/scripts-ai/environment-loader.ts +0 -9
- /package/{scripts-ai → scripts/epic}/epic-cli-argv.ts +0 -0
- /package/{scripts-ai → scripts/epic}/epic-cli-remove.ts +0 -0
- /package/{scripts-ai → scripts/git}/followup-issue-number.ts +0 -0
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { git_location_environment } from '#scripts/git/git-location-environment'
|
|
2
|
-
import { poll } from '#scripts/lib/poll'
|
|
3
|
-
import { execa, execaSync } from 'execa'
|
|
4
|
-
import { josh_harness_environment, type JoshEnvironment } from './josh-harness-environment'
|
|
5
|
-
|
|
6
|
-
// The runner half of the integration harness (joshuafolkken/kit#2447): josh spawned as a subprocess
|
|
7
|
-
// into one of the environments `josh-harness-environment.ts` assembles. `run` waits for the command;
|
|
8
|
-
// `start` does not, so two commands launched back to back overlap — the shape a race like #2434 needs
|
|
9
|
-
// — and `wait_for` holds the second launch until the first has reached the point the race is about.
|
|
10
|
-
|
|
11
|
-
interface HarnessResult {
|
|
12
|
-
exit_code: number | undefined
|
|
13
|
-
stdout: string
|
|
14
|
-
stderr: string
|
|
15
|
-
is_timed_out: boolean
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
const DEFAULT_TIMEOUT_MS = 60_000
|
|
19
|
-
const POLL_INTERVAL_MS = 50
|
|
20
|
-
|
|
21
|
-
// The child must not act on this process's surroundings: git's location variables would point it at
|
|
22
|
-
// another repository, a lane mark would make it a dispatched child, and `PORT_SEED` would decide what
|
|
23
|
-
// a port assertion sees. Blanked here so every scenario starts from the same place.
|
|
24
|
-
const CHILD_ENVIRONMENT: Record<string, string | undefined> = {
|
|
25
|
-
...git_location_environment.location_free_environment(),
|
|
26
|
-
JOSH_LANE_CHILD: '',
|
|
27
|
-
PORT_SEED: undefined,
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface ExecaOutcome {
|
|
31
|
-
exitCode?: number | undefined
|
|
32
|
-
stdout: unknown
|
|
33
|
-
stderr: unknown
|
|
34
|
-
timedOut: boolean
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function to_result(outcome: ExecaOutcome): HarnessResult {
|
|
38
|
-
return {
|
|
39
|
-
exit_code: outcome.exitCode,
|
|
40
|
-
stdout: String(outcome.stdout),
|
|
41
|
-
stderr: String(outcome.stderr),
|
|
42
|
-
is_timed_out: outcome.timedOut,
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
function spawn_options(
|
|
47
|
-
environment: JoshEnvironment,
|
|
48
|
-
timeout_ms: number,
|
|
49
|
-
): { cwd: string; env: Record<string, string | undefined>; reject: false; timeout: number } {
|
|
50
|
-
return { cwd: environment.root, env: CHILD_ENVIRONMENT, reject: false, timeout: timeout_ms }
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
function run(
|
|
54
|
-
environment: JoshEnvironment,
|
|
55
|
-
cli_arguments: ReadonlyArray<string>,
|
|
56
|
-
timeout_ms: number = DEFAULT_TIMEOUT_MS,
|
|
57
|
-
): HarnessResult {
|
|
58
|
-
const { executable, leading_arguments } = environment.launcher
|
|
59
|
-
|
|
60
|
-
return to_result(
|
|
61
|
-
execaSync(
|
|
62
|
-
executable,
|
|
63
|
-
[...leading_arguments, ...cli_arguments],
|
|
64
|
-
spawn_options(environment, timeout_ms),
|
|
65
|
-
),
|
|
66
|
-
)
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
async function start(
|
|
70
|
-
environment: JoshEnvironment,
|
|
71
|
-
cli_arguments: ReadonlyArray<string>,
|
|
72
|
-
timeout_ms: number = DEFAULT_TIMEOUT_MS,
|
|
73
|
-
): Promise<HarnessResult> {
|
|
74
|
-
const { executable, leading_arguments } = environment.launcher
|
|
75
|
-
|
|
76
|
-
return to_result(
|
|
77
|
-
await execa(
|
|
78
|
-
executable,
|
|
79
|
-
[...leading_arguments, ...cli_arguments],
|
|
80
|
-
spawn_options(environment, timeout_ms),
|
|
81
|
-
),
|
|
82
|
-
)
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
async function wait_for(is_ready: () => boolean, timeout_ms: number): Promise<boolean> {
|
|
86
|
-
return await poll.poll_until(async () => is_ready(), {
|
|
87
|
-
attempts: Math.ceil(timeout_ms / POLL_INTERVAL_MS),
|
|
88
|
-
interval_ms: POLL_INTERVAL_MS,
|
|
89
|
-
})
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
const josh_harness = { ...josh_harness_environment, run, start, wait_for }
|
|
93
|
-
|
|
94
|
-
export type { HarnessResult }
|
|
95
|
-
export type { EnvironmentKind, JoshEnvironment } from './josh-harness-environment'
|
|
96
|
-
export { josh_harness }
|
|
@@ -1,452 +0,0 @@
|
|
|
1
|
-
/* eslint-disable max-lines */
|
|
2
|
-
// GENERATED FILE — do not edit by hand.
|
|
3
|
-
// Regenerate with: pnpm exec tsx scripts/test/classify-isolation.ts --write
|
|
4
|
-
// Every entry is a test file the classifier judges free of the isolation requirements documented in
|
|
5
|
-
// classify-isolation.ts; these files run with isolate:false in vitest.pilot.config.ts.
|
|
6
|
-
|
|
7
|
-
const PILOT_FILES: ReadonlyArray<string> = [
|
|
8
|
-
'env/index.test.ts',
|
|
9
|
-
'eslint/base-resolution.test.ts',
|
|
10
|
-
'eslint/base.test.ts',
|
|
11
|
-
'eslint/english-only-prose-document.test.ts',
|
|
12
|
-
'eslint/quality-limits-document.test.ts',
|
|
13
|
-
'eslint/refactor-scan-prompt-sync.test.ts',
|
|
14
|
-
'eslint/rules/code-quality.test.ts',
|
|
15
|
-
'eslint/rules/english-only-prose.test.ts',
|
|
16
|
-
'eslint/rules/namespace-object-export.test.ts',
|
|
17
|
-
'eslint/rules/naming-convention.test.ts',
|
|
18
|
-
'eslint/rules/test-filename.test.ts',
|
|
19
|
-
'eslint/rules/unicorn.test.ts',
|
|
20
|
-
'playwright.config.test.ts',
|
|
21
|
-
'ports/port-literals.test.ts',
|
|
22
|
-
'prettier/index.test.ts',
|
|
23
|
-
'scripts-ai/completion-gate.test.ts',
|
|
24
|
-
'scripts-ai/epic-cli-add.test.ts',
|
|
25
|
-
'scripts-ai/epic-cli-remove.test.ts',
|
|
26
|
-
'scripts-ai/epic-cli.test.ts',
|
|
27
|
-
'scripts-ai/telegram-test-logic.test.ts',
|
|
28
|
-
'scripts/agent/agent-event.test.ts',
|
|
29
|
-
'scripts/agent/agent-exit-record.test.ts',
|
|
30
|
-
'scripts/agent/agent-role-profile-documents.test.ts',
|
|
31
|
-
'scripts/agent/agent-role-profile.test.ts',
|
|
32
|
-
'scripts/agent/api-outage.test.ts',
|
|
33
|
-
'scripts/agent/claude-result-event.test.ts',
|
|
34
|
-
'scripts/agent/codex-project-config.test.ts',
|
|
35
|
-
'scripts/agent/interactive-ask.test.ts',
|
|
36
|
-
'scripts/backlog/backlog-arrival.test.ts',
|
|
37
|
-
'scripts/backlog/backlog-budget.test.ts',
|
|
38
|
-
'scripts/backlog/backlog-drive-harness.test.ts',
|
|
39
|
-
'scripts/backlog/backlog-drive-restore.test.ts',
|
|
40
|
-
'scripts/backlog/backlog-drive.test.ts',
|
|
41
|
-
'scripts/backlog/backlog-manufacturing-rule.test.ts',
|
|
42
|
-
'scripts/backlog/backlog-named.test.ts',
|
|
43
|
-
'scripts/backlog/backlog-offer.test.ts',
|
|
44
|
-
'scripts/backlog/backlog-pool.test.ts',
|
|
45
|
-
'scripts/backlog/backlog-stalled-detect.test.ts',
|
|
46
|
-
'scripts/backlog/backlog-stalled.test.ts',
|
|
47
|
-
'scripts/behavior/behavior-assertion.test.ts',
|
|
48
|
-
'scripts/behavior/behavior-rules.test.ts',
|
|
49
|
-
'scripts/build/build-claude-md.test.ts',
|
|
50
|
-
'scripts/build/eslint-preset-packaging.test.ts',
|
|
51
|
-
'scripts/build/package-config.test.ts',
|
|
52
|
-
'scripts/ci/ci-yml-action-parity.test.ts',
|
|
53
|
-
'scripts/ci/ci-yml-build-order.test.ts',
|
|
54
|
-
'scripts/ci/ci-yml-checks-gate.test.ts',
|
|
55
|
-
'scripts/ci/ci-yml-e2e-auth-url.test.ts',
|
|
56
|
-
'scripts/ci/ci-yml-e2e-evidence.test.ts',
|
|
57
|
-
'scripts/ci/ci-yml-e2e-prepare.test.ts',
|
|
58
|
-
'scripts/ci/ci-yml-e2e-retry.test.ts',
|
|
59
|
-
'scripts/ci/ci-yml-e2e-web-server-log.test.ts',
|
|
60
|
-
'scripts/ci/ci-yml-eslint-cache-key.test.ts',
|
|
61
|
-
'scripts/ci/ci-yml-main-concurrency.test.ts',
|
|
62
|
-
'scripts/ci/ci-yml-playwright-image.test.ts',
|
|
63
|
-
'scripts/ci/ci-yml-pr-check-reuse.test.ts',
|
|
64
|
-
'scripts/ci/ci-yml-sonar-concurrency.test.ts',
|
|
65
|
-
'scripts/ci/ci-yml-static-check-caches.test.ts',
|
|
66
|
-
'scripts/ci/ci-yml-unit-job.test.ts',
|
|
67
|
-
'scripts/ci/ci-yml-unit-step.test.ts',
|
|
68
|
-
'scripts/claude/claude-settings.test.ts',
|
|
69
|
-
'scripts/claude/collaboration-prompt-split.test.ts',
|
|
70
|
-
'scripts/claude/cursorrules.test.ts',
|
|
71
|
-
'scripts/claude/plugin-manifest.test.ts',
|
|
72
|
-
'scripts/claude/verify-ui-skill.test.ts',
|
|
73
|
-
'scripts/claude/workflow-skills.test.ts',
|
|
74
|
-
'scripts/clone/clone-aggregate.test.ts',
|
|
75
|
-
'scripts/clone/clone-fingerprint.test.ts',
|
|
76
|
-
'scripts/config-merge/index.test.ts',
|
|
77
|
-
'scripts/config-merge/json-format.test.ts',
|
|
78
|
-
'scripts/config-merge/list-patch.test.ts',
|
|
79
|
-
'scripts/config-merge/patch-json-key.test.ts',
|
|
80
|
-
'scripts/config-merge/patch-json-list.test.ts',
|
|
81
|
-
'scripts/config-merge/patch-yaml-list.test.ts',
|
|
82
|
-
'scripts/cost-runtime/context-cut-payback.test.ts',
|
|
83
|
-
'scripts/cost-runtime/context-cut-threshold-document.test.ts',
|
|
84
|
-
'scripts/cost-runtime/cost-attribute.test.ts',
|
|
85
|
-
'scripts/cost-runtime/cost-blocks.test.ts',
|
|
86
|
-
'scripts/cost-runtime/cost-cli-registration.test.ts',
|
|
87
|
-
'scripts/cost-runtime/cost-pricing.test.ts',
|
|
88
|
-
'scripts/cost-runtime/cost-tokens.test.ts',
|
|
89
|
-
'scripts/cost-runtime/cost-usage.test.ts',
|
|
90
|
-
'scripts/cost-runtime/own-session.test.ts',
|
|
91
|
-
'scripts/cost/cost-dollar-composition.test.ts',
|
|
92
|
-
'scripts/cost/cost-run-nodes.test.ts',
|
|
93
|
-
'scripts/cost/cost-run-report-lead.test.ts',
|
|
94
|
-
'scripts/cost/cost-run-report.test.ts',
|
|
95
|
-
'scripts/cost/cost-run-roles.test.ts',
|
|
96
|
-
'scripts/cost/cost-run-tree.test.ts',
|
|
97
|
-
'scripts/delegation/investigation-reads.test.ts',
|
|
98
|
-
'scripts/dependabot/dependabot-auto-merge-concurrency.test.ts',
|
|
99
|
-
'scripts/dependabot/dependabot-auto-merge-decision.test.ts',
|
|
100
|
-
'scripts/dependabot/dependabot-auto-merge-notice.test.ts',
|
|
101
|
-
'scripts/dependabot/dependabot-auto-merge-reconcile-script.test.ts',
|
|
102
|
-
'scripts/dependabot/dependabot-auto-merge-reconcile.test.ts',
|
|
103
|
-
'scripts/dependabot/dependabot-auto-merge.test.ts',
|
|
104
|
-
'scripts/dependabot/dependabot-config.test.ts',
|
|
105
|
-
'scripts/discovery/repo-map-logic.test.ts',
|
|
106
|
-
'scripts/discovery/repo-origin.test.ts',
|
|
107
|
-
'scripts/discovery/repo-party.test.ts',
|
|
108
|
-
'scripts/doctor/doctor-logic.test.ts',
|
|
109
|
-
'scripts/document/ai-document-pointers.test.ts',
|
|
110
|
-
'scripts/document/backlogrun-parent-read-set.test.ts',
|
|
111
|
-
'scripts/document/command-alias-restatement.test.ts',
|
|
112
|
-
'scripts/document/command-reference.test.ts',
|
|
113
|
-
'scripts/document/document-byte-budget.test.ts',
|
|
114
|
-
'scripts/document/document-byte-check.test.ts',
|
|
115
|
-
'scripts/document/document-markers.test.ts',
|
|
116
|
-
'scripts/document/document-reachability.test.ts',
|
|
117
|
-
'scripts/document/document-section.test.ts',
|
|
118
|
-
'scripts/document/entry-read-set.test.ts',
|
|
119
|
-
'scripts/document/fixed-shape-artifacts.test.ts',
|
|
120
|
-
'scripts/document/kit-only-command-reference.test.ts',
|
|
121
|
-
'scripts/document/label-reference.test.ts',
|
|
122
|
-
'scripts/document/lane-child-read-set.test.ts',
|
|
123
|
-
'scripts/document/link-resolution.test.ts',
|
|
124
|
-
'scripts/document/read-set-pricing.test.ts',
|
|
125
|
-
'scripts/document/repo-party-pointer.test.ts',
|
|
126
|
-
'scripts/document/review-agent-type-document-rule.test.ts',
|
|
127
|
-
'scripts/document/single-source.test.ts',
|
|
128
|
-
'scripts/epic/epic-audit-nested.test.ts',
|
|
129
|
-
'scripts/epic/epic-audit-rationale.test.ts',
|
|
130
|
-
'scripts/epic/epic-audit-references.test.ts',
|
|
131
|
-
'scripts/epic/epic-audit-report.test.ts',
|
|
132
|
-
'scripts/epic/epic-audit.test.ts',
|
|
133
|
-
'scripts/epic/epic-bundle-evidence.test.ts',
|
|
134
|
-
'scripts/epic/epic-bundle-referenced.test.ts',
|
|
135
|
-
'scripts/epic/epic-bundle.test.ts',
|
|
136
|
-
'scripts/epic/epic-cli-exit.test.ts',
|
|
137
|
-
'scripts/epic/epic-graph.test.ts',
|
|
138
|
-
'scripts/epic/epic-index.test.ts',
|
|
139
|
-
'scripts/epic/epic-nested.test.ts',
|
|
140
|
-
'scripts/epic/epic-next-body.test.ts',
|
|
141
|
-
'scripts/epic/epic-next-views.test.ts',
|
|
142
|
-
'scripts/epic/epic-report.test.ts',
|
|
143
|
-
'scripts/eval/eval-runner.test.ts',
|
|
144
|
-
'scripts/eval/eval-scenario.test.ts',
|
|
145
|
-
'scripts/eval/eval-transcript.test.ts',
|
|
146
|
-
'scripts/eval/eval-trigger.test.ts',
|
|
147
|
-
'scripts/gate/cspell-config.test.ts',
|
|
148
|
-
'scripts/gate/eval-removed-from-gate.test.ts',
|
|
149
|
-
'scripts/gate/gate-plan.test.ts',
|
|
150
|
-
'scripts/gate/gate-report.test.ts',
|
|
151
|
-
'scripts/gh/fix-gh-packages-logic.test.ts',
|
|
152
|
-
'scripts/git/git-ai-review-scan.test.ts',
|
|
153
|
-
'scripts/git/git-common-directory.test.ts',
|
|
154
|
-
'scripts/git/git-epic-add-body.test.ts',
|
|
155
|
-
'scripts/git/git-epic-add-branch.test.ts',
|
|
156
|
-
'scripts/git/git-epic-add-no-position.test.ts',
|
|
157
|
-
'scripts/git/git-epic-add-order.test.ts',
|
|
158
|
-
'scripts/git/git-epic-add-plan.test.ts',
|
|
159
|
-
'scripts/git/git-epic-add-reorder.test.ts',
|
|
160
|
-
'scripts/git/git-epic-add-verdict.test.ts',
|
|
161
|
-
'scripts/git/git-epic-body.test.ts',
|
|
162
|
-
'scripts/git/git-epic-chains.test.ts',
|
|
163
|
-
'scripts/git/git-epic-decision.test.ts',
|
|
164
|
-
'scripts/git/git-epic-parse-chains.test.ts',
|
|
165
|
-
'scripts/git/git-epic-parse-declaration.test.ts',
|
|
166
|
-
'scripts/git/git-epic-parse.test.ts',
|
|
167
|
-
'scripts/git/git-epic-promote.test.ts',
|
|
168
|
-
'scripts/git/git-epic-reconcile.test.ts',
|
|
169
|
-
'scripts/git/git-epic-reference-parse.test.ts',
|
|
170
|
-
'scripts/git/git-epic-reference-replaced.test.ts',
|
|
171
|
-
'scripts/git/git-epic-relations.test.ts',
|
|
172
|
-
'scripts/git/git-epic-remove-plan.test.ts',
|
|
173
|
-
'scripts/git/git-epic-sections.test.ts',
|
|
174
|
-
'scripts/git/git-epic-validate.test.ts',
|
|
175
|
-
'scripts/git/git-gh-api-path.test.ts',
|
|
176
|
-
'scripts/git/git-gh-failure.test.ts',
|
|
177
|
-
'scripts/git/git-gh-issue-rest.test.ts',
|
|
178
|
-
'scripts/git/git-gh-pr-rest.test.ts',
|
|
179
|
-
'scripts/git/git-gh-pr-review.test.ts',
|
|
180
|
-
'scripts/git/git-gh-pr-rollup.test.ts',
|
|
181
|
-
'scripts/git/git-gh-reachability.test.ts',
|
|
182
|
-
'scripts/git/git-notify.test.ts',
|
|
183
|
-
'scripts/git/git-pr-checks-evaluator.test.ts',
|
|
184
|
-
'scripts/git/git-pr-checks-parse.test.ts',
|
|
185
|
-
'scripts/git/git-pr-checks-read-failure.test.ts',
|
|
186
|
-
'scripts/git/git-pr-checks-stable-reads.test.ts',
|
|
187
|
-
'scripts/git/git-pr-checks-timeout.test.ts',
|
|
188
|
-
'scripts/git/git-pr-error.test.ts',
|
|
189
|
-
'scripts/git/git-stash.test.ts',
|
|
190
|
-
'scripts/git/github-issue-url.test.ts',
|
|
191
|
-
'scripts/git/issue-labels.test.ts',
|
|
192
|
-
'scripts/git/listing-cutoff.test.ts',
|
|
193
|
-
'scripts/git/main-merge-guard.test.ts',
|
|
194
|
-
'scripts/git/parse-json-array.test.ts',
|
|
195
|
-
'scripts/git/schemas.test.ts',
|
|
196
|
-
'scripts/git/stash-orphans.test.ts',
|
|
197
|
-
'scripts/hooks/lefthook-config.test.ts',
|
|
198
|
-
'scripts/hooks/prompt-hook-brevity.test.ts',
|
|
199
|
-
'scripts/hooks/prompt-hooks.test.ts',
|
|
200
|
-
'scripts/hooks/reserved-run.test.ts',
|
|
201
|
-
'scripts/init/claude-plugin-config.test.ts',
|
|
202
|
-
'scripts/init/init-copy-content.test.ts',
|
|
203
|
-
'scripts/init/init-logic-deploy-vps.test.ts',
|
|
204
|
-
'scripts/init/init-logic-development-engines.test.ts',
|
|
205
|
-
'scripts/init/init-logic-json-merge.comments.test.ts',
|
|
206
|
-
'scripts/init/init-logic-json-merge.compiler-options.test.ts',
|
|
207
|
-
'scripts/init/init-logic-json-merge.package-json-format.test.ts',
|
|
208
|
-
'scripts/init/init-logic-json-merge.remove.test.ts',
|
|
209
|
-
'scripts/init/init-logic-json-merge.settings.test.ts',
|
|
210
|
-
'scripts/init/init-logic-json-merge.test.ts',
|
|
211
|
-
'scripts/init/init-logic-migrate.test.ts',
|
|
212
|
-
'scripts/init/init-logic-secretlint.test.ts',
|
|
213
|
-
'scripts/init/init-logic-sonar.test.ts',
|
|
214
|
-
'scripts/init/init-logic-workspace.test.ts',
|
|
215
|
-
'scripts/init/init-logic.cspell.test.ts',
|
|
216
|
-
'scripts/init/init-logic.merge.test.ts',
|
|
217
|
-
'scripts/init/init-logic.package-files.test.ts',
|
|
218
|
-
'scripts/init/init-logic.prettier-plugins.test.ts',
|
|
219
|
-
'scripts/init/init-logic.test.ts',
|
|
220
|
-
'scripts/init/init-logic.transform.test.ts',
|
|
221
|
-
'scripts/init/init-logic.tsconfig.test.ts',
|
|
222
|
-
'scripts/init/init-logic.vscode-settings.test.ts',
|
|
223
|
-
'scripts/init/init-logic.yaml.test.ts',
|
|
224
|
-
'scripts/init/init-package-manager-align.test.ts',
|
|
225
|
-
'scripts/init/init-paths.test.ts',
|
|
226
|
-
'scripts/init/kit-base-preset.test.ts',
|
|
227
|
-
'scripts/issue/baseline-measure.test.ts',
|
|
228
|
-
'scripts/issue/behavior-change-document-rule.test.ts',
|
|
229
|
-
'scripts/issue/behavior-change-lint.test.ts',
|
|
230
|
-
'scripts/issue/defect-rate.test.ts',
|
|
231
|
-
'scripts/issue/issue-backlinks.test.ts',
|
|
232
|
-
'scripts/issue/issue-cite.test.ts',
|
|
233
|
-
'scripts/issue/issue-fold.test.ts',
|
|
234
|
-
'scripts/issue/issue-lint.test.ts',
|
|
235
|
-
'scripts/issue/issue-logic.test.ts',
|
|
236
|
-
'scripts/issue/issue-read.test.ts',
|
|
237
|
-
'scripts/issue/issue-scout.test.ts',
|
|
238
|
-
'scripts/issue/issue-state.test.ts',
|
|
239
|
-
'scripts/issue/reproduction-measure.test.ts',
|
|
240
|
-
'scripts/josh/agent-session-environment.test.ts',
|
|
241
|
-
'scripts/josh/command-suggest.test.ts',
|
|
242
|
-
'scripts/josh/gate-cache-flags.test.ts',
|
|
243
|
-
'scripts/josh/josh-command-map.test.ts',
|
|
244
|
-
'scripts/josh/josh-command-reference.test.ts',
|
|
245
|
-
'scripts/josh/josh-commands-maintenance.test.ts',
|
|
246
|
-
'scripts/josh/josh-commands-versioning.test.ts',
|
|
247
|
-
'scripts/josh/josh-composite-arguments.test.ts',
|
|
248
|
-
'scripts/josh/josh-environment-file.test.ts',
|
|
249
|
-
'scripts/josh/josh-verdict.test.ts',
|
|
250
|
-
'scripts/josh/josh.stdout.test.ts',
|
|
251
|
-
'scripts/josh/kit-only.test.ts',
|
|
252
|
-
'scripts/josh/platform-temporary.test.ts',
|
|
253
|
-
'scripts/josh/process-identity.test.ts',
|
|
254
|
-
'scripts/lane/lane-capacity.test.ts',
|
|
255
|
-
'scripts/lane/lane-child-invocation.test.ts',
|
|
256
|
-
'scripts/lane/lane-child-marker.test.ts',
|
|
257
|
-
'scripts/lane/lane-environment.test.ts',
|
|
258
|
-
'scripts/lane/lane-guard-policy.test.ts',
|
|
259
|
-
'scripts/lane/lane-occupancy.test.ts',
|
|
260
|
-
'scripts/lane/lane-paths.test.ts',
|
|
261
|
-
'scripts/lane/lane-reap.test.ts',
|
|
262
|
-
'scripts/lane/lane-report.test.ts',
|
|
263
|
-
'scripts/lane/lane-resume.test.ts',
|
|
264
|
-
'scripts/lane/lane-seed.test.ts',
|
|
265
|
-
'scripts/lib/bash-output-cap.test.ts',
|
|
266
|
-
'scripts/lib/poll.test.ts',
|
|
267
|
-
'scripts/lib/schemas.test.ts',
|
|
268
|
-
'scripts/lines/line-targets.test.ts',
|
|
269
|
-
'scripts/lint/lint-related-scope.test.ts',
|
|
270
|
-
'scripts/managed-marker/index.test.ts',
|
|
271
|
-
'scripts/managed-marker/managed-marker-logic.test.ts',
|
|
272
|
-
'scripts/observations/observation-ledger-line.test.ts',
|
|
273
|
-
'scripts/observations/observation-ledger.test.ts',
|
|
274
|
-
'scripts/observations/observations-flush.test.ts',
|
|
275
|
-
'scripts/overrides/lockfile-overrides.test.ts',
|
|
276
|
-
'scripts/overrides/overrides-logic.test.ts',
|
|
277
|
-
'scripts/overrides/overrides-sources.test.ts',
|
|
278
|
-
'scripts/package/package-scout-format.test.ts',
|
|
279
|
-
'scripts/package/package-scout.test.ts',
|
|
280
|
-
'scripts/ports/port-command.spawn.test.ts',
|
|
281
|
-
'scripts/ports/port-command.test.ts',
|
|
282
|
-
'scripts/propagate/propagate-publish.test.ts',
|
|
283
|
-
'scripts/propagate/propagate-run.test.ts',
|
|
284
|
-
'scripts/refactor/import-graph.test.ts',
|
|
285
|
-
'scripts/refactor/refactor-lint.test.ts',
|
|
286
|
-
'scripts/refactor/refactor-scan.test.ts',
|
|
287
|
-
'scripts/refactor/refactor-targets.test.ts',
|
|
288
|
-
'scripts/release/release-history.test.ts',
|
|
289
|
-
'scripts/release/release-plan.test.ts',
|
|
290
|
-
'scripts/release/release-tag.test.ts',
|
|
291
|
-
'scripts/repo/auto-merge-setting-logic.test.ts',
|
|
292
|
-
'scripts/repo/repo-setting-wiring.test.ts',
|
|
293
|
-
'scripts/report/report-lint.test.ts',
|
|
294
|
-
'scripts/retrospective/retrospective.test.ts',
|
|
295
|
-
'scripts/review/disposition-logic.test.ts',
|
|
296
|
-
'scripts/review/review-brief-process-identity.test.ts',
|
|
297
|
-
'scripts/review/review-finding-ledger.test.ts',
|
|
298
|
-
'scripts/review/review-level.test.ts',
|
|
299
|
-
'scripts/review/review-profile.test.ts',
|
|
300
|
-
'scripts/review/review-round2-cli.test.ts',
|
|
301
|
-
'scripts/review/review-round2.test.ts',
|
|
302
|
-
'scripts/review/review-rubric.test.ts',
|
|
303
|
-
'scripts/rules/backlogrun-entry-prose-document-rule.test.ts',
|
|
304
|
-
'scripts/rules/decision-oracle-document-rule.test.ts',
|
|
305
|
-
'scripts/rules/decision-oracle-single-source-document-rule.test.ts',
|
|
306
|
-
'scripts/rules/decision-oracle.test.ts',
|
|
307
|
-
'scripts/rules/delegation-document-rule.test.ts',
|
|
308
|
-
'scripts/rules/delivered-rules-predicates.test.ts',
|
|
309
|
-
'scripts/rules/entry-read-set-document-rule.test.ts',
|
|
310
|
-
'scripts/rules/filing-cap.test.ts',
|
|
311
|
-
'scripts/rules/filing-offer.test.ts',
|
|
312
|
-
'scripts/rules/filing-route-label.test.ts',
|
|
313
|
-
'scripts/rules/firing-point.test.ts',
|
|
314
|
-
'scripts/rules/gh-api.test.ts',
|
|
315
|
-
'scripts/rules/git-argv.test.ts',
|
|
316
|
-
'scripts/rules/git-force.test.ts',
|
|
317
|
-
'scripts/rules/implementation-cut-rule.test.ts',
|
|
318
|
-
'scripts/rules/issue-citation.test.ts',
|
|
319
|
-
'scripts/rules/issue-comments-rule.test.ts',
|
|
320
|
-
'scripts/rules/issue-depth-label.test.ts',
|
|
321
|
-
'scripts/rules/issue-fold.test.ts',
|
|
322
|
-
'scripts/rules/josh-git-bare.test.ts',
|
|
323
|
-
'scripts/rules/lane-interactive-ask-rule.test.ts',
|
|
324
|
-
'scripts/rules/lane-park-rule.test.ts',
|
|
325
|
-
'scripts/rules/latest-gate-document-rule.test.ts',
|
|
326
|
-
'scripts/rules/oracle-firing.test.ts',
|
|
327
|
-
'scripts/rules/ordering-question-document-rule.test.ts',
|
|
328
|
-
'scripts/rules/piped-verification-rule.test.ts',
|
|
329
|
-
'scripts/rules/piped-verification.test.ts',
|
|
330
|
-
'scripts/rules/pointer-citation-document-rule.test.ts',
|
|
331
|
-
'scripts/rules/poll-loop.test.ts',
|
|
332
|
-
'scripts/rules/pre-gate-cut-rule.test.ts',
|
|
333
|
-
'scripts/rules/prior-comment-read.test.ts',
|
|
334
|
-
'scripts/rules/prose-command-document-rule.test.ts',
|
|
335
|
-
'scripts/rules/raw-field-body.test.ts',
|
|
336
|
-
'scripts/rules/reply-language.test.ts',
|
|
337
|
-
'scripts/rules/repo-discovery-document-rule.test.ts',
|
|
338
|
-
'scripts/rules/review-level-document-rule.test.ts',
|
|
339
|
-
'scripts/rules/rule-value.test.ts',
|
|
340
|
-
'scripts/rules/shell-body-rule.test.ts',
|
|
341
|
-
'scripts/rules/shell-body-trigger.test.ts',
|
|
342
|
-
'scripts/rules/shell-segments.test.ts',
|
|
343
|
-
'scripts/rules/simple-entry-prose-document-rule.test.ts',
|
|
344
|
-
'scripts/rules/stop-rules-language.test.ts',
|
|
345
|
-
'scripts/rules/stop-rules-rule.test.ts',
|
|
346
|
-
'scripts/rules/stop-rules.test.ts',
|
|
347
|
-
'scripts/rules/top-level-scripts-guard.test.ts',
|
|
348
|
-
'scripts/rules/turn-batching-rule.test.ts',
|
|
349
|
-
'scripts/rules/worktree-guard.test.ts',
|
|
350
|
-
'scripts/run/detached-launch.test.ts',
|
|
351
|
-
'scripts/run/run-carry-streak.test.ts',
|
|
352
|
-
'scripts/run/run-cut-args.test.ts',
|
|
353
|
-
'scripts/run/run-cut-cli-impl.test.ts',
|
|
354
|
-
'scripts/run/run-ending.test.ts',
|
|
355
|
-
'scripts/run/run-entry.test.ts',
|
|
356
|
-
'scripts/run/run-event-follow.test.ts',
|
|
357
|
-
'scripts/run/run-event-render.test.ts',
|
|
358
|
-
'scripts/run/run-event-scope.test.ts',
|
|
359
|
-
'scripts/run/run-event-watch.test.ts',
|
|
360
|
-
'scripts/run/run-invocation.test.ts',
|
|
361
|
-
'scripts/run/run-merge-cli-args.test.ts',
|
|
362
|
-
'scripts/run/run-merge.test.ts',
|
|
363
|
-
'scripts/run/run-next.test.ts',
|
|
364
|
-
'scripts/run/run-progress-cli-imports.test.ts',
|
|
365
|
-
'scripts/run/run-report.test.ts',
|
|
366
|
-
'scripts/run/run-review-cli.test.ts',
|
|
367
|
-
'scripts/run/run-review-steps.test.ts',
|
|
368
|
-
'scripts/run/run-review.test.ts',
|
|
369
|
-
'scripts/run/run-ship-review.test.ts',
|
|
370
|
-
'scripts/run/run-ship.test.ts',
|
|
371
|
-
'scripts/run/run-step.test.ts',
|
|
372
|
-
'scripts/run/run-stop-notify.test.ts',
|
|
373
|
-
'scripts/run/run-stranded-detect.test.ts',
|
|
374
|
-
'scripts/run/run-stranded.test.ts',
|
|
375
|
-
'scripts/run/run-tail.test.ts',
|
|
376
|
-
'scripts/run/run-transcript-fixture.test.ts',
|
|
377
|
-
'scripts/run/run-wake-idle.test.ts',
|
|
378
|
-
'scripts/run/run-wake-work.test.ts',
|
|
379
|
-
'scripts/security/security-audit-logic.test.ts',
|
|
380
|
-
'scripts/security/security-audit-provision-logic.test.ts',
|
|
381
|
-
'scripts/security/security-updates-logic.test.ts',
|
|
382
|
-
'scripts/security/sonar-config.test.ts',
|
|
383
|
-
'scripts/split/split-assess-document-rule.test.ts',
|
|
384
|
-
'scripts/split/split-assess.test.ts',
|
|
385
|
-
'scripts/sync/dependabot-pin-logic.test.ts',
|
|
386
|
-
'scripts/sync/distribution-boundary.test.ts',
|
|
387
|
-
'scripts/sync/managed-config-scope-cli.test.ts',
|
|
388
|
-
'scripts/sync/removed-skill-manifest.test.ts',
|
|
389
|
-
'scripts/sync/synced-paths.test.ts',
|
|
390
|
-
'scripts/sync/template-source-logic.test.ts',
|
|
391
|
-
'scripts/sync/template-source-parity.test.ts',
|
|
392
|
-
'scripts/sync/templates-contents.test.ts',
|
|
393
|
-
'scripts/sync/workflow-pin-logic.test.ts',
|
|
394
|
-
'scripts/sync/workflow-pin-packaging.test.ts',
|
|
395
|
-
'scripts/test/http-fault-injection.test.ts',
|
|
396
|
-
'scripts/test/pilot-config.test.ts',
|
|
397
|
-
'scripts/test/pilot-files.test.ts',
|
|
398
|
-
'scripts/test/test-declared-document-rule.test.ts',
|
|
399
|
-
'scripts/test/test-declared-logic.test.ts',
|
|
400
|
-
'scripts/test/test-declared-match.test.ts',
|
|
401
|
-
'scripts/test/test-declared.test.ts',
|
|
402
|
-
'scripts/test/test-red-commit.test.ts',
|
|
403
|
-
'scripts/test/test-red-logic.test.ts',
|
|
404
|
-
'scripts/test/test-related-scope.test.ts',
|
|
405
|
-
'scripts/test/test-state-guard.test.ts',
|
|
406
|
-
'scripts/test/test-stdout-guard.test.ts',
|
|
407
|
-
'scripts/test/test-type-logic.test.ts',
|
|
408
|
-
'scripts/time-runtime/time-agent-bundles.test.ts',
|
|
409
|
-
'scripts/time-runtime/time-background.test.ts',
|
|
410
|
-
'scripts/time-runtime/time-batch-guard-notice.test.ts',
|
|
411
|
-
'scripts/time-runtime/time-batch-guard.test.ts',
|
|
412
|
-
'scripts/time-runtime/time-bundle-call.test.ts',
|
|
413
|
-
'scripts/time-runtime/time-bundles.test.ts',
|
|
414
|
-
'scripts/time-runtime/time-call-identity.test.ts',
|
|
415
|
-
'scripts/time-runtime/time-command-key.test.ts',
|
|
416
|
-
'scripts/time-runtime/time-density.test.ts',
|
|
417
|
-
'scripts/time-runtime/time-followup-stage.test.ts',
|
|
418
|
-
'scripts/time-runtime/time-format.test.ts',
|
|
419
|
-
'scripts/time-runtime/time-hook-transcript.test.ts',
|
|
420
|
-
'scripts/time-runtime/time-instant.test.ts',
|
|
421
|
-
'scripts/time-runtime/time-markers.test.ts',
|
|
422
|
-
'scripts/time-runtime/time-reported-failure.test.ts',
|
|
423
|
-
'scripts/time-runtime/time-round-trips.test.ts',
|
|
424
|
-
'scripts/time-runtime/time-shell.test.ts',
|
|
425
|
-
'scripts/time-runtime/time-single-check.test.ts',
|
|
426
|
-
'scripts/time-runtime/time-spans.test.ts',
|
|
427
|
-
'scripts/time-runtime/time-writes.test.ts',
|
|
428
|
-
'scripts/time/time-density-cli.test.ts',
|
|
429
|
-
'scripts/time/time-run-state.test.ts',
|
|
430
|
-
'scripts/ui/ui-routes.test.ts',
|
|
431
|
-
'scripts/version/index.test.ts',
|
|
432
|
-
'scripts/version/kit-descriptor.test.ts',
|
|
433
|
-
'scripts/version/kit-version-config.test.ts',
|
|
434
|
-
'scripts/version/latest-regression.test.ts',
|
|
435
|
-
'scripts/version/package-manager-version-consistency.test.ts',
|
|
436
|
-
'scripts/version/package-manager-version.test.ts',
|
|
437
|
-
'scripts/version/parse-json.test.ts',
|
|
438
|
-
'scripts/version/publishable-range.test.ts',
|
|
439
|
-
'scripts/version/release-age.test.ts',
|
|
440
|
-
'scripts/version/release-hold-output.test.ts',
|
|
441
|
-
'scripts/version/release-hold.test.ts',
|
|
442
|
-
'scripts/version/running-binary.test.ts',
|
|
443
|
-
'scripts/version/upgrade-command-guard.test.ts',
|
|
444
|
-
'scripts/version/version-check-logic-effective-hint.test.ts',
|
|
445
|
-
'scripts/version/version-check-logic-upstream.test.ts',
|
|
446
|
-
'scripts/version/version-check-logic.test.ts',
|
|
447
|
-
'scripts/version/version-check.test.ts',
|
|
448
|
-
'scripts/version/version-command-config.test.ts',
|
|
449
|
-
'scripts/yaml/yaml-document.test.ts',
|
|
450
|
-
]
|
|
451
|
-
|
|
452
|
-
export { PILOT_FILES }
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { execSync } from 'node:child_process'
|
|
2
|
-
import { writeFileSync } from 'node:fs'
|
|
3
|
-
import path from 'node:path'
|
|
4
|
-
import { PILOT_FILES } from './pilot-files'
|
|
5
|
-
|
|
6
|
-
const RESULTS_FILE = 'pilot-measure-results.json'
|
|
7
|
-
const BASELINE_LABEL = 'baseline (isolate=true)'
|
|
8
|
-
const PILOT_LABEL = 'pilot (isolate=false)'
|
|
9
|
-
const PILOT_CONFIG = 'vitest.pilot.config.ts'
|
|
10
|
-
const JSON_INDENT = 2
|
|
11
|
-
|
|
12
|
-
interface MeasureResult {
|
|
13
|
-
label: string
|
|
14
|
-
duration_ms: number
|
|
15
|
-
file_count: number
|
|
16
|
-
worker_count: number
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface MeasureReport {
|
|
20
|
-
baseline: MeasureResult
|
|
21
|
-
pilot: MeasureResult
|
|
22
|
-
saved_ms: number
|
|
23
|
-
measured_at: string
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
function timed_vitest(args: string): number {
|
|
27
|
-
const start = Date.now()
|
|
28
|
-
|
|
29
|
-
execSync(`pnpm vitest run ${args}`, { stdio: 'inherit' })
|
|
30
|
-
|
|
31
|
-
return Date.now() - start
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function build_result(label: string, duration_ms: number, worker_count: number): MeasureResult {
|
|
35
|
-
return { label, duration_ms, file_count: PILOT_FILES.length, worker_count }
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
function run_baseline(): MeasureResult {
|
|
39
|
-
const duration_ms = timed_vitest(PILOT_FILES.join(' '))
|
|
40
|
-
|
|
41
|
-
return build_result(BASELINE_LABEL, duration_ms, PILOT_FILES.length)
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
function run_pilot(): MeasureResult {
|
|
45
|
-
const duration_ms = timed_vitest(`--config ${PILOT_CONFIG}`)
|
|
46
|
-
|
|
47
|
-
return build_result(PILOT_LABEL, duration_ms, 1)
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
function output_path(): string {
|
|
51
|
-
return path.join(process.cwd(), 'scripts', 'test', RESULTS_FILE)
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
function measure(): void {
|
|
55
|
-
console.info('Running baseline (isolate=true)...')
|
|
56
|
-
const baseline = run_baseline()
|
|
57
|
-
|
|
58
|
-
console.info('Running pilot (isolate=false)...')
|
|
59
|
-
const pilot = run_pilot()
|
|
60
|
-
|
|
61
|
-
const report: MeasureReport = {
|
|
62
|
-
baseline,
|
|
63
|
-
pilot,
|
|
64
|
-
saved_ms: baseline.duration_ms - pilot.duration_ms,
|
|
65
|
-
measured_at: new Date().toISOString(),
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
const out = output_path()
|
|
69
|
-
|
|
70
|
-
writeFileSync(out, JSON.stringify(report, undefined, JSON_INDENT))
|
|
71
|
-
|
|
72
|
-
console.info(
|
|
73
|
-
`Baseline: ${String(baseline.duration_ms)}ms | Pilot: ${String(pilot.duration_ms)}ms | Saved: ${String(report.saved_ms)}ms`,
|
|
74
|
-
)
|
|
75
|
-
console.info(`Results saved to ${out}`)
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
measure()
|