Commit Graph

719 Commits

Author SHA1 Message Date
ajaysi
74b788a353 Merge PR #392: Add contextuality validation and low-context workflow status
- Replace provenance-based quality with contextuality validation framework
- Add evidence link tracking system (onboarding:key and alert:id formats)
- Implement plan contextuality validation function with configurable thresholds
- Calculate task-level context scores based on evidence link density
- Define contextual workflows (>65% threshold) vs low-context workflows (<65%)
- Add validation in plan persistence layer before database commit
- Integrate contextuality metrics into release readiness checks
- Add recovery strategies for low-context workflows (regeneration with guidance)
- Track evidence link validity against grounding context (onboarding data, alerts)
- Provide detailed contextuality reports in quality assessments
- Maintain backward compatibility while enabling contextual workflow detection
2026-03-08 18:18:43 +05:30
ajaysi
2d4c83e79f Merge PR #391: Add workflow provenance quality metrics and classification
- Introduce task provenance tracking: agent_proposal, llm_backfill, controlled_fallback
- Add quality computation function to classify workflows as 'AI-personalized' or 'guided baseline'
- Calculate agent origin ratio, fallback ratio, and per-pillar coverage metrics
- Implement configurable agent personalization threshold (default 35%)
- Enhance plan metadata with comprehensive quality dimensions:
  - agentOriginRatio, agentOriginPercent, agentOriginTaskCount
  - agentOriginPillars, fallbackRatio, fallbackPercent, fallbackTaskCount
  - totalTaskCount and configurable thresholds
