Skip to content

docs(query): record agent and scheduler lifetime disposition - #388

Merged
BunsDev merged 1 commit into
mainfrom
audit/query-lifetime-current-main
Oct 18, 2026
Merged

BunsDev merged 1 commit into
mainfrom
audit/query-lifetime-current-main

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Record the current Query coverage disposition for agent cancellation and scheduled-query lifetime.

Context

  • Related request: Goal 3 Query coverage row.
  • Scope: one documentation file based on current main d875fdc.
  • Non-goals: change task cancellation, worktree cleanup, cron delivery semantics, or AutoDream behavior in this PR.

Changes

  • Name Val as owner and explain why background agents and scheduled queries remain useful.
  • Record the Monitor cancellation test, forced AgentTool worktree removal, detached scheduler and query tasks, and one-shot persistence boundary.
  • Set reproduction and design gates for worktree preservation, query concurrency, and shutdown ownership.

Validation

  • git diff --check passed.
  • All relative source links resolve.
  • Compared claims against query agent_tool.rs, cron_scheduler.rs, tools cron.rs, and CLI main.rs at d875fdc.
  • A disposable Git fixture showed git worktree remove --force removed a dirty worktree and its uncommitted file.
  • cargo fmt --all -- --check — N/A; documentation only.
  • cargo check --workspace --all-targets --locked — N/A; documentation only.
  • cargo clippy --workspace --all-targets --locked -- -D warnings — N/A; documentation only.
  • cargo test --workspace --locked — N/A; documentation only.
  • Runtime agent and scheduler reproduction — not run; their required gates remain open in the document.

PR Readiness

  • Diff is limited to the intended audit document.
  • Generated files were not edited by hand.
  • User-facing help is unchanged; this records audit evidence and follow-up gates.
  • No secrets, credentials, local paths, or unrelated logs are included.
  • Remaining risk: lifecycle repair and fix(query): wait for AutoDream agent completion #366 remain open. Merge stays held until v0.9.0 exists.

@vercel

vercel Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Oct 18, 2026 9:33am UTC

Request Review

@BunsDev

BunsDev commented Oct 18, 2026

Copy link
Copy Markdown
Member Author

Reviewed da78dd5fbca786b36a39046029a69a0d3e99254e; no blocking documentation findings. Agent cleanup, scheduler task ownership/overlap, and one-shot persistence claims match the inspected source. Whitespace checks and Vercel status pass; no Actions checks apply to this docs-only change.

Optional wording clarification at lines 17–19: distinguish cooperative cancellation-token signaling from parent task abort/drop; only the latter directly establishes that the synchronous future is dropped. The document already leaves runtime reproduction open.

No fresh agent/scheduler runtime tests were executed. This document does not establish lifecycle acceptance or resolve #366/#374. The explicit v0.9.0 hold remains.

@BunsDev
BunsDev merged commit abec07b into main Oct 18, 2026
1 check passed

This branch was successfully deployed

1 active deployment
Preview — da78dd5f Deployed Oct 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant