labfy-investigation/tools/local_toolkit_demo.c
fy59 d65f9559e6 chore(checkpoint): preserve local investigation workbench
Preserve the local graph-first investigation stack through macro V1.

Include reviewed source, tests, contracts, documentation and synthetic assets.

Retain the standalone financial V21 test foundation without runtime migration.

Runtime remains V20; operational JobStore remains V3.

Local experimental checkpoint, not a stable release.
2026-09-27 08:34:46 +02:00

25 lines
973 B
C

/******************************************************************************
* @file local_toolkit_demo.c
* @brief Lanceur unique SPECIMEN du lot J4.
******************************************************************************/
#include "core/local_toolkit_specimen.h"
#include <glib.h>
#include <stdio.h>
#include <string.h>
int main(int argc, char **argv)
{
const char *output = NULL;
for (int index = 1; index + 1 < argc; index++)
if (strcmp(argv[index], "--output-dir") == 0) output = argv[index + 1];
if (output == NULL) { fprintf(stderr, "Usage: %s --output-dir DIR\n", argv[0]); return 2; }
GError *error = NULL;
if (!local_toolkit_specimen_generate(output, &error)) {
fprintf(stderr, "Démonstration J4 impossible : %s\n",
error != NULL ? error->message : "erreur inconnue");
g_clear_error(&error); return 1;
}
printf("Snapshot Toolkit C : %s/core-snapshot.json\n", output);
return 0;
}