tradingcodex 0.2.6__tar.gz → 0.2.7__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.
Files changed (303) hide show
  1. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/PKG-INFO +3 -2
  2. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/README.md +2 -1
  3. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/README.md +3 -2
  4. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/components.md +3 -2
  5. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/deployment.md +5 -3
  6. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/generated-workspaces.md +9 -1
  7. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/harness.md +8 -0
  8. tradingcodex-0.2.7/docs/investment-decision-quality-prd.md +777 -0
  9. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/research-memory-and-artifacts.md +15 -0
  10. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/roles-skills-and-workflows.md +21 -0
  11. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/validation-and-test-plan.md +10 -1
  12. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/pyproject.toml +1 -1
  13. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tests/test_e2e_user_scenarios.py +14 -7
  14. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tests/test_python_migration.py +243 -33
  15. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex.egg-info/PKG-INFO +3 -2
  16. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex.egg-info/SOURCES.txt +15 -0
  17. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/__main__.py +49 -57
  18. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/bootstrap.py +3 -3
  19. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/connectors.py +7 -7
  20. tradingcodex-0.2.7/tradingcodex_cli/commands/decision.py +31 -0
  21. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/doctor.py +2 -0
  22. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/mode.py +2 -2
  23. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/orders.py +1 -1
  24. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/utils.py +4 -15
  25. tradingcodex-0.2.7/tradingcodex_cli/commands/workflow.py +23 -0
  26. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/startup_status.py +1 -7
  27. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/api.py +2 -9
  28. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/agents.py +35 -16
  29. tradingcodex-0.2.7/tradingcodex_service/application/artifact_quality.py +470 -0
  30. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/brokers.py +3 -8
  31. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/common.py +19 -0
  32. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/components.py +22 -4
  33. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/context_budget.py +1 -7
  34. tradingcodex-0.2.7/tradingcodex_service/application/decision_packages.py +258 -0
  35. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/harness.py +269 -27
  36. tradingcodex-0.2.7/tradingcodex_service/templates/web/decisions.html +74 -0
  37. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/urls.py +1 -0
  38. tradingcodex-0.2.7/tradingcodex_service/version.py +1 -0
  39. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/web.py +36 -4
  40. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/files/.codex/prompts/base_instructions/head-manager.md +11 -0
  41. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/files/AGENTS.md +2 -0
  42. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/guidance-guardrails/files/.tradingcodex/guidance/task-quality-checklist.md +4 -0
  43. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/information-barriers/files/.tradingcodex/policies/information-barriers.yaml +32 -0
  44. tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/research/.gitkeep +1 -0
  45. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/SKILL.md +5 -3
  46. tradingcodex-0.2.7/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/references/decision-quality-spine.md +17 -0
  47. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/fundamental-analyst/fundamental-analysis/SKILL.md +7 -0
  48. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/instrument-analyst/instrument-analysis/SKILL.md +7 -0
  49. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/macro-analyst/macro-analysis/SKILL.md +7 -0
  50. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/news-analyst/news-analysis/SKILL.md +7 -0
  51. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/portfolio-review/SKILL.md +7 -0
  52. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/review-risk/SKILL.md +7 -0
  53. tradingcodex-0.2.7/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/anti-overfit-validation/SKILL.md +32 -0
  54. tradingcodex-0.2.7/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/anti-overfit-validation/agents/openai.yaml +6 -0
  55. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/collect-evidence/SKILL.md +7 -0
  56. tradingcodex-0.2.7/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/forecasting-discipline/SKILL.md +40 -0
  57. tradingcodex-0.2.7/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/forecasting-discipline/agents/openai.yaml +6 -0
  58. tradingcodex-0.2.7/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/numeric-data-qc/SKILL.md +31 -0
  59. tradingcodex-0.2.7/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/numeric-data-qc/agents/openai.yaml +6 -0
  60. tradingcodex-0.2.7/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/thesis-scenario-tree/SKILL.md +31 -0
  61. tradingcodex-0.2.7/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/thesis-scenario-tree/agents/openai.yaml +6 -0
  62. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/technical-analyst/technical-analysis/SKILL.md +7 -0
  63. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/valuation-analyst/valuation-review/SKILL.md +9 -0
  64. tradingcodex-0.2.6/tradingcodex_service/application/artifact_quality.py +0 -217
  65. tradingcodex-0.2.6/tradingcodex_service/version.py +0 -1
  66. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/CONTRIBUTING.md +0 -0
  67. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/LICENSE +0 -0
  68. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/MANIFEST.in +0 -0
  69. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/NOTICE +0 -0
  70. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/TRADEMARKS.md +0 -0
  71. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/__init__.py +0 -0
  72. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/audit/__init__.py +0 -0
  73. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/audit/admin.py +0 -0
  74. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/audit/apps.py +0 -0
  75. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/audit/migrations/0001_initial.py +0 -0
  76. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/audit/migrations/__init__.py +0 -0
  77. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/audit/models.py +0 -0
  78. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/harness/__init__.py +0 -0
  79. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/harness/admin.py +0 -0
  80. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/harness/apps.py +0 -0
  81. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/harness/migrations/0001_initial.py +0 -0
  82. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/harness/migrations/__init__.py +0 -0
  83. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/harness/models.py +0 -0
  84. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/harness/templatetags/__init__.py +0 -0
  85. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/integrations/__init__.py +0 -0
  86. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/integrations/admin.py +0 -0
  87. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/integrations/apps.py +0 -0
  88. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/integrations/migrations/0001_initial.py +0 -0
  89. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/integrations/migrations/0002_brokerconnection_brokeraccount_instrumentmap.py +0 -0
  90. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/integrations/migrations/__init__.py +0 -0
  91. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/integrations/models.py +0 -0
  92. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/mcp/__init__.py +0 -0
  93. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/mcp/admin.py +0 -0
  94. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/mcp/apps.py +0 -0
  95. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/mcp/migrations/0001_initial.py +0 -0
  96. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/mcp/migrations/__init__.py +0 -0
  97. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/mcp/models.py +0 -0
  98. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/mcp/services.py +0 -0
  99. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/orders/__init__.py +0 -0
  100. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/orders/admin.py +0 -0
  101. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/orders/apps.py +0 -0
  102. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/orders/migrations/0001_initial.py +0 -0
  103. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/orders/migrations/0002_approvalreceipt_approved_order_type_and_more.py +0 -0
  104. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/orders/migrations/0003_migrate_orderintent_to_orderticket.py +0 -0
  105. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/orders/migrations/0004_remove_order_intent_compat_fields.py +0 -0
  106. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/orders/migrations/__init__.py +0 -0
  107. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/orders/models.py +0 -0
  108. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/orders/services.py +0 -0
  109. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/policy/__init__.py +0 -0
  110. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/policy/admin.py +0 -0
  111. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/policy/apps.py +0 -0
  112. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/policy/migrations/0001_initial.py +0 -0
  113. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/policy/migrations/__init__.py +0 -0
  114. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/policy/models.py +0 -0
  115. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/policy/services.py +0 -0
  116. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/portfolio/__init__.py +0 -0
  117. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/portfolio/admin.py +0 -0
  118. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/portfolio/apps.py +0 -0
  119. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/portfolio/migrations/0001_initial.py +0 -0
  120. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/portfolio/migrations/0002_brokersyncrun_portfolioledgerevent_reconciliationrun.py +0 -0
  121. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/portfolio/migrations/__init__.py +0 -0
  122. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/portfolio/models.py +0 -0
  123. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/workflows/__init__.py +0 -0
  124. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/workflows/admin.py +0 -0
  125. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/workflows/apps.py +0 -0
  126. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/workflows/migrations/0001_initial.py +0 -0
  127. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/workflows/migrations/__init__.py +0 -0
  128. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/apps/workflows/models.py +0 -0
  129. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/assets/tradingcodex-banner.svg +0 -0
  130. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/core-concepts-and-rules.md +0 -0
  131. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/financial-workflow-references.md +0 -0
  132. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/guardrails.md +0 -0
  133. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/improvement-loop.md +0 -0
  134. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/interfaces-and-surfaces.md +0 -0
  135. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/licensing-and-commercialization.md +0 -0
  136. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/product-direction.md +0 -0
  137. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/safety-policy-and-execution.md +0 -0
  138. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/docs/system-architecture.md +0 -0
  139. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/install.sh +0 -0
  140. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/installation.md +0 -0
  141. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/setup.cfg +0 -0
  142. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tests/test_broker_center_prd.py +0 -0
  143. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex.egg-info/dependency_links.txt +0 -0
  144. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex.egg-info/entry_points.txt +0 -0
  145. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex.egg-info/requires.txt +0 -0
  146. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex.egg-info/top_level.txt +0 -0
  147. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/__init__.py +0 -0
  148. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/__init__.py +0 -0
  149. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/db.py +0 -0
  150. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/mcp.py +0 -0
  151. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/policy.py +0 -0
  152. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/profile.py +0 -0
  153. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/research.py +0 -0
  154. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/skills.py +0 -0
  155. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/strategies.py +0 -0
  156. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/subagents.py +0 -0
  157. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/commands/workspaces.py +0 -0
  158. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/generator.py +0 -0
  159. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/mcp_stdio.py +0 -0
  160. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_cli/service_autostart.py +0 -0
  161. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/__init__.py +0 -0
  162. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/admin.py +0 -0
  163. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/__init__.py +0 -0
  164. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/audit.py +0 -0
  165. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/markdown_preview.py +0 -0
  166. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/orders.py +0 -0
  167. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/policy.py +0 -0
  168. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/portfolio.py +0 -0
  169. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/research.py +0 -0
  170. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/runtime.py +0 -0
  171. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/application/runtime_mode.py +0 -0
  172. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/asgi.py +0 -0
  173. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/mcp_runtime.py +0 -0
  174. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/settings.py +0 -0
  175. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/static/tradingcodex_admin/favicon.svg +0 -0
  176. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/static/tradingcodex_web/app.css +0 -0
  177. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/static/tradingcodex_web/app.js +0 -0
  178. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/static/vendor/htmx/htmx.min.js +0 -0
  179. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/activity.html +0 -0
  180. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/agent_skills.html +0 -0
  181. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/agents.html +0 -0
  182. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/base.html +0 -0
  183. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/brokers.html +0 -0
  184. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/dashboard.html +0 -0
  185. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/fragments/role_inspector.html +0 -0
  186. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/fragments/starter_prompt.html +0 -0
  187. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/fragments/topology_canvas.html +0 -0
  188. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/fragments/workspace_card.html +0 -0
  189. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/harness.html +0 -0
  190. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/mcp_router.html +0 -0
  191. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/orders.html +0 -0
  192. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/policy.html +0 -0
  193. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/portfolio.html +0 -0
  194. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/research.html +0 -0
  195. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/starter_prompt.html +0 -0
  196. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/templates/web/strategies.html +0 -0
  197. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/tradingcodex_service/wsgi.py +0 -0
  198. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/__init__.py +0 -0
  199. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/audit/files/.tradingcodex/audit/README.md +0 -0
  200. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/audit/files/trading/audit/.gitkeep +0 -0
  201. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/audit/module.json +0 -0
  202. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/files/.codex/config.toml +0 -0
  203. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/files/.codex/hooks/tradingcodex_hook.py +0 -0
  204. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/files/.codex/hooks.json +0 -0
  205. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/files/.codex/rules/tradingcodex.rules +0 -0
  206. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/files/.tradingcodex/capabilities.yaml +0 -0
  207. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/files/.tradingcodex/cli.py +0 -0
  208. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/files/.tradingcodex/config.yaml +0 -0
  209. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/policy-bindings.yaml +0 -0
  210. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/principals.yaml +0 -0
  211. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/roles.yaml +0 -0
  212. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/files/pyproject.toml +0 -0
  213. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/files/tcx +0 -0
  214. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/codex-base/module.json +0 -0
  215. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/policies/access-policies.yaml +0 -0
  216. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/policies/restricted-list.yaml +0 -0
  217. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/approval_receipt.schema.json +0 -0
  218. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/audit_event.schema.json +0 -0
  219. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/evidence_pack.schema.json +0 -0
  220. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/execution_result.schema.json +0 -0
  221. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/fundamental_report.schema.json +0 -0
  222. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/news_report.schema.json +0 -0
  223. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/order_ticket.schema.json +0 -0
  224. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/portfolio_review.schema.json +0 -0
  225. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/postmortem_report.schema.json +0 -0
  226. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/research_artifact.schema.json +0 -0
  227. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/risk_report.schema.json +0 -0
  228. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/technical_report.schema.json +0 -0
  229. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/thesis.schema.json +0 -0
  230. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/valuation.schema.json +0 -0
  231. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/enforcement-guardrails/module.json +0 -0
  232. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/fixed-subagents/files/.codex/agents/execution-operator.toml +0 -0
  233. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/fixed-subagents/files/.codex/agents/fundamental-analyst.toml +0 -0
  234. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/fixed-subagents/files/.codex/agents/instrument-analyst.toml +0 -0
  235. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/fixed-subagents/files/.codex/agents/macro-analyst.toml +0 -0
  236. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/fixed-subagents/files/.codex/agents/news-analyst.toml +0 -0
  237. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/fixed-subagents/files/.codex/agents/portfolio-manager.toml +0 -0
  238. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/fixed-subagents/files/.codex/agents/risk-manager.toml +0 -0
  239. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/fixed-subagents/files/.codex/agents/technical-analyst.toml +0 -0
  240. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/fixed-subagents/files/.codex/agents/valuation-analyst.toml +0 -0
  241. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/fixed-subagents/files/.tradingcodex/mainagent/head-manager.yaml +0 -0
  242. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/fixed-subagents/files/.tradingcodex/mainagent/skill-change-proposals/.gitkeep +0 -0
  243. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/fixed-subagents/files/.tradingcodex/mainagent/subagent-registry.yaml +0 -0
  244. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/fixed-subagents/module.json +0 -0
  245. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/guidance-guardrails/files/.tradingcodex/guidance/guardrails.md +0 -0
  246. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/guidance-guardrails/module.json +0 -0
  247. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/information-barriers/files/.tradingcodex/secrets.md +0 -0
  248. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/information-barriers/files/trading/approvals/.gitkeep +0 -0
  249. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/market-data → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/forecasts}/.gitkeep +0 -0
  250. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/orders/approved → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/market-data}/.gitkeep +0 -0
  251. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/orders/draft → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/orders/approved}/.gitkeep +0 -0
  252. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/orders/executed → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/orders/draft}/.gitkeep +0 -0
  253. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/orders/rejected → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/orders/executed}/.gitkeep +0 -0
  254. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/portfolio → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/orders/rejected}/.gitkeep +0 -0
  255. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/reports/fundamental → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/portfolio}/.gitkeep +0 -0
  256. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/reports/instrument → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/reports/fundamental}/.gitkeep +0 -0
  257. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/reports/macro → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/reports/instrument}/.gitkeep +0 -0
  258. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/reports/news → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/reports/macro}/.gitkeep +0 -0
  259. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/reports/policy → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/reports/news}/.gitkeep +0 -0
  260. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/reports/portfolio → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/reports/policy}/.gitkeep +0 -0
  261. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/reports/postmortem → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/reports/portfolio}/.gitkeep +0 -0
  262. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/reports/risk → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/reports/postmortem}/.gitkeep +0 -0
  263. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/reports/technical → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/reports/risk}/.gitkeep +0 -0
  264. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/reports/valuation → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/reports/technical}/.gitkeep +0 -0
  265. {tradingcodex-0.2.6/workspace_templates/modules/information-barriers/files/trading/research → tradingcodex-0.2.7/workspace_templates/modules/information-barriers/files/trading/reports/valuation}/.gitkeep +0 -0
  266. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/information-barriers/module.json +0 -0
  267. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/paper-trading/module.json +0 -0
  268. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/postmortem/files/.tradingcodex/workflows/postmortem.yaml +0 -0
  269. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/postmortem/module.json +0 -0
  270. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.agents/skills/postmortem/SKILL.md +0 -0
  271. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.agents/skills/postmortem/agents/openai.yaml +0 -0
  272. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.agents/skills/strategy-creator/SKILL.md +0 -0
  273. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.agents/skills/strategy-creator/agents/openai.yaml +0 -0
  274. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-build/SKILL.md +0 -0
  275. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-build/agents/openai.yaml +0 -0
  276. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-server/SKILL.md +0 -0
  277. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-server/agents/openai.yaml +0 -0
  278. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/agents/openai.yaml +0 -0
  279. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/execution-operator/execute-paper-order/SKILL.md +0 -0
  280. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/execution-operator/execute-paper-order/agents/openai.yaml +0 -0
  281. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/fundamental-analyst/fundamental-analysis/agents/openai.yaml +0 -0
  282. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/instrument-analyst/instrument-analysis/agents/openai.yaml +0 -0
  283. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/macro-analyst/macro-analysis/agents/openai.yaml +0 -0
  284. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/news-analyst/news-analysis/agents/openai.yaml +0 -0
  285. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/create-order-ticket/SKILL.md +0 -0
  286. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/create-order-ticket/agents/openai.yaml +0 -0
  287. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/portfolio-review/agents/openai.yaml +0 -0
  288. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/approve-order/SKILL.md +0 -0
  289. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/approve-order/agents/openai.yaml +0 -0
  290. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/policy-review/SKILL.md +0 -0
  291. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/policy-review/agents/openai.yaml +0 -0
  292. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/review-risk/agents/openai.yaml +0 -0
  293. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/collect-evidence/agents/openai.yaml +0 -0
  294. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/external-data-source-gate/SKILL.md +0 -0
  295. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/external-data-source-gate/agents/openai.yaml +0 -0
  296. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/technical-analyst/technical-analysis/agents/openai.yaml +0 -0
  297. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/valuation-analyst/valuation-review/agents/openai.yaml +0 -0
  298. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/repo-skills/module.json +0 -0
  299. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/stub-execution/module.json +0 -0
  300. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/enforcer/README.md +0 -0
  301. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/gateway/README.md +0 -0
  302. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/server.py +0 -0
  303. {tradingcodex-0.2.6 → tradingcodex-0.2.7}/workspace_templates/modules/tradingcodex-mcp/module.json +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tradingcodex
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: Codex-native trading harness with a Django service plane and approved action boundary.
5
5
  Author: TradingCodex Authors
