tradingcodex 0.2.10__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.
Files changed (314) hide show
  1. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/PKG-INFO +65 -98
  2. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/README.md +63 -96
  3. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/README.md +2 -0
  4. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/artifact-supervisor-loop-prd.md +9 -4
  5. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/components.md +2 -2
  6. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/core-concepts-and-rules.md +1 -1
  7. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/deployment.md +16 -10
  8. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/financial-workflow-references.md +1 -1
  9. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/generated-workspaces.md +21 -6
  10. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/harness.md +2 -2
  11. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/improvement-loop.md +8 -2
  12. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/interfaces-and-surfaces.md +1 -1
  13. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/product-direction.md +1 -1
  14. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/research-memory-and-artifacts.md +9 -4
  15. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/roles-skills-and-workflows.md +23 -9
  16. tradingcodex-0.3.0/docs/user-facing-skills.md +49 -0
  17. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/validation-and-test-plan.md +4 -3
  18. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/pyproject.toml +2 -2
  19. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tests/test_e2e_user_scenarios.py +18 -23
  20. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tests/test_python_migration.py +412 -56
  21. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex.egg-info/PKG-INFO +65 -98
  22. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex.egg-info/SOURCES.txt +5 -2
  23. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/orders.py +17 -1
  24. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/subagents.py +2 -0
  25. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/utils.py +2 -0
  26. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/api.py +4 -4
  27. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/agents.py +41 -16
  28. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/artifact_quality.py +24 -10
  29. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/components.py +4 -4
  30. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/context_budget.py +5 -5
  31. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/decision_packages.py +102 -12
  32. tradingcodex-0.3.0/tradingcodex_service/application/harness.py +1634 -0
  33. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/workflow_planner.py +35 -7
  34. tradingcodex-0.3.0/tradingcodex_service/application/workflow_routing.py +1333 -0
  35. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/mcp_runtime.py +50 -59
  36. tradingcodex-0.3.0/tradingcodex_service/version.py +1 -0
  37. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/web.py +1 -1
  38. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.codex/config.toml +36 -0
  39. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.codex/hooks/tradingcodex_hook.py +12 -53
  40. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.codex/prompts/base_instructions/head-manager.md +9 -3
  41. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.tradingcodex/config.yaml +1 -1
  42. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/roles.yaml +6 -0
  43. tradingcodex-0.3.0/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/postmortem_report.schema.json +27 -0
  44. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/execution-operator.toml +0 -4
  45. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/fundamental-analyst.toml +0 -8
  46. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/instrument-analyst.toml +0 -8
  47. tradingcodex-0.3.0/workspace_templates/modules/fixed-subagents/files/.codex/agents/judgment-reviewer.toml +51 -0
  48. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/macro-analyst.toml +0 -8
  49. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/news-analyst.toml +0 -8
  50. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/portfolio-manager.toml +0 -8
  51. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/risk-manager.toml +0 -12
  52. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/technical-analyst.toml +0 -8
  53. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.codex/agents/valuation-analyst.toml +0 -4
  54. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/module.json +1 -0
  55. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/guidance-guardrails/files/.tradingcodex/guidance/task-quality-checklist.md +2 -2
  56. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/.tradingcodex/policies/information-barriers.yaml +53 -49
  57. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/postmortem/SKILL.md +5 -0
  58. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/references/decision-quality-spine.md +5 -2
  59. tradingcodex-0.3.0/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/judgment-reviewer/agent-judgment-review/SKILL.md +62 -0
  60. tradingcodex-0.3.0/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/judgment-reviewer/agent-judgment-review/agents/openai.yaml +6 -0
  61. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/collect-evidence/SKILL.md +6 -0
  62. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/forecasting-discipline/SKILL.md +7 -0
  63. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/module.json +1 -0
  64. tradingcodex-0.2.10/tradingcodex_service/application/harness.py +0 -2598
  65. tradingcodex-0.2.10/tradingcodex_service/version.py +0 -1
  66. tradingcodex-0.2.10/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/postmortem_report.schema.json +0 -14
  67. tradingcodex-0.2.10/workspace_templates/modules/fixed-subagents/files/.tradingcodex/mainagent/head-manager.yaml +0 -66
  68. tradingcodex-0.2.10/workspace_templates/modules/fixed-subagents/files/.tradingcodex/mainagent/subagent-registry.yaml +0 -56
  69. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/CONTRIBUTING.md +0 -0
  70. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/LICENSE +0 -0
  71. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/MANIFEST.in +0 -0
  72. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/NOTICE +0 -0
  73. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/TRADEMARKS.md +0 -0
  74. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/__init__.py +0 -0
  75. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/audit/__init__.py +0 -0
  76. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/audit/admin.py +0 -0
  77. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/audit/apps.py +0 -0
  78. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/audit/migrations/0001_initial.py +0 -0
  79. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/audit/migrations/__init__.py +0 -0
  80. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/audit/models.py +0 -0
  81. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/harness/__init__.py +0 -0
  82. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/harness/admin.py +0 -0
  83. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/harness/apps.py +0 -0
  84. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/harness/migrations/0001_initial.py +0 -0
  85. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/harness/migrations/__init__.py +0 -0
  86. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/harness/models.py +0 -0
  87. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/harness/templatetags/__init__.py +0 -0
  88. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/integrations/__init__.py +0 -0
  89. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/integrations/admin.py +0 -0
  90. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/integrations/apps.py +0 -0
  91. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/integrations/migrations/0001_initial.py +0 -0
  92. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/integrations/migrations/0002_brokerconnection_brokeraccount_instrumentmap.py +0 -0
  93. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/integrations/migrations/__init__.py +0 -0
  94. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/integrations/models.py +0 -0
  95. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/mcp/__init__.py +0 -0
  96. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/mcp/admin.py +0 -0
  97. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/mcp/apps.py +0 -0
  98. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/mcp/migrations/0001_initial.py +0 -0
  99. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/mcp/migrations/__init__.py +0 -0
  100. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/mcp/models.py +0 -0
  101. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/mcp/services.py +0 -0
  102. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/orders/__init__.py +0 -0
  103. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/orders/admin.py +0 -0
  104. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/orders/apps.py +0 -0
  105. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/orders/migrations/0001_initial.py +0 -0
  106. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/orders/migrations/0002_approvalreceipt_approved_order_type_and_more.py +0 -0
  107. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/orders/migrations/0003_migrate_orderintent_to_orderticket.py +0 -0
  108. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/orders/migrations/0004_remove_order_intent_compat_fields.py +0 -0
  109. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/orders/migrations/__init__.py +0 -0
  110. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/orders/models.py +0 -0
  111. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/orders/services.py +0 -0
  112. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/policy/__init__.py +0 -0
  113. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/policy/admin.py +0 -0
  114. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/policy/apps.py +0 -0
  115. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/policy/migrations/0001_initial.py +0 -0
  116. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/policy/migrations/__init__.py +0 -0
  117. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/policy/models.py +0 -0
  118. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/policy/services.py +0 -0
  119. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/portfolio/__init__.py +0 -0
  120. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/portfolio/admin.py +0 -0
  121. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/portfolio/apps.py +0 -0
  122. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/portfolio/migrations/0001_initial.py +0 -0
  123. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/portfolio/migrations/0002_brokersyncrun_portfolioledgerevent_reconciliationrun.py +0 -0
  124. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/portfolio/migrations/__init__.py +0 -0
  125. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/portfolio/models.py +0 -0
  126. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/workflows/__init__.py +0 -0
  127. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/workflows/admin.py +0 -0
  128. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/workflows/apps.py +0 -0
  129. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/workflows/migrations/0001_initial.py +0 -0
  130. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/workflows/migrations/__init__.py +0 -0
  131. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/apps/workflows/models.py +0 -0
  132. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/assets/tradingcodex-banner.svg +0 -0
  133. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/guardrails.md +0 -0
  134. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/licensing-and-commercialization.md +0 -0
  135. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/safety-policy-and-execution.md +0 -0
  136. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/docs/system-architecture.md +0 -0
  137. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/install.sh +0 -0
  138. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/installation.md +0 -0
  139. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/setup.cfg +0 -0
  140. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tests/test_broker_center_prd.py +0 -0
  141. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex.egg-info/dependency_links.txt +0 -0
  142. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex.egg-info/entry_points.txt +0 -0
  143. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex.egg-info/requires.txt +0 -0
  144. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex.egg-info/top_level.txt +0 -0
  145. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/__init__.py +0 -0
  146. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/__main__.py +0 -0
  147. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/__init__.py +0 -0
  148. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/bootstrap.py +0 -0
  149. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/connectors.py +0 -0
  150. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/db.py +0 -0
  151. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/decision.py +0 -0
  152. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/doctor.py +0 -0
  153. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/mcp.py +0 -0
  154. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/mode.py +0 -0
  155. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/policy.py +0 -0
  156. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/profile.py +0 -0
  157. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/research.py +0 -0
  158. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/skills.py +0 -0
  159. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/strategies.py +0 -0
  160. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/workflow.py +0 -0
  161. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/commands/workspaces.py +0 -0
  162. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/generator.py +0 -0
  163. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/mcp_stdio.py +0 -0
  164. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/service_autostart.py +0 -0
  165. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_cli/startup_status.py +0 -0
  166. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/__init__.py +0 -0
  167. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/admin.py +0 -0
  168. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/__init__.py +0 -0
  169. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/audit.py +0 -0
  170. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/brokers.py +0 -0
  171. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/common.py +0 -0
  172. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/markdown_preview.py +0 -0
  173. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/orders.py +0 -0
  174. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/policy.py +0 -0
  175. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/portfolio.py +0 -0
  176. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/research.py +0 -0
  177. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/runtime.py +0 -0
  178. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/application/runtime_mode.py +0 -0
  179. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/asgi.py +0 -0
  180. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/settings.py +0 -0
  181. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/static/tradingcodex_admin/favicon.svg +0 -0
  182. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/static/tradingcodex_web/app.css +0 -0
  183. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/static/tradingcodex_web/app.js +0 -0
  184. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/static/vendor/htmx/htmx.min.js +0 -0
  185. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/activity.html +0 -0
  186. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/agent_skills.html +0 -0
  187. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/agents.html +0 -0
  188. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/base.html +0 -0
  189. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/brokers.html +0 -0
  190. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/dashboard.html +0 -0
  191. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/decisions.html +0 -0
  192. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/fragments/role_inspector.html +0 -0
  193. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/fragments/starter_prompt.html +0 -0
  194. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/fragments/topology_canvas.html +0 -0
  195. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/fragments/workspace_card.html +0 -0
  196. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/harness.html +0 -0
  197. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/mcp_router.html +0 -0
  198. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/orders.html +0 -0
  199. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/policy.html +0 -0
  200. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/portfolio.html +0 -0
  201. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/research.html +0 -0
  202. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/starter_prompt.html +0 -0
  203. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/templates/web/strategies.html +0 -0
  204. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/urls.py +0 -0
  205. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/tradingcodex_service/wsgi.py +0 -0
  206. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/__init__.py +0 -0
  207. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/audit/files/.tradingcodex/audit/README.md +0 -0
  208. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/audit/files/trading/audit/.gitkeep +0 -0
  209. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/audit/module.json +0 -0
  210. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.codex/hooks.json +0 -0
  211. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.codex/rules/tradingcodex.rules +0 -0
  212. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.tradingcodex/capabilities.yaml +0 -0
  213. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.tradingcodex/cli.py +0 -0
  214. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/policy-bindings.yaml +0 -0
  215. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/principals.yaml +0 -0
  216. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/AGENTS.md +0 -0
  217. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/pyproject.toml +0 -0
  218. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/files/tcx +0 -0
  219. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/codex-base/module.json +0 -0
  220. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/policies/access-policies.yaml +0 -0
  221. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/policies/restricted-list.yaml +0 -0
  222. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/approval_receipt.schema.json +0 -0
  223. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/audit_event.schema.json +0 -0
  224. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/evidence_pack.schema.json +0 -0
  225. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/execution_result.schema.json +0 -0
  226. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/fundamental_report.schema.json +0 -0
  227. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/news_report.schema.json +0 -0
  228. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/order_ticket.schema.json +0 -0
  229. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/portfolio_review.schema.json +0 -0
  230. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/research_artifact.schema.json +0 -0
  231. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/risk_report.schema.json +0 -0
  232. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/technical_report.schema.json +0 -0
  233. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/thesis.schema.json +0 -0
  234. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/valuation.schema.json +0 -0
  235. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/enforcement-guardrails/module.json +0 -0
  236. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/fixed-subagents/files/.tradingcodex/mainagent/skill-change-proposals/.gitkeep +0 -0
  237. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/guidance-guardrails/files/.tradingcodex/guidance/guardrails.md +0 -0
  238. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/guidance-guardrails/module.json +0 -0
  239. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/.tradingcodex/secrets.md +0 -0
  240. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/approvals/.gitkeep +0 -0
  241. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/forecasts/.gitkeep +0 -0
  242. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/market-data/.gitkeep +0 -0
  243. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/orders/approved/.gitkeep +0 -0
  244. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/orders/draft/.gitkeep +0 -0
  245. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/orders/executed/.gitkeep +0 -0
  246. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/orders/rejected/.gitkeep +0 -0
  247. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/portfolio/.gitkeep +0 -0
  248. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/fundamental/.gitkeep +0 -0
  249. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/instrument/.gitkeep +0 -0
  250. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/macro/.gitkeep +0 -0
  251. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/news/.gitkeep +0 -0
  252. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/policy/.gitkeep +0 -0
  253. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/portfolio/.gitkeep +0 -0
  254. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/postmortem/.gitkeep +0 -0
  255. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/risk/.gitkeep +0 -0
  256. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/technical/.gitkeep +0 -0
  257. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/reports/valuation/.gitkeep +0 -0
  258. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/files/trading/research/.gitkeep +0 -0
  259. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/information-barriers/module.json +0 -0
  260. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/paper-trading/module.json +0 -0
  261. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/postmortem/files/.tradingcodex/workflows/postmortem.yaml +0 -0
  262. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/postmortem/module.json +0 -0
  263. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/automate-workflow/SKILL.md +0 -0
  264. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/automate-workflow/agents/openai.yaml +0 -0
  265. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/plan-workflow/SKILL.md +0 -0
  266. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/plan-workflow/agents/openai.yaml +0 -0
  267. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/postmortem/agents/openai.yaml +0 -0
  268. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/strategy-creator/SKILL.md +0 -0
  269. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/strategy-creator/agents/openai.yaml +0 -0
  270. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-build/SKILL.md +0 -0
  271. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-build/agents/openai.yaml +0 -0
  272. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-server/SKILL.md +0 -0
  273. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-server/agents/openai.yaml +0 -0
  274. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/SKILL.md +0 -0
  275. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/agents/openai.yaml +0 -0
  276. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/execution-operator/execute-paper-order/SKILL.md +0 -0
  277. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/execution-operator/execute-paper-order/agents/openai.yaml +0 -0
  278. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/fundamental-analyst/fundamental-analysis/SKILL.md +0 -0
  279. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/fundamental-analyst/fundamental-analysis/agents/openai.yaml +0 -0
  280. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/instrument-analyst/instrument-analysis/SKILL.md +0 -0
  281. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/instrument-analyst/instrument-analysis/agents/openai.yaml +0 -0
  282. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/macro-analyst/macro-analysis/SKILL.md +0 -0
  283. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/macro-analyst/macro-analysis/agents/openai.yaml +0 -0
  284. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/news-analyst/news-analysis/SKILL.md +0 -0
  285. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/news-analyst/news-analysis/agents/openai.yaml +0 -0
  286. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/create-order-ticket/SKILL.md +0 -0
  287. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/create-order-ticket/agents/openai.yaml +0 -0
  288. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/portfolio-review/SKILL.md +0 -0
  289. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/portfolio-review/agents/openai.yaml +0 -0
  290. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/approve-order/SKILL.md +0 -0
  291. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/approve-order/agents/openai.yaml +0 -0
  292. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/policy-review/SKILL.md +0 -0
  293. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/policy-review/agents/openai.yaml +0 -0
  294. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/review-risk/SKILL.md +0 -0
  295. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/review-risk/agents/openai.yaml +0 -0
  296. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/anti-overfit-validation/SKILL.md +0 -0
  297. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/anti-overfit-validation/agents/openai.yaml +0 -0
  298. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/collect-evidence/agents/openai.yaml +0 -0
  299. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/external-data-source-gate/SKILL.md +0 -0
  300. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/external-data-source-gate/agents/openai.yaml +0 -0
  301. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/forecasting-discipline/agents/openai.yaml +0 -0
  302. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/numeric-data-qc/SKILL.md +0 -0
  303. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/numeric-data-qc/agents/openai.yaml +0 -0
  304. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/thesis-scenario-tree/SKILL.md +0 -0
  305. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/thesis-scenario-tree/agents/openai.yaml +0 -0
  306. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/technical-analyst/technical-analysis/SKILL.md +0 -0
  307. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/technical-analyst/technical-analysis/agents/openai.yaml +0 -0
  308. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/valuation-analyst/valuation-review/SKILL.md +0 -0
  309. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/valuation-analyst/valuation-review/agents/openai.yaml +0 -0
  310. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/stub-execution/module.json +0 -0
  311. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/enforcer/README.md +0 -0
  312. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/gateway/README.md +0 -0
  313. {tradingcodex-0.2.10 → tradingcodex-0.3.0}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/server.py +0 -0
  314. {tradingcodex-0.2.10 → 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.2.10
4
- Summary: Codex-native trading harness with a Django service plane and approved action boundary.
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 a harness, not a chat transcript.
58
+ ### Codex-native investment work needs an agentic harness, not a chat transcript.
59
59
 
60
- TradingCodex is a local-first Python/Django trading harness for rigorous
61
- Codex-assisted research, portfolio review, order-ticket checks, approvals, and
62
- service-gated execution checks. Codex coordinates the work, Django owns the
63
- durable service plane, and TradingCodex owns the executable boundary.
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) | [Architecture](docs/system-architecture.md) | [Contributing](CONTRIBUTING.md) | [License](LICENSE)
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 workflows:
76
- fixed specialist roles, file-native research memory, source-aware handoffs,
77
- policy and approval services, a central local ledger, and a local web dashboard
78
- for review.
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
- ## Features
86
+ ## Start With These Skills
87
87
 
88
- | Feature | Description |
89
- | --- | --- |
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
- | 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
- | 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/`. |
94
- | Fixed-role workflows | Specialist agents own bounded questions across fundamentals, technicals, news, macro, instruments, valuation, portfolio, risk, and execution. |
95
- | Approved action boundary | Actions are typed, role-scoped, policy-checked, approval-aware, duplicate-request checked, connection-gated, and audited. |
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`. |
97
- | Broker Center foundations | Connect provider-driven broker profiles, list installed providers, scaffold/register advanced connectors, inspect capability profiles, run account sync, review instrument constraints, and reconcile portfolio state. |
98
- | OrderTicket lifecycle | Draft, check, approve, submit, cancel, refresh, and inspect order tickets through central DB records and service-layer state transitions. |
99
- | Data Sources gate | Import external source discovery metadata, review available actions, scope role access, and block unsafe raw execution or secret paths by default. |
100
- | Improvement loop | Quality gates, postmortems, optional skills, strategy skills, strict artifact checks, and generated workspace smoke tests turn process gaps into durable improvements. |
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
- ### Option 2 - Install The CLI For Repeated Use
124
-
125
- ```bash
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
- ## Surfaces
162
+ ## Key Features
219
163
 
220
- | Surface | Role |
164
+ | Feature | What it gives you |
221
165
  | --- | --- |
222
- | Product web | Agents-first review dashboard for roles, skills, research markdown, Broker Center, Data Sources, order tickets, portfolio state, and activity. |
223
- | Django Admin | Local/staff DB inspection for policy, orders, portfolio, MCP registry, workflows, integrations, and audit rows. |
224
- | Django Ninja API | Typed local/staff REST and control endpoints that call service-layer use cases. |
225
- | MCP | Agent/tool boundary with typed tools, role scopes, policy checks, approval checks, and audit. |
226
- | CLI | Local operator commands plus generated workspace `./tcx` wrapper behavior. |
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. |
173
+
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
+ ```
227
191
 
228
- The baseline frontend uses Django templates, local static HTMX, and small plain
229
- JavaScript. There is no Node, bundler, React, or frontend build step in the core
230
- package.
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,8 +223,8 @@ 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.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. |
261
- | Next | Codex-native Decision Packages, deeper validation scenarios, richer provider capability profiles, stronger generated-workspace smoke coverage, and improved artifact quality tooling. |
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
  ---
@@ -273,6 +239,7 @@ validation, and release policy.
273
239
  | --- | --- |
274
240
  | [Installation](installation.md) | Setup, update, GitHub-main install, MCP/service startup, and smoke checks. |
275
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. |
276
243
  | [Core concepts and rules](docs/core-concepts-and-rules.md) | Fast operating reference for planes, guardrails, roles, execution lifecycle, and research memory. |
277
244
  | [Product direction](docs/product-direction.md) | Product thesis, target user posture, goals, non-goals, runtime defaults, and scope. |
278
245
  | [Workspace orchestration model](docs/harness.md) | Top-level workflow model, components, guardrails, improvement, and naming rules. |
@@ -24,14 +24,14 @@
24
24
  <a href="https://github.com/monarchjuno/tradingcodex/issues"><img alt="GitHub Issues" src="https://img.shields.io/github/issues/monarchjuno/tradingcodex"></a>
25
25
  </div>
26
26
 
27
- ### Codex-native investment work needs a harness, not a chat transcript.
27
+ ### Codex-native investment work needs an agentic harness, not a chat transcript.
28
28
 
29
- TradingCodex is a local-first Python/Django trading harness for rigorous
30
- Codex-assisted research, portfolio review, order-ticket checks, approvals, and
31
- service-gated execution checks. Codex coordinates the work, Django owns the
32
- durable service plane, and TradingCodex owns the executable boundary.
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) | [Architecture](docs/system-architecture.md) | [Contributing](CONTRIBUTING.md) | [License](LICENSE)
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 workflows:
45
- fixed specialist roles, file-native research memory, source-aware handoffs,
46
- policy and approval services, a central local ledger, and a local web dashboard
47
- for review.
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
- ## Features
55
+ ## Start With These Skills
56
56
 
57
- | Feature | Description |
58
- | --- | --- |
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
- | 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
- | 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/`. |
63
- | Fixed-role workflows | Specialist agents own bounded questions across fundamentals, technicals, news, macro, instruments, valuation, portfolio, risk, and execution. |
64
- | Approved action boundary | Actions are typed, role-scoped, policy-checked, approval-aware, duplicate-request checked, connection-gated, and audited. |
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`. |
66
- | Broker Center foundations | Connect provider-driven broker profiles, list installed providers, scaffold/register advanced connectors, inspect capability profiles, run account sync, review instrument constraints, and reconcile portfolio state. |
67
- | OrderTicket lifecycle | Draft, check, approve, submit, cancel, refresh, and inspect order tickets through central DB records and service-layer state transitions. |
68
- | Data Sources gate | Import external source discovery metadata, review available actions, scope role access, and block unsafe raw execution or secret paths by default. |
69
- | Improvement loop | Quality gates, postmortems, optional skills, strategy skills, strict artifact checks, and generated workspace smoke tests turn process gaps into durable improvements. |
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
- ### Option 2 - Install The CLI For Repeated Use
93
-
94
- ```bash
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
- ## Surfaces
131
+ ## Key Features
188
132
 
189
- | Surface | Role |
133
+ | Feature | What it gives you |
190
134
  | --- | --- |
191
- | Product web | Agents-first review dashboard for roles, skills, research markdown, Broker Center, Data Sources, order tickets, portfolio state, and activity. |
192
- | Django Admin | Local/staff DB inspection for policy, orders, portfolio, MCP registry, workflows, integrations, and audit rows. |
193
- | Django Ninja API | Typed local/staff REST and control endpoints that call service-layer use cases. |
194
- | MCP | Agent/tool boundary with typed tools, role scopes, policy checks, approval checks, and audit. |
195
- | CLI | Local operator commands plus generated workspace `./tcx` wrapper behavior. |
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. |
142
+
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
+ ```
196
160
 
