feat: add Layer 5 automation system with multi-step workflow executor - #23
Open
Vin124 wants to merge 1 commit into
Open
feat: add Layer 5 automation system with multi-step workflow executor#23Vin124 wants to merge 1 commit into
Vin124 wants to merge 1 commit into
Conversation
- Automation parser: NL request → structured spec (schedule/event/batch triggers) - Automation executor: 3-step chain (fetch spec → generate body → MCP dispatch) - Multi-step workflow executor: full tool-use loop for chained actions (e.g. search emails → summarize → send digest) - Content generator: ghostwriter for message bodies in user's voice - Batch executor: parallel swarm pattern for batch-trigger automations - Automation manager: NL commands for pause/resume/edit/delete/run - APScheduler daemon for cron-based background execution - Firestore CRUD for automation specs and run history - Token retrieval for background execution (get_access_token_for_uid) - Tool denylist prevents recursion in workflow executor - run_automation tool for on-demand /automation [name] triggering - Google Sheets scope added to OAuth - Fixed model ID (claude-opus-4-5-20250514 → claude-sonnet-4-20250514) - 711 tests passing
|
@Vin124 is attempting to deploy a commit to the Johnathan's projects team on Vercel, but is not a member of this team. To resolve this issue, you can:
To read more about collaboration on Vercel, click here. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
run_automationtool lets the twin execute any saved automation immediately by nameactions_taken, and per-user CRUD viaautomation_repositorybody_mode: "generate"automationsKey files
agents/automation_parser.pyagents/automation_executor.pyagents/automation_manager.pydaemons/automation_scheduler.pysrc/db/automation_repository.pysrc/agent/tool_defs.pycreate_automation,manage_automations,list_automations,run_automationtoolssrc/agent/chat.pysrc/server.py/automationsREST endpoints + scheduler lifecycleTest plan
pytest tests/test_automation_*.py tests/test_batch_executor.py tests/test_content_generator.py tests/test_workflow_executor.py tests/test_firebase_context.py🤖 Generated with Claude Code