6
6
  License-Expression: Apache-2.0
@@ -90,6 +90,7 @@ comes only from installed, reviewed providers and explicit live gates.
90
90
  | Codex-native harness | Generates a Codex workspace with `head-manager`, nine fixed subagents, role prompts, skills, hooks, project MCP config, and a local `./tcx` wrapper. |
91
91
  | Django service plane | Web, Admin, API, CLI, MCP, and generated hooks call shared application services for policy, orders, approvals, portfolio, audit, integrations, and research indexing. |
92
92
  | File-native research memory | Research markdown, role reports, source snapshots, versions, readiness labels, and handoff metadata stay readable in workspace files. |
93
+ | Decision Workflow Alpha | Turn a natural-language investment idea into a Codex-native workflow plan and Decision Package under `trading/decisions/`. |
93
94
  | Fixed-role workflows | Specialist agents own bounded questions across fundamentals, technicals, news, macro, instruments, valuation, portfolio, risk, and execution. |
94
95
  | Approved action boundary | Actions are typed, role-scoped, policy-checked, approval-aware, duplicate-request checked, connection-gated, and audited. |
95
96
  | Local web dashboard | Review agents, skills, strategy skills, research markdown, Broker Center, Data Sources, order tickets, portfolio state, and activity at `127.0.0.1:48267`. |
