Skip to content

Pulse: assistant-* jobs fail on every installation — Assistant/checks/ directory not shipped #1356

Description

@packetsherpa

Bug

Four cron jobs defined in PULSE.toml reference scripts in Pulse/Assistant/checks/ that don't exist in the repo. They fail immediately on every run, causing the Pulse toolbar to show "4 jobs in error" for any fresh installation.

Failing jobs

Job Schedule Script
assistant-heartbeat every 30min Assistant/checks/heartbeat.ts
assistant-tasks every minute Assistant/checks/tasks.ts
assistant-diary daily 11pm Assistant/checks/diary.ts
assistant-growth weekly Sunday 4am Assistant/checks/growth.ts

The Assistant/ module is also missing from pulse.ts itself — startup logs show:

warn: Assistant module not available — Cannot find module './Assistant/module'

assistant-tasks runs every minute, so it generates the highest error volume.

Impact

Every fresh PAI installation shows 4 job failures immediately with no user action required. The errors are cosmetic (no data loss) but erode confidence in the system.

Fix

Either ship the Assistant/checks/ scripts, or set enabled = false on all four jobs until the Assistant subsystem is ready. The latter is the safe default for a missing optional module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions