Skip to content

Add Igor Assistant strategic brief endpoint for 7ya workflow module#70

Merged
vepretski merged 1 commit into
mainfrom
codex/develop-strategic-blueprint-for-ai-integration
Mar 30, 2026
Merged

Add Igor Assistant strategic brief endpoint for 7ya workflow module#70
vepretski merged 1 commit into
mainfrom
codex/develop-strategic-blueprint-for-ai-integration

Conversation

@vepretski

Copy link
Copy Markdown
Owner

Motivation

  • Provide a compact, risk-aware execution brief that converts live workflow KPIs and SOP state into a single-agent ("Igor Assistant OS") actionable agenda for always-on automation and decisioning.
  • Surface priority queues and execution protocol guidance so an assistant can act without additional interpretation or manual synthesis.

Description

  • Added build_igor_assistant_brief() to WorkflowProductModule which returns an identity_core, kpi_snapshot, alerts, priority_queue, and execution_protocol and supports risk_level (normal|elevated|crisis) and strategic_goal inputs.
  • Exposed a new HTTP endpoint POST /api/igor/brief in WorkflowAPIHandler that calls the brief builder and returns the structured response.
  • Documented the new endpoint and request/response fields in docs/7ya-workflow-module.md.
  • Added unit test test_igor_assistant_brief_contains_execution_protocol_and_identity_core to tests/test_workflow_product_module.py validating the brief structure and identity/execution fields.

Testing

  • Ran the module test suite file tests/test_workflow_product_module.py with the repository on PYTHONPATH using PYTHONPATH=. pytest -q tests/test_workflow_product_module.py, resulting in 5 passed.
  • Running pytest -q tests/test_workflow_product_module.py without PYTHONPATH initially failed due to an import path error (ModuleNotFoundError: No module named 'src') in the test environment, which is environment configuration related and was resolved by running with PYTHONPATH=..

Codex Task

@github-actions

Copy link
Copy Markdown

👋 Thanks for contributing @vepretski! We will review the pull request and get back to you soon.

@vepretski vepretski enabled auto-merge (squash) March 26, 2026 00:35
@vepretski vepretski merged commit 35f3c44 into main Mar 30, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant