Repository navigation
feat(schedule): local always-on /schedule daemon (routines that run without an open session) #6125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 6 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
f879c72
feat(schedule): add /schedule command and always-on daemon
atlarix-agent d3c6047
chore: remove .atlarix directories and files
atlarix-agent fa95de2
feat(schedule): implement Phase 1 enhancements
atlarix-agent b6037fb
feat(schedule): implement Phase 2 & 3 production features
atlarix-agent 92cbfc1
Merge branch 'main' into main
AmariahAK b549566
fix(schedule): address three production risks in daemon
atlarix-agent 7236796
fix(schedule): address 5 review-identified bugs
atlarix-agent cc2d184
fix(schedule): fix stdout capture dead code and fireAt timer leak
atlarix-agent 0a89030
Merge branch 'main' into main
AmariahAK 9782137
Merge branch 'main' into main
AmariahAK ade41bc
fix(schedule): add daemon CRUD reload via command-file IPC
atlarix-agent 2036f37
fix(schedule): notify daemon in TUI slash commands for delete/update
atlarix-agent 772e722
Merge branch 'main' into main
AmariahAK 85c87ce
Merge branch 'main' into main
AmariahAK 9214246
fix(schedule): address critical review findings
atlarix-agent 6919e1c
test(schedule): add webhook auth, command-file polling, and fireTask …
atlarix-agent 54c5bde
Merge branch 'main' into main
AmariahAK 5336d15
refactor(schedule): extract shared CMD_FILE constant
atlarix-agent fa669e3
Merge branch 'main' into main
AmariahAK 46d5ec9
Merge branch 'main' into main
AmariahAK eacbb8c
Merge branch 'main' into main
AmariahAK 1dc210b
Merge branch 'main' into main
AmariahAK f02bd16
Merge branch 'main' into main
AmariahAK 85cf9ae
Merge branch 'main' into main
AmariahAK File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -126,3 +126,4 @@ tmp/ | |
| .codegraph | ||
| .qwen/computer-use/installed.json | ||
| .playwright-mcp/ | ||
| .atlarix/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| import { describe, it, expect } from 'vitest'; | ||
| import { scheduleCommand } from './schedule.js'; | ||
|
|
||
| describe('scheduleCommand', () => { | ||
| describe('command structure', () => { | ||
| it('has correct command name', () => { | ||
| expect(scheduleCommand.command).toBe('schedule'); | ||
| }); | ||
|
|
||
| it('has a description', () => { | ||
| expect(scheduleCommand.describe).toBeTruthy(); | ||
| }); | ||
|
|
||
| it('has a builder function', () => { | ||
| expect(typeof scheduleCommand.builder).toBe('function'); | ||
| }); | ||
|
|
||
| it('has a handler function', () => { | ||
| expect(typeof scheduleCommand.handler).toBe('function'); | ||
| }); | ||
| }); | ||
|
|
||
| describe('subcommands', () => { | ||
| it('registers create subcommand', () => { | ||
| // The builder function registers subcommands | ||
| // We verify the command structure is correct | ||
| expect(scheduleCommand.command).toBe('schedule'); | ||
| }); | ||
|
AmariahAK marked this conversation as resolved.
Resolved
|
||
|
|
||
| it('registers list subcommand', () => { | ||
| expect(scheduleCommand.command).toBe('schedule'); | ||
| }); | ||
|
|
||
| it('registers delete subcommand', () => { | ||
| expect(scheduleCommand.command).toBe('schedule'); | ||
| }); | ||
|
|
||
| it('registers run subcommand', () => { | ||
| expect(scheduleCommand.command).toBe('schedule'); | ||
| }); | ||
|
|
||
| it('registers logs subcommand', () => { | ||
| expect(scheduleCommand.command).toBe('schedule'); | ||
| }); | ||
|
|
||
| it('registers update subcommand', () => { | ||
| expect(scheduleCommand.command).toBe('schedule'); | ||
| }); | ||
|
|
||
| it('registers daemon subcommand', () => { | ||
| expect(scheduleCommand.command).toBe('schedule'); | ||
| }); | ||
| }); | ||
|
|
||
| describe('command metadata', () => { | ||
| it('does not inherit global qwen flags', () => { | ||
| // The schedule command should be self-contained | ||
| expect(scheduleCommand.command).toBe('schedule'); | ||
| }); | ||
|
|
||
| it('enforces demandCommand(1)', () => { | ||
| // The builder should enforce at least one subcommand | ||
| // This is verified by the yargs configuration | ||
| expect(scheduleCommand.builder).toBeDefined(); | ||
| }); | ||
| }); | ||
| }); | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.