@@ -257,7 +258,7 @@ provide investment recommendations or guarantee returns.
257
258
  | --- | --- |
258
259
  | 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. |
259
260
  | Current `0.2.x` | Central-DB `OrderTicket` rewrite, provider-driven Broker Center foundations, Data Sources gate, role-scoped actions, live-gated execution lifecycle, and Python `>=3.11,<3.15` support. |
260
- | Next | Deeper validation scenarios, richer provider capability profiles, stronger generated-workspace smoke coverage, and improved artifact quality tooling. |
261
+ | Next | Codex-native Decision Packages, deeper validation scenarios, richer provider capability profiles, stronger generated-workspace smoke coverage, and improved artifact quality tooling. |
261
262
  | 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. |
262
263
 
263
264
  ---
@@ -59,6 +59,7 @@ comes only from installed, reviewed providers and explicit live gates.
59
59
  | Codex-native harness | Generates a Codex workspace with `head-manager`, nine fixed subagents, role prompts, skills, hooks, project MCP config, and a local `./tcx` wrapper. |
60
60
  | Django service plane | Web, Admin, API, CLI, MCP, and generated hooks call shared application services for policy, orders, approvals, portfolio, audit, integrations, and research indexing. |
61
61
  | File-native research memory | Research markdown, role reports, source snapshots, versions, readiness labels, and handoff metadata stay readable in workspace files. |
