docs: A-7 decision - re-scan as canonical API with auto_pipeline opt-in

- Decision: POST /api/v1/re-scan is canonical API
- Important: auto_pipeline=false by default (customer requirement)
- Provides manual control and safety over processing pipeline
- Includes workflow examples and Studio Team recommendations

Addresses: A-7 from Momentry_Release_Requirements_20261004.md
This commit is contained in:
Accusys
2026-10-04 13:51:50 +08:00
parent a3c3ed8dc1
commit 1ec094571f
2 changed files with 16 additions and 5 deletions
+2 -2
View File
@@ -174,7 +174,7 @@ impl PythonExecutor {
if !scripts_path.exists() {
anyhow::bail!(
"Scripts directory not found at {} (set MOMENTRY_SCRIPTS_DIR env var)",
"Scripts directory not found at {:?} (set MOMENTRY_SCRIPTS_DIR env var)",
scripts_dir
);
}
@@ -1422,7 +1422,7 @@ impl CliExecutor {
if !cli_path.exists() {
anyhow::bail!(
"CLI directory not found at {} (set MOMENTRY_CLI_DIR env var)",
"CLI directory not found at {:?} (set MOMENTRY_CLI_DIR env var)",
cli_dir
);
}