- Simplify task provenance metadata handling in sanitization
- Add backfill logic for existing plans to populate missing quality metrics
- Maintain backward compatibility with existing plan storage
2026-03-08 18:16:54 +05:30
ajaysi
56854df016 Merge PR #390: Add degraded-mode workflow regeneration criteria and endpoint
- Add POST /api/today-workflow/regenerate endpoint for on-demand plan regeneration
- Implement rate limiting (3 requests per 60 seconds) to prevent abuse
- Add regeneration quality score tracking and onboarding completion status
- Compute task hashes for deduplication and change detection
- Extract plan metadata from plan_json for cleaner API responses
- Integrate onboarding progress service to track completion status
- Return quality_score and generated_with_agents metadata in responses
- Enable manual workflow refresh in degraded mode scenarios
- Maintain backward compatibility with simplified schema
2026-03-08 18:12:43 +05:30
ajaysi
35581316a8 Merge PR #389: Committee Health Precheck and Simplified Architecture
- Simplify workflow generation by removing complex dependency coercion and metadata normalization functions
- Add committee health precheck to detect insufficient active agents before proposal gathering
- Add orchestrator initialization state metadata tracking for observability
- Downgrade fastapi to 0.104.0 for stability
- Simplify database schema (remove generation_mode, committee_agent_count, fallback_used columns from DailyWorkflowPlan)
- Remove 'skipped' from suppressed task statuses in memory service (keep only dismissed, rejected)
- Update task status normalization logic for clarity
- Return simplified metadata structure with generation_path and degradation tracking
2026-03-08 18:10:27 +05:30
ajaysi
8f6ed3a616 Merge PR #388: Daily Workflow Integration & Enhanced Reliability
- Resolve merge conflicts in backend/services/today_workflow_service.py and frontend/src/stores/workflowStore.ts
- Backend: Keep robust handling for both dict and object types in TaskProposal conversion
- Backend: Combine dependencies coercion with task metadata normalization
- Frontend: Implement graceful fallback pattern (try server first, then local generation on unavailability)
- Add provenanceSummary integration from server responses
- Ensure degraded mode handling with appropriate messaging
2026-03-08 17:47:15 +05:30
ajaysi
a25ec8302c fix: Resolve merge conflicts in workflowStore.ts by combining normalization and fallback logic (PR #387) 2026-03-07 12:08:29 +05:30
ajaysi
4f2a3d6e2d fix: Resolve conflicts in PR #386 for per-agent timeouts and partial committee handling 2026-03-07 12:05:51 +05:30
ajaysi
f0f73eb003 Merge branch 'pr-385' 2026-03-07 12:02:50 +05:30
ajaysi
a00212ca4d refactor: Unify canonical task outcome statuses (completed, skipped) across workflow and memory services (Closes #384) 2026-03-07 12:00:04 +05:30
ajaysi
5780deff2f fix: Normalize specialized agent pillar IDs and log invalid proposals (Closes #383) 2026-03-07 11:57:26 +05:30
ajaysi
8b554a35c4 fix: Resolve dependency conflicts, scheduler status error, and frontend config (Closes #382) 2026-03-07 11:51:59 +05:30
ي
7096f03623 Add contextuality validation and low-context workflow status 2026-03-06 21:42:49 +05:30
ي
84babd0407 Add workflow provenance quality metrics and classification 2026-03-06 21:42:14 +05:30
ي
4621107988 Add degraded-mode workflow regeneration criteria and endpoint 2026-03-06 21:40:29 +05:30
ي
15a9eaa9a0 Add committee health precheck and orchestrator init state metadata 2026-03-06 21:40:03 +05:30
ي
81b29895b9 Improve daily workflow provenance modeling and UI labels 2026-03-06 21:39:32 +05:30
ي
ed625eae61 Harden workflow fallback handling and degraded mode UI 2026-03-06 21:38:39 +05:30
ي
198143e6ca Add per-agent timeout handling for daily committee proposals 2026-03-06 21:38:04 +05:30
ي
c3f478a763 Normalize today workflow task dependencies as arrays 2026-03-06 21:37:36 +05:30
ajaysi
5d49351c2d feat: Support explicit technical SEO audit states and surface task diagnostics in dashboard (PR #382) 2026-03-05 22:28:55 +05:30
ajaysi
afe79f188a refactor: Align SEO dashboard imports/routes and add app router smoke test (PR #381) 2026-03-05 22:21:05 +05:30
ajaysi
110f7318cc chore: Update backend services, intelligence integration, and documentation 2026-03-05 22:14:25 +05:30
ajaysi
5cccb89df8 feat: Add competitor_analysis fallback for deep competitor onboarding scheduling (PR #380) 2026-03-05 22:11:55 +05:30
ajaysi
6205ff8bbe Merge PR #379: fix preflight pricing/model drift and usage UI 2026-03-05 12:22:21 +05:30
ي
01bf56837f Fix unlimited video limit display in usage rings 2026-03-05 11:36:04 +05:30
ي
7d530b3220 Preserve full provider breakdown in billing UI coercion 2026-03-05 11:31:49 +05:30
ي
81f49f4ebd Add explicit usage summary uniqueness and billing indexes 2026-03-05 11:17:48 +05:30
ي
45dbf095f6 Add Stripe webhook idempotency persistence guard 2026-03-05 11:17:21 +05:30
ي
81052d06b4 Fix preflight model mapping when skipping invalid providers 2026-03-05 11:10:54 +05:30
ajaysi
6121ae1a92 Merge branch 'pr-378' 2026-03-05 10:52:31 +05:30
ajaysi
156beba7e0 Merge branch 'pr-377' 2026-03-05 10:49:08 +05:30
ajaysi
2610b1e35b Merge branch 'pr-376' 2026-03-05 10:44:12 +05:30
ajaysi
93406352d4 Merge branch 'pr-375' 2026-03-05 10:41:19 +05:30
ajaysi
806ab7b20d Merge branch 'pr-374' 2026-03-05 10:34:36 +05:30
ajaysi
c303a1040b Merge branch 'pr-373' 2026-03-05 10:24:58 +05:30
ajaysi
26131232c7 feat: enhance billing dashboard with historical data & security hardening
- Fix usage tracking zero-value bug with self-healing logic
- Add month selector for historical usage views
- Implement start-of-month graceful initialization
- Merge PR #372: Harden user-scoped access in subscription routes
- Fix UI bugs in UsageDashboard component
2026-03-05 10:21:56 +05:30
ي
c604dc87ec Add Stripe webhook event persistence and idempotency 2026-03-04 20:44:04 +05:30
ي
6e75f44ed5 Add subscription usage constraints and safe index migration 2026-03-04 20:43:14 +05:30
ي
cf4c08ff7c Align usage period keys with subscription window and reset audio counters 2026-03-04 20:42:44 +05:30
ي
d82569a1d0 Harden usage limit enforcement failure handling 2026-03-04 20:42:20 +05:30
ي
fc96e1218a Move Stripe plan price mapping to env with startup validation 2026-03-04 20:41:47 +05:30
ي
5a7b9e6c6b Refactor billing flows to require authenticated user IDs 2026-03-04 20:41:07 +05:30
ي
261c224dca Harden user-scoped subscription route access checks 2026-03-04 20:40:33 +05:30
ajaysi
2318fd8a48 Render deploy hardening: skip large model bootstrap on cloud, respect PORT, pin requests deps; add runtime.txt and render-build.sh 2026-03-04 12:55:35 +05:30
ajaysi
1d36ebe2f9 Update frontend components: TeamHuddleWidget, useAgentHuddleFeed, TeamActivityPage 2026-03-04 09:19:53 +05:30
ajaysi
45fb9636e2 Update Render build configuration: fix deps, force py3.11, add build script 2026-03-04 09:17:35 +05:30
ajaysi
460e1f398d Merge PR #364: Add competitor-aware originality checks and fix agent initialization 2026-03-03 18:57:46 +05:30
ajaysi
05dd4f1efb Merge branch 'pr-371' 2026-03-03 18:37:37 +05:30
ajaysi
65fede6839 Merge PR #370: Tiered agent activity responses and detailed approvals UI 2026-03-03 18:33:38 +05:30
ajaysi
2fbda8f803 Merge PR #369: Standardize agent activity events and update timeline UI 2026-03-03 18:25:05 +05:30