tradingcodex 0.2.10__tar.gz → 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/PKG-INFO +71 -98
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/README.md +69 -96
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/README.md +3 -1
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/artifact-supervisor-loop-prd.md +15 -4
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/components.md +4 -4
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/core-concepts-and-rules.md +1 -1
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/deployment.md +29 -16
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/financial-workflow-references.md +10 -4
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/generated-workspaces.md +27 -6
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/harness.md +10 -6
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/improvement-loop.md +54 -5
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/interfaces-and-surfaces.md +3 -3
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/product-direction.md +2 -2
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/research-memory-and-artifacts.md +52 -4
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/roles-skills-and-workflows.md +27 -13
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/system-architecture.md +4 -1
- tradingcodex-0.3.1/docs/user-facing-skills.md +55 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/validation-and-test-plan.md +21 -3
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/pyproject.toml +2 -2
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tests/test_e2e_user_scenarios.py +18 -23
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tests/test_python_migration.py +603 -57
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex.egg-info/PKG-INFO +71 -98
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex.egg-info/SOURCES.txt +5 -2
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/__main__.py +2 -2
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/doctor.py +11 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/orders.py +29 -2
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/research.py +37 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/subagents.py +2 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/utils.py +8 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/workflow.py +28 -2
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/api.py +5 -4
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/agents.py +41 -16
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/artifact_quality.py +419 -14
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/components.py +10 -9
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/context_budget.py +5 -5
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/decision_packages.py +104 -12
- tradingcodex-0.3.1/tradingcodex_service/application/harness.py +1935 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/research.py +131 -2
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/workflow_planner.py +35 -7
- tradingcodex-0.3.1/tradingcodex_service/application/workflow_routing.py +1333 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/mcp_runtime.py +51 -59
- tradingcodex-0.3.1/tradingcodex_service/version.py +1 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/web.py +1 -1
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/files/.codex/config.toml +36 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/files/.codex/hooks/tradingcodex_hook.py +12 -53
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/files/.codex/prompts/base_instructions/head-manager.md +9 -3
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/files/.tradingcodex/config.yaml +1 -1
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/roles.yaml +6 -0
- tradingcodex-0.3.1/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/postmortem_report.schema.json +27 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/research_artifact.schema.json +45 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/fixed-subagents/files/.codex/agents/execution-operator.toml +0 -4
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/fixed-subagents/files/.codex/agents/fundamental-analyst.toml +0 -8
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/fixed-subagents/files/.codex/agents/instrument-analyst.toml +0 -8
- tradingcodex-0.3.1/workspace_templates/modules/fixed-subagents/files/.codex/agents/judgment-reviewer.toml +51 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/fixed-subagents/files/.codex/agents/macro-analyst.toml +0 -8
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/fixed-subagents/files/.codex/agents/news-analyst.toml +0 -8
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/fixed-subagents/files/.codex/agents/portfolio-manager.toml +0 -8
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/fixed-subagents/files/.codex/agents/risk-manager.toml +0 -12
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/fixed-subagents/files/.codex/agents/technical-analyst.toml +0 -8
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/fixed-subagents/files/.codex/agents/valuation-analyst.toml +0 -4
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/fixed-subagents/module.json +1 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/guidance-guardrails/files/.tradingcodex/guidance/task-quality-checklist.md +2 -2
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/.tradingcodex/policies/information-barriers.yaml +53 -49
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/postmortem/SKILL.md +9 -3
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/references/decision-quality-spine.md +5 -2
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/fundamental-analyst/fundamental-analysis/SKILL.md +2 -1
- tradingcodex-0.3.1/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/judgment-reviewer/agent-judgment-review/SKILL.md +62 -0
- tradingcodex-0.3.1/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/judgment-reviewer/agent-judgment-review/agents/openai.yaml +6 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/portfolio-review/SKILL.md +3 -1
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/review-risk/SKILL.md +3 -1
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/collect-evidence/SKILL.md +6 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/forecasting-discipline/SKILL.md +7 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/valuation-analyst/valuation-review/SKILL.md +2 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/module.json +1 -0
- tradingcodex-0.2.10/tradingcodex_service/application/harness.py +0 -2598
- tradingcodex-0.2.10/tradingcodex_service/version.py +0 -1
- tradingcodex-0.2.10/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/postmortem_report.schema.json +0 -14
- tradingcodex-0.2.10/workspace_templates/modules/fixed-subagents/files/.tradingcodex/mainagent/head-manager.yaml +0 -66
- tradingcodex-0.2.10/workspace_templates/modules/fixed-subagents/files/.tradingcodex/mainagent/subagent-registry.yaml +0 -56
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/CONTRIBUTING.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/LICENSE +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/MANIFEST.in +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/NOTICE +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/TRADEMARKS.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/audit/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/audit/admin.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/audit/apps.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/audit/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/audit/migrations/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/audit/models.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/harness/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/harness/admin.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/harness/apps.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/harness/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/harness/migrations/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/harness/models.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/harness/templatetags/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/integrations/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/integrations/admin.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/integrations/apps.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/integrations/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/integrations/migrations/0002_brokerconnection_brokeraccount_instrumentmap.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/integrations/migrations/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/integrations/models.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/mcp/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/mcp/admin.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/mcp/apps.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/mcp/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/mcp/migrations/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/mcp/models.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/mcp/services.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/orders/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/orders/admin.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/orders/apps.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/orders/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/orders/migrations/0002_approvalreceipt_approved_order_type_and_more.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/orders/migrations/0003_migrate_orderintent_to_orderticket.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/orders/migrations/0004_remove_order_intent_compat_fields.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/orders/migrations/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/orders/models.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/orders/services.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/policy/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/policy/admin.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/policy/apps.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/policy/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/policy/migrations/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/policy/models.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/policy/services.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/portfolio/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/portfolio/admin.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/portfolio/apps.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/portfolio/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/portfolio/migrations/0002_brokersyncrun_portfolioledgerevent_reconciliationrun.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/portfolio/migrations/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/portfolio/models.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/workflows/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/workflows/admin.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/workflows/apps.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/workflows/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/workflows/migrations/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/apps/workflows/models.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/assets/tradingcodex-banner.svg +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/guardrails.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/licensing-and-commercialization.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/docs/safety-policy-and-execution.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/install.sh +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/installation.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/setup.cfg +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tests/test_broker_center_prd.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex.egg-info/dependency_links.txt +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex.egg-info/entry_points.txt +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex.egg-info/requires.txt +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex.egg-info/top_level.txt +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/bootstrap.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/connectors.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/db.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/decision.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/mcp.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/mode.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/policy.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/profile.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/skills.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/strategies.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/commands/workspaces.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/generator.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/mcp_stdio.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/service_autostart.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_cli/startup_status.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/admin.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/audit.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/brokers.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/common.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/markdown_preview.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/orders.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/policy.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/portfolio.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/runtime.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/application/runtime_mode.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/asgi.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/settings.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/static/tradingcodex_admin/favicon.svg +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/static/tradingcodex_web/app.css +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/static/tradingcodex_web/app.js +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/static/vendor/htmx/htmx.min.js +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/activity.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/agent_skills.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/agents.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/base.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/brokers.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/dashboard.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/decisions.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/fragments/role_inspector.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/fragments/starter_prompt.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/fragments/topology_canvas.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/fragments/workspace_card.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/harness.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/mcp_router.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/orders.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/policy.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/portfolio.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/research.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/starter_prompt.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/templates/web/strategies.html +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/urls.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/tradingcodex_service/wsgi.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/__init__.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/audit/files/.tradingcodex/audit/README.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/audit/files/trading/audit/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/audit/module.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/files/.codex/hooks.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/files/.codex/rules/tradingcodex.rules +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/files/.tradingcodex/capabilities.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/files/.tradingcodex/cli.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/policy-bindings.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/principals.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/files/AGENTS.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/files/pyproject.toml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/files/tcx +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/codex-base/module.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/policies/access-policies.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/policies/restricted-list.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/approval_receipt.schema.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/audit_event.schema.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/evidence_pack.schema.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/execution_result.schema.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/fundamental_report.schema.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/news_report.schema.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/order_ticket.schema.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/portfolio_review.schema.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/risk_report.schema.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/technical_report.schema.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/thesis.schema.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/valuation.schema.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/enforcement-guardrails/module.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/fixed-subagents/files/.tradingcodex/mainagent/skill-change-proposals/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/guidance-guardrails/files/.tradingcodex/guidance/guardrails.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/guidance-guardrails/module.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/.tradingcodex/secrets.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/approvals/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/forecasts/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/market-data/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/orders/approved/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/orders/draft/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/orders/executed/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/orders/rejected/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/portfolio/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/reports/fundamental/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/reports/instrument/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/reports/macro/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/reports/news/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/reports/policy/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/reports/portfolio/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/reports/postmortem/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/reports/risk/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/reports/technical/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/reports/valuation/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/files/trading/research/.gitkeep +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/information-barriers/module.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/paper-trading/module.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/postmortem/files/.tradingcodex/workflows/postmortem.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/postmortem/module.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/automate-workflow/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/automate-workflow/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/plan-workflow/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/plan-workflow/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/postmortem/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/strategy-creator/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/strategy-creator/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-build/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-build/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-server/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-server/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/execution-operator/execute-paper-order/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/execution-operator/execute-paper-order/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/fundamental-analyst/fundamental-analysis/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/instrument-analyst/instrument-analysis/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/instrument-analyst/instrument-analysis/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/macro-analyst/macro-analysis/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/macro-analyst/macro-analysis/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/news-analyst/news-analysis/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/news-analyst/news-analysis/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/create-order-ticket/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/create-order-ticket/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/portfolio-review/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/approve-order/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/approve-order/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/policy-review/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/policy-review/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/review-risk/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/anti-overfit-validation/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/anti-overfit-validation/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/collect-evidence/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/external-data-source-gate/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/external-data-source-gate/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/forecasting-discipline/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/numeric-data-qc/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/numeric-data-qc/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/thesis-scenario-tree/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/thesis-scenario-tree/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/technical-analyst/technical-analysis/SKILL.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/technical-analyst/technical-analysis/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/valuation-analyst/valuation-review/agents/openai.yaml +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/stub-execution/module.json +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/enforcer/README.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/gateway/README.md +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/server.py +0 -0
- {tradingcodex-0.2.10 → tradingcodex-0.3.1}/workspace_templates/modules/tradingcodex-mcp/module.json +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tradingcodex
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.3.1
|
|
4
|
+
Summary: Agentic investment workflow harness for Codex-native research and service-gated execution checks.
|
|
5
5
|
Author: TradingCodex Authors
|
|
6
6
|
License-Expression: Apache-2.0
|
|
7
7
|
Keywords: trading,django,codex,mcp,portfolio,research
|
|
@@ -55,14 +55,14 @@ Dynamic: license-file
|
|
|
55
55
|
<a href="https://github.com/monarchjuno/tradingcodex/issues"><img alt="GitHub Issues" src="https://img.shields.io/github/issues/monarchjuno/tradingcodex"></a>
|
|
56
56
|
</div>
|
|
57
57
|
|
|
58
|
-
### Codex-native investment work needs
|
|
58
|
+
### Codex-native investment work needs an agentic harness, not a chat transcript.
|
|
59
59
|
|
|
60
|
-
TradingCodex is
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
TradingCodex is an agentic investment workflow harness for Codex-native
|
|
61
|
+
research, thesis review, portfolio/risk handoffs, and service-gated execution
|
|
62
|
+
checks. Codex coordinates the work, specialist agents own bounded judgments,
|
|
63
|
+
and TradingCodex keeps execution behind explicit service gates.
|
|
64
64
|
|
|
65
|
-
[Quick Start](#installation) | [Docs](docs/README.md) | [Safety](docs/safety-policy-and-execution.md) | [
|
|
65
|
+
[User-Facing Skills](#user-facing-skills) | [Quick Start](#installation) | [Architecture](#architecture) | [Docs](docs/README.md) | [Safety](docs/safety-policy-and-execution.md) | [Contributing](CONTRIBUTING.md) | [License](LICENSE)
|
|
66
66
|
|
|
67
67
|
<p align="center">
|
|
68
68
|
<img src="assets/tradingcodex-banner.svg" alt="TradingCodex" width="100%">
|
|
@@ -72,10 +72,10 @@ durable service plane, and TradingCodex owns the executable boundary.
|
|
|
72
72
|
|
|
73
73
|
## About
|
|
74
74
|
|
|
75
|
-
TradingCodex gives Codex a durable operating system for investment
|
|
76
|
-
fixed specialist roles,
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
TradingCodex gives Codex a durable operating system for agentic investment
|
|
76
|
+
workflows: fixed specialist roles, independent judgment review, source-aware
|
|
77
|
+
handoffs, thesis lifecycle memory, policy and approval services, and a local
|
|
78
|
+
review dashboard.
|
|
79
79
|
|
|
80
80
|
It is not an autonomous trading bot. Natural-language answers do not become
|
|
81
81
|
broker actions. The core ships paper execution by default; live broker support
|
|
@@ -83,28 +83,32 @@ comes only from installed, reviewed providers and explicit live gates.
|
|
|
83
83
|
|
|
84
84
|
---
|
|
85
85
|
|
|
86
|
-
##
|
|
86
|
+
## User-Facing Skills
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
|
91
|
-
|
|
|
92
|
-
|
|
|
93
|
-
|
|
|
94
|
-
|
|
|
95
|
-
|
|
|
96
|
-
|
|
97
|
-
|
|
|
98
|
-
|
|
|
99
|
-
|
|
|
100
|
-
|
|
|
88
|
+
TradingCodex is easiest to use by choosing the right user-facing skill:
|
|
89
|
+
|
|
90
|
+
| Primary skill | Use when | Stops before |
|
|
91
|
+
| --- | --- | --- |
|
|
92
|
+
| `tcx-workflow` | Investment research, thesis review, Decision Packages, portfolio fit, risk review, or order-readiness workflow planning. | Substantive synthesis before accepted role artifacts; approval or execution without service gates. |
|
|
93
|
+
| `strategy-creator` | Turning user rules into reusable strategy skills, updating strategy criteria, activating, archiving, or inspecting strategy state. | Live ticker analysis, recommendation, order approval, execution, or policy changes. |
|
|
94
|
+
| `tcx-server` | Checking dashboard/service health, doctor output, update status, MCP readiness, DB path, or startup recovery. | Investment judgment, broker execution, raw secrets, or template edits. |
|
|
95
|
+
| `tcx-build` | Build-mode connector/provider work, broker/API scaffolding, capability profile wiring, credential-ref setup, and validation. | Raw secret handling, live order submission, or investment subagent dispatch. |
|
|
96
|
+
|
|
97
|
+
| Supporting skill | Use when | Main output |
|
|
98
|
+
| --- | --- | --- |
|
|
99
|
+
| `plan-workflow` | You want an explicit workflow plan before role dispatch or implementation. | Bounded plan with selected stages, roles, gates, and waiting/revise/blocked posture. |
|
|
100
|
+
| `automate-workflow` | You want to define a repeatable workflow automation without executing trades. | Automation recipe, trigger scope, guardrails, and review requirements. |
|
|
101
|
+
| `postmortem` | A workflow, decision, artifact, or execution/process step needs review after the fact. | Failure analysis, missed assumptions, source-quality lessons, and future warning patterns. |
|
|
102
|
+
|
|
103
|
+
Most investment prompts enter through natural language, then the hook writes
|
|
104
|
+
compact intake and `head-manager` uses `tcx-workflow` to draft, validate, and
|
|
105
|
+
record the staged plan before dispatch. See
|
|
106
|
+
[User-facing skills](docs/user-facing-skills.md) for the detailed routing map.
|
|
101
107
|
|
|
102
108
|
---
|
|
103
109
|
|
|
104
110
|
## Installation
|
|
105
111
|
|
|
106
|
-
### Option 1 - Attach TradingCodex To The Current Workspace
|
|
107
|
-
|
|
108
112
|
Run this from the empty workspace where you want Codex agents to work:
|
|
109
113
|
|
|
110
114
|
```bash
|
|
@@ -120,64 +124,9 @@ When TradingCodex MCP autostarts the local service, open:
|
|
|
120
124
|
http://127.0.0.1:48267/
|
|
121
125
|
```
|
|
122
126
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
uv tool install tradingcodex
|
|
127
|
-
uv tool update-shell
|
|
128
|
-
cd /path/to/target-workspace
|
|
129
|
-
tcx attach .
|
|
130
|
-
./tcx doctor
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
### Option 3 - Install From GitHub Main
|
|
134
|
-
|
|
135
|
-
Use this when you need the current GitHub `main` source rather than the latest
|
|
136
|
-
PyPI package:
|
|
137
|
-
|
|
138
|
-
```bash
|
|
139
|
-
uvx --refresh --from "tradingcodex @ git+https://github.com/monarchjuno/tradingcodex.git@main" tcx attach . && ./tcx doctor
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
### Option 4 - Develop TradingCodex Source
|
|
143
|
-
|
|
144
|
-
Clone this repository only for source development, inspection, or modification:
|
|
145
|
-
|
|
146
|
-
```bash
|
|
147
|
-
git clone https://github.com/monarchjuno/tradingcodex.git
|
|
148
|
-
cd tradingcodex
|
|
149
|
-
python -m pytest
|
|
150
|
-
python manage.py check
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
See [installation.md](installation.md) for update flows, installer-script
|
|
154
|
-
equivalents, MCP/service details, and smoke checks.
|
|
155
|
-
|
|
156
|
-
---
|
|
157
|
-
|
|
158
|
-
## What Sets TradingCodex Apart
|
|
159
|
-
|
|
160
|
-
TradingCodex competes on workflow discipline, local durability, and execution
|
|
161
|
-
boundaries rather than on black-box automation.
|
|
162
|
-
|
|
163
|
-
- Local-first: PyPI installs the CLI, Django service plane, generated workspace
|
|
164
|
-
templates, Admin/Web templates, static assets, and MCP gateway code.
|
|
165
|
-
- Codex-readable by default: research artifacts, skill bundles, role prompts,
|
|
166
|
-
policy exports, and generated indexes remain ordinary workspace files.
|
|
167
|
-
- Service-layer canonical: Web, Admin, API, CLI, MCP, and hooks do not fork
|
|
168
|
-
policy, order, approval, execution, portfolio, research, or audit behavior.
|
|
169
|
-
- Strong role model: one `head-manager` coordinates nine fixed specialist
|
|
170
|
-
subagents and consumes accepted artifacts instead of silently redoing roles.
|
|
171
|
-
- Deterministic executable boundary: every executable path follows
|
|
172
|
-
a fixed requester, permission, policy, payload, approval, duplicate-request,
|
|
173
|
-
connection, and audit sequence.
|
|
174
|
-
- Safety-first broker posture: paper is built in; live broker execution requires
|
|
175
|
-
an installed provider plus workspace config, policy, environment opt-in,
|
|
176
|
-
approval, confirmation, idempotency, sync, and audit gates.
|
|
177
|
-
- Broker control plane: TradingCodex stores connector state, capability
|
|
178
|
-
profiles, mapping review, approval, execution, reconciliation, and audit;
|
|
179
|
-
provider adapters absorb broker-specific REST, SDK, MCP, or manual interface
|
|
180
|
-
differences behind canonical service/MCP tools.
|
|
127
|
+
See [installation.md](installation.md) for persistent CLI install, GitHub-main
|
|
128
|
+
install, source-development setup, update flows, installer-script equivalents,
|
|
129
|
+
MCP/service details, and smoke checks.
|
|
181
130
|
|
|
182
131
|
---
|
|
183
132
|
|
|
@@ -209,25 +158,48 @@ workflow has earned. Weak, stale, missing, or out-of-scope upstream work returns
|
|
|
209
158
|
| Market context | `macro-analyst` | Macro, rates, FX, commodities, liquidity, policy, and cross-asset transmission. |
|
|
210
159
|
| Market context | `instrument-analyst` | ETF/index, options, crypto public market structure, credit-signal boundary, and instrument mechanics. |
|
|
211
160
|
| Decision review | `valuation-analyst` | Valuation ranges, scenario assumptions, multiples, sensitivity, and decision-quality gaps. |
|
|
161
|
+
| Decision review | `judgment-reviewer` | Independent challenge review of accepted artifacts for contrary evidence, source trust, overconfidence, update triggers, and invalidation conditions. |
|
|
212
162
|
| Portfolio | `portfolio-manager` | Portfolio fit, sizing, concentration, liquidity, opportunity cost, and draft order-ticket readiness. |
|
|
213
163
|
| Risk | `risk-manager` | Downside, restricted-list checks, policy readiness, approval readiness, and approval receipts. |
|
|
214
164
|
| Execution | `execution-operator` | Approved submission/cancel/status through the TradingCodex service boundary only; live requires all gates. |
|
|
215
165
|
|
|
216
166
|
---
|
|
217
167
|
|
|
218
|
-
##
|
|
168
|
+
## Key Features
|
|
219
169
|
|
|
220
|
-
|
|
|
170
|
+
| Feature | What it gives you |
|
|
221
171
|
| --- | --- |
|
|
222
|
-
|
|
|
223
|
-
|
|
|
224
|
-
|
|
|
225
|
-
|
|
|
226
|
-
|
|
|
172
|
+
| Agentic workflow planning | Natural-language prompts become staged plans, selected role teams, accepted artifacts, and explicit `waiting`, `revise`, or `blocked` states. |
|
|
173
|
+
| Independent judgment review | `judgment-reviewer` challenges accepted artifacts for contrary evidence, source trust, overconfidence, update triggers, and invalidation conditions. |
|
|
174
|
+
| Decision Packages | Investment theses keep forecastable claims, lifecycle assumptions, contrary evidence, owner roles, follow-up, and postmortem requirements. |
|
|
175
|
+
| Strategy skills | `strategy-creator` turns user rules into reusable strategy skills without granting order approval, execution, broker, or policy authority. |
|
|
176
|
+
| File-native research memory | Research markdown, role reports, source snapshots, readiness labels, versions, and handoff metadata remain ordinary workspace files. |
|
|
177
|
+
| Service-gated execution | Order tickets, approvals, policy checks, idempotency, broker connections, account sync, and audit stay behind Django service-layer gates. |
|
|
178
|
+
| Local review surfaces | Web, Admin, API, MCP, CLI, and generated hooks share the same service plane for review, status, research, Broker Center, orders, and portfolio state. |
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## Architecture
|
|
183
|
+
|
|
184
|
+
```mermaid
|
|
185
|
+
flowchart LR
|
|
186
|
+
user([User prompt]) --> manager[Head manager]
|
|
187
|
+
manager --> agents[Fixed role agents]
|
|
188
|
+
agents --> artifacts[Accepted artifacts]
|
|
189
|
+
artifacts --> reviewer[Judgment reviewer]
|
|
190
|
+
reviewer --> decision[Decision Package]
|
|
191
|
+
decision --> service[Django service plane]
|
|
192
|
+
service --> gates[Policy approval audit gates]
|
|
193
|
+
gates --> execution[Paper execution or gated live provider]
|
|
194
|
+
service --> surfaces[Web Admin API MCP CLI]
|
|
195
|
+
service --> memory[File native research memory]
|
|
196
|
+
```
|
|
227
197
|
|
|
228
|
-
The
|
|
229
|
-
|
|
230
|
-
package
|
|
198
|
+
The architecture is intentionally small: Codex owns coordination and role
|
|
199
|
+
handoffs; Django owns durable policy, order, approval, portfolio, integration,
|
|
200
|
+
research, and audit behavior. The core package uses Django templates, local
|
|
201
|
+
static HTMX, and small plain JavaScript. There is no Node, bundler, React, or
|
|
202
|
+
frontend build step.
|
|
231
203
|
|
|
232
204
|
---
|
|
233
205
|
|
|
@@ -257,8 +229,8 @@ provide investment recommendations or guarantee returns.
|
|
|
257
229
|
| Status | Milestone |
|
|
258
230
|
| --- | --- |
|
|
259
231
|
| Shipped | Generated Codex workspace, fixed role roster, project MCP config, Django service plane, local web dashboard, Admin, Ninja API, file-native research memory, component registry, policy/audit primitives. |
|
|
260
|
-
| Current `0.
|
|
261
|
-
| Next |
|
|
232
|
+
| Current `0.3.1` | Codex-native Decision Packages, independent judgment-review gate, staged workflow planning, artifact-supervisor loop closure state, Evidence Run/Validation Cards, provider capability profiles, and Python `>=3.11,<3.15` support. |
|
|
233
|
+
| Next | Deeper validation scenarios, richer provider capability profiles, stronger generated-workspace smoke coverage, and improved artifact quality tooling. |
|
|
262
234
|
| Future | Separately governed verified adapters, hosted/managed services, enterprise policy/compliance packs, and broker-specific live providers only after explicit product, policy, adapter, and validation work. |
|
|
263
235
|
|
|
264
236
|
---
|
|
@@ -273,6 +245,7 @@ validation, and release policy.
|
|
|
273
245
|
| --- | --- |
|
|
274
246
|
| [Installation](installation.md) | Setup, update, GitHub-main install, MCP/service startup, and smoke checks. |
|
|
275
247
|
| [Docs index](docs/README.md) | Human-readable reading paths, document ownership, and change-to-doc routing. |
|
|
248
|
+
| [User-facing skills](docs/user-facing-skills.md) | Which primary or supporting skill fits each user workflow and what each must not do. |
|
|
276
249
|
| [Core concepts and rules](docs/core-concepts-and-rules.md) | Fast operating reference for planes, guardrails, roles, execution lifecycle, and research memory. |
|
|
277
250
|
| [Product direction](docs/product-direction.md) | Product thesis, target user posture, goals, non-goals, runtime defaults, and scope. |
|
|
278
251
|
| [Workspace orchestration model](docs/harness.md) | Top-level workflow model, components, guardrails, improvement, and naming rules. |
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
<a href="https://github.com/monarchjuno/tradingcodex/issues"><img alt="GitHub Issues" src="https://img.shields.io/github/issues/monarchjuno/tradingcodex"></a>
|
|
25
25
|
</div>
|
|
26
26
|
|
|
27
|
-
### Codex-native investment work needs
|
|
27
|
+
### Codex-native investment work needs an agentic harness, not a chat transcript.
|
|
28
28
|
|
|
29
|
-
TradingCodex is
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
TradingCodex is an agentic investment workflow harness for Codex-native
|
|
30
|
+
research, thesis review, portfolio/risk handoffs, and service-gated execution
|
|
31
|
+
checks. Codex coordinates the work, specialist agents own bounded judgments,
|
|
32
|
+
and TradingCodex keeps execution behind explicit service gates.
|
|
33
33
|
|
|
34
|
-
[Quick Start](#installation) | [Docs](docs/README.md) | [Safety](docs/safety-policy-and-execution.md) | [
|
|
34
|
+
[User-Facing Skills](#user-facing-skills) | [Quick Start](#installation) | [Architecture](#architecture) | [Docs](docs/README.md) | [Safety](docs/safety-policy-and-execution.md) | [Contributing](CONTRIBUTING.md) | [License](LICENSE)
|
|
35
35
|
|
|
36
36
|
<p align="center">
|
|
37
37
|
<img src="assets/tradingcodex-banner.svg" alt="TradingCodex" width="100%">
|
|
@@ -41,10 +41,10 @@ durable service plane, and TradingCodex owns the executable boundary.
|
|
|
41
41
|
|
|
42
42
|
## About
|
|
43
43
|
|
|
44
|
-
TradingCodex gives Codex a durable operating system for investment
|
|
45
|
-
fixed specialist roles,
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
TradingCodex gives Codex a durable operating system for agentic investment
|
|
45
|
+
workflows: fixed specialist roles, independent judgment review, source-aware
|
|
46
|
+
handoffs, thesis lifecycle memory, policy and approval services, and a local
|
|
47
|
+
review dashboard.
|
|
48
48
|
|
|
49
49
|
It is not an autonomous trading bot. Natural-language answers do not become
|
|
50
50
|
broker actions. The core ships paper execution by default; live broker support
|
|
@@ -52,28 +52,32 @@ comes only from installed, reviewed providers and explicit live gates.
|
|
|
52
52
|
|
|
53
53
|
---
|
|
54
54
|
|
|
55
|
-
##
|
|
55
|
+
## User-Facing Skills
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
|
60
|
-
|
|
|
61
|
-
|
|
|
62
|
-
|
|
|
63
|
-
|
|
|
64
|
-
|
|
|
65
|
-
|
|
66
|
-
|
|
|
67
|
-
|
|
|
68
|
-
|
|
|
69
|
-
|
|
|
57
|
+
TradingCodex is easiest to use by choosing the right user-facing skill:
|
|
58
|
+
|
|
59
|
+
| Primary skill | Use when | Stops before |
|
|
60
|
+
| --- | --- | --- |
|
|
61
|
+
| `tcx-workflow` | Investment research, thesis review, Decision Packages, portfolio fit, risk review, or order-readiness workflow planning. | Substantive synthesis before accepted role artifacts; approval or execution without service gates. |
|
|
62
|
+
| `strategy-creator` | Turning user rules into reusable strategy skills, updating strategy criteria, activating, archiving, or inspecting strategy state. | Live ticker analysis, recommendation, order approval, execution, or policy changes. |
|
|
63
|
+
| `tcx-server` | Checking dashboard/service health, doctor output, update status, MCP readiness, DB path, or startup recovery. | Investment judgment, broker execution, raw secrets, or template edits. |
|
|
64
|
+
| `tcx-build` | Build-mode connector/provider work, broker/API scaffolding, capability profile wiring, credential-ref setup, and validation. | Raw secret handling, live order submission, or investment subagent dispatch. |
|
|
65
|
+
|
|
66
|
+
| Supporting skill | Use when | Main output |
|
|
67
|
+
| --- | --- | --- |
|
|
68
|
+
| `plan-workflow` | You want an explicit workflow plan before role dispatch or implementation. | Bounded plan with selected stages, roles, gates, and waiting/revise/blocked posture. |
|
|
69
|
+
| `automate-workflow` | You want to define a repeatable workflow automation without executing trades. | Automation recipe, trigger scope, guardrails, and review requirements. |
|
|
70
|
+
| `postmortem` | A workflow, decision, artifact, or execution/process step needs review after the fact. | Failure analysis, missed assumptions, source-quality lessons, and future warning patterns. |
|
|
71
|
+
|
|
72
|
+
Most investment prompts enter through natural language, then the hook writes
|
|
73
|
+
compact intake and `head-manager` uses `tcx-workflow` to draft, validate, and
|
|
74
|
+
record the staged plan before dispatch. See
|
|
75
|
+
[User-facing skills](docs/user-facing-skills.md) for the detailed routing map.
|
|
70
76
|
|
|
71
77
|
---
|
|
72
78
|
|
|
73
79
|
## Installation
|
|
74
80
|
|
|
75
|
-
### Option 1 - Attach TradingCodex To The Current Workspace
|
|
76
|
-
|
|
77
81
|
Run this from the empty workspace where you want Codex agents to work:
|
|
78
82
|
|
|
79
83
|
```bash
|
|
@@ -89,64 +93,9 @@ When TradingCodex MCP autostarts the local service, open:
|
|
|
89
93
|
http://127.0.0.1:48267/
|
|
90
94
|
```
|
|
91
95
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
uv tool install tradingcodex
|
|
96
|
-
uv tool update-shell
|
|
97
|
-
cd /path/to/target-workspace
|
|
98
|
-
tcx attach .
|
|
99
|
-
./tcx doctor
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
### Option 3 - Install From GitHub Main
|
|
103
|
-
|
|
104
|
-
Use this when you need the current GitHub `main` source rather than the latest
|
|
105
|
-
PyPI package:
|
|
106
|
-
|
|
107
|
-
```bash
|
|
108
|
-
uvx --refresh --from "tradingcodex @ git+https://github.com/monarchjuno/tradingcodex.git@main" tcx attach . && ./tcx doctor
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
### Option 4 - Develop TradingCodex Source
|
|
112
|
-
|
|
113
|
-
Clone this repository only for source development, inspection, or modification:
|
|
114
|
-
|
|
115
|
-
```bash
|
|
116
|
-
git clone https://github.com/monarchjuno/tradingcodex.git
|
|
117
|
-
cd tradingcodex
|
|
118
|
-
python -m pytest
|
|
119
|
-
python manage.py check
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
See [installation.md](installation.md) for update flows, installer-script
|
|
123
|
-
equivalents, MCP/service details, and smoke checks.
|
|
124
|
-
|
|
125
|
-
---
|
|
126
|
-
|
|
127
|
-
## What Sets TradingCodex Apart
|
|
128
|
-
|
|
129
|
-
TradingCodex competes on workflow discipline, local durability, and execution
|
|
130
|
-
boundaries rather than on black-box automation.
|
|
131
|
-
|
|
132
|
-
- Local-first: PyPI installs the CLI, Django service plane, generated workspace
|
|
133
|
-
templates, Admin/Web templates, static assets, and MCP gateway code.
|
|
134
|
-
- Codex-readable by default: research artifacts, skill bundles, role prompts,
|
|
135
|
-
policy exports, and generated indexes remain ordinary workspace files.
|
|
136
|
-
- Service-layer canonical: Web, Admin, API, CLI, MCP, and hooks do not fork
|
|
137
|
-
policy, order, approval, execution, portfolio, research, or audit behavior.
|
|
138
|
-
- Strong role model: one `head-manager` coordinates nine fixed specialist
|
|
139
|
-
subagents and consumes accepted artifacts instead of silently redoing roles.
|
|
140
|
-
- Deterministic executable boundary: every executable path follows
|
|
141
|
-
a fixed requester, permission, policy, payload, approval, duplicate-request,
|
|
142
|
-
connection, and audit sequence.
|
|
143
|
-
- Safety-first broker posture: paper is built in; live broker execution requires
|
|
144
|
-
an installed provider plus workspace config, policy, environment opt-in,
|
|
145
|
-
approval, confirmation, idempotency, sync, and audit gates.
|
|
146
|
-
- Broker control plane: TradingCodex stores connector state, capability
|
|
147
|
-
profiles, mapping review, approval, execution, reconciliation, and audit;
|
|
148
|
-
provider adapters absorb broker-specific REST, SDK, MCP, or manual interface
|
|
149
|
-
differences behind canonical service/MCP tools.
|
|
96
|
+
See [installation.md](installation.md) for persistent CLI install, GitHub-main
|
|
97
|
+
install, source-development setup, update flows, installer-script equivalents,
|
|
98
|
+
MCP/service details, and smoke checks.
|
|
150
99
|
|
|
151
100
|
---
|
|
152
101
|
|
|
@@ -178,25 +127,48 @@ workflow has earned. Weak, stale, missing, or out-of-scope upstream work returns
|
|
|
178
127
|
| Market context | `macro-analyst` | Macro, rates, FX, commodities, liquidity, policy, and cross-asset transmission. |
|
|
179
128
|
| Market context | `instrument-analyst` | ETF/index, options, crypto public market structure, credit-signal boundary, and instrument mechanics. |
|
|
180
129
|
| Decision review | `valuation-analyst` | Valuation ranges, scenario assumptions, multiples, sensitivity, and decision-quality gaps. |
|
|
130
|
+
| Decision review | `judgment-reviewer` | Independent challenge review of accepted artifacts for contrary evidence, source trust, overconfidence, update triggers, and invalidation conditions. |
|
|
181
131
|
| Portfolio | `portfolio-manager` | Portfolio fit, sizing, concentration, liquidity, opportunity cost, and draft order-ticket readiness. |
|
|
182
132
|
| Risk | `risk-manager` | Downside, restricted-list checks, policy readiness, approval readiness, and approval receipts. |
|
|
183
133
|
| Execution | `execution-operator` | Approved submission/cancel/status through the TradingCodex service boundary only; live requires all gates. |
|
|
184
134
|
|
|
185
135
|
---
|
|
186
136
|
|
|
187
|
-
##
|
|
137
|
+
## Key Features
|
|
188
138
|
|
|
189
|
-
|
|
|
139
|
+
| Feature | What it gives you |
|
|
190
140
|
| --- | --- |
|
|
191
|
-
|
|
|
192
|
-
|
|
|
193
|
-
|
|
|
194
|
-
|
|
|
195
|
-
|
|
|
141
|
+
| Agentic workflow planning | Natural-language prompts become staged plans, selected role teams, accepted artifacts, and explicit `waiting`, `revise`, or `blocked` states. |
|
|
142
|
+
| Independent judgment review | `judgment-reviewer` challenges accepted artifacts for contrary evidence, source trust, overconfidence, update triggers, and invalidation conditions. |
|
|
143
|
+
| Decision Packages | Investment theses keep forecastable claims, lifecycle assumptions, contrary evidence, owner roles, follow-up, and postmortem requirements. |
|
|
144
|
+
| Strategy skills | `strategy-creator` turns user rules into reusable strategy skills without granting order approval, execution, broker, or policy authority. |
|
|
145
|
+
| File-native research memory | Research markdown, role reports, source snapshots, readiness labels, versions, and handoff metadata remain ordinary workspace files. |
|
|
146
|
+
| Service-gated execution | Order tickets, approvals, policy checks, idempotency, broker connections, account sync, and audit stay behind Django service-layer gates. |
|
|
147
|
+
| Local review surfaces | Web, Admin, API, MCP, CLI, and generated hooks share the same service plane for review, status, research, Broker Center, orders, and portfolio state. |
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## Architecture
|
|
152
|
+
|
|
153
|
+
```mermaid
|
|
154
|
+
flowchart LR
|
|
155
|
+
user([User prompt]) --> manager[Head manager]
|
|
156
|
+
manager --> agents[Fixed role agents]
|
|
157
|
+
agents --> artifacts[Accepted artifacts]
|
|
158
|
+
artifacts --> reviewer[Judgment reviewer]
|
|
159
|
+
reviewer --> decision[Decision Package]
|
|
160
|
+
decision --> service[Django service plane]
|
|
161
|
+
service --> gates[Policy approval audit gates]
|
|
162
|
+
gates --> execution[Paper execution or gated live provider]
|
|
163
|
+
service --> surfaces[Web Admin API MCP CLI]
|
|
164
|
+
service --> memory[File native research memory]
|
|
165
|
+
```
|
|
196
166
|
|
|
197
|
-
The
|
|
198
|
-
|
|
199
|
-
package
|
|
167
|
+
The architecture is intentionally small: Codex owns coordination and role
|
|
168
|
+
handoffs; Django owns durable policy, order, approval, portfolio, integration,
|
|
169
|
+
research, and audit behavior. The core package uses Django templates, local
|
|
170
|
+
static HTMX, and small plain JavaScript. There is no Node, bundler, React, or
|
|
171
|
+
frontend build step.
|
|
200
172
|
|
|
201
173
|
---
|
|
202
174
|
|
|
@@ -226,8 +198,8 @@ provide investment recommendations or guarantee returns.
|
|
|
226
198
|
| Status | Milestone |
|
|
227
199
|
| --- | --- |
|
|
228
200
|
| Shipped | Generated Codex workspace, fixed role roster, project MCP config, Django service plane, local web dashboard, Admin, Ninja API, file-native research memory, component registry, policy/audit primitives. |
|
|
229
|
-
| Current `0.
|
|
230
|
-
| Next |
|
|
201
|
+
| Current `0.3.1` | Codex-native Decision Packages, independent judgment-review gate, staged workflow planning, artifact-supervisor loop closure state, Evidence Run/Validation Cards, provider capability profiles, and Python `>=3.11,<3.15` support. |
|
|
202
|
+
| Next | Deeper validation scenarios, richer provider capability profiles, stronger generated-workspace smoke coverage, and improved artifact quality tooling. |
|
|
231
203
|
| Future | Separately governed verified adapters, hosted/managed services, enterprise policy/compliance packs, and broker-specific live providers only after explicit product, policy, adapter, and validation work. |
|
|
232
204
|
|
|
233
205
|
---
|
|
@@ -242,6 +214,7 @@ validation, and release policy.
|
|
|
242
214
|
| --- | --- |
|
|
243
215
|
| [Installation](installation.md) | Setup, update, GitHub-main install, MCP/service startup, and smoke checks. |
|
|
244
216
|
| [Docs index](docs/README.md) | Human-readable reading paths, document ownership, and change-to-doc routing. |
|
|
217
|
+
| [User-facing skills](docs/user-facing-skills.md) | Which primary or supporting skill fits each user workflow and what each must not do. |
|
|
245
218
|
| [Core concepts and rules](docs/core-concepts-and-rules.md) | Fast operating reference for planes, guardrails, roles, execution lifecycle, and research memory. |
|
|
246
219
|
| [Product direction](docs/product-direction.md) | Product thesis, target user posture, goals, non-goals, runtime defaults, and scope. |
|
|
247
220
|
| [Workspace orchestration model](docs/harness.md) | Top-level workflow model, components, guardrails, improvement, and naming rules. |
|
|
@@ -10,6 +10,7 @@ Use these docs when you want the deeper "why" behind TradingCodex behavior. Codi
|
|
|
10
10
|
| --- | --- | --- |
|
|
11
11
|
| Understand TradingCodex quickly | [core-concepts-and-rules.md](./core-concepts-and-rules.md) | [product-direction.md](./product-direction.md), [harness.md](./harness.md) |
|
|
12
12
|
| Install or update a workspace | [../installation.md](../installation.md) | [generated-workspaces.md](./generated-workspaces.md), [deployment.md](./deployment.md) |
|
|
13
|
+
| Understand which user skill to start with | [user-facing-skills.md](./user-facing-skills.md) | [roles-skills-and-workflows.md](./roles-skills-and-workflows.md), [interfaces-and-surfaces.md](./interfaces-and-surfaces.md) |
|
|
13
14
|
| Understand the investment workflow | [harness.md](./harness.md) | [roles-skills-and-workflows.md](./roles-skills-and-workflows.md), [research-memory-and-artifacts.md](./research-memory-and-artifacts.md) |
|
|
14
15
|
| Understand safety and execution boundaries | [safety-policy-and-execution.md](./safety-policy-and-execution.md) | [guardrails.md](./guardrails.md), [interfaces-and-surfaces.md](./interfaces-and-surfaces.md) |
|
|
15
16
|
| Understand implementation architecture | [system-architecture.md](./system-architecture.md) | [interfaces-and-surfaces.md](./interfaces-and-surfaces.md), [components.md](./components.md) |
|
|
@@ -41,6 +42,7 @@ If these layers disagree, treat `docs/` as the durable product intent and fix th
|
|
|
41
42
|
|
|
42
43
|
| Document | Owns |
|
|
43
44
|
| --- | --- |
|
|
45
|
+
| [user-facing-skills.md](./user-facing-skills.md) | User-facing primary and supporting skills, routing posture, and role-owned skill boundaries. |
|
|
44
46
|
| [roles-skills-and-workflows.md](./roles-skills-and-workflows.md) | Fixed role roster, no-overlap role contract, head-manager dispatch gate, skills, strategy skills, subagent isolation, workflow routing, and module graph. |
|
|
45
47
|
| [research-memory-and-artifacts.md](./research-memory-and-artifacts.md) | File-native research memory, source snapshots, artifact paths, readiness labels, report quality floor, forecast ledger posture, and handoff metadata. |
|
|
46
48
|
| [financial-workflow-references.md](./financial-workflow-references.md) | Research-backed finance workflow principles and non-expert UX requirements for workflow intake and handoffs. |
|
|
@@ -52,7 +54,7 @@ If these layers disagree, treat `docs/` as the durable product intent and fix th
|
|
|
52
54
|
| --- | --- |
|
|
53
55
|
| [guardrails.md](./guardrails.md) | Guardrail taxonomy: guidance, enforcement, and information barriers. |
|
|
54
56
|
| [safety-policy-and-execution.md](./safety-policy-and-execution.md) | Permission checks, approval rules, execution lifecycle, adapter boundary, external MCP gate, blocked actions, and secret handling. |
|
|
55
|
-
| [improvement-loop.md](./improvement-loop.md) | Workflow quality, research memory, skill evolution,
|
|
57
|
+
| [improvement-loop.md](./improvement-loop.md) | Workflow quality, research memory, improve records, skill evolution, postmortem review, validation feedback, and quality-learning loops. |
|
|
56
58
|
|
|
57
59
|
## Implementation And Operations Documents
|
|
58
60
|
|
|
@@ -40,13 +40,17 @@ context discipline, approval gates, execution boundaries, and user scope.
|
|
|
40
40
|
escalation-only sets.
|
|
41
41
|
- Extend research artifact metadata with explicit follow-up requests, trigger
|
|
42
42
|
types, materiality, suggested consent posture, and loop provenance.
|
|
43
|
+
- Let artifacts preserve `improvements` so repeated investment judgment
|
|
44
|
+
findings can feed `improve` review and later workflows instead of hidden
|
|
45
|
+
prompt drift.
|
|
43
46
|
- Store loop state as file-native workspace state for Codex inspection,
|
|
44
47
|
context-budget audit, product web preview, concurrent Codex app threads, and
|
|
45
48
|
postmortems.
|
|
46
49
|
- Keep all follow-up briefs compact: artifact path, context summary,
|
|
47
50
|
trigger, delta question, constraints, and blocked actions.
|
|
48
|
-
- Preserve Decision Quality Spine expectations
|
|
49
|
-
keeping them as a separate
|
|
51
|
+
- Preserve Decision Quality Spine expectations, including source trust and
|
|
52
|
+
agent judgment review, inside the loop rather than keeping them as a separate
|
|
53
|
+
monolithic PRD.
|
|
50
54
|
- Add tests and smoke checks that prove loops improve quality without widening
|
|
51
55
|
authority.
|
|
52
56
|
|
|
@@ -337,8 +341,11 @@ Add file-native loop state records:
|
|
|
337
341
|
|
|
338
342
|
```text
|
|
339
343
|
.tradingcodex/mainagent/workflow-loop-state.json # latest compact summary / pointer
|
|
344
|
+
.tradingcodex/mainagent/latest-workflow-intake.json # latest compact intake hint
|
|
345
|
+
.tradingcodex/mainagent/latest-workflow-plan.json # latest validated staged plan
|
|
346
|
+
.tradingcodex/mainagent/workflows/<workflow_run_id>/intake.json
|
|
347
|
+
.tradingcodex/mainagent/workflows/<workflow_run_id>/workflow-plan.json
|
|
340
348
|
.tradingcodex/mainagent/workflows/<workflow_run_id>/loop-state.json # canonical run state
|
|
341
|
-
.tradingcodex/mainagent/workflows/<workflow_run_id>/prompt-gate.json
|
|
342
349
|
.tradingcodex/mainagent/session-workflow-runs.json # Codex session/thread -> workflow_run_id map
|
|
343
350
|
```
|
|
344
351
|
|
|
@@ -366,6 +373,7 @@ Canonical run-state shape:
|
|
|
366
373
|
"completed_artifacts": [],
|
|
367
374
|
"loop_decisions": [],
|
|
368
375
|
"escalation_proposals": [],
|
|
376
|
+
"improvements": [],
|
|
369
377
|
"blocked_actions": [],
|
|
370
378
|
"stop_reason": ""
|
|
371
379
|
}
|
|
@@ -409,6 +417,8 @@ Update these surfaces together:
|
|
|
409
417
|
- Product web
|
|
410
418
|
- preview loop state, follow-up requests, escalation proposals, and blocked
|
|
411
419
|
actions without spawning agents, approving orders, or executing orders.
|
|
420
|
+
- show improve records as analysis-memory review items without applying
|
|
421
|
+
skill, policy, prompt, validation, approval, broker, or execution changes.
|
|
412
422
|
- first release escalation proposals are read-only; escalation approval stays
|
|
413
423
|
Codex-prompt or CLI driven with explicit user wording captured in audit.
|
|
414
424
|
|
|
@@ -530,7 +540,8 @@ follow-up is needed.
|
|
|
530
540
|
synthesize using a closed action set.
|
|
531
541
|
- Loop state is visible in workspace files and audit trails.
|
|
532
542
|
- Context stays compact across iterations.
|
|
533
|
-
- Decision Quality Spine fields
|
|
543
|
+
- Decision Quality Spine fields, source trust notes, and judgment-review fields
|
|
544
|
+
still apply inside selected lanes.
|
|
534
545
|
- Approval, execution, broker, secret, and policy boundaries are unchanged.
|
|
535
546
|
- Generated workspace validation catches loop drift, unauthorized expansion,
|
|
536
547
|
malformed follow-up requests, and unsupported synthesis.
|
|
@@ -37,10 +37,10 @@ paths clear.
|
|
|
37
37
|
| --- | --- | --- |
|
|
38
38
|
| `investment-request-routing` | Classifies user intent and activates fixed-role workflows. | `guardrail.guidance`, `improvement.workflow_quality` |
|
|
39
39
|
| `fixed-role-dispatch` | Maintains head-manager, fixed subagent routing, and no-overlap handoff boundaries. | `guardrail.guidance`, `guardrail.information_barrier`, `improvement.workflow_quality` |
|
|
40
|
-
| `research-memory` | Stores source-aware research artifacts, versions, snapshots, and exports. | `improvement.research_memory` |
|
|
41
|
-
| `workflow-quality-gates` | Defines lane selection, Artifact Supervisor Loop policy, Decision Quality Spine, handoff acceptance, artifact readiness, claim discipline, and synthesis gates. | `guardrail.guidance`, `improvement.workflow_quality` |
|
|
40
|
+
| `research-memory` | Stores source-aware research artifacts, versions, snapshots, Evidence Run Cards, Validation Cards, and exports. | `improvement.research_memory` |
|
|
41
|
+
| `workflow-quality-gates` | Defines lane selection, Artifact Supervisor Loop policy, Decision Quality Spine, agent judgment review, handoff acceptance, artifact readiness, claim discipline, and synthesis gates. | `guardrail.guidance`, `improvement.workflow_quality` |
|
|
42
42
|
| `decision-package` | Wraps workflow plans, artifact paths, profile gaps, blocked actions, and next steps in Codex-readable workspace markdown. | `guardrail.guidance`, `improvement.workflow_quality`, `improvement.research_memory` |
|
|
43
|
-
| `artifact-quality-contract` | Evaluates workspace artifacts and forecast ledgers for source/as-of posture, claim tags, handoff state, confidence, missing evidence, and next-recipient routing metadata. | `guardrail.guidance`, `improvement.workflow_quality`, `improvement.research_memory` |
|
|
43
|
+
| `artifact-quality-contract` | Evaluates workspace artifacts, Evidence Run Cards, Validation Cards, source snapshots, and forecast ledgers for source/as-of posture, source trust, data-boundary warnings, claim tags, handoff state, confidence, missing evidence, judgment-review fields, and next-recipient routing metadata. | `guardrail.guidance`, `improvement.workflow_quality`, `improvement.research_memory` |
|
|
44
44
|
| `context-efficiency-contract` | Keeps workflows bounded through compact briefs, artifact references, context summaries, source snapshot IDs, targeted full-artifact reads, and `subagents context-audit` validation. | `guardrail.guidance`, `guardrail.information_barrier`, `improvement.workflow_quality`, `improvement.context_efficiency` |
|
|
45
45
|
| `responsibility-boundary-contract` | Separates durable role identity, tool permissions, skill procedures, artifact contracts, and projection ownership so changes stay local. | `guardrail.guidance`, `guardrail.information_barrier`, `improvement.workflow_quality`, `improvement.skill_evolution` |
|
|
46
46
|
| `external-data-source-gate` | Keeps external evidence read-only and source-aware. | `guardrail.guidance`, `improvement.workflow_quality` |
|
|
@@ -52,7 +52,7 @@ paths clear.
|
|
|
52
52
|
| `execution-boundary` | Keeps execution behind role action allowlists, approval, duplicate-request, connection, and audit checks. | `guardrail.enforcement`, `guardrail.information_barrier` |
|
|
53
53
|
| `audit-ledger` | Records policy, MCP, order, approval, execution, and hook events. | `guardrail.enforcement`, `improvement.validation_feedback` |
|
|
54
54
|
| `skill-improvement-loop` | Keeps core skills, strategy skills, and role-local optional skill files visible through validation, generated manifests, and read-only status. | `improvement.skill_evolution`, `guardrail.guidance` |
|
|
55
|
-
| `postmortem-loop` | Turns rejected orders, process failures, thesis changes, artifact-loop blocks/escalations, and executions into
|
|
55
|
+
| `postmortem-loop` | Turns rejected orders, process failures, thesis changes, artifact-loop blocks/escalations, and executions into improve records for later judgment review. | `improvement.postmortems`, `improvement.validation_feedback` |
|
|
56
56
|
| `paper-execution` | Provides experimental local paper and validation-only execution paths behind the approved action boundary. | `guardrail.enforcement` |
|
|
57
57
|
|
|
58
58
|
## Runtime Surfaces
|
|
@@ -81,7 +81,7 @@ portfolio state or execution policy.
|
|
|
81
81
|
|
|
82
82
|
## Role Boundary Snapshot
|
|
83
83
|
|
|
84
|
-
TradingCodex always uses `head-manager` as the main coordinator with
|
|
84
|
+
TradingCodex always uses `head-manager` as the main coordinator with ten fixed
|
|
85
85
|
subagents. Detailed responsibilities live in
|
|
86
86
|
[roles-skills-and-workflows.md](./roles-skills-and-workflows.md).
|
|
87
87
|
|