@dsh-triage/probe 0.0.0-stage → 0.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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host.js","sourceRoot":"","sources":["../src/host.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,KAAK,EAAE,SAAS,EAAqB,MAAM,oBAAoB,CAAA;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC/J,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAE,SAAS,EAAkC,MAAM,aAAa,CAAA;AA0NvF,2FAA2F;AAC3F,MAAM,UAAU,cAAc,CAAC,GAAW;IACxC,IAAI,CAAC;QACH,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,EAAE,cAAc,CAAC,CAAA;QAC7C,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC;YAC7B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,eAAe,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAA;QACzH,CAAC;QACD,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,EAAE,eAAe,CAAC,CAAA;QACtD,IAAI,QAAQ,GAAkB,IAAI,CAAA;QAClC,IAAI,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC;YAC5B,6FAA6F;YAC7F,6FAA6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AAA;IAClB,CAAC;IACD,OAAO,EAAE,GAAG,GAAG,EAAE,GAAG,SAAS,EAAE,CAAA;AACjC,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Public surface of `@dsh-triage/probe`.
3
+ *
4
+ * `plan` builds the isolation proof (pure data, dry-run printing is already useful);
5
+ * `exec` runs it and judges what happened. The executor never runs unless the caller
6
+ * passes `--execute`, and it never accepts a plan that overlaps the real DSH home.
7
+ */
8
+ export type { ProbeAssertion, ProbePlan, ProbePlanError, ProbePlanErrorCode, ProbePlanInput, ProbeProfileSource, ProbeStep, } from './plan.js';
9
+ export { PROFILE_DECLARATION_FILES, buildProbePlan, validateProbePlan } from './plan.js';
10
+ export { applySandboxBuildPolicy, copiedFilesPresent, copyProfileDeclarations, danglingLocalDependencies, localDependencyTargets, readProfileManifest, } from './profile-copy.js';
11
+ export type { LocalDependencyTarget, ProfileCopyResult } from './profile-copy.js';
12
+ export { bootAndSampleHost, dshMainOf, diagnosisFromText, failureEndpoints, bindFailedPorts, findFreePort, ignoredBuildPackages, installDiagnosis, isProvisionalSample, isReadableSample, isUsableSample, killTree, pluginArgv, probeHttp, readNodeLayout, readRuntimeVersion, removeSandbox, runInstall, runProfileInstall, sandboxNpmEnv, sanitizeDiagnosisLine, sanitizeLogLine, scrubbedEnv, sha256Of, } from './host.js';
13
+ export type { BootSampleOptions, BootSampleResult, NodeLayout, BootSegments, ExtraPatchEntry, HostObservation, HostReadiness, HttpProbeResult, InstallDiagnosis, InstallResult, RuntimeReadResult, SampleReplacement, } from './host.js';
14
+ export { MIN_VISIBLE_TEXT, extractHostUrl, findBrowser, judgeRender, killBrowser, renderScratchRoot, renderUrl, } from './render.js';
15
+ export type { BrowserLookup, HostUrl, RenderCheck, RenderJudgement, RenderSignals, RenderState, RenderUrlInput, } from './render.js';
16
+ export type { BootInput, CleanupInput, ExecuteProbeInput, HttpInput, InstallInput, JudgeProbeInput, ProbeAssertionResult, ProbeAssertionStatus, ProbeCandidateRow, ProbeCleanupResult, ProbeDanglingLink, ProbeExecDeps, ProbeJudgement, ProbeProfileCopy, ProbeRun, ProbeSampleView, ProbeStepId, ProbeStepRun, ProbeStepStatus, ProbeTimeouts, ProbeTimings, ProfilePrepareInput, ProfilePrepareOutcome, RuntimeReadInput, } from './exec.js';
17
+ export { DEFAULT_PROBE_TIMEOUTS, executeProbe, isCandidateModule, judgeProbe, modulePackageName, probeAssertions, probeVerdict, readSample, } from './exec.js';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,EACV,cAAc,EACd,SAAS,EACT,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,SAAS,GACV,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAExF,OAAO,EACL,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,yBAAyB,EACzB,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,mBAAmB,CAAA;AAC1B,YAAY,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAEjF,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,UAAU,EACV,SAAS,EACT,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,qBAAqB,EACrB,eAAe,EACf,WAAW,EACX,QAAQ,GACT,MAAM,WAAW,CAAA;AAClB,YAAY,EACV,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,YAAY,EACZ,eAAe,EACf,eAAe,EACf,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,WAAW,CAAA;AAElB,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,SAAS,GACV,MAAM,aAAa,CAAA;AACpB,YAAY,EACV,aAAa,EACb,OAAO,EACP,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,cAAc,GACf,MAAM,aAAa,CAAA;AAEpB,YAAY,EACV,SAAS,EACT,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,QAAQ,EACR,eAAe,EACf,WAAW,EACX,YAAY,EACZ,eAAe,EACf,aAAa,EACb,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,WAAW,CAAA;AAClB,OAAO,EACL,sBAAsB,EACtB,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,UAAU,GACX,MAAM,WAAW,CAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Public surface of `@dsh-triage/probe`.
3
+ *
4
+ * `plan` builds the isolation proof (pure data, dry-run printing is already useful);
5
+ * `exec` runs it and judges what happened. The executor never runs unless the caller
6
+ * passes `--execute`, and it never accepts a plan that overlaps the real DSH home.
7
+ */
8
+ export { PROFILE_DECLARATION_FILES, buildProbePlan, validateProbePlan } from './plan.js';
9
+ export { applySandboxBuildPolicy, copiedFilesPresent, copyProfileDeclarations, danglingLocalDependencies, localDependencyTargets, readProfileManifest, } from './profile-copy.js';
10
+ export { bootAndSampleHost, dshMainOf, diagnosisFromText, failureEndpoints, bindFailedPorts, findFreePort, ignoredBuildPackages, installDiagnosis, isProvisionalSample, isReadableSample, isUsableSample, killTree, pluginArgv, probeHttp, readNodeLayout, readRuntimeVersion, removeSandbox, runInstall, runProfileInstall, sandboxNpmEnv, sanitizeDiagnosisLine, sanitizeLogLine, scrubbedEnv, sha256Of, } from './host.js';
11
+ export { MIN_VISIBLE_TEXT, extractHostUrl, findBrowser, judgeRender, killBrowser, renderScratchRoot, renderUrl, } from './render.js';
12
+ export { DEFAULT_PROBE_TIMEOUTS, executeProbe, isCandidateModule, judgeProbe, modulePackageName, probeAssertions, probeVerdict, readSample, } from './exec.js';
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAWH,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAExF,OAAO,EACL,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,yBAAyB,EACzB,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,UAAU,EACV,SAAS,EACT,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,qBAAqB,EACrB,eAAe,EACf,WAAW,EACX,QAAQ,GACT,MAAM,WAAW,CAAA;AAgBlB,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,SAAS,GACV,MAAM,aAAa,CAAA;AAqCpB,OAAO,EACL,sBAAsB,EACtB,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,UAAU,GACX,MAAM,WAAW,CAAA"}
package/dist/plan.d.ts ADDED
@@ -0,0 +1,109 @@
1
+ /**
2
+ * Probe plan builder (M3 executor consumes this).
3
+ *
4
+ * Why a plan instead of direct execution:
5
+ * - plans are pure data, so they can be diffed, reviewed and unit-tested offline;
6
+ * - the default CLI path is `--dry-run`: printing the plan is already useful
7
+ * ("this is exactly what would touch your machine");
8
+ * - execution needs an isolated `DSH_HOME`, and the plan is the place where that
9
+ * isolation is proven before anything runs.
10
+ *
11
+ * HARD INVARIANT: the sandbox home must never be the real DSH home, nor live
12
+ * inside it. {@link validateProbePlan} enforces this and the CLI refuses to run an
13
+ * invalid plan.
14
+ */
15
+ import type { Result } from '@dsh-triage/core';
16
+ /**
17
+ * The declaration files a DSH profile is made of (T-304 / R20 fact F38).
18
+ *
19
+ * WHY THIS EXACT LIST: copying only these four into a sandbox `profiles/<name>` boots the
20
+ * same profile (the Host prints its URL, HTTP answers 401). `node_modules`, `.plugin-manager/`
21
+ * and `.npmrc` are deliberately NOT here: the first is rebuilt by the package manager, and
22
+ * the last can carry a registry token (铁律 4).
23
+ */
24
+ export declare const PROFILE_DECLARATION_FILES: readonly ["package.json", "cordis.yml", "cordis.patch.yml", "pnpm-workspace.yaml"];
25
+ /** Where the sandbox profile's declarations came from (T-304). */
26
+ export interface ProbeProfileSource {
27
+ /** Profile name inside the real DSH home. */
28
+ readonly name: string;
29
+ /** Absolute path of that profile; published only through the redactor. */
30
+ readonly dir: string;
31
+ }
32
+ export interface ProbePlanInput {
33
+ /** npm spec, git spec, tarball or local path to install in the sandbox. */
34
+ readonly candidate: string;
35
+ /** The real `$DSH_HOME` — used only to prove the sandbox is disjoint. */
36
+ readonly realDshHome: string;
37
+ /** Profile name to create inside the sandbox, defaults to `web`. */
38
+ readonly profile?: string;
39
+ /**
40
+ * Copy this profile's declarations out of the real DSH home before installing (T-304).
41
+ *
42
+ * Without it the probe answers "would this work in the empty template profile?"; with it
43
+ * the probe answers "would this work alongside *my* bundles?".
44
+ */
45
+ readonly copyProfile?: string;
46
+ /** Parent directory for sandbox homes, defaults to the OS temp directory. */
47
+ readonly workRoot: string;
48
+ readonly basePort?: number;
49
+ /** Executable used to drive DSH; injected so tests can assert argv. */
50
+ readonly dshBin?: string;
51
+ }
52
+ export interface ProbeStep {
53
+ readonly id: string;
54
+ readonly argv: readonly string[];
55
+ /** Extra environment for this step only. */
56
+ readonly env: Readonly<Record<string, string>>;
57
+ readonly cwd: string;
58
+ readonly note: string;
59
+ }
60
+ export interface ProbeAssertion {
61
+ readonly id: string;
62
+ /** Human-readable expectation; the M3 runner maps these to machine checks. */
63
+ readonly expect: string;
64
+ /**
65
+ * Whether M3 actually measures it. `false` means the artifact must report
66
+ * `unmeasured` — advertising an assertion the runner cannot answer is how a probe
67
+ * starts lying (BS-03 / BS-21).
68
+ */
69
+ readonly measured: boolean;
70
+ }
71
+ export interface ProbePlan {
72
+ readonly schemaVersion: 1;
73
+ readonly candidate: string;
74
+ /** Profile name created inside the sandbox home. */
75
+ readonly profile: string;
76
+ readonly sandboxHome: string;
77
+ readonly sandboxProfileDir: string;
78
+ /**
79
+ * `template` = the launcher initialises an empty profile; `copy:<name>` = the declarations
80
+ * came from a real profile (T-304). Published in every artifact: a measurement is only
81
+ * meaningful next to the composition it was taken in.
82
+ */
83
+ readonly profileOrigin: string;
84
+ readonly profileSource: ProbeProfileSource | null;
85
+ readonly port: number;
86
+ readonly steps: readonly ProbeStep[];
87
+ readonly assertions: readonly ProbeAssertion[];
88
+ readonly warnings: readonly string[];
89
+ }
90
+ export type ProbePlanErrorCode = 'invalid-candidate' | 'invalid-profile' | 'invalid-copy-profile' | 'profile-source-overlaps-sandbox' | 'sandbox-overlaps-real-home' | 'invalid-work-root';
91
+ export interface ProbePlanError {
92
+ readonly code: ProbePlanErrorCode;
93
+ readonly detail: string;
94
+ }
95
+ export declare function buildProbePlan(input: ProbePlanInput): Result<ProbePlan, ProbePlanError>;
96
+ /**
97
+ * Prove the sandbox is disjoint from the real DSH home — and, when a profile is copied
98
+ * (T-304), from that profile too.
99
+ *
100
+ * WHY THE SECOND CHECK: the copy reads from the real profile, so a sandbox that shares a
101
+ * path with it would let the probe overwrite the very composition it claims to measure.
102
+ * `..` and separators are already refused at build time; this is the belt for symlinks and
103
+ * for callers that assemble a plan by hand.
104
+ */
105
+ export declare function validateProbePlan(input: {
106
+ readonly plan: ProbePlan;
107
+ readonly realDshHome: string;
108
+ }): Result<true, ProbePlanError>;
109
+ //# sourceMappingURL=plan.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../src/plan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAE9C;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,oFAK5B,CAAA;AASV,kEAAkE;AAClE,MAAM,WAAW,kBAAkB;IACjC,6CAA6C;IAC7C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,0EAA0E;IAC1E,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,2EAA2E;IAC3E,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,yEAAyE;IACzE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,oEAAoE;IACpE,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB;;;;;OAKG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;IAC7B,6EAA6E;IAC7E,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;IAC1B,uEAAuE;IACvE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,EAAE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E,kBAAkB,CAAA;IACjC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CACxB;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM,CAAC,SAAS,EAAE,cAAc,CAAC,CA2IvF;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;IACxB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAC7B,GAAG,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC,CAmC/B"}
package/dist/plan.js ADDED
@@ -0,0 +1,246 @@
1
+ /**
2
+ * Probe plan builder (M3 executor consumes this).
3
+ *
4
+ * Why a plan instead of direct execution:
5
+ * - plans are pure data, so they can be diffed, reviewed and unit-tested offline;
6
+ * - the default CLI path is `--dry-run`: printing the plan is already useful
7
+ * ("this is exactly what would touch your machine");
8
+ * - execution needs an isolated `DSH_HOME`, and the plan is the place where that
9
+ * isolation is proven before anything runs.
10
+ *
11
+ * HARD INVARIANT: the sandbox home must never be the real DSH home, nor live
12
+ * inside it. {@link validateProbePlan} enforces this and the CLI refuses to run an
13
+ * invalid plan.
14
+ */
15
+ import { createHash } from 'node:crypto';
16
+ import { isAbsolute, join, relative, resolve } from 'node:path';
17
+ /**
18
+ * The declaration files a DSH profile is made of (T-304 / R20 fact F38).
19
+ *
20
+ * WHY THIS EXACT LIST: copying only these four into a sandbox `profiles/<name>` boots the
21
+ * same profile (the Host prints its URL, HTTP answers 401). `node_modules`, `.plugin-manager/`
22
+ * and `.npmrc` are deliberately NOT here: the first is rebuilt by the package manager, and
23
+ * the last can carry a registry token (铁律 4).
24
+ */
25
+ export const PROFILE_DECLARATION_FILES = [
26
+ 'package.json',
27
+ 'cordis.yml',
28
+ 'cordis.patch.yml',
29
+ 'pnpm-workspace.yaml',
30
+ ];
31
+ /**
32
+ * A profile name becomes a directory segment, both inside the sandbox and (for a copy) inside
33
+ * the real DSH home, so `..`, separators and absolute paths are refused rather than sanitised
34
+ * (R14 audit finding F-1).
35
+ */
36
+ const PROFILE_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/;
37
+ export function buildProbePlan(input) {
38
+ const candidate = input.candidate.trim();
39
+ if (candidate === '') {
40
+ return { ok: false, error: { code: 'invalid-candidate', detail: 'candidate spec is empty' } };
41
+ }
42
+ if (!isAbsolute(input.workRoot)) {
43
+ return { ok: false, error: { code: 'invalid-work-root', detail: 'workRoot must be an absolute path' } };
44
+ }
45
+ const digest = createHash('sha256').update(candidate).digest('hex').slice(0, 8);
46
+ const slug = slugify(candidate);
47
+ const sandboxHome = join(resolve(input.workRoot), `${slug}-${digest}`);
48
+ // A copied profile keeps its own name unless the caller asked for a different sandbox one:
49
+ // the name decides which `profiles/<name>` the launcher reads, and a rename would silently
50
+ // measure a different composition than the one asked for.
51
+ const copyProfile = input.copyProfile?.trim();
52
+ if (copyProfile !== undefined && copyProfile !== '') {
53
+ if (!PROFILE_NAME.test(copyProfile)) {
54
+ return {
55
+ ok: false,
56
+ error: {
57
+ code: 'invalid-copy-profile',
58
+ detail: `copy profile "${copyProfile}" must match ${PROFILE_NAME} — it becomes a directory segment under the real DSH home`,
59
+ },
60
+ };
61
+ }
62
+ }
63
+ const profileFromCopy = copyProfile === undefined || copyProfile === '' ? null : copyProfile;
64
+ const profile = input.profile ?? profileFromCopy ?? 'web';
65
+ // A profile name becomes a directory segment under the sandbox home. Anything that can
66
+ // climb out of it (`..`, separators) makes the isolation proof false, so it is refused
67
+ // here instead of being sanitised silently (R14 audit finding F-1).
68
+ if (!PROFILE_NAME.test(profile)) {
69
+ return {
70
+ ok: false,
71
+ error: {
72
+ code: 'invalid-profile',
73
+ detail: `profile "${profile}" must match ${PROFILE_NAME} — it becomes a directory segment inside the sandbox`,
74
+ },
75
+ };
76
+ }
77
+ const sandboxProfileDir = join(sandboxHome, 'profiles', profile);
78
+ const profileSource = profileFromCopy === null
79
+ ? null
80
+ : { name: profileFromCopy, dir: join(resolve(input.realDshHome), 'profiles', profileFromCopy) };
81
+ const port = input.basePort ?? 53000 + (parseInt(digest.slice(0, 4), 16) % 1000);
82
+ const dshBin = input.dshBin ?? 'dsh';
83
+ const nodeBin = process.execPath.replaceAll('\\', '/');
84
+ const env = { DSH_HOME: sandboxHome };
85
+ const plan = {
86
+ schemaVersion: 1,
87
+ candidate,
88
+ profile,
89
+ sandboxHome,
90
+ sandboxProfileDir,
91
+ profileOrigin: profileSource === null ? 'template' : `copy:${profileSource.name}`,
92
+ profileSource,
93
+ port,
94
+ steps: [
95
+ {
96
+ id: 'runtime',
97
+ argv: [nodeBin, dshBin, '--version'],
98
+ env,
99
+ cwd: sandboxHome,
100
+ note: 'records which runtime the sandbox will boot; an unreadable runtime stops the probe',
101
+ },
102
+ ...(profileSource === null
103
+ ? []
104
+ : [
105
+ {
106
+ id: 'profile',
107
+ // Illustrative only: the real copy + dependency install happen in Node (T-304).
108
+ argv: ['<copy>', ...PROFILE_DECLARATION_FILES, '<source profile>', '→', sandboxProfileDir],
109
+ env,
110
+ cwd: sandboxHome,
111
+ note: `copies ${PROFILE_DECLARATION_FILES.join(' / ')} from profile "${profileSource.name}" — declarations only, no node_modules, no .npmrc, no credentials — then installs the copied dependencies`,
112
+ },
113
+ ]),
114
+ {
115
+ id: 'install',
116
+ argv: [nodeBin, dshBin, 'plugin', '--profile', profile, 'add', candidate],
117
+ env,
118
+ cwd: sandboxHome,
119
+ note: 'runs pnpm inside the sandbox profile; third-party install scripts may execute — requires --execute',
120
+ },
121
+ {
122
+ id: 'boot',
123
+ argv: [nodeBin, dshBin, '--profile', profile, '--patch', '<generated overlay>'],
124
+ env,
125
+ cwd: sandboxHome,
126
+ note: 'boots the sandbox profile with a one-row inventory probe overlay; stderr is kept for attribution',
127
+ },
128
+ {
129
+ id: 'http',
130
+ argv: ['<fetch>', `http://127.0.0.1:${port}/`, '--redirect', 'manual'],
131
+ env: {},
132
+ cwd: sandboxHome,
133
+ note: 'a 303 with a token and a 401 without one both count as "something is listening"',
134
+ },
135
+ {
136
+ id: 'render',
137
+ argv: ['<browser>', '--headless=new', '--remote-debugging-port=0', '<host url from stdout>'],
138
+ env: {},
139
+ cwd: sandboxHome,
140
+ note: 'T-302: reads the mounted DOM over CDP; skipped (reported unmeasured) when no browser is available',
141
+ },
142
+ {
143
+ id: 'cleanup',
144
+ argv: ['<rm>', sandboxHome],
145
+ env: {},
146
+ cwd: sandboxHome,
147
+ note: 'always runs; the sandbox home is cache, never evidence',
148
+ },
149
+ ],
150
+ assertions: [
151
+ { id: 'boot-sampled', expect: 'the Host writes an inventory sample within the boot budget', measured: true },
152
+ { id: 'http-served', expect: `GET http://127.0.0.1:${port}/ answers at all (2xx/3xx/401)`, measured: true },
153
+ { id: 'inventory-active', expect: 'the candidate row exists exactly once and reports phase "active"', measured: true },
154
+ { id: 'cleanup-complete', expect: 'the sandbox directory is gone and the port no longer answers', measured: true },
155
+ { id: 'client-rendered', expect: 'the page mounts visible DOM (a browser is required; without one this stays unmeasured — BS-03)', measured: true },
156
+ { id: 'namespace-diff', expect: 'tools/commands/settings claimed by the candidate actually appear (agent scope — BS-21)', measured: false },
157
+ ],
158
+ warnings: [
159
+ 'installing a candidate may execute third-party build scripts; the plan is dry-run until --execute is passed',
160
+ 'the sandbox has no credentials; probing a plugin that requires a key will report a false negative',
161
+ 'this plan does not judge security; the render check (T-302) needs a local Chromium-family browser and is reported unmeasured without one',
162
+ ...(profileSource === null
163
+ ? []
164
+ : [
165
+ `the sandbox profile is a copy of "${profileSource.name}" declarations only: node_modules, .plugin-manager and .npmrc are not copied, so a dependency of that profile that only exists on your machine makes this run unknown rather than go`,
166
+ ]),
167
+ ],
168
+ };
169
+ const validation = validateProbePlan({ plan, realDshHome: input.realDshHome });
170
+ if (!validation.ok)
171
+ return validation;
172
+ return { ok: true, value: plan };
173
+ }
174
+ /**
175
+ * Prove the sandbox is disjoint from the real DSH home — and, when a profile is copied
176
+ * (T-304), from that profile too.
177
+ *
178
+ * WHY THE SECOND CHECK: the copy reads from the real profile, so a sandbox that shares a
179
+ * path with it would let the probe overwrite the very composition it claims to measure.
180
+ * `..` and separators are already refused at build time; this is the belt for symlinks and
181
+ * for callers that assemble a plan by hand.
182
+ */
183
+ export function validateProbePlan(input) {
184
+ const sandbox = resolve(input.plan.sandboxHome);
185
+ const real = resolve(input.realDshHome);
186
+ if (samePath(sandbox, real)) {
187
+ return { ok: false, error: { code: 'sandbox-overlaps-real-home', detail: 'sandbox equals the real DSH home' } };
188
+ }
189
+ if (inside(real, sandbox)) {
190
+ return {
191
+ ok: false,
192
+ error: { code: 'sandbox-overlaps-real-home', detail: `sandbox is nested inside ${real}` },
193
+ };
194
+ }
195
+ const source = input.plan.profileSource;
196
+ if (source !== null) {
197
+ const sourceDir = resolve(source.dir);
198
+ if (samePath(sourceDir, sandbox) || inside(sourceDir, sandbox)) {
199
+ return {
200
+ ok: false,
201
+ error: {
202
+ code: 'profile-source-overlaps-sandbox',
203
+ detail: `sandbox is nested inside the source profile "${source.name}"`,
204
+ },
205
+ };
206
+ }
207
+ if (inside(sandbox, sourceDir)) {
208
+ return {
209
+ ok: false,
210
+ error: {
211
+ code: 'profile-source-overlaps-sandbox',
212
+ detail: `the source profile "${source.name}" is nested inside the sandbox`,
213
+ },
214
+ };
215
+ }
216
+ }
217
+ return { ok: true, value: true };
218
+ }
219
+ /** Case-insensitive on Windows, byte-exact elsewhere: the same directory must compare equal. */
220
+ function samePath(left, right) {
221
+ return comparable(left) === comparable(right);
222
+ }
223
+ /** Is `child` strictly inside `parent`? */
224
+ function inside(parent, child) {
225
+ const rel = relative(comparable(parent), comparable(child));
226
+ return rel !== '' && !rel.startsWith('..') && !isAbsolute(rel);
227
+ }
228
+ function comparable(path) {
229
+ const resolved = resolve(path);
230
+ return process.platform === 'win32' ? resolved.toLowerCase() : resolved;
231
+ }
232
+ /**
233
+ * Directory-safe name for the sandbox home.
234
+ *
235
+ * BASENAME ONLY, and deliberately so: the first version slugified the whole candidate
236
+ * spec, which flattened `C:\Users\<name>\…` into `C-Users-<name>-…` and published the
237
+ * user's account name inside every probe artifact. The redactor could not match it
238
+ * because the separators it keys on were gone (R14 audit finding F-2).
239
+ */
240
+ function slugify(spec) {
241
+ const bare = spec.replace(/^npm:/, '').replaceAll('\\', '/');
242
+ const base = bare.split('/').filter((part) => part !== '').pop() ?? '';
243
+ const cleaned = base.replace(/[^a-zA-Z0-9._-]+/g, '-').replace(/^-+|-+$/g, '');
244
+ return (cleaned === '' ? 'candidate' : cleaned).slice(0, 48);
245
+ }
246
+ //# sourceMappingURL=plan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plan.js","sourceRoot":"","sources":["../src/plan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAG/D;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,cAAc;IACd,YAAY;IACZ,kBAAkB;IAClB,qBAAqB;CACb,CAAA;AAEV;;;;GAIG;AACH,MAAM,YAAY,GAAG,mCAAmC,CAAA;AAqFxD,MAAM,UAAU,cAAc,CAAC,KAAqB;IAClD,MAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,CAAA;IACxC,IAAI,SAAS,KAAK,EAAE,EAAE,CAAC;QACrB,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,EAAE,yBAAyB,EAAE,EAAE,CAAA;IAC/F,CAAC;IACD,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;QAChC,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE,M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0 +1,82 @@
1
+ /**
2
+ * Copying a real profile into a sandbox, and checking the copy is actually usable (T-304).
3
+ *
4
+ * WHY A COPY AND NOT A MOUNT: the whole point of the probe is to answer "would this run
5
+ * alongside *my* bundles?" without touching the user's `~/.dsh`. R20 measured that copying
6
+ * four declaration files is enough to boot the same composition (F38), so the sandbox gets a
7
+ * *copy* — the real profile is only ever read.
8
+ *
9
+ * WHAT IS DELIBERATELY NOT COPIED:
10
+ * - `node_modules/`: rebuilt by the package manager inside the sandbox (F39);
11
+ * - `.plugin-manager/`: logs and install scratch, never declarations;
12
+ * - `.npmrc`: it can carry a registry token, and 铁律 4 forbids moving credentials;
13
+ * - anything else the profile happens to contain. A copy that silently drags the user's
14
+ * secrets or megabytes of cache into a probe artifact is exactly the failure this list
15
+ * prevents.
16
+ *
17
+ * F40, the reason {@link danglingLocalDependencies} exists: `{"x":"link:./not-here"}` makes
18
+ * `dsh plugin install` exit **0** while creating a link to nothing. Without a stat, that
19
+ * "successful" install would become evidence for a composition that cannot work.
20
+ */
21
+ export interface ProfileCopyResult {
22
+ /** Declarations that were copied, in whitelist order. */
23
+ readonly copied: readonly string[];
24
+ /** Whitelist entries the source profile does not have (normal: `pnpm-workspace.yaml` is optional). */
25
+ readonly missing: readonly string[];
26
+ }
27
+ /**
28
+ * Copy `files` from `sourceDir` into `targetDir`, creating the target.
29
+ *
30
+ * Only the names passed in are considered, and only as plain files: this function is given
31
+ * the whitelist by its caller, so an unexpected entry in a profile manifest cannot widen it.
32
+ */
33
+ export declare function copyProfileDeclarations(input: {
34
+ readonly sourceDir: string;
35
+ readonly targetDir: string;
36
+ readonly files: readonly string[];
37
+ }): ProfileCopyResult;
38
+ /** One `link:`/`file:` dependency of a profile manifest, resolved against the profile dir. */
39
+ export interface LocalDependencyTarget {
40
+ readonly name: string;
41
+ /** The literal spec, e.g. `link:./not-here`. */
42
+ readonly spec: string;
43
+ /** Which dependency field carried it (`dependencies` / `devDependencies` / `optionalDependencies`). */
44
+ readonly field: string;
45
+ /** Absolute path the spec points at, as resolved inside the profile. */
46
+ readonly target: string;
47
+ }
48
+ /**
49
+ * Local (non-registry) dependency targets declared by a profile manifest.
50
+ *
51
+ * `workspace:` and `npm:` are not local paths and are skipped: the first is resolved by the
52
+ * workspace file, the second aliases a registry package. Only `link:` and `file:` name a
53
+ * path this machine has to have.
54
+ */
55
+ export declare function localDependencyTargets(manifest: unknown, profileDir: string): readonly LocalDependencyTarget[];
56
+ /** The subset of {@link LocalDependencyTarget} that points at something which is not there. */
57
+ export declare function danglingLocalDependencies(targets: readonly LocalDependencyTarget[]): readonly LocalDependencyTarget[];
58
+ /** Read a profile manifest; `null` when it is absent or unparseable (the caller reports it). */
59
+ export declare function readProfileManifest(profileDir: string): unknown;
60
+ /** Was the copy actually written? Used by the executor as a second proof after `copyFileSync`. */
61
+ export declare function copiedFilesPresent(input: {
62
+ readonly targetDir: string;
63
+ readonly files: readonly string[];
64
+ }): readonly string[];
65
+ /**
66
+ * Stop the package manager from FAILING over unapproved build scripts, without approving any.
67
+ *
68
+ * WHY THIS IS NOT A GATE BEING LOWERED (measured R21): with a copied real profile,
69
+ * `dsh plugin install` exits 1 with `ERR_PNPM_IGNORED_BUILDS` even though every package
70
+ * installed — and the launcher then skips registering bundles, so the candidate never joins
71
+ * the composition and the probe can only say "no row". Setting `strictDepBuilds: false` makes
72
+ * the same run exit **0**, register the bundle, and still run **no** third-party build script
73
+ * (measured: `onlyBuiltDependencies` stays empty; `Ignored build scripts: …` is still printed).
74
+ *
75
+ * It is applied only when the source profile brought no workspace file of its own: a user's file
76
+ * is never overwritten, and if theirs refuses builds the probe reports `unknown` honestly.
77
+ */
78
+ export declare function applySandboxBuildPolicy(input: {
79
+ readonly targetDir: string;
80
+ readonly copiedFiles: readonly string[];
81
+ }): 'source' | 'sandbox';
82
+ //# sourceMappingURL=profile-copy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-copy.d.ts","sourceRoot":"","sources":["../src/profile-copy.ts"],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