62
+ | Decision Workflow Alpha | Turn a natural-language investment idea into a Codex-native workflow plan and Decision Package under `trading/decisions/`. |
62
63
  | Fixed-role workflows | Specialist agents own bounded questions across fundamentals, technicals, news, macro, instruments, valuation, portfolio, risk, and execution. |
63
64
  | Approved action boundary | Actions are typed, role-scoped, policy-checked, approval-aware, duplicate-request checked, connection-gated, and audited. |
64
65
  | Local web dashboard | Review agents, skills, strategy skills, research markdown, Broker Center, Data Sources, order tickets, portfolio state, and activity at `127.0.0.1:48267`. |
@@ -226,7 +227,7 @@ provide investment recommendations or guarantee returns.
226
227
  | --- | --- |
227
228
  | 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. |
228
229
  | Current `0.2.x` | Central-DB `OrderTicket` rewrite, provider-driven Broker Center foundations, Data Sources gate, role-scoped actions, live-gated execution lifecycle, and Python `>=3.11,<3.15` support. |
229
- | Next | Deeper validation scenarios, richer provider capability profiles, stronger generated-workspace smoke coverage, and improved artifact quality tooling. |
230
+ | Next | Codex-native Decision Packages, deeper validation scenarios, richer provider capability profiles, stronger generated-workspace smoke coverage, and improved artifact quality tooling. |
230
231
  | 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. |
