Files
codebase-memory-mcp/tests/if_native_git_path.h
Martin Vogel a245618a64 wip(ci): checkpoint hybrid test-impact implementation
Preserve the current selector, frozen-input inventory, result codec,
coverage collection, runner filtering, and isolated Windows venue work.
Component-level regression proofs are recorded in the PR handover.

The live classified provider, public execution integration, artifact
admission, fresh oracle/shadow evidence, and full platform gates remain
incomplete. This checkpoint does not enable or claim verified narrowing.

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-10-03 23:55:18 +02:00

18 lines
692 B
C

#ifndef IF_NATIVE_GIT_PATH_H
#define IF_NATIVE_GIT_PATH_H
#include <stdbool.h>
#include <stddef.h>
/* Test-only bounded PATH lookup, not a production executable trust decision.
* out[0] is cleared on every failure when out/capacity permit it.
* No printing, environment mutation, allocation or process execution.
* Caller serializes environment mutation and keeps out disjoint from PATH.
* Empty/relative PATH entries (including '.') never trigger a current-directory
* search. An explicitly absolute entry is honored, even if it names cwd.
* The fixture MUST validate the returned candidate with genuine Git commands.
*/
bool if_native_git_path(char *out, size_t capacity);
#endif