@context-forge/core 0.15.0 → 0.17.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/dist/config/ConfigKeys.d.ts.map +1 -1
- package/dist/config/ConfigKeys.js +26 -1
- package/dist/config/ConfigKeys.js.map +1 -1
- package/dist/guides/GuideManager.d.ts +14 -0
- package/dist/guides/GuideManager.d.ts.map +1 -1
- package/dist/guides/GuideManager.js +42 -8
- package/dist/guides/GuideManager.js.map +1 -1
- package/dist/guides/gitExec.d.ts +9 -0
- package/dist/guides/gitExec.d.ts.map +1 -1
- package/dist/guides/gitExec.js +18 -0
- package/dist/guides/gitExec.js.map +1 -1
- package/dist/guides/index.d.ts +1 -1
- package/dist/guides/index.d.ts.map +1 -1
- package/dist/guides/index.js +1 -1
- package/dist/guides/index.js.map +1 -1
- package/dist/guides/strategies/TarballStrategy.d.ts +2 -2
- package/dist/guides/strategies/TarballStrategy.d.ts.map +1 -1
- package/dist/guides/strategies/TarballStrategy.js +10 -6
- package/dist/guides/strategies/TarballStrategy.js.map +1 -1
- package/dist/guides/types.d.ts +24 -0
- package/dist/guides/types.d.ts.map +1 -1
- package/dist/guides/types.js +15 -1
- package/dist/guides/types.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/introspection/index.d.ts +1 -0
- package/dist/introspection/index.d.ts.map +1 -1
- package/dist/introspection/index.js +2 -0
- package/dist/introspection/index.js.map +1 -1
- package/dist/introspection/mergeCheckResults.d.ts +50 -0
- package/dist/introspection/mergeCheckResults.d.ts.map +1 -0
- package/dist/introspection/mergeCheckResults.js +93 -0
- package/dist/introspection/mergeCheckResults.js.map +1 -0
- package/dist/introspection/types.d.ts +15 -0
- package/dist/introspection/types.d.ts.map +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.d.ts.map +1 -1
- package/dist/node.js +1 -1
- package/dist/node.js.map +1 -1
- package/dist/schema/frontmatterFileValidator.d.ts +35 -6
- package/dist/schema/frontmatterFileValidator.d.ts.map +1 -1
- package/dist/schema/frontmatterFileValidator.js +69 -33
- package/dist/schema/frontmatterFileValidator.js.map +1 -1
- package/dist/utils/worktree-overlay.d.ts +22 -0
- package/dist/utils/worktree-overlay.d.ts.map +1 -1
- package/dist/utils/worktree-overlay.js +46 -0
- package/dist/utils/worktree-overlay.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,4 +4,6 @@ export * from './types.js';
|
|
|
4
4
|
export { normalizeStatus } from './parsers/statusNormalizer.js';
|
|
5
5
|
// deriveEntryStatus is a pure function with no fs dependency — browser-safe
|
|
6
6
|
export { deriveEntryStatus } from './statusDerivation.js';
|
|
7
|
+
// mergeCheckResults / attributeFindings / buildAttributedViews are pure — browser-safe
|
|
8
|
+
export { mergeCheckResults, attributeFindings, buildAttributedViews, } from './mergeCheckResults.js';
|
|
7
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/introspection/index.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,cAAc,YAAY,CAAC;AAG3B,0EAA0E;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,4EAA4E;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/introspection/index.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,cAAc,YAAY,CAAC;AAG3B,0EAA0E;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,4EAA4E;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,uFAAuF;AACvF,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,GAErB,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { ConsistencyCheckResult, FindingWorktree } from './types.js';
|
|
2
|
+
import type { ProjectData } from '../types/index.js';
|
|
3
|
+
/** A project view paired with the worktree it was overlaid from, if any. */
|
|
4
|
+
export interface AttributedView {
|
|
5
|
+
view: ProjectData;
|
|
6
|
+
worktree?: FindingWorktree;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Build one project view per registered worktree, each paired with the
|
|
10
|
+
* worktree that produced it so its findings can be attributed before the merge.
|
|
11
|
+
*
|
|
12
|
+
* Attribution is attached only when there is more than one checkout to tell
|
|
13
|
+
* apart. Note that a migrated project has exactly one worktree named "default"
|
|
14
|
+
* whose path equals `projectPath` — it does not have an absent `worktrees`
|
|
15
|
+
* array — so this keys on the count. Keying on the array's presence would add
|
|
16
|
+
* a worktree field to single-checkout output that must stay byte-identical,
|
|
17
|
+
* and keying on the "default" name would use a user-visible label as logical
|
|
18
|
+
* structure.
|
|
19
|
+
*
|
|
20
|
+
* Shared by `cf check` and MCP's `workflow_check`: both consume the same merge,
|
|
21
|
+
* so this invariant must not be able to drift between them.
|
|
22
|
+
*/
|
|
23
|
+
export declare function buildAttributedViews(project: ProjectData): AttributedView[];
|
|
24
|
+
/**
|
|
25
|
+
* Tag every finding in a result with the worktree whose view produced it.
|
|
26
|
+
*
|
|
27
|
+
* Must run before mergeCheckResults: the dedup key carries no worktree, so a
|
|
28
|
+
* duplicate the merge collapses would otherwise lose its origin and be
|
|
29
|
+
* attributed first-seen-wins (#87).
|
|
30
|
+
*/
|
|
31
|
+
export declare function attributeFindings(result: ConsistencyCheckResult, worktree?: FindingWorktree): ConsistencyCheckResult;
|
|
32
|
+
/**
|
|
33
|
+
* Merge findings from multiple checkAll runs, deduplicating by
|
|
34
|
+
* rule+location+description.
|
|
35
|
+
*
|
|
36
|
+
* The dedup key deliberately carries no worktree component. Aggregate rules
|
|
37
|
+
* run once per view and legitimately produce identical project-level findings
|
|
38
|
+
* across views; collapsing them is the point. Adding worktree to the key would
|
|
39
|
+
* multiply those findings by the worktree count. Per-finding worktree
|
|
40
|
+
* attribution is therefore attached before the merge, by the caller that knows
|
|
41
|
+
* which view produced each finding.
|
|
42
|
+
*
|
|
43
|
+
* `invokingPath` sets the result's top-level `projectPath`, which per D6 means
|
|
44
|
+
* "the checkout the command was invoked from". Each view's own `projectPath`
|
|
45
|
+
* has been overlaid to its worktree path, so inheriting `results[0]` would
|
|
46
|
+
* report the first *registered* worktree instead of the invoking one. Omitted,
|
|
47
|
+
* it falls back to that legacy behavior.
|
|
48
|
+
*/
|
|
49
|
+
export declare function mergeCheckResults(results: ConsistencyCheckResult[], invokingPath?: string): ConsistencyCheckResult;
|
|
50
|
+
//# sourceMappingURL=mergeCheckResults.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mergeCheckResults.d.ts","sourceRoot":"","sources":["../../src/introspection/mergeCheckResults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EAEtB,eAAe,EAChB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrD,4EAA4E;AAC5E,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC5B;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,GAAG,cAAc,EAAE,CAW3E;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,sBAAsB,EAC9B,QAAQ,CAAC,EAAE,eAAe,GACzB,sBAAsB,CAMxB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,sBAAsB,EAAE,EACjC,YAAY,CAAC,EAAE,MAAM,GACpB,sBAAsB,CA6BxB"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { applyWorktreeOverlay } from '../utils/worktree-overlay.js';
|
|
2
|
+
/**
|
|
3
|
+
* Build one project view per registered worktree, each paired with the
|
|
4
|
+
* worktree that produced it so its findings can be attributed before the merge.
|
|
5
|
+
*
|
|
6
|
+
* Attribution is attached only when there is more than one checkout to tell
|
|
7
|
+
* apart. Note that a migrated project has exactly one worktree named "default"
|
|
8
|
+
* whose path equals `projectPath` — it does not have an absent `worktrees`
|
|
9
|
+
* array — so this keys on the count. Keying on the array's presence would add
|
|
10
|
+
* a worktree field to single-checkout output that must stay byte-identical,
|
|
11
|
+
* and keying on the "default" name would use a user-visible label as logical
|
|
12
|
+
* structure.
|
|
13
|
+
*
|
|
14
|
+
* Shared by `cf check` and MCP's `workflow_check`: both consume the same merge,
|
|
15
|
+
* so this invariant must not be able to drift between them.
|
|
16
|
+
*/
|
|
17
|
+
export function buildAttributedViews(project) {
|
|
18
|
+
const worktrees = project.worktrees ?? [];
|
|
19
|
+
if (worktrees.length === 0)
|
|
20
|
+
return [{ view: project }];
|
|
21
|
+
const attributable = worktrees.length > 1;
|
|
22
|
+
return worktrees.map((wt) => ({
|
|
23
|
+
view: applyWorktreeOverlay(project, wt.id),
|
|
24
|
+
worktree: attributable
|
|
25
|
+
? { id: wt.id, name: wt.name, path: wt.worktreePath }
|
|
26
|
+
: undefined,
|
|
27
|
+
}));
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Tag every finding in a result with the worktree whose view produced it.
|
|
31
|
+
*
|
|
32
|
+
* Must run before mergeCheckResults: the dedup key carries no worktree, so a
|
|
33
|
+
* duplicate the merge collapses would otherwise lose its origin and be
|
|
34
|
+
* attributed first-seen-wins (#87).
|
|
35
|
+
*/
|
|
36
|
+
export function attributeFindings(result, worktree) {
|
|
37
|
+
if (!worktree)
|
|
38
|
+
return result;
|
|
39
|
+
return {
|
|
40
|
+
...result,
|
|
41
|
+
findings: result.findings.map((f) => ({ ...f, worktree })),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Merge findings from multiple checkAll runs, deduplicating by
|
|
46
|
+
* rule+location+description.
|
|
47
|
+
*
|
|
48
|
+
* The dedup key deliberately carries no worktree component. Aggregate rules
|
|
49
|
+
* run once per view and legitimately produce identical project-level findings
|
|
50
|
+
* across views; collapsing them is the point. Adding worktree to the key would
|
|
51
|
+
* multiply those findings by the worktree count. Per-finding worktree
|
|
52
|
+
* attribution is therefore attached before the merge, by the caller that knows
|
|
53
|
+
* which view produced each finding.
|
|
54
|
+
*
|
|
55
|
+
* `invokingPath` sets the result's top-level `projectPath`, which per D6 means
|
|
56
|
+
* "the checkout the command was invoked from". Each view's own `projectPath`
|
|
57
|
+
* has been overlaid to its worktree path, so inheriting `results[0]` would
|
|
58
|
+
* report the first *registered* worktree instead of the invoking one. Omitted,
|
|
59
|
+
* it falls back to that legacy behavior.
|
|
60
|
+
*/
|
|
61
|
+
export function mergeCheckResults(results, invokingPath) {
|
|
62
|
+
if (results.length === 1) {
|
|
63
|
+
return invokingPath ? { ...results[0], projectPath: invokingPath } : results[0];
|
|
64
|
+
}
|
|
65
|
+
const seen = new Set();
|
|
66
|
+
const allFindings = [];
|
|
67
|
+
for (const result of results) {
|
|
68
|
+
for (const finding of result.findings) {
|
|
69
|
+
const key = `${finding.rule}|${finding.location}|${finding.description}`;
|
|
70
|
+
if (!seen.has(key)) {
|
|
71
|
+
seen.add(key);
|
|
72
|
+
allFindings.push(finding);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
const projectPath = invokingPath ?? results[0].projectPath;
|
|
77
|
+
const errors = allFindings.filter((f) => f.severity === 'error').length;
|
|
78
|
+
const warnings = allFindings.filter((f) => f.severity === 'warning').length;
|
|
79
|
+
const infos = allFindings.filter((f) => f.severity === 'info').length;
|
|
80
|
+
const total = allFindings.length;
|
|
81
|
+
const parts = [];
|
|
82
|
+
if (errors > 0)
|
|
83
|
+
parts.push(`${errors} error${errors !== 1 ? 's' : ''}`);
|
|
84
|
+
if (warnings > 0)
|
|
85
|
+
parts.push(`${warnings} warning${warnings !== 1 ? 's' : ''}`);
|
|
86
|
+
if (infos > 0)
|
|
87
|
+
parts.push(`${infos} info${infos !== 1 ? 's' : ''}`);
|
|
88
|
+
const summary = total === 0
|
|
89
|
+
? 'No inconsistencies found'
|
|
90
|
+
: `${total} finding${total !== 1 ? 's' : ''}: ${parts.join(', ')}`;
|
|
91
|
+
return { projectPath, findings: allFindings, totalFindings: total, errors, warnings, infos, summary };
|
|
92
|
+
}
|
|
93
|
+
//# sourceMappingURL=mergeCheckResults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mergeCheckResults.js","sourceRoot":"","sources":["../../src/introspection/mergeCheckResults.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAQpE;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,oBAAoB,CAAC,OAAoB;IACvD,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,EAAE,CAAC;IAC1C,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IAEvD,MAAM,YAAY,GAAG,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC;IAC1C,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;QAC5B,IAAI,EAAE,oBAAoB,CAAC,OAAO,EAAE,EAAE,CAAC,EAAE,CAAC;QAC1C,QAAQ,EAAE,YAAY;YACpB,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,YAAY,EAAE;YACrD,CAAC,CAAC,SAAS;KACd,CAAC,CAAC,CAAC;AACN,CAAC;AAED;;;;;;GAMG;AACH,M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AM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;AACxG,CAAC"}
|
|
@@ -197,6 +197,19 @@ export interface FutureWorkCollectorResult {
|
|
|
197
197
|
}
|
|
198
198
|
/** Severity level for consistency findings */
|
|
199
199
|
export type ConsistencySeverity = 'info' | 'warning' | 'error';
|
|
200
|
+
/**
|
|
201
|
+
* Which checkout a finding came from.
|
|
202
|
+
*
|
|
203
|
+
* Structured, never encoded into `description` — a user-visible label is not
|
|
204
|
+
* logical structure. Absent for single-checkout projects and for any producer
|
|
205
|
+
* that does not run per-worktree.
|
|
206
|
+
*/
|
|
207
|
+
export interface FindingWorktree {
|
|
208
|
+
id: string;
|
|
209
|
+
name: string;
|
|
210
|
+
/** The worktree's path, when one is registered. */
|
|
211
|
+
path?: string;
|
|
212
|
+
}
|
|
200
213
|
/** A single consistency finding from a detection rule */
|
|
201
214
|
export interface ConsistencyFinding {
|
|
202
215
|
rule: string;
|
|
@@ -210,6 +223,8 @@ export interface ConsistencyFinding {
|
|
|
210
223
|
filePath: string;
|
|
211
224
|
detail: Record<string, unknown>;
|
|
212
225
|
};
|
|
226
|
+
/** The worktree whose view produced this finding. Attached before the merge. */
|
|
227
|
+
worktree?: FindingWorktree;
|
|
213
228
|
}
|
|
214
229
|
/** Result of running all consistency checks on a project */
|
|
215
230
|
export interface ConsistencyCheckResult {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/introspection/types.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,eAAO,MAAM,MAAM;;;;;;CAMT,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC;AAEpE;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,gBAAgB,GAAG,UAAU,CAAC;AAE1D,kDAAkD;AAClD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MA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CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,sFAAsF;IACtF,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,+DAA+D;AAC/D,MAAM,WAAW,oBAAoB;IACnC,SAAS,CAAC,EAAE;QACV,WAAW,EAAE,MAAM,CAAC;QACpB,eAAe,EAAE,MAAM,CAAC;QACxB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,YAAY,CAAC,EAAE;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,cAAc,EAAE,MAAM,CAAC;QACvB,cAAc,EAAE,gBAAgB,CAAC;QACjC,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,SAAS,EAAE;QACT,YAAY,EAAE,OAAO,CAAC;QACtB,MAAM,EAAE,OAAO,CAAC;QAChB,OAAO,EAAE,OAAO,CAAC;QACjB,OAAO,EAAE,OAAO,CAAC;QACjB,qBAAqB,EAAE,OAAO,CAAC;QAC/B,kBAAkB,EAAE,OAAO,CAAC;KAC7B,CAAC;CACH"}
|
package/dist/node.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export * from './config/index.js';
|
|
|
7
7
|
export * from './guides/index.js';
|
|
8
8
|
export { resolveFileByIndex, resolveArtifactPath, deriveArtifactStem, resolveSlicePlanPathByIndex } from './schema/resolveFileByIndex.js';
|
|
9
9
|
export { normalizeArtifactValue } from './schema/normalizeArtifactValue.js';
|
|
10
|
-
export { validateFrontmatterFiles, discoverAllDocuments, DOC_SCAN_DIRS, type FrontmatterFileValidationResult, } from './schema/frontmatterFileValidator.js';
|
|
10
|
+
export { validateFrontmatterFiles, discoverAllDocuments, DOC_SCAN_DIRS, PathOutcome, type PathResult, type FrontmatterFileValidationResult, } from './schema/frontmatterFileValidator.js';
|
|
11
11
|
export { ArtifactIntrospector, resolveInitiativePlanPath } from './introspection/ArtifactIntrospector.js';
|
|
12
12
|
export { WorkflowNavigator, extractSliceIndex } from './introspection/WorkflowNavigator.js';
|
|
13
13
|
export { parseFrontmatter } from './introspection/parsers/frontmatterParser.js';
|
package/dist/node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAGhG,cAAc,oBAAoB,CAAC;AAGnC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,mBAAmB,CAAC;AAGlC,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC1I,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EACL,wBAAwB,EACxB,oBAAoB,EACpB,aAAa,EACb,KAAK,+BAA+B,GACrC,MAAM,sCAAsC,CAAC;AAG9C,OAAO,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAC1G,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC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CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AACvG,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AAGnG,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAG5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAGtD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC"}
|
package/dist/node.js
CHANGED
|
@@ -14,7 +14,7 @@ export * from './guides/index.js';
|
|
|
14
14
|
// Schema — fs-dependent helpers (index-based file resolution)
|
|
15
15
|
export { resolveFileByIndex, resolveArtifactPath, deriveArtifactStem, resolveSlicePlanPathByIndex } from './schema/resolveFileByIndex.js';
|
|
16
16
|
export { normalizeArtifactValue } from './schema/normalizeArtifactValue.js';
|
|
17
|
-
export { validateFrontmatterFiles, discoverAllDocuments, DOC_SCAN_DIRS, } from './schema/frontmatterFileValidator.js';
|
|
17
|
+
export { validateFrontmatterFiles, discoverAllDocuments, DOC_SCAN_DIRS, PathOutcome, } from './schema/frontmatterFileValidator.js';
|
|
18
18
|
// Introspection — artifact parsing and document detection (fs dependent)
|
|
19
19
|
export { ArtifactIntrospector, resolveInitiativePlanPath } from './introspection/ArtifactIntrospector.js';
|
|
20
20
|
export { WorkflowNavigator, extractSliceIndex } from './introspection/WorkflowNavigator.js';
|
package/dist/node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,oEAAoE;AACpE,uEAAuE;AAEvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEhG,0EAA0E;AAC1E,cAAc,oBAAoB,CAAC;AAEnC,8DAA8D;AAC9D,cAAc,mBAAmB,CAAC;AAElC,yDAAyD;AACzD,cAAc,mBAAmB,CAAC;AAElC,8DAA8D;AAC9D,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC1I,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EACL,wBAAwB,EACxB,oBAAoB,EACpB,aAAa,
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,oEAAoE;AACpE,uEAAuE;AAEvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEhG,0EAA0E;AAC1E,cAAc,oBAAoB,CAAC;AAEnC,8DAA8D;AAC9D,cAAc,mBAAmB,CAAC;AAElC,yDAAyD;AACzD,cA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,CAAC"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { type FrontmatterFinding } from './frontmatterSchema.js';
|
|
2
2
|
/** Directories under project-documents/user/ to scan for methodology documents. */
|
|
3
3
|
export declare const DOC_SCAN_DIRS: string[];
|
|
4
|
+
/**
|
|
5
|
+
* What happened to a caller-supplied path. Only `Checked` contributes to
|
|
6
|
+
* `filesChecked`; every other value is a skip that used to be silent (#92/#96).
|
|
7
|
+
*/
|
|
8
|
+
export declare const PathOutcome: {
|
|
9
|
+
readonly Checked: "checked";
|
|
10
|
+
readonly SkippedOutOfScope: "skipped-out-of-scope";
|
|
11
|
+
readonly SkippedNotMarkdown: "skipped-not-markdown";
|
|
12
|
+
readonly SkippedNotFound: "skipped-not-found";
|
|
13
|
+
readonly SkippedNoFrontmatter: "skipped-no-frontmatter";
|
|
14
|
+
};
|
|
15
|
+
export type PathOutcome = (typeof PathOutcome)[keyof typeof PathOutcome];
|
|
16
|
+
/** The fate of one caller-supplied path. */
|
|
17
|
+
export interface PathResult {
|
|
18
|
+
/** The path exactly as the caller supplied it. */
|
|
19
|
+
inputPath: string;
|
|
20
|
+
/** Absolute resolved path. Present even for skips, so a caller can see what was tried. */
|
|
21
|
+
resolvedPath: string;
|
|
22
|
+
outcome: PathOutcome;
|
|
23
|
+
}
|
|
4
24
|
export interface FrontmatterFileValidationResult {
|
|
5
25
|
findings: FrontmatterFinding[];
|
|
6
26
|
filesChecked: number;
|
|
27
|
+
/**
|
|
28
|
+
* Per-path outcomes, in caller order. Present only for explicit-path calls —
|
|
29
|
+
* a full walk has no caller-supplied paths to report on.
|
|
30
|
+
*/
|
|
31
|
+
pathResults?: PathResult[];
|
|
32
|
+
/** The document root actually scanned, so a caller can tell which checkout it was. */
|
|
33
|
+
documentRoot: string;
|
|
7
34
|
}
|
|
8
35
|
/** Discover all .md documents across the methodology scan directories. */
|
|
9
36
|
export declare function discoverAllDocuments(projectPath: string): Promise<string[]>;
|
|
@@ -11,12 +38,14 @@ export declare function discoverAllDocuments(projectPath: string): Promise<strin
|
|
|
11
38
|
* Validate frontmatter across a project's methodology documents.
|
|
12
39
|
*
|
|
13
40
|
* No paths: walks the six scan directories under project-documents/user/,
|
|
14
|
-
* exactly as `cf check` Rule 12 does.
|
|
15
|
-
* Explicit paths:
|
|
16
|
-
* the document root (project-documents/user/)
|
|
17
|
-
* skipped
|
|
18
|
-
*
|
|
19
|
-
*
|
|
41
|
+
* exactly as `cf check` Rule 12 does, and reports no per-path list.
|
|
42
|
+
* Explicit paths: validated only if they resolve to an existing .md file
|
|
43
|
+
* inside the document root (project-documents/user/). Everything else is
|
|
44
|
+
* reported in `pathResults` with the reason it was skipped — nothing is
|
|
45
|
+
* dropped silently (#92/#96).
|
|
46
|
+
* Files whose frontmatter is absent or unparseable are not counted in
|
|
47
|
+
* filesChecked (matching Rule 12) and are reported as
|
|
48
|
+
* `skipped-no-frontmatter`.
|
|
20
49
|
*/
|
|
21
50
|
export declare function validateFrontmatterFiles(projectPath: string, paths?: string[], options?: {
|
|
22
51
|
projectName?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontmatterFileValidator.d.ts","sourceRoot":"","sources":["../../src/schema/frontmatterFileValidator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuB,KAAK,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAGtF,mFAAmF;AACnF,eAAO,MAAM,aAAa,UAOzB,CAAC;AAEF,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,0EAA0E;AAC1E,wBAAsB,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAmBjF;
|
|
1
|
+
{"version":3,"file":"frontmatterFileValidator.d.ts","sourceRoot":"","sources":["../../src/schema/frontmatterFileValidator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuB,KAAK,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAGtF,mFAAmF;AACnF,eAAO,MAAM,aAAa,UAOzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;;CAMd,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEzE,4CAA4C;AAC5C,MAAM,WAAW,UAAU;IACzB,kDAAkD;IAClD,SAAS,EAAE,MAAM,CAAC;IAClB,0FAA0F;IAC1F,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,WAAW,CAAC;CACtB;AAED,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,sFAAsF;IACtF,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,0EAA0E;AAC1E,wBAAsB,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAmBjF;AAuCD;;;;;;;;;;;;GAYG;AACH,wBAAsB,wBAAwB,CAC5C,WAAW,EAAE,MAAM,EACnB,KAAK,CAAC,EAAE,MAAM,EAAE,EAChB,OAAO,CAAC,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,GACjC,OAAO,CAAC,+BAA+B,CAAC,CAqC1C"}
|
|
@@ -12,6 +12,17 @@ export const DOC_SCAN_DIRS = [
|
|
|
12
12
|
'reviews',
|
|
13
13
|
'analysis',
|
|
14
14
|
];
|
|
15
|
+
/**
|
|
16
|
+
* What happened to a caller-supplied path. Only `Checked` contributes to
|
|
17
|
+
* `filesChecked`; every other value is a skip that used to be silent (#92/#96).
|
|
18
|
+
*/
|
|
19
|
+
export const PathOutcome = {
|
|
20
|
+
Checked: 'checked',
|
|
21
|
+
SkippedOutOfScope: 'skipped-out-of-scope',
|
|
22
|
+
SkippedNotMarkdown: 'skipped-not-markdown',
|
|
23
|
+
SkippedNotFound: 'skipped-not-found',
|
|
24
|
+
SkippedNoFrontmatter: 'skipped-no-frontmatter',
|
|
25
|
+
};
|
|
15
26
|
/** Discover all .md documents across the methodology scan directories. */
|
|
16
27
|
export async function discoverAllDocuments(projectPath) {
|
|
17
28
|
const userDir = join(projectPath, 'project-documents/user');
|
|
@@ -33,54 +44,79 @@ export async function discoverAllDocuments(projectPath) {
|
|
|
33
44
|
return allPaths;
|
|
34
45
|
}
|
|
35
46
|
/**
|
|
36
|
-
* Resolve an explicit path list
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
47
|
+
* Resolve an explicit path list, recording what happened to each entry.
|
|
48
|
+
*
|
|
49
|
+
* Paths that are out-of-root, non-.md, or nonexistent are not validated (a
|
|
50
|
+
* staged-file list legitimately contains deletions), but each now carries a
|
|
51
|
+
* reason rather than vanishing — a clean pass over nothing is indistinguishable
|
|
52
|
+
* from a clean pass over everything otherwise (#92/#96).
|
|
53
|
+
*
|
|
54
|
+
* Containment is checked against the document root, not the scan-dir list, so
|
|
55
|
+
* a file under e.g. user/notes/ is kept even though the default walk would not
|
|
56
|
+
* visit it. Relative paths resolve against process.cwd(), which is not
|
|
57
|
+
* necessarily the document root.
|
|
42
58
|
*/
|
|
43
59
|
function resolveExplicitPaths(paths, documentRoot) {
|
|
44
60
|
const resolvedRoot = resolve(documentRoot);
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
if (
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
61
|
+
return paths.map((inputPath) => {
|
|
62
|
+
const resolvedPath = isAbsolute(inputPath)
|
|
63
|
+
? inputPath
|
|
64
|
+
: resolve(process.cwd(), inputPath);
|
|
65
|
+
if (!inputPath.endsWith('.md')) {
|
|
66
|
+
return { inputPath, resolvedPath, outcome: PathOutcome.SkippedNotMarkdown };
|
|
67
|
+
}
|
|
68
|
+
const rel = relative(resolvedRoot, resolvedPath);
|
|
69
|
+
if (rel.startsWith('..') || isAbsolute(rel)) {
|
|
70
|
+
return { inputPath, resolvedPath, outcome: PathOutcome.SkippedOutOfScope };
|
|
71
|
+
}
|
|
72
|
+
if (!existsSync(resolvedPath)) {
|
|
73
|
+
return { inputPath, resolvedPath, outcome: PathOutcome.SkippedNotFound };
|
|
74
|
+
}
|
|
75
|
+
// Provisional: the frontmatter parse in validateFrontmatterFiles may still
|
|
76
|
+
// downgrade this to SkippedNoFrontmatter.
|
|
77
|
+
return { inputPath, resolvedPath, outcome: PathOutcome.Checked };
|
|
78
|
+
});
|
|
58
79
|
}
|
|
59
80
|
/**
|
|
60
81
|
* Validate frontmatter across a project's methodology documents.
|
|
61
82
|
*
|
|
62
83
|
* No paths: walks the six scan directories under project-documents/user/,
|
|
63
|
-
* exactly as `cf check` Rule 12 does.
|
|
64
|
-
* Explicit paths:
|
|
65
|
-
* the document root (project-documents/user/)
|
|
66
|
-
* skipped
|
|
67
|
-
*
|
|
68
|
-
*
|
|
84
|
+
* exactly as `cf check` Rule 12 does, and reports no per-path list.
|
|
85
|
+
* Explicit paths: validated only if they resolve to an existing .md file
|
|
86
|
+
* inside the document root (project-documents/user/). Everything else is
|
|
87
|
+
* reported in `pathResults` with the reason it was skipped — nothing is
|
|
88
|
+
* dropped silently (#92/#96).
|
|
89
|
+
* Files whose frontmatter is absent or unparseable are not counted in
|
|
90
|
+
* filesChecked (matching Rule 12) and are reported as
|
|
91
|
+
* `skipped-no-frontmatter`.
|
|
69
92
|
*/
|
|
70
93
|
export async function validateFrontmatterFiles(projectPath, paths, options) {
|
|
71
94
|
const documentRoot = join(projectPath, 'project-documents/user');
|
|
72
|
-
const documents = paths
|
|
73
|
-
? resolveExplicitPaths(paths, documentRoot)
|
|
74
|
-
: await discoverAllDocuments(projectPath);
|
|
75
95
|
const findings = [];
|
|
76
96
|
let filesChecked = 0;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
97
|
+
if (!paths) {
|
|
98
|
+
// Full walk: no caller-supplied paths, so no per-path report.
|
|
99
|
+
for (const docPath of await discoverAllDocuments(projectPath)) {
|
|
100
|
+
const fm = await parseFrontmatter(docPath);
|
|
101
|
+
if (!fm.found)
|
|
102
|
+
continue;
|
|
103
|
+
filesChecked++;
|
|
104
|
+
findings.push(...validateFrontmatter(docPath, fm.data, { projectName: options?.projectName }));
|
|
105
|
+
}
|
|
106
|
+
return { findings, filesChecked, documentRoot };
|
|
107
|
+
}
|
|
108
|
+
const pathResults = resolveExplicitPaths(paths, documentRoot);
|
|
109
|
+
for (const result of pathResults) {
|
|
110
|
+
if (result.outcome !== PathOutcome.Checked)
|
|
111
|
+
continue;
|
|
112
|
+
const fm = await parseFrontmatter(result.resolvedPath);
|
|
113
|
+
if (!fm.found) {
|
|
114
|
+
result.outcome = PathOutcome.SkippedNoFrontmatter;
|
|
80
115
|
continue;
|
|
116
|
+
}
|
|
81
117
|
filesChecked++;
|
|
82
|
-
findings.push(...validateFrontmatter(
|
|
118
|
+
findings.push(...validateFrontmatter(result.resolvedPath, fm.data, { projectName: options?.projectName }));
|
|
83
119
|
}
|
|
84
|
-
return { findings, filesChecked };
|
|
120
|
+
return { findings, filesChecked, pathResults, documentRoot };
|
|
85
121
|
}
|
|
86
122
|
//# sourceMappingURL=frontmatterFileValidator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontmatterFileValidator.js","sourceRoot":"","sources":["../../src/schema/frontmatterFileValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,SAA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CAAC,YAAY,CAAC,CAAC;QACvD,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC;YACd,MAAM,CAAC,OAAO,GAAG,WAAW,CAAC,oBAAoB,CAAC;YAClD,SAAS;QACX,CAAC;QAED,YAAY,EAAE,CAAC;QACf,QAAQ,CAAC,IAAI,CACX,GAAG,mBAAmB,CAAC,MAAM,CAAC,YAAY,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAC5F,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC;AAC/D,CAAC"}
|
|
@@ -1,4 +1,26 @@
|
|
|
1
1
|
import type { ProjectData } from '../types/index.js';
|
|
2
|
+
/** The worktree (or project root) that owns a given filesystem path. */
|
|
3
|
+
export interface WorktreeMatch {
|
|
4
|
+
/** Worktree id, or undefined when the match was the project root itself. */
|
|
5
|
+
worktreeId?: string;
|
|
6
|
+
/** Worktree name, or undefined when the match was the project root itself. */
|
|
7
|
+
name?: string;
|
|
8
|
+
/** The matched root: the worktree's worktreePath, or the project's projectPath. */
|
|
9
|
+
rootPath: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Resolve which worktree (or the project root) owns an absolute path.
|
|
13
|
+
*
|
|
14
|
+
* Candidates are the project's `projectPath` plus every worktree's
|
|
15
|
+
* `worktreePath`. A candidate matches when the path equals it, or starts with
|
|
16
|
+
* it followed by a separator — a bare string prefix is not enough, so
|
|
17
|
+
* `/repo-old` does not match the root `/repo`. The longest matching root wins;
|
|
18
|
+
* on an exact tie a worktree is preferred over the project root.
|
|
19
|
+
*
|
|
20
|
+
* Returns null when nothing owns the path. A worktree with no `worktreePath`
|
|
21
|
+
* cannot own one and is skipped.
|
|
22
|
+
*/
|
|
23
|
+
export declare function resolveWorktreeForPath(project: ProjectData, absolutePath: string): WorktreeMatch | null;
|
|
2
24
|
/** Overlay worktree-scoped fields onto a project copy. */
|
|
3
25
|
export declare function applyWorktreeOverlay(project: ProjectData, worktreeId: string): ProjectData;
|
|
4
26
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worktree-overlay.d.ts","sourceRoot":"","sources":["../../src/utils/worktree-overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,0DAA0D;AAC1D,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,GAAG,WAAW,CAc1F;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,WAAW,EACpB,UAAU,CAAC,EAAE,MAAM,GAClB,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAM9B;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,WAAW,EACpB,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAIT;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,MAAM,EACb,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GACvB,OAAO,CAGT"}
|
|
1
|
+
{"version":3,"file":"worktree-overlay.d.ts","sourceRoot":"","sources":["../../src/utils/worktree-overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,wEAAwE;AACxE,MAAM,WAAW,aAAa;IAC5B,4EAA4E;IAC5E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8EAA8E;IAC9E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mFAAmF;IACnF,QAAQ,EAAE,MAAM,CAAC;CAClB;AAOD;;;;;;;;;;;GAWG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,WAAW,EACpB,YAAY,EAAE,MAAM,GACnB,aAAa,GAAG,IAAI,CAgCtB;AAED,0DAA0D;AAC1D,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,GAAG,WAAW,CAc1F;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,WAAW,EACpB,UAAU,CAAC,EAAE,MAAM,GAClB,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAM9B;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,WAAW,EACpB,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAIT;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,MAAM,EACb,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GACvB,OAAO,CAGT"}
|
|
@@ -1,3 +1,49 @@
|
|
|
1
|
+
/** Strip a single trailing separator so `/a/b/` and `/a/b` compare equal. */
|
|
2
|
+
function stripTrailingSeparator(path) {
|
|
3
|
+
return path.endsWith('/') || path.endsWith('\\') ? path.slice(0, -1) : path;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Resolve which worktree (or the project root) owns an absolute path.
|
|
7
|
+
*
|
|
8
|
+
* Candidates are the project's `projectPath` plus every worktree's
|
|
9
|
+
* `worktreePath`. A candidate matches when the path equals it, or starts with
|
|
10
|
+
* it followed by a separator — a bare string prefix is not enough, so
|
|
11
|
+
* `/repo-old` does not match the root `/repo`. The longest matching root wins;
|
|
12
|
+
* on an exact tie a worktree is preferred over the project root.
|
|
13
|
+
*
|
|
14
|
+
* Returns null when nothing owns the path. A worktree with no `worktreePath`
|
|
15
|
+
* cannot own one and is skipped.
|
|
16
|
+
*/
|
|
17
|
+
export function resolveWorktreeForPath(project, absolutePath) {
|
|
18
|
+
const candidates = [];
|
|
19
|
+
if (project.projectPath) {
|
|
20
|
+
candidates.push({ rootPath: project.projectPath });
|
|
21
|
+
}
|
|
22
|
+
for (const wt of project.worktrees ?? []) {
|
|
23
|
+
if (wt.worktreePath) {
|
|
24
|
+
candidates.push({ worktreeId: wt.id, name: wt.name, rootPath: wt.worktreePath });
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
const matches = candidates
|
|
28
|
+
.filter((c) => {
|
|
29
|
+
const root = stripTrailingSeparator(c.rootPath);
|
|
30
|
+
return (absolutePath === root ||
|
|
31
|
+
absolutePath.startsWith(root + '/') ||
|
|
32
|
+
absolutePath.startsWith(root + '\\'));
|
|
33
|
+
})
|
|
34
|
+
.sort((a, b) => {
|
|
35
|
+
// Longest root wins; on tie, prefer a worktree over the project root.
|
|
36
|
+
const lenDiff = stripTrailingSeparator(b.rootPath).length - stripTrailingSeparator(a.rootPath).length;
|
|
37
|
+
if (lenDiff !== 0)
|
|
38
|
+
return lenDiff;
|
|
39
|
+
if (a.worktreeId && !b.worktreeId)
|
|
40
|
+
return -1;
|
|
41
|
+
if (!a.worktreeId && b.worktreeId)
|
|
42
|
+
return 1;
|
|
43
|
+
return 0;
|
|
44
|
+
});
|
|
45
|
+
return matches[0] ?? null;
|
|
46
|
+
}
|
|
1
47
|
/** Overlay worktree-scoped fields onto a project copy. */
|
|
2
48
|
export function applyWorktreeOverlay(project, worktreeId) {
|
|
3
49
|
const wt = (project.worktrees ?? []).find((w) => w.id === worktreeId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worktree-overlay.js","sourceRoot":"","sources":["../../src/utils/worktree-overlay.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"worktree-overlay.js","sourceRoot":"","sources":["../../src/utils/worktree-overlay.ts"],"names":[],"mappings":"AAYA,6EAA6E;AAC7E,SAAS,sBAAsB,CAAC,IAAY;IAC1C,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,C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