197
- The baseline frontend uses Django templates, local static HTMX, and small plain
198
- JavaScript. There is no Node, bundler, React, or frontend build step in the core
199
- package.
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,8 +192,8 @@ 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.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. |
230
- | Next | Codex-native Decision Packages, deeper validation scenarios, richer provider capability profiles, stronger generated-workspace smoke coverage, and improved artifact quality tooling. |
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
  ---
@@ -242,6 +208,7 @@ validation, and release policy.
242
208
  | --- | --- |
243
209
  | [Installation](installation.md) | Setup, update, GitHub-main install, MCP/service startup, and smoke checks. |
244
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. |
245
212
  | [Core concepts and rules](docs/core-concepts-and-rules.md) | Fast operating reference for planes, guardrails, roles, execution lifecycle, and research memory. |
246
213
  | [Product direction](docs/product-direction.md) | Product thesis, target user posture, goals, non-goals, runtime defaults, and scope. |
247
214
  | [Workspace orchestration model](docs/harness.md) | Top-level workflow model, components, guardrails, improvement, and naming rules. |
@@ -10,6 +10,7 @@ Use these docs when you want the deeper "why" behind TradingCodex behavior. Codi
10
10
  | --- | --- | --- |
11
11
  | Understand TradingCodex quickly | [core-concepts-and-rules.md](./core-concepts-and-rules.md) | [product-direction.md](./product-direction.md), [harness.md](./harness.md) |
