tradingcodex 0.2.9__tar.gz → 0.3.0__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.9 → tradingcodex-0.3.0}/PKG-INFO +72 -101
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/README.md +70 -99
- tradingcodex-0.3.0/docs/README.md +97 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/artifact-supervisor-loop-prd.md +9 -4
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/components.md +2 -2
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/core-concepts-and-rules.md +1 -1
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/deployment.md +17 -10
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/financial-workflow-references.md +4 -4
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/generated-workspaces.md +34 -19
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/harness.md +13 -11
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/improvement-loop.md +8 -2
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/interfaces-and-surfaces.md +6 -4
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/product-direction.md +1 -1
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/research-memory-and-artifacts.md +9 -4
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/roles-skills-and-workflows.md +47 -27
- tradingcodex-0.3.0/docs/user-facing-skills.md +49 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/validation-and-test-plan.md +13 -13
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/pyproject.toml +2 -2
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tests/test_e2e_user_scenarios.py +31 -45
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tests/test_python_migration.py +572 -117
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex.egg-info/PKG-INFO +72 -101
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex.egg-info/SOURCES.txt +10 -2
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/__main__.py +1 -1
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/doctor.py +4 -4
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/orders.py +17 -1
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/subagents.py +3 -1
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/utils.py +2 -0
- tradingcodex-0.3.0/tradingcodex_cli/commands/workflow.py +71 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/api.py +32 -4
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/agents.py +46 -17
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/artifact_quality.py +24 -10
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/components.py +9 -9
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/context_budget.py +39 -26
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/decision_packages.py +105 -11
- tradingcodex-0.3.0/tradingcodex_service/application/harness.py +1634 -0
- tradingcodex-0.3.0/tradingcodex_service/application/workflow_planner.py +412 -0
- tradingcodex-0.3.0/tradingcodex_service/application/workflow_routing.py +1333 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/mcp_runtime.py +50 -59
- tradingcodex-0.3.0/tradingcodex_service/version.py +1 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/web.py +1 -1
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.codex/config.toml +44 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.codex/hooks/tradingcodex_hook.py +48 -152
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.codex/prompts/base_instructions/head-manager.md +26 -13
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.tradingcodex/config.yaml +1 -1
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/roles.yaml +6 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/AGENTS.md +3 -3
- tradingcodex-0.3.0/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/postmortem_report.schema.json +27 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/execution-operator.toml +0 -4
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/fundamental-analyst.toml +0 -8
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/instrument-analyst.toml +0 -8
- tradingcodex-0.3.0/workspace_templates/modules/fixed-subagents/files/.codex/agents/judgment-reviewer.toml +51 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/macro-analyst.toml +0 -8
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/news-analyst.toml +0 -8
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/portfolio-manager.toml +0 -8
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/risk-manager.toml +0 -12
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/technical-analyst.toml +0 -8
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/valuation-analyst.toml +0 -4
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/module.json +1 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/guidance-guardrails/files/.tradingcodex/guidance/task-quality-checklist.md +2 -2
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/.tradingcodex/policies/information-barriers.yaml +53 -49
- tradingcodex-0.3.0/workspace_templates/modules/repo-skills/files/.agents/skills/automate-workflow/SKILL.md +69 -0
- tradingcodex-0.3.0/workspace_templates/modules/repo-skills/files/.agents/skills/automate-workflow/agents/openai.yaml +6 -0
- tradingcodex-0.3.0/workspace_templates/modules/repo-skills/files/.agents/skills/plan-workflow/SKILL.md +65 -0
- tradingcodex-0.3.0/workspace_templates/modules/repo-skills/files/.agents/skills/plan-workflow/agents/openai.yaml +6 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/postmortem/SKILL.md +5 -0
- tradingcodex-0.3.0/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/SKILL.md +31 -0
- tradingcodex-0.3.0/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/agents/openai.yaml +6 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/references/decision-quality-spine.md +5 -2
- tradingcodex-0.3.0/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/judgment-reviewer/agent-judgment-review/SKILL.md +62 -0
- tradingcodex-0.3.0/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/judgment-reviewer/agent-judgment-review/agents/openai.yaml +6 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/collect-evidence/SKILL.md +6 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/forecasting-discipline/SKILL.md +7 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/module.json +3 -0
- tradingcodex-0.2.9/docs/README.md +0 -66
- tradingcodex-0.2.9/tradingcodex_cli/commands/workflow.py +0 -23
- tradingcodex-0.2.9/tradingcodex_service/application/harness.py +0 -2596
- tradingcodex-0.2.9/tradingcodex_service/version.py +0 -1
- tradingcodex-0.2.9/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/postmortem_report.schema.json +0 -14
- tradingcodex-0.2.9/workspace_templates/modules/fixed-subagents/files/.tradingcodex/mainagent/head-manager.yaml +0 -66
- tradingcodex-0.2.9/workspace_templates/modules/fixed-subagents/files/.tradingcodex/mainagent/subagent-registry.yaml +0 -56
- tradingcodex-0.2.9/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/SKILL.md +0 -28
- tradingcodex-0.2.9/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/agents/openai.yaml +0 -6
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/CONTRIBUTING.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/LICENSE +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/MANIFEST.in +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/NOTICE +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/TRADEMARKS.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/audit/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/audit/admin.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/audit/apps.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/audit/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/audit/migrations/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/audit/models.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/harness/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/harness/admin.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/harness/apps.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/harness/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/harness/migrations/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/harness/models.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/harness/templatetags/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/integrations/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/integrations/admin.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/integrations/apps.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/integrations/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/integrations/migrations/0002_brokerconnection_brokeraccount_instrumentmap.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/integrations/migrations/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/integrations/models.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/mcp/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/mcp/admin.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/mcp/apps.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/mcp/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/mcp/migrations/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/mcp/models.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/mcp/services.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/orders/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/orders/admin.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/orders/apps.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/orders/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/orders/migrations/0002_approvalreceipt_approved_order_type_and_more.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/orders/migrations/0003_migrate_orderintent_to_orderticket.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/orders/migrations/0004_remove_order_intent_compat_fields.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/orders/migrations/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/orders/models.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/orders/services.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/policy/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/policy/admin.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/policy/apps.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/policy/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/policy/migrations/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/policy/models.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/policy/services.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/portfolio/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/portfolio/admin.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/portfolio/apps.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/portfolio/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/portfolio/migrations/0002_brokersyncrun_portfolioledgerevent_reconciliationrun.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/portfolio/migrations/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/portfolio/models.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/workflows/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/workflows/admin.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/workflows/apps.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/workflows/migrations/0001_initial.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/workflows/migrations/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/apps/workflows/models.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/assets/tradingcodex-banner.svg +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/guardrails.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/licensing-and-commercialization.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/safety-policy-and-execution.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/docs/system-architecture.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/install.sh +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/installation.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/setup.cfg +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tests/test_broker_center_prd.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex.egg-info/dependency_links.txt +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex.egg-info/entry_points.txt +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex.egg-info/requires.txt +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex.egg-info/top_level.txt +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/bootstrap.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/connectors.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/db.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/decision.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/mcp.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/mode.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/policy.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/profile.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/research.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/skills.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/strategies.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/commands/workspaces.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/generator.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/mcp_stdio.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/service_autostart.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_cli/startup_status.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/admin.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/audit.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/brokers.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/common.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/markdown_preview.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/orders.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/policy.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/portfolio.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/research.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/runtime.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/application/runtime_mode.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/asgi.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/settings.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/static/tradingcodex_admin/favicon.svg +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/static/tradingcodex_web/app.css +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/static/tradingcodex_web/app.js +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/static/vendor/htmx/htmx.min.js +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/activity.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/agent_skills.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/agents.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/base.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/brokers.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/dashboard.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/decisions.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/fragments/role_inspector.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/fragments/starter_prompt.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/fragments/topology_canvas.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/fragments/workspace_card.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/harness.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/mcp_router.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/orders.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/policy.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/portfolio.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/research.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/starter_prompt.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/strategies.html +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/urls.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/tradingcodex_service/wsgi.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/__init__.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/audit/files/.tradingcodex/audit/README.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/audit/files/trading/audit/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/audit/module.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.codex/hooks.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.codex/rules/tradingcodex.rules +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.tradingcodex/capabilities.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.tradingcodex/cli.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/policy-bindings.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/principals.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/pyproject.toml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/tcx +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/module.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/policies/access-policies.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/policies/restricted-list.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/approval_receipt.schema.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/audit_event.schema.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/evidence_pack.schema.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/execution_result.schema.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/fundamental_report.schema.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/news_report.schema.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/order_ticket.schema.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/portfolio_review.schema.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/research_artifact.schema.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/risk_report.schema.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/technical_report.schema.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/thesis.schema.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/valuation.schema.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/module.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.tradingcodex/mainagent/skill-change-proposals/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/guidance-guardrails/files/.tradingcodex/guidance/guardrails.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/guidance-guardrails/module.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/.tradingcodex/secrets.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/approvals/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/forecasts/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/market-data/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/orders/approved/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/orders/draft/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/orders/executed/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/orders/rejected/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/portfolio/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/fundamental/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/instrument/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/macro/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/news/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/policy/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/portfolio/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/postmortem/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/risk/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/technical/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/valuation/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/research/.gitkeep +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/module.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/paper-trading/module.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/postmortem/files/.tradingcodex/workflows/postmortem.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/postmortem/module.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/postmortem/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/strategy-creator/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/strategy-creator/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-build/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-build/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-server/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-server/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/execution-operator/execute-paper-order/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/execution-operator/execute-paper-order/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/fundamental-analyst/fundamental-analysis/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/fundamental-analyst/fundamental-analysis/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/instrument-analyst/instrument-analysis/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/instrument-analyst/instrument-analysis/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/macro-analyst/macro-analysis/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/macro-analyst/macro-analysis/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/news-analyst/news-analysis/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/news-analyst/news-analysis/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/create-order-ticket/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/create-order-ticket/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/portfolio-review/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/portfolio-review/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/approve-order/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/approve-order/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/policy-review/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/policy-review/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/review-risk/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/review-risk/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/anti-overfit-validation/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/anti-overfit-validation/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/collect-evidence/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/external-data-source-gate/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/external-data-source-gate/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/forecasting-discipline/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/numeric-data-qc/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/numeric-data-qc/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/thesis-scenario-tree/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/thesis-scenario-tree/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/technical-analyst/technical-analysis/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/technical-analyst/technical-analysis/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/valuation-analyst/valuation-review/SKILL.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/valuation-analyst/valuation-review/agents/openai.yaml +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/stub-execution/module.json +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/enforcer/README.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/gateway/README.md +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/server.py +0 -0
- {tradingcodex-0.2.9 → tradingcodex-0.3.0}/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.0
|
|
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
|
+
[Start Skills](#start-with-these-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,26 @@ comes only from installed, reviewed providers and explicit live gates.
|
|
|
83
83
|
|
|
84
84
|
---
|
|
85
85
|
|
|
86
|
-
##
|
|
86
|
+
## Start With These 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 entry skill:
|
|
89
|
+
|
|
90
|
+
| Start 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
|
+
Most investment prompts enter through natural language, then the hook writes
|
|
98
|
+
compact intake and `head-manager` uses `tcx-workflow` to draft, validate, and
|
|
99
|
+
record the staged plan before dispatch. See
|
|
100
|
+
[User-facing skills](docs/user-facing-skills.md) for the detailed routing map.
|
|
101
101
|
|
|
102
102
|
---
|
|
103
103
|
|
|
104
104
|
## Installation
|
|
105
105
|
|
|
106
|
-
### Option 1 - Attach TradingCodex To The Current Workspace
|
|
107
|
-
|
|
108
106
|
Run this from the empty workspace where you want Codex agents to work:
|
|
109
107
|
|
|
110
108
|
```bash
|
|
@@ -120,64 +118,9 @@ When TradingCodex MCP autostarts the local service, open:
|
|
|
120
118
|
http://127.0.0.1:48267/
|
|
121
119
|
```
|
|
122
120
|
|
|
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.
|
|
121
|
+
See [installation.md](installation.md) for persistent CLI install, GitHub-main
|
|
122
|
+
install, source-development setup, update flows, installer-script equivalents,
|
|
123
|
+
MCP/service details, and smoke checks.
|
|
181
124
|
|
|
182
125
|
---
|
|
183
126
|
|
|
@@ -209,25 +152,48 @@ workflow has earned. Weak, stale, missing, or out-of-scope upstream work returns
|
|
|
209
152
|
| Market context | `macro-analyst` | Macro, rates, FX, commodities, liquidity, policy, and cross-asset transmission. |
|
|
210
153
|
| Market context | `instrument-analyst` | ETF/index, options, crypto public market structure, credit-signal boundary, and instrument mechanics. |
|
|
211
154
|
| Decision review | `valuation-analyst` | Valuation ranges, scenario assumptions, multiples, sensitivity, and decision-quality gaps. |
|
|
155
|
+
| Decision review | `judgment-reviewer` | Independent challenge review of accepted artifacts for contrary evidence, source trust, overconfidence, update triggers, and invalidation conditions. |
|
|
212
156
|
| Portfolio | `portfolio-manager` | Portfolio fit, sizing, concentration, liquidity, opportunity cost, and draft order-ticket readiness. |
|
|
213
157
|
| Risk | `risk-manager` | Downside, restricted-list checks, policy readiness, approval readiness, and approval receipts. |
|
|
214
158
|
| Execution | `execution-operator` | Approved submission/cancel/status through the TradingCodex service boundary only; live requires all gates. |
|
|
215
159
|
|
|
216
160
|
---
|
|
217
161
|
|
|
218
|
-
##
|
|
162
|
+
## Key Features
|
|
219
163
|
|
|
220
|
-
|
|
|
164
|
+
| Feature | What it gives you |
|
|
221
165
|
| --- | --- |
|
|
222
|
-
|
|
|
223
|
-
|
|
|
224
|
-
|
|
|
225
|
-
|
|
|
226
|
-
|
|
|
166
|
+
| Agentic workflow planning | Natural-language prompts become staged plans, selected role teams, accepted artifacts, and explicit `waiting`, `revise`, or `blocked` states. |
|
|
167
|
+
| Independent judgment review | `judgment-reviewer` challenges accepted artifacts for contrary evidence, source trust, overconfidence, update triggers, and invalidation conditions. |
|
|
168
|
+
| Decision Packages | Investment theses keep forecastable claims, lifecycle assumptions, contrary evidence, owner roles, follow-up, and postmortem requirements. |
|
|
169
|
+
| Strategy skills | `strategy-creator` turns user rules into reusable strategy skills without granting order approval, execution, broker, or policy authority. |
|
|
170
|
+
| File-native research memory | Research markdown, role reports, source snapshots, readiness labels, versions, and handoff metadata remain ordinary workspace files. |
|
|
171
|
+
| Service-gated execution | Order tickets, approvals, policy checks, idempotency, broker connections, account sync, and audit stay behind Django service-layer gates. |
|
|
172
|
+
| 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. |
|
|
227
173
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## Architecture
|
|
177
|
+
|
|
178
|
+
```mermaid
|
|
179
|
+
flowchart TD
|
|
180
|
+
U["User prompt"] --> H["Codex head-manager"]
|
|
181
|
+
H --> R["Fixed role agents"]
|
|
182
|
+
R --> A["Accepted artifacts"]
|
|
183
|
+
A --> J["judgment-reviewer"]
|
|
184
|
+
J --> D["Decision Package"]
|
|
185
|
+
D --> S["Django service plane"]
|
|
186
|
+
S --> G["Policy / approval / audit gates"]
|
|
187
|
+
G --> E["Paper execution or gated live provider"]
|
|
188
|
+
S --> W["Web / Admin / API / MCP / CLI"]
|
|
189
|
+
S --> M["File-native research memory"]
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
The architecture is intentionally small: Codex owns coordination and role
|
|
193
|
+
handoffs; Django owns durable policy, order, approval, portfolio, integration,
|
|
194
|
+
research, and audit behavior. The core package uses Django templates, local
|
|
195
|
+
static HTMX, and small plain JavaScript. There is no Node, bundler, React, or
|
|
196
|
+
frontend build step.
|
|
231
197
|
|
|
232
198
|
---
|
|
233
199
|
|
|
@@ -257,20 +223,25 @@ provide investment recommendations or guarantee returns.
|
|
|
257
223
|
| Status | Milestone |
|
|
258
224
|
| --- | --- |
|
|
259
225
|
| 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 |
|
|
226
|
+
| Current `0.3.0` | Codex-native Decision Packages, independent judgment-review gate, staged workflow planning, artifact-supervisor loop, provider capability profiles, and Python `>=3.11,<3.15` support. |
|
|
227
|
+
| Next | Deeper validation scenarios, richer provider capability profiles, stronger generated-workspace smoke coverage, and improved artifact quality tooling. |
|
|
262
228
|
| 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
229
|
|
|
264
230
|
---
|
|
265
231
|
|
|
266
232
|
## Documentation
|
|
267
233
|
|
|
268
|
-
|
|
234
|
+
`README.md` is the product overview. The `docs/` directory is the human-readable
|
|
235
|
+
source of truth for detailed product behavior, safety, architecture, workflow,
|
|
236
|
+
validation, and release policy.
|
|
237
|
+
|
|
238
|
+
| Start here | Use for |
|
|
269
239
|
| --- | --- |
|
|
270
240
|
| [Installation](installation.md) | Setup, update, GitHub-main install, MCP/service startup, and smoke checks. |
|
|
271
|
-
| [Docs index](docs/README.md) |
|
|
272
|
-
| [
|
|
241
|
+
| [Docs index](docs/README.md) | Human-readable reading paths, document ownership, and change-to-doc routing. |
|
|
242
|
+
| [User-facing skills](docs/user-facing-skills.md) | Which skill starts which user workflow and what each entrypoint must not do. |
|
|
273
243
|
| [Core concepts and rules](docs/core-concepts-and-rules.md) | Fast operating reference for planes, guardrails, roles, execution lifecycle, and research memory. |
|
|
244
|
+
| [Product direction](docs/product-direction.md) | Product thesis, target user posture, goals, non-goals, runtime defaults, and scope. |
|
|
274
245
|
| [Workspace orchestration model](docs/harness.md) | Top-level workflow model, components, guardrails, improvement, and naming rules. |
|
|
275
246
|
| [Roles, skills, and workflows](docs/roles-skills-and-workflows.md) | Fixed role roster, no-overlap handoffs, dispatch gates, skills, and strategy behavior. |
|
|
276
247
|
| [Safety policy and execution](docs/safety-policy-and-execution.md) | Permissions, approvals, idempotency, broker safety, secret wall, and required blocks. |
|
|
@@ -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
|
+
[Start Skills](#start-with-these-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,26 @@ comes only from installed, reviewed providers and explicit live gates.
|
|
|
52
52
|
|
|
53
53
|
---
|
|
54
54
|
|
|
55
|
-
##
|
|
55
|
+
## Start With These 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 entry skill:
|
|
58
|
+
|
|
59
|
+
| Start 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
|
+
Most investment prompts enter through natural language, then the hook writes
|
|
67
|
+
compact intake and `head-manager` uses `tcx-workflow` to draft, validate, and
|
|
68
|
+
record the staged plan before dispatch. See
|
|
69
|
+
[User-facing skills](docs/user-facing-skills.md) for the detailed routing map.
|
|
70
70
|
|
|
71
71
|
---
|
|
72
72
|
|
|
73
73
|
## Installation
|
|
74
74
|
|
|
75
|
-
### Option 1 - Attach TradingCodex To The Current Workspace
|
|
76
|
-
|
|
77
75
|
Run this from the empty workspace where you want Codex agents to work:
|
|
78
76
|
|
|
79
77
|
```bash
|
|
@@ -89,64 +87,9 @@ When TradingCodex MCP autostarts the local service, open:
|
|
|
89
87
|
http://127.0.0.1:48267/
|
|
90
88
|
```
|
|
91
89
|
|
|
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.
|
|
90
|
+
See [installation.md](installation.md) for persistent CLI install, GitHub-main
|
|
91
|
+
install, source-development setup, update flows, installer-script equivalents,
|
|
92
|
+
MCP/service details, and smoke checks.
|
|
150
93
|
|
|
151
94
|
---
|
|
152
95
|
|
|
@@ -178,25 +121,48 @@ workflow has earned. Weak, stale, missing, or out-of-scope upstream work returns
|
|
|
178
121
|
| Market context | `macro-analyst` | Macro, rates, FX, commodities, liquidity, policy, and cross-asset transmission. |
|
|
179
122
|
| Market context | `instrument-analyst` | ETF/index, options, crypto public market structure, credit-signal boundary, and instrument mechanics. |
|
|
180
123
|
| Decision review | `valuation-analyst` | Valuation ranges, scenario assumptions, multiples, sensitivity, and decision-quality gaps. |
|
|
124
|
+
| Decision review | `judgment-reviewer` | Independent challenge review of accepted artifacts for contrary evidence, source trust, overconfidence, update triggers, and invalidation conditions. |
|
|
181
125
|
| Portfolio | `portfolio-manager` | Portfolio fit, sizing, concentration, liquidity, opportunity cost, and draft order-ticket readiness. |
|
|
182
126
|
| Risk | `risk-manager` | Downside, restricted-list checks, policy readiness, approval readiness, and approval receipts. |
|
|
183
127
|
| Execution | `execution-operator` | Approved submission/cancel/status through the TradingCodex service boundary only; live requires all gates. |
|
|
184
128
|
|
|
185
129
|
---
|
|
186
130
|
|
|
187
|
-
##
|
|
131
|
+
## Key Features
|
|
188
132
|
|
|
189
|
-
|
|
|
133
|
+
| Feature | What it gives you |
|
|
190
134
|
| --- | --- |
|
|
191
|
-
|
|
|
192
|
-
|
|
|
193
|
-
|
|
|
194
|
-
|
|
|
195
|
-
|
|
|
135
|
+
| Agentic workflow planning | Natural-language prompts become staged plans, selected role teams, accepted artifacts, and explicit `waiting`, `revise`, or `blocked` states. |
|
|
136
|
+
| Independent judgment review | `judgment-reviewer` challenges accepted artifacts for contrary evidence, source trust, overconfidence, update triggers, and invalidation conditions. |
|
|
137
|
+
| Decision Packages | Investment theses keep forecastable claims, lifecycle assumptions, contrary evidence, owner roles, follow-up, and postmortem requirements. |
|
|
138
|
+
| Strategy skills | `strategy-creator` turns user rules into reusable strategy skills without granting order approval, execution, broker, or policy authority. |
|
|
139
|
+
| File-native research memory | Research markdown, role reports, source snapshots, readiness labels, versions, and handoff metadata remain ordinary workspace files. |
|
|
140
|
+
| Service-gated execution | Order tickets, approvals, policy checks, idempotency, broker connections, account sync, and audit stay behind Django service-layer gates. |
|
|
141
|
+
| 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. |
|
|
196
142
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## Architecture
|
|
146
|
+
|
|
147
|
+
```mermaid
|
|
148
|
+
flowchart TD
|
|
149
|
+
U["User prompt"] --> H["Codex head-manager"]
|
|
150
|
+
H --> R["Fixed role agents"]
|
|
151
|
+
R --> A["Accepted artifacts"]
|
|
152
|
+
A --> J["judgment-reviewer"]
|
|
153
|
+
J --> D["Decision Package"]
|
|
154
|
+
D --> S["Django service plane"]
|
|
155
|
+
S --> G["Policy / approval / audit gates"]
|
|
156
|
+
G --> E["Paper execution or gated live provider"]
|
|
157
|
+
S --> W["Web / Admin / API / MCP / CLI"]
|
|
158
|
+
S --> M["File-native research memory"]
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
The architecture is intentionally small: Codex owns coordination and role
|
|
162
|
+
handoffs; Django owns durable policy, order, approval, portfolio, integration,
|
|
163
|
+
research, and audit behavior. The core package uses Django templates, local
|
|
164
|
+
static HTMX, and small plain JavaScript. There is no Node, bundler, React, or
|
|
165
|
+
frontend build step.
|
|
200
166
|
|
|
201
167
|
---
|
|
202
168
|
|
|
@@ -226,20 +192,25 @@ provide investment recommendations or guarantee returns.
|
|
|
226
192
|
| Status | Milestone |
|
|
227
193
|
| --- | --- |
|
|
228
194
|
| 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 |
|
|
195
|
+
| Current `0.3.0` | Codex-native Decision Packages, independent judgment-review gate, staged workflow planning, artifact-supervisor loop, provider capability profiles, and Python `>=3.11,<3.15` support. |
|
|
196
|
+
| Next | Deeper validation scenarios, richer provider capability profiles, stronger generated-workspace smoke coverage, and improved artifact quality tooling. |
|
|
231
197
|
| 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
198
|
|
|
233
199
|
---
|
|
234
200
|
|
|
235
201
|
## Documentation
|
|
236
202
|
|
|
237
|
-
|
|
203
|
+
`README.md` is the product overview. The `docs/` directory is the human-readable
|
|
204
|
+
source of truth for detailed product behavior, safety, architecture, workflow,
|
|
205
|
+
validation, and release policy.
|
|
206
|
+
|
|
207
|
+
| Start here | Use for |
|
|
238
208
|
| --- | --- |
|
|
239
209
|
| [Installation](installation.md) | Setup, update, GitHub-main install, MCP/service startup, and smoke checks. |
|
|
240
|
-
| [Docs index](docs/README.md) |
|
|
241
|
-
| [
|
|
210
|
+
| [Docs index](docs/README.md) | Human-readable reading paths, document ownership, and change-to-doc routing. |
|
|
211
|
+
| [User-facing skills](docs/user-facing-skills.md) | Which skill starts which user workflow and what each entrypoint must not do. |
|
|
242
212
|
| [Core concepts and rules](docs/core-concepts-and-rules.md) | Fast operating reference for planes, guardrails, roles, execution lifecycle, and research memory. |
|
|
213
|
+
| [Product direction](docs/product-direction.md) | Product thesis, target user posture, goals, non-goals, runtime defaults, and scope. |
|
|
243
214
|
| [Workspace orchestration model](docs/harness.md) | Top-level workflow model, components, guardrails, improvement, and naming rules. |
|
|
244
215
|
| [Roles, skills, and workflows](docs/roles-skills-and-workflows.md) | Fixed role roster, no-overlap handoffs, dispatch gates, skills, and strategy behavior. |
|
|
245
216
|
| [Safety policy and execution](docs/safety-policy-and-execution.md) | Permissions, approvals, idempotency, broker safety, secret wall, and required blocks. |
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# TradingCodex Documentation
|
|
2
|
+
|
|
3
|
+
This directory is the human-readable source of truth linked from the public `README.md`. It explains the product model, operating rules, safety boundaries, generated workspace behavior, implementation architecture, validation expectations, release policy, and licensing posture.
|
|
4
|
+
|
|
5
|
+
Use these docs when you want the deeper "why" behind TradingCodex behavior. Coding agents should use `openwiki/` for fast source navigation, then return here before changing durable product behavior.
|
|
6
|
+
|
|
7
|
+
## How To Read These Docs
|
|
8
|
+
|
|
9
|
+
| Reader goal | Start with | Then read |
|
|
10
|
+
| --- | --- | --- |
|
|
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
|
+
| 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) |
|
|
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) |
|
|
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) |
|
|
16
|
+
| Understand implementation architecture | [system-architecture.md](./system-architecture.md) | [interfaces-and-surfaces.md](./interfaces-and-surfaces.md), [components.md](./components.md) |
|
|
17
|
+
| Change prompts, skills, hooks, routing, or generated workspaces | [roles-skills-and-workflows.md](./roles-skills-and-workflows.md) | [generated-workspaces.md](./generated-workspaces.md), [validation-and-test-plan.md](./validation-and-test-plan.md) |
|
|
18
|
+
| Validate a change before release or handoff | [validation-and-test-plan.md](./validation-and-test-plan.md) | The topic document for the changed area |
|
|
19
|
+
|
|
20
|
+
## Documentation Layers
|
|
21
|
+
|
|
22
|
+
| Layer | Audience | Role |
|
|
23
|
+
| --- | --- | --- |
|
|
24
|
+
| `README.md` | New users and evaluators | Product summary, installation path, feature overview, and links into these docs. |
|
|
25
|
+
| `installation.md` | Operators | Setup, update, installer, MCP/service startup, and smoke checks. |
|
|
26
|
+
| `docs/` | Humans and maintainers | Durable product source of truth and deeper design rationale. |
|
|
27
|
+
| `openwiki/` | Coding agents | Fast repository map and edit/validation routing. |
|
|
28
|
+
| `AGENTS.md` | Coding agents | Hard rules, setup guard, coding rules, and validation requirements. |
|
|
29
|
+
|
|
30
|
+
If these layers disagree, treat `docs/` as the durable product intent and fix the mismatch deliberately. Do not let hidden behavior drift live only in code, tests, prompts, skills, hooks, or generated templates.
|
|
31
|
+
|
|
32
|
+
## Core Documents
|
|
33
|
+
|
|
34
|
+
| Document | Owns |
|
|
35
|
+
| --- | --- |
|
|
36
|
+
| [core-concepts-and-rules.md](./core-concepts-and-rules.md) | Fast operating reference for planes, guardrails, role boundaries, execution lifecycle, research memory, and documentation rules. |
|
|
37
|
+
| [product-direction.md](./product-direction.md) | Product thesis, target user posture, goals, non-goals, product language, default runtime, universe scope, and open-core posture. |
|
|
38
|
+
| [harness.md](./harness.md) | Top-level harness model: roles, skills, service-layer state, policy, MCP, research memory, approvals, execution adapters, audit, and improvement loops. |
|
|
39
|
+
| [components.md](./components.md) | Component-first maintenance registry, taxonomy tags, owned surfaces, dependencies, capabilities, and validation. |
|
|
40
|
+
|
|
41
|
+
## Workflow And Agent Documents
|
|
42
|
+
|
|
43
|
+
| Document | Owns |
|
|
44
|
+
| --- | --- |
|
|
45
|
+
| [user-facing-skills.md](./user-facing-skills.md) | User-facing entry skills, routing posture, and non-entrypoint skill boundaries. |
|
|
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. |
|
|
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. |
|
|
48
|
+
| [financial-workflow-references.md](./financial-workflow-references.md) | Research-backed finance workflow principles and non-expert UX requirements for workflow intake and handoffs. |
|
|
49
|
+
| [artifact-supervisor-loop-prd.md](./artifact-supervisor-loop-prd.md) | Artifact Supervisor Loop PRD, bounded follow-up routing, lane escalation, loop state, and Decision Quality Spine preservation. |
|
|
50
|
+
|
|
51
|
+
## Safety And Improvement Documents
|
|
52
|
+
|
|
53
|
+
| Document | Owns |
|
|
54
|
+
| --- | --- |
|
|
55
|
+
| [guardrails.md](./guardrails.md) | Guardrail taxonomy: guidance, enforcement, and information barriers. |
|
|
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. |
|
|
57
|
+
| [improvement-loop.md](./improvement-loop.md) | Workflow quality, research memory, skill evolution, postmortems, validation feedback, and quality-learning loops. |
|
|
58
|
+
|
|
59
|
+
## Implementation And Operations Documents
|
|
60
|
+
|
|
61
|
+
| Document | Owns |
|
|
62
|
+
| --- | --- |
|
|
63
|
+
| [system-architecture.md](./system-architecture.md) | Django modular monolith, central DB ownership, app boundaries, runtime planes, service-layer use cases, and core models. |
|
|
64
|
+
| [interfaces-and-surfaces.md](./interfaces-and-surfaces.md) | Product web, Django Admin, Django Ninja API, MCP boundary, CLI, generated wrapper behavior, and external MCP surface. |
|
|
65
|
+
| [generated-workspaces.md](./generated-workspaces.md) | `tcx attach`, `tcx init`, `tcx update`, generated files, project-scoped MCP config, hooks, workspace provenance, profile scope, and template rules. |
|
|
66
|
+
| [validation-and-test-plan.md](./validation-and-test-plan.md) | Required validation commands, unit/API/generator/smoke coverage, MCP smokes, broker provider smokes, routing scenarios, and release-sensitive checks. |
|
|
67
|
+
| [deployment.md](./deployment.md) | PyPI/TestPyPI release process, CI/CD, Trusted Publishing, installer/update policy, versioning, and what is not deployed. |
|
|
68
|
+
| [licensing-and-commercialization.md](./licensing-and-commercialization.md) | Apache-2.0 open-core boundary, generated workspace ownership, contributions, trademark posture, and legal review needs. |
|
|
69
|
+
|
|
70
|
+
## Change-To-Docs Map
|
|
71
|
+
|
|
72
|
+
| Change type | Update these docs |
|
|
73
|
+
| --- | --- |
|
|
74
|
+
| Product scope, non-goals, default runtime, product language, or release posture | `product-direction.md`, `core-concepts-and-rules.md` |
|
|
75
|
+
| Top-level harness model, component registry, guardrail/improvement taxonomy, or cross-cutting concept language | `harness.md`, `components.md`, `guardrails.md`, `improvement-loop.md`, `core-concepts-and-rules.md` |
|
|
76
|
+
| User-facing workflow intake, suitability/profile context, plain-English output, or professional finance framing | `financial-workflow-references.md`, `interfaces-and-surfaces.md`, `roles-skills-and-workflows.md` |
|
|
77
|
+
| Role roster, head-manager dispatch, skills, strategy behavior, routing, information barriers, or handoff quality | `roles-skills-and-workflows.md`, `artifact-supervisor-loop-prd.md`, `core-concepts-and-rules.md` |
|
|
78
|
+
| Research memory, source snapshots, forecast ledgers, readiness labels, artifact paths, report quality, or markdown preview | `research-memory-and-artifacts.md`, `improvement-loop.md`, `artifact-supervisor-loop-prd.md` |
|
|
79
|
+
| Policy, permissions, approvals, idempotency, execution, adapters, broker safety, external MCP gate, or secret handling | `safety-policy-and-execution.md`, `guardrails.md`, `core-concepts-and-rules.md` |
|
|
80
|
+
| Django apps, models, service-layer contracts, central DB ownership, or runtime topology | `system-architecture.md` |
|
|
81
|
+
| Product web, Admin, REST, MCP, CLI, or generated wrapper behavior | `interfaces-and-surfaces.md` |
|
|
82
|
+
| Workspace templates, bootstrap, hooks, project MCP config, generated files, or update behavior | `generated-workspaces.md` |
|
|
83
|
+
| Test expectations, smoke flows, validation commands, or regression scenarios | `validation-and-test-plan.md` |
|
|
84
|
+
| Packaging, installer, release automation, versioning, or distribution boundary | `deployment.md`, `installation.md` |
|
|
85
|
+
| License, contribution, trademark, generated workspace ownership, or commercialization boundary | `licensing-and-commercialization.md` |
|
|
86
|
+
|
|
87
|
+
## Source-Of-Truth Principles
|
|
88
|
+
|
|
89
|
+
| Principle | Meaning |
|
|
90
|
+
| --- | --- |
|
|
91
|
+
| Docs first for product behavior | Durable rules for safety, roles, workflows, execution, generated workspaces, and release posture belong in these docs. |
|
|
92
|
+
| Update docs with behavior | Code, templates, prompts, hooks, tests, and generated artifacts that change durable behavior should update the owning doc in the same change. |
|
|
93
|
+
| Keep `README.md` concise | The public README should explain the product and route readers here instead of duplicating every rule. |
|
|
94
|
+
| Keep OpenWiki agent-focused | `openwiki/` should help agents work efficiently and link back to these docs for durable explanations. |
|
|
95
|
+
| Keep product language English | TradingCodex product copy, generated workspace guidance, Admin UI, CLI help, role prompts, durable docs, and examples are written in English unless a reviewed localization layer is being built. |
|
|
96
|
+
| Product web is review-first | The `/` web app opens on workflow planning and can preview handoffs; it does not spawn agents, approve orders, or execute orders. |
|
|
97
|
+
| Open-core boundary is explicit | Apache-2.0 covers the repository open core; trademarks and official commercial offerings remain separately governed. |
|