231
232
 
232
233
  ---
@@ -25,6 +25,7 @@ reference, then follow the topic-specific files for implementation-level rules.
25
25
  | [improvement-loop.md](./improvement-loop.md) | Improvement taxonomy: workflow quality, research memory, file-native skill proposals, postmortems, validation feedback | Quality gates, learning loops, postmortems, skill proposal/projection, or validation feedback behavior changes |
26
26
  | [product-direction.md](./product-direction.md) | Product definition, target users, goals, non-goals, scope posture, current defaults | Product direction, release scope, default runtime, product language, or live-execution posture changes |
27
27
  | [financial-workflow-references.md](./financial-workflow-references.md) | Research-backed finance workflow and non-expert UX principles for workflow handoffs and role outputs | User-facing workflow intake, suitability/profile context, plain-English output, or professional finance method framing changes |
28
+ | [investment-decision-quality-prd.md](./investment-decision-quality-prd.md) | PRD for vague-prompt routing, Decision Quality Spine, forecast discipline, scenario reasoning, data QC, and anti-overfit validation | Investment-analysis quality, forecasting, decision-support routing, shared decision-quality skills, or forecast/readiness artifact contracts change |
28
29
  | [system-architecture.md](./system-architecture.md) | Django modular monolith, central DB, app boundaries, service layer, core models, runtime planes | Django apps, DB ownership, service-layer use cases, model ownership, or runtime topology changes |
