Add one-shot run diagnosis and agent-feedback hardening
This commit is contained in:
1 parent
951c8fc372
commit
f2738ee4a3
15 files changed
+583
-49
No files matched your search
@@ -521,6 +521,15 @@ export const HELP_REGISTRY: AreaHelp[] = [
|
||||
summary: "Inspect rules cited by AI in an approval decision",
|
||||
usage: ["seal-use approval-runs cited-rules <recordId> [--corp <corpId>]"]
|
||||
},
|
||||
{
|
||||
name: "diagnose",
|
||||
summary: "One-shot complaint/document diagnosis: document summary, AI decision, cited rules, rule version snapshot, and Langfuse trace pointer in a single call",
|
||||
usage: ["seal-use approval-runs diagnose <recordId>|--sn <documentSN> [--full] [--corp <corpId>]"],
|
||||
options: [
|
||||
{ flag: "--sn <documentSN>", description: "Target the run by Hose document SN instead of record ID" },
|
||||
{ flag: "--full", description: "Include the full raw AI result payload instead of the summary" }
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "document-summary",
|
||||
summary: "Inspect parsed source document summary",
|
||||
|
||||
Reference in new issue
Block a user