Record the admitted selected path separately from canonical artifact identity in successful and partial Evidence. Anchor relative inputs consistently across both CLI routes using the existing caller-path owner. Adapt shared client verifier assertions and boundary coverage from PR #5261, and the dedicated-route anchoring correction proposed in PR #5265. Historical parsing remains independent of live paths, including legacy records without the parameter. Validation: 118 focused tests in eight files, static and docs checks, discovery, and installed Gemini CLI 0.29.5 loopback verification of 207 schemas/241 examples passed. Synthetic static-analysis fixtures; no live Google API or native target execution. Fixes #5258 Co-authored-by: kwakhyun <khyun2348@naver.com> Co-authored-by: vishal-tambi <tambivishal3@gmail.com>
9 lines
300 B
TypeScript
9 lines
300 B
TypeScript
export function assertJavaScriptApplicationInputPaths(
|
|
evidence: {
|
|
readonly parameters: Readonly<Record<string, unknown>>;
|
|
readonly subject: { readonly local_path: string } | null;
|
|
readonly normalized_result: { readonly input_path: string };
|
|
},
|
|
inputPath: string,
|
|
): Promise<void>;
|