Repository navigation
feat(skills): keep quest work moving unattended with /quest-afk #184
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
e112f41
chore(quest): claim quest/m0/helpers/afk.md
kixelated d668b40
feat(skills): keep quest work moving unattended with /quest-afk
kixelated e4dcdc1
fix(skills): take no arguments in /quest-afk
kixelated 106cd5c
feat(skills): end /quest-afk with a summary a new session can act on
kixelated 8c9ffa5
fix(skills): let /quest-afk's started agents ready their own PRs
kixelated 3170d71
Merge main into quest/m0/helpers/afk
kixelated 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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| name: quest-afk | ||
| description: Keep quest work moving while the user is away, leaving every decision for their return. | ||
| --- | ||
|
|
||
| Run `quest skill afk` and follow its output. | ||
| If `quest` is not installed, follow https://github.com/kixelated/quest/blob/main/SETUP.md first. |
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,7 @@ | ||
| --- | ||
| name: quest-afk | ||
| description: Keep quest work moving while the user is away, leaving every decision for their return. | ||
| --- | ||
|
|
||
| Run `quest skill afk` and follow its output. | ||
| If `quest` is not installed, follow https://github.com/kixelated/quest/blob/main/SETUP.md first. |
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
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
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,23 @@ | ||
| --- | ||
| description: Keep quest work moving while the user is away, leaving every decision for their return. | ||
| --- | ||
|
|
||
| Before you begin, run `quest guide`, `quest skill spawn`, and `quest skill complete`, and read their output completely. | ||
|
|
||
| The user has stepped away and will not answer. | ||
| Your goal is to keep the work they already agreed to moving, asking nothing, until only work that needs a decision remains. | ||
| Dispatch, limit, and clean up agents as those skills describe. | ||
| This skill takes no arguments: it filters no quests or PRs and bills agents to this session's account. | ||
|
|
||
| Make no decisions, not even by acting on your own recommendation; skip each one and leave it for the user: | ||
|
|
||
| - Start every ready quest that `/quest-spawn` starts without asking; leave each quest it would ask about unstarted. | ||
| - Carry on each action the user already picked, such as a `/quest-merge` pick, until it lands or needs the user again. | ||
| - Pick no skip, `/quest-ready`, `/quest-iterate`, `/quest-merge`, or `/quest-delete` for a PR the user has not, so nothing merges or is deleted on your judgment. A started agent still runs `/quest-ready` itself when its quest finishes with no decisions, as `/quest-start` describes. | ||
| - Answer no decision an agent reports. Its PR stays a draft whose `## Decisions needed` section lists the decision with a recommendation. | ||
| - Hold `/quest-plan` sessions, stale claims, and suggested follow-ups for the user. | ||
|
|
||
| As merges land, recompute the ready quests and start any that newly qualify. | ||
| Finish once every agent has reported, every picked action has landed or needs the user, and no quest remains that starts without asking. | ||
|
|
||
| Write the final summary so a new session can act on it without this one's context, letting the user start fresh on their return: link each quest and PR, give each skipped decision with its options and your recommendation, and describe every follow-up the agents suggested fully enough to hand to `/quest-plan`. | ||
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
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
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
This file was deleted.
Oops, something went wrong.
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When a newly started quest finishes without open decisions,
assets/skills/start.md:28instructs its background agent to run/quest-readyautomatically. Because this line dispatches that normal/quest-spawnflow without telling the child agent to suppress the automatic transition, the PR can become ready even though line 16 says AFK must not pick/quest-readywithout the user; pass the AFK constraint to spawned agents so completed PRs remain drafts for the user's return.AGENTS.md reference: assets/AGENTS.md:L81-L82
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I disagree that AFK-started PRs should stay drafts. Under a plain
/quest-spawn, a started agent that finishes with no decisions already runs/quest-readywithout the user, so it is part of the start flow the user agreed to, not a pick. The no-pick rule covers the orchestrator's picks for PRs it didn't start, matching the quest's "picks no .../quest-ready... for a PR the user has not picked"./quest-readyalso merges nothing: the agent still reports and stops. Your reading shows the bullet was ambiguous, so 8c9ffa5 makes this explicit.(written by Claude Opus 5.5)