feat(FN-3599): align documentation with delivery process
Documentation delivery alignment completing Step 5 of FN-3369, updating the CLI reference, research docs, and research hardening preflight guide with consistent documentation delivery guidance across all three files. Fusion-Task-Id: FN-3599
This commit is contained in:
@@ -1443,7 +1443,15 @@ export default function kbExtension(pi: ExtensionAPI) {
|
||||
if (!run) {
|
||||
return {
|
||||
content: [{ type: "text", text: `Research run ${params.id} not found.` }],
|
||||
details: { runId: params.id, status: "missing", summary: null, findings: [], citations: [], error: "not found", setup: null },
|
||||
details: {
|
||||
runId: params.id,
|
||||
status: "missing",
|
||||
summary: null,
|
||||
findings: [],
|
||||
citations: [],
|
||||
error: "not found",
|
||||
setup: { code: "NOT_FOUND", message: `Research run ${params.id} not found.` },
|
||||
},
|
||||
};
|
||||
}
|
||||
return { content: [{ type: "text", text: `Research run ${run.id} is ${run.status}.` }], details: toResearchRunDetails(run) };
|
||||
@@ -1462,7 +1470,16 @@ export default function kbExtension(pi: ExtensionAPI) {
|
||||
if (!run) {
|
||||
return {
|
||||
content: [{ type: "text", text: `Research run ${params.id} not found.` }],
|
||||
details: { runId: params.id, status: "missing", summary: null, findings: [], citations: [], error: "not found", setup: null },
|
||||
isError: true,
|
||||
details: {
|
||||
runId: params.id,
|
||||
status: "missing",
|
||||
summary: null,
|
||||
findings: [],
|
||||
citations: [],
|
||||
error: "not found",
|
||||
setup: { code: "NOT_FOUND", message: `Research run ${params.id} not found.` },
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1499,7 +1516,15 @@ export default function kbExtension(pi: ExtensionAPI) {
|
||||
return {
|
||||
content: [{ type: "text", text: `Research run ${params.id} not found.` }],
|
||||
isError: true,
|
||||
details: { runId: params.id, status: "missing", summary: null, findings: [], citations: [], error: "not found", setup: null },
|
||||
details: {
|
||||
runId: params.id,
|
||||
status: "missing",
|
||||
summary: null,
|
||||
findings: [],
|
||||
citations: [],
|
||||
error: "not found",
|
||||
setup: { code: "NOT_FOUND", message: `Research run ${params.id} not found.` },
|
||||
},
|
||||
};
|
||||
}
|
||||
const isRetryExhausted = run.status === "retry_exhausted" || run.lifecycle?.errorCode === "RETRY_EXHAUSTED";
|
||||
|
||||
Reference in New Issue
Block a user