fix(input): fiabilise la livraison de délégation et journalise le submit
Durcit le portail d'écriture de délégation et son acheminement bout-en-bout (commande Tauri → orchestrateur → file d'entrée infrastructure → portail frontend), avec une journalisation du submit pour diagnostiquer les cas où la délégation n'était pas remise. Couvre le portail d'écriture côté front (useWritePortal) avec ses tests. QA : checks application/front/infrastructure/app-tauri verts. Les tests loopback socket Unix réels ne sont pas exécutables en sandbox (UnixListener::bind → PermissionDenied) ; alternatives avec skips vertes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@ -28,15 +28,27 @@ export class TauriInputGateway implements InputGateway {
|
||||
agentId: string,
|
||||
ticket: string,
|
||||
): Promise<void> {
|
||||
console.info("[input-gateway] delegationDelivered:start", {
|
||||
projectId,
|
||||
agentId,
|
||||
ticket,
|
||||
});
|
||||
await invoke("delegation_delivered", {
|
||||
request: { projectId, agentId, ticket },
|
||||
});
|
||||
console.info("[input-gateway] delegationDelivered:ok", {
|
||||
projectId,
|
||||
agentId,
|
||||
ticket,
|
||||
});
|
||||
}
|
||||
|
||||
async setFrontAttached(agentId: string, attached: boolean): Promise<void> {
|
||||
console.info("[input-gateway] setFrontAttached:start", { agentId, attached });
|
||||
await invoke("set_front_attached", {
|
||||
request: { agentId, attached },
|
||||
});
|
||||
console.info("[input-gateway] setFrontAttached:ok", { agentId, attached });
|
||||
}
|
||||
|
||||
async cancelResume(agentId: string): Promise<boolean> {
|
||||
|
||||
Reference in New Issue
Block a user