29
30
  | [interfaces-and-surfaces.md](./interfaces-and-surfaces.md) | Product web, Django Admin, Django Ninja API, MCP endpoint, CLI, generated `./tcx` wrapper | User/admin/API/MCP/CLI surface changes, route changes, or callable tool changes |
30
31
  | [safety-policy-and-execution.md](./safety-policy-and-execution.md) | Guardrail taxonomy, policy checks, approvals, idempotency, execution lifecycle, blocked actions | Policy, permissions, approvals, adapters, execution, restricted list, secret handling, or risk gates change |
@@ -57,8 +58,8 @@ reference, then follow the topic-specific files for implementation-level rules.
57
58
  | Django apps, models, service-layer contracts, or DB ownership | `system-architecture.md` |
58
59
  | Product web, Admin, REST, MCP, CLI, or wrapper behavior | `interfaces-and-surfaces.md` |
59
60
  | Guardrails, policy, permission, approval, execution, adapter, or secret boundary | `guardrails.md`, `safety-policy-and-execution.md`, `core-concepts-and-rules.md` |
60
- | Subagent roster, role responsibilities, skills, strategy behavior, workflow routing, or information barriers | `roles-skills-and-workflows.md`, `core-concepts-and-rules.md` |
61
- | Research memory, artifacts, exports, source snapshots, report readiness, or postmortem learning | `improvement-loop.md`, `research-memory-and-artifacts.md` |
61
+ | Subagent roster, role responsibilities, skills, strategy behavior, workflow routing, decision-quality routing, or information barriers | `roles-skills-and-workflows.md`, `investment-decision-quality-prd.md`, `core-concepts-and-rules.md` |
62
+ | Research memory, artifacts, exports, source snapshots, forecast ledgers, report readiness, or postmortem learning | `improvement-loop.md`, `research-memory-and-artifacts.md`, `investment-decision-quality-prd.md` |
62
63
  | Generated workspace structure, templates, hooks, bootstrap, or MCP config | `generated-workspaces.md` |
