Skip to content

Add automatic thread naming and scheduled actions plan#267

Merged
crazygo merged 2 commits into
mainfrom
codex/thread-auto-name-source
May 26, 2026
Merged

Add automatic thread naming and scheduled actions plan#267
crazygo merged 2 commits into
mainfrom
codex/thread-auto-name-source

Conversation

@crazygo
Copy link
Copy Markdown
Collaborator

@crazygo crazygo commented May 26, 2026

Summary

  • add automatic thread naming source flow for first-message thread names
  • document scheduled actions as conversation-managed Agent tasks
  • add backlog notes for scheduled Agent tasks and scriptable Agent pipelines

Validation

  • npm test -- src/routes/chat.test.ts src/services/localAgentLoopService.test.ts src/llm/llm_service.test.ts src/db/migrate.test.ts
  • npm run type-check
  • evidence case loop for thread auto naming

Copilot AI review requested due to automatic review settings May 26, 2026 10:51
@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

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

Project Deployment Actions Updated (UTC)
bricks Ready Ready Preview, Comment May 26, 2026 2:04pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds documentation to guide implementation of scheduled actions as conversation-managed Agent executions, plus backlog notes for future scriptable Agent pipelines.

Changes:

  • Added an implementation plan for scheduled actions with storage, tooling, cron tick execution, and observability requirements
  • Added backlog docs for “scriptable Agent pipelines” and “scheduled Agent tasks”
  • Documented validation commands and intended architectural boundaries (scheduler vs Agent/tools vs skill runtimes)

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
docs/plans/2026-05-26-18-34-CST-scheduled-actions-agent-execution.md New detailed plan for scheduled actions and how they trigger normal Agent execution
docs/backlog/2026-05-26-scriptable-agent-pipelines.md New backlog note capturing the need and examples for scriptable Agent pipelines
docs/backlog/2026-05-26-scheduled-agent-tasks.md New backlog note for scheduled Agent tasks (conversation-created, scheduler-triggered)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +61 to +63
5. Add a scheduler tick endpoint.
- Add a protected backend route such as `GET /api/cron/scheduled-actions`.
- Configure Vercel Cron in the root Vercel configuration to call this path on a fixed cadence.
Comment on lines +52 to +55
- Compute the next run time after each successful claim or completion.
- Keep schedule parsing and timezone handling inside this service boundary.

4. Expose scheduled action internal tools.
Comment thread docs/backlog/2026-05-26-scheduled-agent-tasks.md Outdated
@@ -0,0 +1,105 @@
# Scheduled Actions and Agent Execution
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@crazygo crazygo merged commit 0914ecf into main May 26, 2026
4 of 6 checks passed
@crazygo crazygo deleted the codex/thread-auto-name-source branch May 26, 2026 14:02
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.

2 participants