Workflows inventory flags the workflows-dispatcher (the Workflows clock) as an orphan

Abierto Apto para principiantes
#2,818 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 6 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
Menos de una hora
Aptitud para principiantes
80/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript
Área
tooling

Línea de trabajo

Lee LIFEOS/WORKFLOWS/Inventory.ts alrededor de la línea 161, donde se genera el hallazgo huérfano, y compáralo con outsideWorkflows(), que ya omite el dispatcher mediante WORKFLOWS_CLOCK_ID. Luego elige entre añadir una fila de dispatcher siempre activa al registro de Services.ts o añadir la misma exención de id a la condición de huérfano. Hecho significa que bun ~/.claude/LIFEOS/WORKFLOWS/Workflows.ts attention ya no imprime la línea "installed without a declaration" mientras que otros hallazgos huérfanos siguen funcionando.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Version

LifeOS 8.761.0 · attestation: not run

What is broken

The Workflows inventory raises a medium-severity orphan finding, "workflows-dispatcher is installed without a declaration", for com.lifeos.workflows-dispatcher on every install that schedules local workflows. WorkflowsSystem.md names the dispatcher as the one exemption ("the Workflows clock"), and outsideWorkflows() already skips it via WORKFLOWS_CLOCK_ID, but the orphan check does not: the dispatcher is not in the Services.ts registry, so declared is false and it is flagged. The Pulse Workflows page therefore always shows one attention item the user cannot resolve, and acknowledging it is the only way to quiet it.

Where (file:line)

LIFEOS/WORKFLOWS/Inventory.ts:161

Repro on a clean tree
1. On a v8.761.0 install, have at least one local workflow with a schedule or interval trigger, so `com.lifeos.workflows-dispatcher` is loaded (`launchctl list | grep workflows-dispatcher`).
2. Run `bun ~/.claude/LIFEOS/WORKFLOWS/Workflows.ts attention`.
3. The list contains "workflows-dispatcher is installed without a declaration. (launchd:com.lifeos.workflows-dispatcher)".

Negative control: the captured probe exits 1 because that line is present.
Negative control

Probe: bun $HOME/.claude/LIFEOS/WORKFLOWS/Workflows.ts attention | grep 'workflows-dispatcher'; ! bun $HOME/.claude/LIFEOS/WORKFLOWS/Workflows.ts attention | grep -q 'workflows-dispatcher is installed without a declaration' · exit 1 · captured 2026-11-15T07:44:48.517Z

Red looks like: workflows-dispatcher is installed without a declaration

! workflows-dispatcher is installed without a declaration. (launchd:com.lifeos.workflows-dispatcher)
Suggested fix

Either declare the dispatcher in the Services.ts registry (an always-on service row), or exempt it in the orphan check the same way outsideWorkflows() does: add && r.id !== WORKFLOWS_CLOCK_ID to the condition at Inventory.ts:161.

Environment
  • OS: macOS 26.6.2 (arm64)
  • Harness: claude-code
  • bun: 1.3.8 · git: 2.39.5
  • Doctor broken: none
Lenguaje dominante
TypeScript
Estrellas
19.8k
Forks
2.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de danielmiessler/LifeOS

Todos los issues de danielmiessler/LifeOS

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.