63
64
  | Test coverage or validation commands | `validation-and-test-plan.md` |
64
65
  | PyPI/TestPyPI release, CI/CD, or package distribution boundary | `deployment.md`, `product-direction.md` |
@@ -38,8 +38,9 @@ paths clear.
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
40
  | `research-memory` | Stores source-aware research artifacts, versions, snapshots, and exports. | `improvement.research_memory` |
41
- | `workflow-quality-gates` | Defines lane selection, handoff acceptance, artifact readiness, claim discipline, and synthesis gates. | `guardrail.guidance`, `improvement.workflow_quality` |
42
- | `artifact-quality-contract` | Evaluates workspace artifacts 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` |
41
+ | `workflow-quality-gates` | Defines lane selection, Decision Quality Spine, handoff acceptance, artifact readiness, claim discipline, and synthesis gates. | `guardrail.guidance`, `improvement.workflow_quality` |
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
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` |
44
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` |
45
46
  | `external-data-source-gate` | Keeps external evidence read-only and source-aware. | `guardrail.guidance`, `improvement.workflow_quality` |
@@ -141,7 +141,7 @@ python3.11 -m venv /tmp/tcx-testpypi
141
141
  /tmp/tcx-testpypi/bin/pip install \
142
142
  --index-url https://test.pypi.org/simple/ \
143
143
  --extra-index-url https://pypi.org/simple/ \
144
- tradingcodex==0.2.6
144
+ tradingcodex==0.2.7
145
145
  rm -rf /tmp/tcx-testpypi-smoke
146
146
  mkdir -p /tmp/tcx-testpypi-smoke
147
147
  cd /tmp/tcx-testpypi-smoke
@@ -170,7 +170,7 @@ After the PyPI workflow completes:
170
170
 
171
171
  ```bash
172
172
  python3.11 -m venv /tmp/tcx-pypi
173
- /tmp/tcx-pypi/bin/pip install tradingcodex==0.2.6
173
+ /tmp/tcx-pypi/bin/pip install tradingcodex==0.2.7
174
174
  rm -rf /tmp/tcx-pypi-smoke
175
175
  mkdir -p /tmp/tcx-pypi-smoke
176
176
  cd /tmp/tcx-pypi-smoke
@@ -257,7 +257,9 @@ Use PEP 440 versions:
257
257
  - `0.2.6` for provider-driven Broker Center foundations, live-gated provider
258
258
  execution paths, runtime surface simplification, and stricter subagent skill
259
259
  boundaries after `0.2.5`
260
- - later patch releases for compatible fixes after `0.2.6`
260
+ - `0.2.7` for Codex-native decision packages and investment decision quality
261
+ spine improvements after `0.2.6`
262
+ - later patch releases for compatible fixes after `0.2.7`
261
263
  - pre-releases such as `0.3.0a1`, `0.3.0b1`, or `0.3.0rc1` when preparing
262
264
  the next minor contract
263
265
 
@@ -101,6 +101,11 @@ Generated workspaces contain:
101
101
  - no-overlap handoff contract: each role owns its specialist question, downstream roles consume accepted artifacts, and missing/stale/weak upstream work returns `revise`, `blocked`, or `waiting` instead of being silently redone by another role
102
102
  - closed selected team: hook/starter-prompt selected roles are binding for the current lane; research-only prompts do not add portfolio, risk, approval, or execution roles for precautionary coverage
103
103
  - negated scope routing: phrases such as "no valuation", "no order", and "no trading" remove those actions or roles from dispatch selection
104
+ - broad public-equity prompts such as "Analyze NVDA" default to deep thesis
105
+ review with fundamental, technical, news, and valuation roles unless explicit
106
+ constraints narrow the team first
107
+ - compact Decision Quality Spine flags in hook context for decision quality,
108
+ forecast contract, profile gate, anti-overfit, and deep thesis default
104
109
  - no full-history fixed-role spawn: fixed `agent_type` subagents receive compact assignment envelopes without full-history forking on the first attempt
105
110
  - subagent hook isolation: `UserPromptSubmit` auto-routing is ignored for fixed subagent contexts so subagent briefs cannot overwrite main-agent routing state or create recursive dispatch pressure