12
12
  | Install or update a workspace | [../installation.md](../installation.md) | [generated-workspaces.md](./generated-workspaces.md), [deployment.md](./deployment.md) |
13
+ | Understand which user skill to start with | [user-facing-skills.md](./user-facing-skills.md) | [roles-skills-and-workflows.md](./roles-skills-and-workflows.md), [interfaces-and-surfaces.md](./interfaces-and-surfaces.md) |
13
14
  | Understand the investment workflow | [harness.md](./harness.md) | [roles-skills-and-workflows.md](./roles-skills-and-workflows.md), [research-memory-and-artifacts.md](./research-memory-and-artifacts.md) |
14
15
  | Understand safety and execution boundaries | [safety-policy-and-execution.md](./safety-policy-and-execution.md) | [guardrails.md](./guardrails.md), [interfaces-and-surfaces.md](./interfaces-and-surfaces.md) |
15
16
  | Understand implementation architecture | [system-architecture.md](./system-architecture.md) | [interfaces-and-surfaces.md](./interfaces-and-surfaces.md), [components.md](./components.md) |
@@ -41,6 +42,7 @@ If these layers disagree, treat `docs/` as the durable product intent and fix th
41
42
 
42
43
  | Document | Owns |
43
44
  | --- | --- |
45
+ | [user-facing-skills.md](./user-facing-skills.md) | User-facing entry skills, routing posture, and non-entrypoint skill boundaries. |
44
46
  | [roles-skills-and-workflows.md](./roles-skills-and-workflows.md) | Fixed role roster, no-overlap role contract, head-manager dispatch gate, skills, strategy skills, subagent isolation, workflow routing, and module graph. |
