aws-samples / aws-samples/sample-autonomous-cloud-coding-agents
feat(orchestration): stranded-task operator notify and manual resume
- Lenguaje dominante
- TypeScript
- Estrellas
- 143
- Forks
- 46
- Merge medio
- 3 d 10 h
- PR fusionados (30 d)
- 24
Descripción
**Context:** ROADMAP.md → Stuck-task reconciliation (operator notify/resume)
---
## Component
API or orchestration
## Describe the feature
Extend shipped stranded-task reconciler: **operator notification** before forced failure and **manual resume** option for recoverable stuck states.
## Use case
Reconciler today fails stuck tasks automatically—correct for hygiene but harsh when root cause was transient platform outage. Operators want warn-then-act and resume.
## Proposed solution
1. Grace period: emit `stranded_warning` event + notify before `failTask`.
2. `POST /tasks/{id}/resume` for operator-forced continuation from last checkpoint (when safe).
3. Blueprint config: `stranded_grace_minutes`, `notify_channel`.
4. Audit all operator resume actions.
5. Tests for warning → fail and warning → resume paths.
## Other information
- Base reconciler shipped; this is **operator UX** on top.
- Design context: `docs/design/ORCHESTRATOR.md`.
- [ ] This might be a breaking change
Guía de contribución
Línea de trabajo
Comienza con la sección “Stuck-task reconciliation” de ROADMAP.md y lee docs/design/ORCHESTRATOR.md para conocer el reconciliador existente de tareas abandonadas. Traza la ruta actual de failTask y los puntos de entrada de la task API antes de definir los flujos de advertencia, reanudación, configuración y auditoría. Se considera terminado cuando los recorridos warning→fail y warning→resume tienen pruebas y el comportamiento propuesto para el operador está cubierto.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- typescript
- Área
- api, backend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100