feat: implement memory and evidence administration with guided repairs
Publish documentation / publish (push) Successful in 1m27s
Publish documentation / publish (push) Successful in 1m27s
Add PostgreSQL-backed memory, editable evidence with source review and activation, and human-approved archive repairs across the harness, API, and UI. Include migrations, deployment support, regression coverage, and validation documentation. Refresh permissions from validated session roles so existing administrator logins can access newly deployed archive management features.
This commit is contained in:
@@ -5,6 +5,15 @@
|
||||
// So we skip the first two args after node (-c <configPath>).
|
||||
|
||||
const argv = process.argv.slice(2); // drop "node" + script path
|
||||
// Archive integration tests run the actual harness through the production runner.
|
||||
// Unrelated session/LLM operations remain deterministic fixtures.
|
||||
if ((argv[0] === "memory" || argv[0] === "evidence" && argv[1] === "admin") && process.env.THT_E2E_MEMORY_BIN) {
|
||||
const { spawnSync } = await import("node:child_process");
|
||||
const result = spawnSync(process.env.THT_E2E_MEMORY_BIN, argv, {
|
||||
env: process.env, stdio: ["ignore", "inherit", "inherit", 3],
|
||||
});
|
||||
process.exit(result.status ?? 1);
|
||||
}
|
||||
|
||||
// Strip leading "-c <value>" pair (ThtRunner always prepends this).
|
||||
let args = argv;
|
||||
|
||||
Reference in New Issue
Block a user