45
47
  | [research-memory-and-artifacts.md](./research-memory-and-artifacts.md) | File-native research memory, source snapshots, artifact paths, readiness labels, report quality floor, forecast ledger posture, and handoff metadata. |
46
48
  | [financial-workflow-references.md](./financial-workflow-references.md) | Research-backed finance workflow principles and non-expert UX requirements for workflow intake and handoffs. |
@@ -45,8 +45,9 @@ context discipline, approval gates, execution boundaries, and user scope.
45
45
  postmortems.
46
46
  - Keep all follow-up briefs compact: artifact path, context summary,
47
47
  trigger, delta question, constraints, and blocked actions.
48
- - Preserve Decision Quality Spine expectations inside the loop rather than
49
- keeping them as a separate monolithic PRD.
48
+ - Preserve Decision Quality Spine expectations, including source trust and
49
+ agent judgment review, inside the loop rather than keeping them as a separate
50
+ monolithic PRD.
50
51
  - Add tests and smoke checks that prove loops improve quality without widening
51
52
  authority.
52
53
 
@@ -337,8 +338,11 @@ Add file-native loop state records:
337
338
 
338
339
  ```text
339
340
  .tradingcodex/mainagent/workflow-loop-state.json # latest compact summary / pointer
341
+ .tradingcodex/mainagent/latest-workflow-intake.json # latest compact intake hint
342
+ .tradingcodex/mainagent/latest-workflow-plan.json # latest validated staged plan
343
+ .tradingcodex/mainagent/workflows/<workflow_run_id>/intake.json
344
+ .tradingcodex/mainagent/workflows/<workflow_run_id>/workflow-plan.json
340
345
  .tradingcodex/mainagent/workflows/<workflow_run_id>/loop-state.json # canonical run state
341
- .tradingcodex/mainagent/workflows/<workflow_run_id>/prompt-gate.json
342
346
  .tradingcodex/mainagent/session-workflow-runs.json # Codex session/thread -> workflow_run_id map
343
347
  ```
344
348
 
@@ -530,7 +534,8 @@ follow-up is needed.
530
534
  synthesize using a closed action set.
531
535
  - Loop state is visible in workspace files and audit trails.
532
536
  - Context stays compact across iterations.
533
- - Decision Quality Spine fields still apply inside selected lanes.
537
+ - Decision Quality Spine fields, source trust notes, and judgment-review fields
538
+ still apply inside selected lanes.
534
539
  - Approval, execution, broker, secret, and policy boundaries are unchanged.
535
540
  - Generated workspace validation catches loop drift, unauthorized expansion,
536
541
  malformed follow-up requests, and unsupported synthesis.
@@ -38,9 +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, Artifact Supervisor Loop policy, Decision Quality Spine, handoff acceptance, artifact readiness, claim discipline, and synthesis gates. | `guardrail.guidance`, `improvement.workflow_quality` |
41
+ | `workflow-quality-gates` | Defines lane selection, Artifact Supervisor Loop policy, Decision Quality Spine, agent judgment review, handoff acceptance, artifact readiness, claim discipline, and synthesis gates. | `guardrail.guidance`, `improvement.workflow_quality` |
42
42
  | `decision-package` | Wraps workflow plans, artifact paths, profile gaps, blocked actions, and next steps in Codex-readable workspace markdown. | `guardrail.guidance`, `improvement.workflow_quality`, `improvement.research_memory` |
43
- | `artifact-quality-contract` | Evaluates workspace artifacts and forecast ledgers for source/as-of posture, claim tags, handoff state, confidence, missing evidence, and next-recipient routing metadata. | `guardrail.guidance`, `improvement.workflow_quality`, `improvement.research_memory` |
43
+ | `artifact-quality-contract` | Evaluates workspace artifacts and forecast ledgers for source/as-of posture, source trust, claim tags, handoff state, confidence, missing evidence, judgment-review fields, and next-recipient routing metadata. | `guardrail.guidance`, `improvement.workflow_quality`, `improvement.research_memory` |
44
44
  | `context-efficiency-contract` | Keeps workflows bounded through compact briefs, artifact references, context summaries, source snapshot IDs, targeted full-artifact reads, and `subagents context-audit` validation. | `guardrail.guidance`, `guardrail.information_barrier`, `improvement.workflow_quality`, `improvement.context_efficiency` |
