mirror of
https://github.com/AJaySi/ALwrity.git
synced 2026-04-26 01:15:52 +03:00
[PR #359] [MERGED] Add strategy architect agent to orchestration and today workflow polling #664
Labels
No labels
AI Content Agents
AI Content Strategy
AI Content planning
AI Marketing Tools
AI SEO
AI personalization
AI writer
ALwrity Copi-lot
Alwrity web search
Anthropic
DeepSeek
Gemini AI
Integration
LLM
OnBoarding
OnBoarding
RAG knowledgebase Memory
bug
documentation
enhancement
good first issue
help wanted
invalid
openai
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ALwrity#664
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AJaySi/ALwrity/pull/359
Author: @AJaySi
Created: 3/1/2026
Status: ✅ Merged
Merged: 3/1/2026
Merged by: @AJaySi
Base:
main← Head:codex/add-strategyarchitectagent-support📝 Commits (1)
036bbb4Add strategy agent to daily planning committee📊 Changes
3 files changed (+190 additions, -3 deletions)
View changed files
📝
backend/services/intelligence/agents/agent_orchestrator.py(+12 -1)📝
backend/services/today_workflow_service.py(+26 -2)➕
backend/test/test_today_workflow_service.py(+152 -0)📄 Description
Motivation
Description
StrategyArchitectAgentinALwrityAgentOrchestrator._create_specialized_agents()with feature-flag parity (enabled_by_key.get("strategy_architect", True)) and add it toself.agents['strategy']so it is available to the orchestrator.orchestrator.agents.get('strategy')to theagents_to_polllist ingenerate_agent_enhanced_planso the strategy agent is polled alongside content/seo/social/competitor agents._proposal_priority_rankand_proposal_order_keyhelpers and replace the simple overwrite rule with deterministic dedupe logic that prefers higher-priority proposals and uses a stable tie-breaker (source/title/description/action_url) for equal-priority collisions.backend/test/test_today_workflow_service.py) that stub deep onboarding imports and the orchestration service to verify (1) strategy-originated PLAN proposals are included and (2) dedupe behavior keeps high-priority proposals and deterministically resolves same-priority ties.Testing
pytestwithout adjustingPYTHONPATHinitially surfaced an import-time error due to a missing spaCy model during unrelated module import, which blocked collection.PYTHONPATH=backend pytest -q backend/test/test_today_workflow_service.pyran the new tests and reported2 passed(the two async tests added), with no failures.Codex Task
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.