106
111
  - main-to-subagent briefs are assignment envelopes, not role manuals: they carry the current task, original request, explicit constraints, workflow consent posture, research artifact language, lane, artifact target, compact context summary, request-specific out-of-scope items, and return contract without repeating long method/source/guardrail checklists or pasting full artifacts
@@ -122,7 +127,9 @@ Generated workspaces contain:
122
127
  - fixed subagent `nickname_candidates` set to a single item matching the exact role `name`
123
128
  - fixed subagent identities kept in `.codex/agents/*.toml` `developer_instructions`, as required by Codex custom agent files
124
129
  - project-local additional agent instructions under `.tradingcodex/agent-instructions/<role>.md`; projection appends them after generated default instructions for `head-manager` and fixed subagents
125
- - nineteen core repo skills across project-scope mainagent skills and subagent skill directories, each with `SKILL.md` frontmatter for document metadata and `agents/openai.yaml` UI metadata
130
+ - twenty-three core repo skills across project-scope mainagent skills and subagent skill directories, each with `SKILL.md` frontmatter for document metadata and `agents/openai.yaml` UI metadata
131
+ - shared decision-quality skill bundles for forecasting discipline, thesis
132
+ scenario trees, numeric data QC, and anti-overfit validation
126
133
  - standalone `strategy-*` skills under `.agents/skills/strategy-*` for user-approved agent-readable investment strategies, created through `strategy-creator`, CLI, API, or service-layer flows and exposed to the root `head-manager` through the strategy marker block in `.codex/config.toml`; Django web lists and previews them read-only
127
134
  - file-native agent/skill projection: head-manager and strategy skills live under `.agents/skills/*`, role-owned subagent skills live under `.tradingcodex/subagents/skills/*`, and role TOML embeds the allowed role skill source list; state is expressed in `.codex/agents/*.toml`, `.codex/config.toml`, `.tradingcodex/mainagent/skill-change-proposals/*.yaml`, and `.tradingcodex/generated/*.json`, not Django skill DB tables
128
135
  - optional subagent skills are created, updated, activated, archived, deleted, and validated through the shared application service used by `head-manager`, CLI, API, and Django web
@@ -139,6 +146,7 @@ Generated workspaces contain:
139
146
  - generated indexes under `.tradingcodex/generated/`, including
140
147
  `module-lock.json`, `capability-index.json`, `component-index.json`,
141
148
  `agent-index.json`, `skill-index.json`, and `projection-manifest.json`
149
+ - append-only forecast ledger directory at `trading/forecasts/`
142
150
 
143
151
  Workspace template modules are deployment projections. Harness component
144
152
  ownership comes from the Python component registry and is exported into
@@ -50,6 +50,7 @@ TradingCodex Harness
50
50
  | Guardrails | Reduce, restrict, or block risky actions through guidance, enforcement, and information barriers. |
51
51
  | Improvement | Raise workflow quality through no-overlap handoff contracts, quality gates, artifact readiness, research memory, postmortems, and test feedback. |
52
52
  | Approved action boundary | Keep executable actions behind policy, approval, duplicate-request, connection, and audit checks. |
53
+ | Decision packages | Keep investment ideas Codex-native by packaging workflow plans, artifact paths, profile gaps, blocked actions, and next allowed actions as workspace markdown. |
53
54
  | Provenance | Record which workspace and role produced or requested work without making workspaces separate ledgers. |
54
55
  | Profiles | Separate paper portfolio/account/strategy state from workspace identity. |
55
56
  | Components | Provide the developer-facing maintenance map for implementation surfaces, dependencies, capabilities, tags, and validation. |
@@ -112,6 +113,13 @@ It is a tag and review lens applied to components.
112
113
  Improvement does not authorize execution. A high-quality report still needs the
113
114
  guardrail path before any draft, approval, or non-live connection use.
114
115
 
116
+ Decision Quality Spine is part of Improvement, not a new monolithic workflow.
117
+ It adds shared expectations for intent normalization, scenario reasoning,
118
+ forecast permission, numeric data QC, anti-overfit review, challenge review,
119
+ readiness labels, and append-only forecast ledger records. The spine applies
120
+ inside the selected lane and selected team only; it never widens role authority,
121
+ MCP access, approval, execution, broker, or secret boundaries.
122
+
115
123
  ## Interface Implications
116
124
 
117
125
  The product web app should make the harness usable through a workflow-planner