45
45
  | `responsibility-boundary-contract` | Separates durable role identity, tool permissions, skill procedures, artifact contracts, and projection ownership so changes stay local. | `guardrail.guidance`, `guardrail.information_barrier`, `improvement.workflow_quality`, `improvement.skill_evolution` |
46
46
  | `external-data-source-gate` | Keeps external evidence read-only and source-aware. | `guardrail.guidance`, `improvement.workflow_quality` |
@@ -81,7 +81,7 @@ portfolio state or execution policy.
81
81
 
82
82
  ## Role Boundary Snapshot
83
83
 
84
- TradingCodex always uses `head-manager` as the main coordinator with nine fixed
84
+ TradingCodex always uses `head-manager` as the main coordinator with ten fixed
85
85
  subagents. Detailed responsibilities live in
86
86
  [roles-skills-and-workflows.md](./roles-skills-and-workflows.md).
87
87
 
@@ -3,7 +3,8 @@
3
3
  TradingCodex is distributed as a Python package on PyPI. The package name is
4
4
  `tradingcodex`; the installed command is `tcx`.
5
5
 
6
- TradingCodex is local-first software. A PyPI release ships the CLI, Django
6
+ TradingCodex is agentic investment workflow software that runs from the user's
7
+ workspace and local runtime by default. A PyPI release ships the CLI, Django
7
8
  service plane, generated workspace templates, Admin/Web templates, static
8
9
  assets, and MCP gateway code. It does not deploy a hosted service. Core ships
9
10
  paper execution by default; broker-specific live execution requires installed,
@@ -11,11 +12,13 @@ reviewed providers and explicit live gates.
11
12
 
12
13
  ## Release Policy
13
14
 
14
- The `0.2.x` release line is the OrderTicket rewrite contract for the local-first
15
- Python/Django harness. Order flows use central DB `OrderTicket` records
16
- directly; pre-release compatibility shims do not remain in the runtime package.
17
- The documented Web, API, CLI, MCP, generated workspace, and
18
- application-service surfaces are the supported contract.
15
+ The `0.3.x` release line is the agentic judgment quality contract for the
16
+ Python/Django harness. It keeps investment judgment reviewable, challengeable,
17
+ source-aware, and revisitable before portfolio, risk, approval, or execution
18
+ steps. Order flows continue to use central DB `OrderTicket` records directly;
19
+ pre-release compatibility shims do not remain in the runtime package. The
20
+ documented Web, API, CLI, MCP, generated workspace, and application-service
21
+ surfaces are the supported contract.
19
22
 
20
23
  Execution status for this release line:
21
24
 
@@ -141,7 +144,7 @@ python3.11 -m venv /tmp/tcx-testpypi
141
144
  /tmp/tcx-testpypi/bin/pip install \
142
145
  --index-url https://test.pypi.org/simple/ \
143
146
  --extra-index-url https://pypi.org/simple/ \
144
- tradingcodex==0.2.10
147
+ tradingcodex==0.3.0
145
148
  rm -rf /tmp/tcx-testpypi-smoke
146
149
  mkdir -p /tmp/tcx-testpypi-smoke
147
150
  cd /tmp/tcx-testpypi-smoke
@@ -170,7 +173,7 @@ After the PyPI workflow completes:
170
173
 
171
174
  ```bash
172
175
  python3.11 -m venv /tmp/tcx-pypi
173
- /tmp/tcx-pypi/bin/pip install tradingcodex==0.2.10
176
+ /tmp/tcx-pypi/bin/pip install tradingcodex==0.3.0
174
177
  rm -rf /tmp/tcx-pypi-smoke
175
178
  mkdir -p /tmp/tcx-pypi-smoke
176
179
  cd /tmp/tcx-pypi-smoke
@@ -264,8 +267,11 @@ Use PEP 440 versions:
264
267
  - `0.2.9` for stale service replacement and web scroll-state fixes after
265
268
  `0.2.8`
266
269
  - `0.2.10` for workflow planning and automation skill updates after `0.2.9`
267
- - later patch releases for compatible fixes after `0.2.10`
268
- - pre-releases such as `0.3.0a1`, `0.3.0b1`, or `0.3.0rc1` when preparing
270
+ - `0.3.0` for the independent judgment-review gate, staged workflow routing
271
+ cleanup, Decision Quality Spine hardening, and source-aware thesis lifecycle
272
+ updates after `0.2.10`
273
+ - later patch releases for compatible fixes after `0.3.0`
274
+ - pre-releases such as `0.4.0a1`, `0.4.0b1`, or `0.4.0rc1` when preparing
269
275
  the next minor contract
270
276
 
271
277
  PyPI files are immutable. If a release has a packaging defect, publish the next