mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-14 04:01:35 +00:00
docs(subagent): clarify unattended review contracts
This commit is contained in:
@@ -44,7 +44,7 @@ class DiagnosticProvider implements SubagentProvider {
|
||||
}
|
||||
}
|
||||
|
||||
/** Register the fixed snapshot provider under the public product provider name. */
|
||||
/** Register the fixed provider behind the public Codex-shaped snapshot tool. */
|
||||
export function apply(ctx: Context): void {
|
||||
ctx.subagents.registerProvider(new DiagnosticProvider())
|
||||
}
|
||||
|
||||
@@ -29,8 +29,8 @@ import {
|
||||
export const name = 'subagent-claude-code'
|
||||
export const inject = ['subagents', 'subprocess']
|
||||
|
||||
/* jscpd:ignore-start -- sibling product providers intentionally expose the
|
||||
* same two deployment-owned fields without adding a shared config owner. */
|
||||
/* jscpd:ignore-start -- sibling product providers intentionally expose
|
||||
* overlapping deployment-owned fields without adding a shared config owner. */
|
||||
/** Deployment-owned permission, environment, and process-release settings. */
|
||||
export interface Config {
|
||||
/**
|
||||
|
||||
@@ -193,7 +193,7 @@ export async function startMessagesFixture(
|
||||
) {
|
||||
complete(response, body, behavior.finalText)
|
||||
}
|
||||
// A hold deliberately leaves the response pending until client abort.
|
||||
// A hold, or a tool-use without final text, waits for client abort.
|
||||
})
|
||||
})
|
||||
await new Promise<void>((resolve, reject) => {
|
||||
|
||||
@@ -42,7 +42,7 @@ function runOutcome(result: SubagentResult): JobOutcome {
|
||||
case 'max-tokens':
|
||||
case 'refusal':
|
||||
return { status: 'failed', detail: failureDetail(result) }
|
||||
// Merge-extensible reasons remain failures with their raw detail.
|
||||
// Merge-extensible reasons remain failures with provider-authored detail.
|
||||
default:
|
||||
return { status: 'failed', detail: failureDetail(result) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user