tradingcodex 0.3.0__tar.gz → 0.3.2__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 (310) hide show
  1. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/PKG-INFO +24 -18
  2. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/README.md +23 -17
  3. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/README.md +2 -2
  4. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/artifact-supervisor-loop-prd.md +6 -0
  5. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/components.md +3 -3
  6. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/core-concepts-and-rules.md +3 -0
  7. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/deployment.md +18 -9
  8. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/financial-workflow-references.md +9 -3
  9. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/generated-workspaces.md +7 -1
  10. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/harness.md +8 -4
  11. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/improvement-loop.md +48 -5
  12. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/interfaces-and-surfaces.md +2 -2
  13. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/product-direction.md +1 -1
  14. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/research-memory-and-artifacts.md +45 -0
  15. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/roles-skills-and-workflows.md +15 -7
  16. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/system-architecture.md +4 -1
  17. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/user-facing-skills.md +16 -10
  18. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/validation-and-test-plan.md +20 -0
  19. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/pyproject.toml +1 -1
  20. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tests/test_python_migration.py +273 -3
  21. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex.egg-info/PKG-INFO +24 -18
  22. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/__main__.py +2 -2
  23. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/doctor.py +11 -0
  24. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/orders.py +12 -1
  25. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/research.py +37 -0
  26. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/utils.py +6 -0
  27. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/workflow.py +28 -2
  28. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/api.py +1 -0
  29. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/artifact_quality.py +395 -4
  30. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/components.py +8 -7
  31. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/decision_packages.py +2 -0
  32. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/harness.py +313 -6
  33. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/research.py +131 -2
  34. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/mcp_runtime.py +1 -0
  35. tradingcodex-0.3.2/tradingcodex_service/version.py +1 -0
  36. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/files/.codex/prompts/base_instructions/head-manager.md +10 -0
  37. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/research_artifact.schema.json +45 -0
  38. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/postmortem/SKILL.md +5 -4
  39. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/SKILL.md +1 -1
  40. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/fundamental-analyst/fundamental-analysis/SKILL.md +2 -1
  41. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/portfolio-review/SKILL.md +3 -1
  42. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/review-risk/SKILL.md +3 -1
  43. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/valuation-analyst/valuation-review/SKILL.md +2 -0
  44. tradingcodex-0.3.0/tradingcodex_service/version.py +0 -1
  45. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/CONTRIBUTING.md +0 -0
  46. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/LICENSE +0 -0
  47. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/MANIFEST.in +0 -0
  48. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/NOTICE +0 -0
  49. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/TRADEMARKS.md +0 -0
  50. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/__init__.py +0 -0
  51. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/audit/__init__.py +0 -0
  52. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/audit/admin.py +0 -0
  53. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/audit/apps.py +0 -0
  54. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/audit/migrations/0001_initial.py +0 -0
  55. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/audit/migrations/__init__.py +0 -0
  56. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/audit/models.py +0 -0
  57. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/harness/__init__.py +0 -0
  58. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/harness/admin.py +0 -0
  59. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/harness/apps.py +0 -0
  60. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/harness/migrations/0001_initial.py +0 -0
  61. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/harness/migrations/__init__.py +0 -0
  62. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/harness/models.py +0 -0
  63. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/harness/templatetags/__init__.py +0 -0
  64. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/integrations/__init__.py +0 -0
  65. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/integrations/admin.py +0 -0
  66. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/integrations/apps.py +0 -0
  67. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/integrations/migrations/0001_initial.py +0 -0
  68. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/integrations/migrations/0002_brokerconnection_brokeraccount_instrumentmap.py +0 -0
  69. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/integrations/migrations/__init__.py +0 -0
  70. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/integrations/models.py +0 -0
  71. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/mcp/__init__.py +0 -0
  72. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/mcp/admin.py +0 -0
  73. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/mcp/apps.py +0 -0
  74. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/mcp/migrations/0001_initial.py +0 -0
  75. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/mcp/migrations/__init__.py +0 -0
  76. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/mcp/models.py +0 -0
  77. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/mcp/services.py +0 -0
  78. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/orders/__init__.py +0 -0
  79. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/orders/admin.py +0 -0
  80. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/orders/apps.py +0 -0
  81. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/orders/migrations/0001_initial.py +0 -0
  82. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/orders/migrations/0002_approvalreceipt_approved_order_type_and_more.py +0 -0
  83. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/orders/migrations/0003_migrate_orderintent_to_orderticket.py +0 -0
  84. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/orders/migrations/0004_remove_order_intent_compat_fields.py +0 -0
  85. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/orders/migrations/__init__.py +0 -0
  86. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/orders/models.py +0 -0
  87. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/orders/services.py +0 -0
  88. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/policy/__init__.py +0 -0
  89. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/policy/admin.py +0 -0
  90. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/policy/apps.py +0 -0
  91. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/policy/migrations/0001_initial.py +0 -0
  92. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/policy/migrations/__init__.py +0 -0
  93. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/policy/models.py +0 -0
  94. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/policy/services.py +0 -0
  95. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/portfolio/__init__.py +0 -0
  96. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/portfolio/admin.py +0 -0
  97. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/portfolio/apps.py +0 -0
  98. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/portfolio/migrations/0001_initial.py +0 -0
  99. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/portfolio/migrations/0002_brokersyncrun_portfolioledgerevent_reconciliationrun.py +0 -0
  100. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/portfolio/migrations/__init__.py +0 -0
  101. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/portfolio/models.py +0 -0
  102. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/workflows/__init__.py +0 -0
  103. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/workflows/admin.py +0 -0
  104. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/workflows/apps.py +0 -0
  105. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/workflows/migrations/0001_initial.py +0 -0
  106. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/workflows/migrations/__init__.py +0 -0
  107. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/apps/workflows/models.py +0 -0
  108. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/assets/tradingcodex-banner.svg +0 -0
  109. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/guardrails.md +0 -0
  110. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/licensing-and-commercialization.md +0 -0
  111. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/docs/safety-policy-and-execution.md +0 -0
  112. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/install.sh +0 -0
  113. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/installation.md +0 -0
  114. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/setup.cfg +0 -0
  115. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tests/test_broker_center_prd.py +0 -0
  116. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tests/test_e2e_user_scenarios.py +0 -0
  117. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex.egg-info/SOURCES.txt +0 -0
  118. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex.egg-info/dependency_links.txt +0 -0
  119. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex.egg-info/entry_points.txt +0 -0
  120. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex.egg-info/requires.txt +0 -0
  121. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex.egg-info/top_level.txt +0 -0
  122. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/__init__.py +0 -0
  123. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/__init__.py +0 -0
  124. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/bootstrap.py +0 -0
  125. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/connectors.py +0 -0
  126. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/db.py +0 -0
  127. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/decision.py +0 -0
  128. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/mcp.py +0 -0
  129. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/mode.py +0 -0
  130. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/policy.py +0 -0
  131. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/profile.py +0 -0
  132. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/skills.py +0 -0
  133. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/strategies.py +0 -0
  134. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/subagents.py +0 -0
  135. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/commands/workspaces.py +0 -0
  136. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/generator.py +0 -0
  137. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/mcp_stdio.py +0 -0
  138. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/service_autostart.py +0 -0
  139. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_cli/startup_status.py +0 -0
  140. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/__init__.py +0 -0
  141. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/admin.py +0 -0
  142. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/__init__.py +0 -0
  143. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/agents.py +0 -0
  144. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/audit.py +0 -0
  145. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/brokers.py +0 -0
  146. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/common.py +0 -0
  147. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/context_budget.py +0 -0
  148. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/markdown_preview.py +0 -0
  149. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/orders.py +0 -0
  150. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/policy.py +0 -0
  151. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/portfolio.py +0 -0
  152. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/runtime.py +0 -0
  153. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/runtime_mode.py +0 -0
  154. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/workflow_planner.py +0 -0
  155. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/application/workflow_routing.py +0 -0
  156. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/asgi.py +0 -0
  157. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/settings.py +0 -0
  158. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/static/tradingcodex_admin/favicon.svg +0 -0
  159. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/static/tradingcodex_web/app.css +0 -0
  160. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/static/tradingcodex_web/app.js +0 -0
  161. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/static/vendor/htmx/htmx.min.js +0 -0
  162. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/activity.html +0 -0
  163. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/agent_skills.html +0 -0
  164. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/agents.html +0 -0
  165. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/base.html +0 -0
  166. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/brokers.html +0 -0
  167. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/dashboard.html +0 -0
  168. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/decisions.html +0 -0
  169. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/fragments/role_inspector.html +0 -0
  170. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/fragments/starter_prompt.html +0 -0
  171. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/fragments/topology_canvas.html +0 -0
  172. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/fragments/workspace_card.html +0 -0
  173. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/harness.html +0 -0
  174. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/mcp_router.html +0 -0
  175. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/orders.html +0 -0
  176. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/policy.html +0 -0
  177. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/portfolio.html +0 -0
  178. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/research.html +0 -0
  179. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/starter_prompt.html +0 -0
  180. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/templates/web/strategies.html +0 -0
  181. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/urls.py +0 -0
  182. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/web.py +0 -0
  183. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/tradingcodex_service/wsgi.py +0 -0
  184. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/__init__.py +0 -0
  185. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/audit/files/.tradingcodex/audit/README.md +0 -0
  186. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/audit/files/trading/audit/.gitkeep +0 -0
  187. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/audit/module.json +0 -0
  188. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/files/.codex/config.toml +0 -0
  189. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/files/.codex/hooks/tradingcodex_hook.py +0 -0
  190. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/files/.codex/hooks.json +0 -0
  191. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/files/.codex/rules/tradingcodex.rules +0 -0
  192. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/files/.tradingcodex/capabilities.yaml +0 -0
  193. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/files/.tradingcodex/cli.py +0 -0
  194. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/files/.tradingcodex/config.yaml +0 -0
  195. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/policy-bindings.yaml +0 -0
  196. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/principals.yaml +0 -0
  197. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/files/.tradingcodex/policies/roles.yaml +0 -0
  198. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/files/AGENTS.md +0 -0
  199. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/files/pyproject.toml +0 -0
  200. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/files/tcx +0 -0
  201. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/codex-base/module.json +0 -0
  202. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/policies/access-policies.yaml +0 -0
  203. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/policies/restricted-list.yaml +0 -0
  204. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/approval_receipt.schema.json +0 -0
  205. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/audit_event.schema.json +0 -0
  206. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/evidence_pack.schema.json +0 -0
  207. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/execution_result.schema.json +0 -0
  208. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/fundamental_report.schema.json +0 -0
  209. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/news_report.schema.json +0 -0
  210. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/order_ticket.schema.json +0 -0
  211. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/portfolio_review.schema.json +0 -0
  212. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/postmortem_report.schema.json +0 -0
  213. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/risk_report.schema.json +0 -0
  214. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/technical_report.schema.json +0 -0
  215. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/thesis.schema.json +0 -0
  216. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/valuation.schema.json +0 -0
  217. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/enforcement-guardrails/module.json +0 -0
  218. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/fixed-subagents/files/.codex/agents/execution-operator.toml +0 -0
  219. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/fixed-subagents/files/.codex/agents/fundamental-analyst.toml +0 -0
  220. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/fixed-subagents/files/.codex/agents/instrument-analyst.toml +0 -0
  221. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/fixed-subagents/files/.codex/agents/judgment-reviewer.toml +0 -0
  222. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/fixed-subagents/files/.codex/agents/macro-analyst.toml +0 -0
  223. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/fixed-subagents/files/.codex/agents/news-analyst.toml +0 -0
  224. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/fixed-subagents/files/.codex/agents/portfolio-manager.toml +0 -0
  225. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/fixed-subagents/files/.codex/agents/risk-manager.toml +0 -0
  226. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/fixed-subagents/files/.codex/agents/technical-analyst.toml +0 -0
  227. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/fixed-subagents/files/.codex/agents/valuation-analyst.toml +0 -0
  228. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/fixed-subagents/files/.tradingcodex/mainagent/skill-change-proposals/.gitkeep +0 -0
  229. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/fixed-subagents/module.json +0 -0
  230. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/guidance-guardrails/files/.tradingcodex/guidance/guardrails.md +0 -0
  231. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/guidance-guardrails/files/.tradingcodex/guidance/task-quality-checklist.md +0 -0
  232. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/guidance-guardrails/module.json +0 -0
  233. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/.tradingcodex/policies/information-barriers.yaml +0 -0
  234. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/.tradingcodex/secrets.md +0 -0
  235. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/approvals/.gitkeep +0 -0
  236. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/forecasts/.gitkeep +0 -0
  237. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/market-data/.gitkeep +0 -0
  238. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/orders/approved/.gitkeep +0 -0
  239. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/orders/draft/.gitkeep +0 -0
  240. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/orders/executed/.gitkeep +0 -0
  241. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/orders/rejected/.gitkeep +0 -0
  242. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/portfolio/.gitkeep +0 -0
  243. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/reports/fundamental/.gitkeep +0 -0
  244. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/reports/instrument/.gitkeep +0 -0
  245. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/reports/macro/.gitkeep +0 -0
  246. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/reports/news/.gitkeep +0 -0
  247. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/reports/policy/.gitkeep +0 -0
  248. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/reports/portfolio/.gitkeep +0 -0
  249. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/reports/postmortem/.gitkeep +0 -0
  250. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/reports/risk/.gitkeep +0 -0
  251. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/reports/technical/.gitkeep +0 -0
  252. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/reports/valuation/.gitkeep +0 -0
  253. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/files/trading/research/.gitkeep +0 -0
  254. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/information-barriers/module.json +0 -0
  255. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/paper-trading/module.json +0 -0
  256. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/postmortem/files/.tradingcodex/workflows/postmortem.yaml +0 -0
  257. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/postmortem/module.json +0 -0
  258. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/automate-workflow/SKILL.md +0 -0
  259. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/automate-workflow/agents/openai.yaml +0 -0
  260. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/plan-workflow/SKILL.md +0 -0
  261. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/plan-workflow/agents/openai.yaml +0 -0
  262. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/postmortem/agents/openai.yaml +0 -0
  263. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/strategy-creator/SKILL.md +0 -0
  264. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/strategy-creator/agents/openai.yaml +0 -0
  265. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-build/SKILL.md +0 -0
  266. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-build/agents/openai.yaml +0 -0
  267. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-server/SKILL.md +0 -0
  268. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-server/agents/openai.yaml +0 -0
  269. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/agents/openai.yaml +0 -0
  270. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/references/decision-quality-spine.md +0 -0
  271. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/execution-operator/execute-paper-order/SKILL.md +0 -0
  272. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/execution-operator/execute-paper-order/agents/openai.yaml +0 -0
  273. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/fundamental-analyst/fundamental-analysis/agents/openai.yaml +0 -0
  274. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/instrument-analyst/instrument-analysis/SKILL.md +0 -0
  275. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/instrument-analyst/instrument-analysis/agents/openai.yaml +0 -0
  276. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/judgment-reviewer/agent-judgment-review/SKILL.md +0 -0
  277. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/judgment-reviewer/agent-judgment-review/agents/openai.yaml +0 -0
  278. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/macro-analyst/macro-analysis/SKILL.md +0 -0
  279. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/macro-analyst/macro-analysis/agents/openai.yaml +0 -0
  280. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/news-analyst/news-analysis/SKILL.md +0 -0
  281. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/news-analyst/news-analysis/agents/openai.yaml +0 -0
  282. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/create-order-ticket/SKILL.md +0 -0
  283. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/create-order-ticket/agents/openai.yaml +0 -0
  284. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/portfolio-review/agents/openai.yaml +0 -0
  285. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/approve-order/SKILL.md +0 -0
  286. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/approve-order/agents/openai.yaml +0 -0
  287. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/policy-review/SKILL.md +0 -0
  288. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/policy-review/agents/openai.yaml +0 -0
  289. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/review-risk/agents/openai.yaml +0 -0
  290. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/anti-overfit-validation/SKILL.md +0 -0
  291. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/anti-overfit-validation/agents/openai.yaml +0 -0
  292. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/collect-evidence/SKILL.md +0 -0
  293. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/collect-evidence/agents/openai.yaml +0 -0
  294. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/external-data-source-gate/SKILL.md +0 -0
  295. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/external-data-source-gate/agents/openai.yaml +0 -0
  296. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/forecasting-discipline/SKILL.md +0 -0
  297. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/forecasting-discipline/agents/openai.yaml +0 -0
  298. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/numeric-data-qc/SKILL.md +0 -0
  299. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/numeric-data-qc/agents/openai.yaml +0 -0
  300. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/thesis-scenario-tree/SKILL.md +0 -0
  301. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/thesis-scenario-tree/agents/openai.yaml +0 -0
  302. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/technical-analyst/technical-analysis/SKILL.md +0 -0
  303. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/technical-analyst/technical-analysis/agents/openai.yaml +0 -0
  304. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/valuation-analyst/valuation-review/agents/openai.yaml +0 -0
  305. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/repo-skills/module.json +0 -0
  306. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/stub-execution/module.json +0 -0
  307. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/enforcer/README.md +0 -0
  308. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/gateway/README.md +0 -0
  309. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/server.py +0 -0
  310. {tradingcodex-0.3.0 → tradingcodex-0.3.2}/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.3.0
3
+ Version: 0.3.2
4
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
@@ -62,7 +62,7 @@ research, thesis review, portfolio/risk handoffs, and service-gated execution
62
62
  checks. Codex coordinates the work, specialist agents own bounded judgments,
63
63
  and TradingCodex keeps execution behind explicit service gates.
64
64
 
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)
65
+ [User-Facing Skills](#user-facing-skills) | [Quick Start](#installation) | [Architecture](#architecture) | [Docs](docs/README.md) | [Safety](docs/safety-policy-and-execution.md) | [Contributing](CONTRIBUTING.md) | [License](LICENSE)
66
66
 
67
67
  <p align="center">
68
68
  <img src="assets/tradingcodex-banner.svg" alt="TradingCodex" width="100%">
@@ -83,17 +83,23 @@ comes only from installed, reviewed providers and explicit live gates.
83
83
 
84
84
  ---
85
85
 
86
- ## Start With These Skills
86
+ ## User-Facing Skills
87
87
 
88
- TradingCodex is easiest to use by choosing the right user-facing entry skill:
88
+ TradingCodex is easiest to use by choosing the right user-facing skill:
89
89
 
90
- | Start skill | Use when | Stops before |
90
+ | Primary skill | Use when | Stops before |
91
91
  | --- | --- | --- |
92
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
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
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
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
96
 
97
+ | Supporting skill | Use when | Main output |
98
+ | --- | --- | --- |
99
+ | `plan-workflow` | You want an explicit workflow plan before role dispatch or implementation. | Bounded plan with selected stages, roles, gates, and waiting/revise/blocked posture. |
100
+ | `automate-workflow` | You want to define a repeatable workflow automation without executing trades. | Automation recipe, trigger scope, guardrails, and review requirements. |
101
+ | `postmortem` | A workflow, decision, artifact, or execution/process step needs review after the fact. | Failure analysis, missed assumptions, source-quality lessons, and future warning patterns. |
102
+
97
103
  Most investment prompts enter through natural language, then the hook writes
98
104
  compact intake and `head-manager` uses `tcx-workflow` to draft, validate, and
99
105
  record the staged plan before dispatch. See
@@ -176,17 +182,17 @@ workflow has earned. Weak, stale, missing, or out-of-scope upstream work returns
176
182
  ## Architecture
177
183
 
178
184
  ```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"]
185
+ flowchart LR
186
+ user([User prompt]) --> manager[Head manager]
187
+ manager --> agents[Fixed role agents]
188
+ agents --> artifacts[Accepted artifacts]
189
+ artifacts --> reviewer[Judgment reviewer]
190
+ reviewer --> decision[Decision Package]
191
+ decision --> service[Django service plane]
192
+ service --> gates[Policy approval audit gates]
193
+ gates --> execution[Paper execution or gated live provider]
194
+ service --> surfaces[Web Admin API MCP CLI]
195
+ service --> memory[File native research memory]
190
196
  ```
191
197
 
192
198
  The architecture is intentionally small: Codex owns coordination and role
@@ -223,7 +229,7 @@ provide investment recommendations or guarantee returns.
223
229
  | Status | Milestone |
224
230
  | --- | --- |
225
231
  | Shipped | Generated Codex workspace, fixed role roster, project MCP config, Django service plane, local web dashboard, Admin, Ninja API, file-native research memory, component registry, policy/audit primitives. |
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. |
232
+ | Current `0.3.2` | Brief research chat replies with saved head-manager synthesis reports, Codex-native Decision Packages, independent judgment-review gate, staged workflow planning, artifact-supervisor loop closure state, Evidence Run/Validation Cards, provider capability profiles, and Python `>=3.11,<3.15` support. |
227
233
  | Next | Deeper validation scenarios, richer provider capability profiles, stronger generated-workspace smoke coverage, and improved artifact quality tooling. |
228
234
  | Future | Separately governed verified adapters, hosted/managed services, enterprise policy/compliance packs, and broker-specific live providers only after explicit product, policy, adapter, and validation work. |
229
235
 
@@ -239,7 +245,7 @@ validation, and release policy.
239
245
  | --- | --- |
240
246
  | [Installation](installation.md) | Setup, update, GitHub-main install, MCP/service startup, and smoke checks. |
241
247
  | [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. |
248
+ | [User-facing skills](docs/user-facing-skills.md) | Which primary or supporting skill fits each user workflow and what each must not do. |
243
249
  | [Core concepts and rules](docs/core-concepts-and-rules.md) | Fast operating reference for planes, guardrails, roles, execution lifecycle, and research memory. |
244
250
  | [Product direction](docs/product-direction.md) | Product thesis, target user posture, goals, non-goals, runtime defaults, and scope. |
245
251
  | [Workspace orchestration model](docs/harness.md) | Top-level workflow model, components, guardrails, improvement, and naming rules. |
@@ -31,7 +31,7 @@ research, thesis review, portfolio/risk handoffs, and service-gated execution
31
31
  checks. Codex coordinates the work, specialist agents own bounded judgments,
32
32
  and TradingCodex keeps execution behind explicit service gates.
33
33
 
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)
34
+ [User-Facing Skills](#user-facing-skills) | [Quick Start](#installation) | [Architecture](#architecture) | [Docs](docs/README.md) | [Safety](docs/safety-policy-and-execution.md) | [Contributing](CONTRIBUTING.md) | [License](LICENSE)
35
35
 
36
36
  <p align="center">
37
37
  <img src="assets/tradingcodex-banner.svg" alt="TradingCodex" width="100%">
@@ -52,17 +52,23 @@ comes only from installed, reviewed providers and explicit live gates.
52
52
 
53
53
  ---
54
54
 
55
- ## Start With These Skills
55
+ ## User-Facing Skills
56
56
 
57
- TradingCodex is easiest to use by choosing the right user-facing entry skill:
57
+ TradingCodex is easiest to use by choosing the right user-facing skill:
58
58
 
59
- | Start skill | Use when | Stops before |
59
+ | Primary skill | Use when | Stops before |
60
60
  | --- | --- | --- |
61
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
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
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
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
65
 
66
+ | Supporting skill | Use when | Main output |
67
+ | --- | --- | --- |
68
+ | `plan-workflow` | You want an explicit workflow plan before role dispatch or implementation. | Bounded plan with selected stages, roles, gates, and waiting/revise/blocked posture. |
69
+ | `automate-workflow` | You want to define a repeatable workflow automation without executing trades. | Automation recipe, trigger scope, guardrails, and review requirements. |
70
+ | `postmortem` | A workflow, decision, artifact, or execution/process step needs review after the fact. | Failure analysis, missed assumptions, source-quality lessons, and future warning patterns. |
71
+
66
72
  Most investment prompts enter through natural language, then the hook writes
67
73
  compact intake and `head-manager` uses `tcx-workflow` to draft, validate, and
68
74
  record the staged plan before dispatch. See
@@ -145,17 +151,17 @@ workflow has earned. Weak, stale, missing, or out-of-scope upstream work returns
145
151
  ## Architecture
146
152
 
147
153
  ```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"]
154
+ flowchart LR
155
+ user([User prompt]) --> manager[Head manager]
156
+ manager --> agents[Fixed role agents]
157
+ agents --> artifacts[Accepted artifacts]
158
+ artifacts --> reviewer[Judgment reviewer]
159
+ reviewer --> decision[Decision Package]
160
+ decision --> service[Django service plane]
161
+ service --> gates[Policy approval audit gates]
162
+ gates --> execution[Paper execution or gated live provider]
163
+ service --> surfaces[Web Admin API MCP CLI]
164
+ service --> memory[File native research memory]
159
165
  ```
160
166
 
161
167
  The architecture is intentionally small: Codex owns coordination and role
@@ -192,7 +198,7 @@ provide investment recommendations or guarantee returns.
192
198
  | Status | Milestone |
193
199
  | --- | --- |
194
200
  | Shipped | Generated Codex workspace, fixed role roster, project MCP config, Django service plane, local web dashboard, Admin, Ninja API, file-native research memory, component registry, policy/audit primitives. |
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. |
201
+ | Current `0.3.2` | Brief research chat replies with saved head-manager synthesis reports, Codex-native Decision Packages, independent judgment-review gate, staged workflow planning, artifact-supervisor loop closure state, Evidence Run/Validation Cards, provider capability profiles, and Python `>=3.11,<3.15` support. |
196
202
  | Next | Deeper validation scenarios, richer provider capability profiles, stronger generated-workspace smoke coverage, and improved artifact quality tooling. |
197
203
  | Future | Separately governed verified adapters, hosted/managed services, enterprise policy/compliance packs, and broker-specific live providers only after explicit product, policy, adapter, and validation work. |
198
204
 
@@ -208,7 +214,7 @@ validation, and release policy.
208
214
  | --- | --- |
209
215
  | [Installation](installation.md) | Setup, update, GitHub-main install, MCP/service startup, and smoke checks. |
210
216
  | [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. |
217
+ | [User-facing skills](docs/user-facing-skills.md) | Which primary or supporting skill fits each user workflow and what each must not do. |
212
218
  | [Core concepts and rules](docs/core-concepts-and-rules.md) | Fast operating reference for planes, guardrails, roles, execution lifecycle, and research memory. |
213
219
  | [Product direction](docs/product-direction.md) | Product thesis, target user posture, goals, non-goals, runtime defaults, and scope. |
214
220
  | [Workspace orchestration model](docs/harness.md) | Top-level workflow model, components, guardrails, improvement, and naming rules. |
@@ -42,7 +42,7 @@ If these layers disagree, treat `docs/` as the durable product intent and fix th
42
42
 
43
43
  | Document | Owns |
44
44
  | --- | --- |
45
- | [user-facing-skills.md](./user-facing-skills.md) | User-facing entry skills, routing posture, and non-entrypoint skill boundaries. |
45
+ | [user-facing-skills.md](./user-facing-skills.md) | User-facing primary and supporting skills, routing posture, and role-owned skill boundaries. |
46
46
  | [roles-skills-and-workflows.md](./roles-skills-and-workflows.md) | Fixed role roster, no-overlap role contract, head-manager dispatch gate, skills, strategy skills, subagent isolation, workflow routing, and module graph. |
47
47
  | [research-memory-and-artifacts.md](./research-memory-and-artifacts.md) | File-native research memory, source snapshots, artifact paths, readiness labels, report quality floor, forecast ledger posture, and handoff metadata. |
48
48
  | [financial-workflow-references.md](./financial-workflow-references.md) | Research-backed finance workflow principles and non-expert UX requirements for workflow intake and handoffs. |
@@ -54,7 +54,7 @@ If these layers disagree, treat `docs/` as the durable product intent and fix th
54
54
  | --- | --- |
55
55
  | [guardrails.md](./guardrails.md) | Guardrail taxonomy: guidance, enforcement, and information barriers. |
56
56
  | [safety-policy-and-execution.md](./safety-policy-and-execution.md) | Permission checks, approval rules, execution lifecycle, adapter boundary, external MCP gate, blocked actions, and secret handling. |
57
- | [improvement-loop.md](./improvement-loop.md) | Workflow quality, research memory, skill evolution, postmortems, validation feedback, and quality-learning loops. |
57
+ | [improvement-loop.md](./improvement-loop.md) | Workflow quality, research memory, improve records, skill evolution, postmortem review, validation feedback, and quality-learning loops. |
58
58
 
59
59
  ## Implementation And Operations Documents
60
60
 
@@ -40,6 +40,9 @@ context discipline, approval gates, execution boundaries, and user scope.
40
40
  escalation-only sets.
41
41
  - Extend research artifact metadata with explicit follow-up requests, trigger
42
42
  types, materiality, suggested consent posture, and loop provenance.
43
+ - Let artifacts preserve `improvements` so repeated investment judgment
44
+ findings can feed `improve` review and later workflows instead of hidden
45
+ prompt drift.
43
46
  - Store loop state as file-native workspace state for Codex inspection,
44
47
  context-budget audit, product web preview, concurrent Codex app threads, and
45
48
  postmortems.
@@ -370,6 +373,7 @@ Canonical run-state shape:
370
373
  "completed_artifacts": [],
371
374
  "loop_decisions": [],
372
375
  "escalation_proposals": [],
376
+ "improvements": [],
373
377
  "blocked_actions": [],
374
378
  "stop_reason": ""
375
379
  }
@@ -413,6 +417,8 @@ Update these surfaces together:
413
417
  - Product web
414
418
  - preview loop state, follow-up requests, escalation proposals, and blocked
415
419
  actions without spawning agents, approving orders, or executing orders.
420
+ - show improve records as analysis-memory review items without applying
421
+ skill, policy, prompt, validation, approval, broker, or execution changes.
416
422
  - first release escalation proposals are read-only; escalation approval stays
417
423
  Codex-prompt or CLI driven with explicit user wording captured in audit.
418
424
 
@@ -37,10 +37,10 @@ paths clear.
37
37
  | --- | --- | --- |
38
38
  | `investment-request-routing` | Classifies user intent and activates fixed-role workflows. | `guardrail.guidance`, `improvement.workflow_quality` |
39
39
  | `fixed-role-dispatch` | Maintains head-manager, fixed subagent routing, and no-overlap handoff boundaries. | `guardrail.guidance`, `guardrail.information_barrier`, `improvement.workflow_quality` |
40
- | `research-memory` | Stores source-aware research artifacts, versions, snapshots, and exports. | `improvement.research_memory` |
40
+ | `research-memory` | Stores source-aware research artifacts, versions, snapshots, Evidence Run Cards, Validation Cards, and exports. | `improvement.research_memory` |
41
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, 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` |
43
+ | `artifact-quality-contract` | Evaluates workspace artifacts, Evidence Run Cards, Validation Cards, source snapshots, and forecast ledgers for source/as-of posture, source trust, data-boundary warnings, claim tags, handoff state, confidence, missing evidence, judgment-review fields, and next-recipient routing metadata. | `guardrail.guidance`, `improvement.workflow_quality`, `improvement.research_memory` |
44
44
  | `context-efficiency-contract` | Keeps workflows bounded through compact briefs, artifact references, context summaries, source snapshot IDs, targeted full-artifact reads, and `subagents context-audit` validation. | `guardrail.guidance`, `guardrail.information_barrier`, `improvement.workflow_quality`, `improvement.context_efficiency` |
45
45
  | `responsibility-boundary-contract` | Separates durable role identity, tool permissions, skill procedures, artifact contracts, and projection ownership so changes stay local. | `guardrail.guidance`, `guardrail.information_barrier`, `improvement.workflow_quality`, `improvement.skill_evolution` |
46
46
  | `external-data-source-gate` | Keeps external evidence read-only and source-aware. | `guardrail.guidance`, `improvement.workflow_quality` |
@@ -52,7 +52,7 @@ paths clear.
52
52
  | `execution-boundary` | Keeps execution behind role action allowlists, approval, duplicate-request, connection, and audit checks. | `guardrail.enforcement`, `guardrail.information_barrier` |
53
53
  | `audit-ledger` | Records policy, MCP, order, approval, execution, and hook events. | `guardrail.enforcement`, `improvement.validation_feedback` |
54
54
  | `skill-improvement-loop` | Keeps core skills, strategy skills, and role-local optional skill files visible through validation, generated manifests, and read-only status. | `improvement.skill_evolution`, `guardrail.guidance` |
55
- | `postmortem-loop` | Turns rejected orders, process failures, thesis changes, artifact-loop blocks/escalations, and executions into improvements. | `improvement.postmortems`, `improvement.validation_feedback` |
55
+ | `postmortem-loop` | Turns rejected orders, process failures, thesis changes, artifact-loop blocks/escalations, and executions into improve records for later judgment review. | `improvement.postmortems`, `improvement.validation_feedback` |
56
56
  | `paper-execution` | Provides experimental local paper and validation-only execution paths behind the approved action boundary. | `guardrail.enforcement` |
57
57
 
58
58
  ## Runtime Surfaces
@@ -96,6 +96,9 @@ subagents. Detailed responsibilities live in
96
96
  Handoff states are `accepted`, `revise`, `blocked`, or `waiting`. Only accepted
97
97
  artifacts move downstream. `head-manager` may synthesize accepted outputs and
98
98
  conflicts, but must not repair missing specialist work with direct analysis.
99
+ When synthesis is allowed, the full user-facing synthesis should be saved as a
100
+ workspace Markdown report; the chat reply should stay brief and point to that
101
+ report.
99
102
 
100
103
  ## Execution Lifecycle Snapshot
101
104
 
@@ -88,7 +88,8 @@ cd /tmp/tcx-smoke
88
88
 
89
89
  ## CI/CD
90
90
 
91
- CI is defined in `.github/workflows/ci.yml`.
91
+ CI is defined in `.github/workflows/ci.yml` and appears as
92
+ `CI (no deploy)` in GitHub Actions.
92
93
 
93
94
  It runs on pull requests and pushes to `main` or `develop`:
94
95
 
@@ -97,10 +98,14 @@ It runs on pull requests and pushes to `main` or `develop`:
97
98
  - runs `python manage.py check`
98
99
  - checks that migrations are current
99
100
  - compiles Python sources
100
- - builds the package
101
+ - builds the package for validation only
101
102
  - validates distribution metadata with `twine check`
102
103
 
103
- Release automation is defined in `.github/workflows/release.yml`.
104
+ The CI workflow never uploads to TestPyPI or PyPI. Pushes to `main` or
105
+ `develop` run tests and packaging checks only.
106
+
107
+ Release automation is defined in `.github/workflows/release.yml` and appears as
108
+ `Manual Release` in GitHub Actions.
104
109
 
105
110
  The release workflow is manual-only. Branch pushes and tag pushes must not
106
111
  publish package artifacts to TestPyPI or PyPI.
@@ -134,7 +139,7 @@ Product flows create, check, approve, and submit `OrderTicket` records directly.
134
139
  Use TestPyPI before the first public PyPI release and after packaging changes.
135
140
 
136
141
  1. Confirm the local build verification steps pass.
137
- 2. Run the `Release` workflow manually with `publish_testpypi=true`.
142
+ 2. Run the `Manual Release` workflow manually with `publish_testpypi=true`.
138
143
  3. Install from TestPyPI in a clean environment.
139
144
 
140
145
  Example:
@@ -144,7 +149,7 @@ python3.11 -m venv /tmp/tcx-testpypi
144
149
  /tmp/tcx-testpypi/bin/pip install \
145
150
  --index-url https://test.pypi.org/simple/ \
146
151
  --extra-index-url https://pypi.org/simple/ \
147
- tradingcodex==0.3.0
152
+ tradingcodex==0.3.2
148
153
  rm -rf /tmp/tcx-testpypi-smoke
149
154
  mkdir -p /tmp/tcx-testpypi-smoke
150
155
  cd /tmp/tcx-testpypi-smoke
@@ -165,15 +170,15 @@ Before pushing the release tag:
165
170
  - run local build verification
166
171
  - run a TestPyPI release when packaging changed
167
172
 
168
- Then create or update the GitHub release/tag as needed, and run the `Release`
169
- workflow manually with `publish_pypi=true`. Do not rely on tag push for
173
+ Then create or update the GitHub release/tag as needed, and run the
174
+ `Manual Release` workflow manually with `publish_pypi=true`. Do not rely on tag push for
170
175
  publication; tag pushes are intentionally non-publishing.
171
176
 
172
177
  After the PyPI workflow completes:
173
178
 
174
179
  ```bash
175
180
  python3.11 -m venv /tmp/tcx-pypi
176
- /tmp/tcx-pypi/bin/pip install tradingcodex==0.3.0
181
+ /tmp/tcx-pypi/bin/pip install tradingcodex==0.3.2
177
182
  rm -rf /tmp/tcx-pypi-smoke
178
183
  mkdir -p /tmp/tcx-pypi-smoke
179
184
  cd /tmp/tcx-pypi-smoke
@@ -270,7 +275,11 @@ Use PEP 440 versions:
270
275
  - `0.3.0` for the independent judgment-review gate, staged workflow routing
271
276
  cleanup, Decision Quality Spine hardening, and source-aware thesis lifecycle
272
277
  updates after `0.2.10`
273
- - later patch releases for compatible fixes after `0.3.0`
278
+ - `0.3.1` for compatible evidence-card validation and persisted loop closure
279
+ state fixes after `0.3.0`
280
+ - `0.3.2` for brief research chat replies with saved head-manager synthesis
281
+ reports after `0.3.1`
282
+ - later patch releases for compatible fixes after `0.3.2`
274
283
  - pre-releases such as `0.4.0a1`, `0.4.0b1`, or `0.4.0rc1` when preparing
275
284
  the next minor contract
276
285
 
@@ -24,7 +24,7 @@ drafting, approval, or execution.
24
24
  | Strategic allocation depends on horizon and risk tolerance | Long-horizon workflows should treat time horizon and loss capacity as required context, not afterthoughts. | Campbell and Viceira (2002) |
25
25
  | Investment policy is objectives plus constraints | Portfolio workflows should frame recommendations against return/risk objectives, liquidity, time horizon, tax, legal/regulatory, and unique constraints. | CFA Institute investment policy statement guidance |
26
26
  | Planning is a process, not a one-shot answer | Beginner-facing UX should show workflow stage, next evidence needed, and blocked actions before presenting outputs as advice. | CFP Board financial planning process |
27
- | Each workflow should make later workflows easier | Role artifacts should preserve reusable context summaries, reader summaries, source snapshots, missing-evidence notes, and improvement proposals instead of making future agents rediscover the same gaps. | Every compound engineering guide; Will Larson commentary |
27
+ | Each workflow should make later workflows easier | Role artifacts should preserve reusable context summaries, reader summaries, source snapshots, missing-evidence notes, and improve records instead of making future agents rediscover the same gaps. | Every compound engineering guide; Will Larson commentary |
28
28
  | Agentic work should be a bounded loop, not open-ended autonomy | TradingCodex workflows may repeat evidence gathering, artifact verification, synthesis, and memory capture, but every lane must expose stop conditions and blocked actions. | Recent loop-engineering practice across Codex, Claude Code, OpenClaw, and memory-layer frameworks |
29
29
  | Loop reliability depends on the verifier | Every workflow lane should name what gets checked after each pass: artifact quality, source freshness, profile gaps, and blocked actions. Failed checks return `revise`, `blocked`, or `waiting` rather than widening the lane. | Addy Osmani loop-engineering framing; recent verifier/budget loop guidance |
30
30
  | Financial agent teams need explicit opposition | Decision-support synthesis should test the favorable case against a bearish or skeptical case, stale data, missing profile context, policy conflicts, and selected-strategy conflicts before naming a decision state. | TradingAgents bull/bear researcher debate; risk management team |
@@ -46,7 +46,13 @@ drafting, approval, or execution.
46
46
  | [IOSCO AI/ML report for market intermediaries and asset managers](https://www.iosco.org/library/pubdocs/pdf/IOSCOPD684.pdf) | AI-assisted capital-markets features need governance, testing, monitoring, data-quality controls, explainability, and outsourcing/third-party oversight posture. |
47
47
  | [SEC Plain English Handbook](https://www.sec.gov/pdf/handbook.pdf) | User-facing screens should start with plain-English workflow meaning before professional evidence, assumptions, caveats, and artifacts. |
48
48
  | [Every, "Compound Engineering"](https://every.to/guides/compound-engineering) | Engineering work should teach the system reusable capabilities; TradingCodex applies this by making role outputs preserve compact context, reader summaries, source posture, and missing-evidence notes for future workflows. |
49
- | [Will Larson, "Learning from Every's Compound Engineering"](https://lethain.com/everyinc-compound-engineering/) | The useful pattern is separating research/planning, work, review, and compounding lessons; TradingCodex mirrors that with starter intake, role artifacts, quality checks, and improvement proposals. |
49
+ | [Will Larson, "Learning from Every's Compound Engineering"](https://lethain.com/everyinc-compound-engineering/) | The useful pattern is separating research/planning, work, review, and compounding memory; TradingCodex mirrors that with starter intake, role artifacts, quality checks, postmortem review, and improve records. |
50
+ | [Hermes Agent documentation](https://hermes-agent.nousresearch.com/docs/) and [Hermes skills system](https://hermes-agent.nousresearch.com/docs/user-guide/features/skills) | Self-improvement should be procedural and user/profile-owned: durable memory and skills live outside the package update path, load on demand, and improve through explicit writable artifacts rather than hidden model-weight changes. TradingCodex adapts this as workspace-owned improve records and indexes. |
51
+ | [Hermes Honcho memory docs](https://hermes-agent.nousresearch.com/docs/user-guide/features/honcho) | Long-term personalization works best as a bounded context layer with cadence, budget, and profile/session isolation. TradingCodex keeps improve memory workspace-scoped, compact, and read-only for future judgment until explicit maintenance applies changes. |
52
+ | [Reflexion: Language Agents with Verbal Reinforcement Learning](https://arxiv.org/abs/2303.11366) | Language feedback can improve future trials without model fine-tuning. TradingCodex stores reflective improve records as reviewable investment-judgment memory, not automatic policy or prompt mutation. |
53
+ | [Self-Refine: Iterative Refinement with Self-Feedback](https://arxiv.org/abs/2303.17651) | Iterative feedback/refinement can improve outputs at test time. TradingCodex maps this to artifact revision, waiting, blocked, and accepted handoff states. |
54
+ | [Voyager](https://arxiv.org/abs/2305.16291) and [MemGPT](https://arxiv.org/abs/2310.08560) | Skill libraries and hierarchical memory show why compact retrieval layers matter. TradingCodex keeps raw improve history append-only and uses `improve-index.json` for marginal reuse. |
55
+ | [A-MEM: Agentic Memory for LLM Agents](https://arxiv.org/abs/2502.12110) and [GEPA](https://arxiv.org/html/2507.19457v1) | Dynamic indexing/linking and trace-driven reflection inform the improve index shape, but TradingCodex stops short of autonomous prompt evolution because finance workflows need explicit audit and approval boundaries. |
50
56
  | [Addy Osmani, "Loop Engineering"](https://addyosmani.com/blog/loop-engineering/) | A useful agentic loop combines automations, isolated workspaces, skills, connectors, subagents, and durable external memory; TradingCodex maps these to workflow intake, fixed subagents, MCP/service boundaries, artifacts, and generated workspace state. |
51
57
  | [Business Insider, "Forget prompt engineering: Loop engineering is all the rage now"](https://www.businessinsider.com/what-are-loops-ai-engineering-tips-2026-6) | Current loop-engineering discourse emphasizes designing recurring systems that prompt agents, with cost and oversight tradeoffs; TradingCodex exposes loop controls and token/context budgets rather than unlimited autonomy. |
52
58
  | [Anthropic Claude Code skills docs](https://docs.anthropic.com/en/docs/claude-code/skills) | Recent agent tooling exposes loops through reusable skills, bundled `/loop`, subagent execution, and dynamic context; TradingCodex mirrors the reusable-skill and fixed-subagent pattern without depending on Claude Code. |
@@ -91,7 +97,7 @@ or execute trades. It should:
91
97
  - instruct agents to write plain-English first, then professional evidence,
92
98
  assumptions, and caveats
93
99
  - instruct agents to preserve reusable context, source snapshots, missing
94
- evidence, tests, or improvement proposals when a lesson should compound into
100
+ evidence, tests, or improve records when a finding should compound into
95
101
  future workflows
96
102
 
97
103
  Loop engineering applies only inside the workflow boundary selected at intake.
@@ -101,7 +101,7 @@ Generated workspaces contain:
101
101
  - an immutable workspace manifest at `.tradingcodex/workspace.json`
102
102
  - root `head-manager` identity loaded from `.codex/prompts/base_instructions/head-manager.md` through `.codex/config.toml` `model_instructions_file`
103
103
  - sectioned Markdown base-instruction format for `head-manager`, including `# How you work`, TradingCodex guardrails, and tool guidelines
104
- - Codex-style operating style in the root `head-manager` prompt: scoped `AGENTS.md` handling, concise preambles, selective planning, `rg`-first search, `apply_patch` edits, focused validation, dirty-worktree respect, and concise final handoffs
104
+ - Codex-style operating style in the root `head-manager` prompt: scoped `AGENTS.md` handling, concise preambles, selective planning, `rg`-first search, `apply_patch` edits, focused validation, dirty-worktree respect, concise maintenance handoffs, and brief chat replies that point to saved head-manager synthesis reports once accepted artifacts exist
105
105
  - instruction/skill separation: root `head-manager` instructions own identity, durable safety boundaries, fail-closed dispatch, role boundaries, skill routing, optional-skill management, and approved action boundaries; fixed subagent TOML files own standing role identity, MCP/tool config, artifact walls, and always-on prohibitions; repo skills are dependency-light capability procedures for workflow maps, compact assignment-envelope templates, optional skill file management, quality gates, synthesis, and postmortems, without declaring role ownership or direct inter-skill call chains
106
106
  - 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
107
107
  - validated staged workflow plan: hook intake hints are not binding; `$tcx-workflow`
@@ -144,6 +144,12 @@ Generated workspaces contain:
144
144
  validated stages, selected team, allowed follow-up team, loop policy, pending
145
145
  tasks, planner decisions, escalation proposals, blocked actions, and stop reason
146
146
  without spawning subagents recursively
147
+ - `improve` ledger records under `.tradingcodex/mainagent/improve.jsonl`,
148
+ plus incremental summaries and dedupe state in
149
+ `.tradingcodex/mainagent/improve-index.json`, fed by artifact
150
+ `improvements`, postmortem review, and selected loop feedback; these records
151
+ are reusable investment-judgment context and never apply prompt, skill,
152
+ policy, MCP, broker, approval, or execution changes
147
153
  - Codex session/thread routing map:
148
154
  `.tradingcodex/mainagent/session-workflow-runs.json` maps a Codex app session
149
155
  key to the active `workflow_run_id`, so two app threads in one attached
@@ -48,7 +48,7 @@ TradingCodex Harness
48
48
  | State | Keep execution-sensitive runtime state in the central Django DB, while Codex-native agent, skill, and research handoff state is workspace-file state. |
49
49
  | Interfaces | Expose Web, Admin, REST, CLI, and MCP as service-layer callers. |
50
50
  | Guardrails | Reduce, restrict, or block risky actions through guidance, enforcement, and information barriers. |
51
- | Improvement | Raise workflow quality through no-overlap handoff contracts, quality gates, artifact readiness, research memory, postmortems, and test feedback. |
51
+ | Improvement | Raise workflow quality through no-overlap handoff contracts, quality gates, artifact readiness, research memory, improve records, postmortem review, and test feedback. |
52
52
  | Approved action boundary | Keep executable actions behind policy, approval, duplicate-request, connection, and audit checks. |
53
53
  | Decision packages | Keep investment ideas Codex-native by packaging workflow plans, artifact paths, source trust notes, thesis lifecycle state, profile gaps, blocked actions, and next allowed actions as workspace markdown. Non-investment workflow packages such as connector build or strategy authoring use workflow lifecycle state instead of thesis lifecycle or portfolio/risk language. |
54
54
  | Provenance | Record which workspace and role produced or requested work without making workspaces separate ledgers. |
@@ -89,7 +89,8 @@ They are tags and review lenses applied to components.
89
89
  - Information barriers limit role knowledge, file access, secrets, and tool surfaces.
90
90
 
91
91
  Guardrails never replace the need for improvement. A blocked action can still
92
- leave behind a useful postmortem, skill proposal, or validation scenario.
92
+ leave behind a useful improve record, postmortem review, skill proposal, or
93
+ validation scenario.
93
94
 
94
95
  ## Improvement Under Harness
95
96
 
@@ -98,6 +99,9 @@ It is a tag and review lens applied to components.
98
99
 
99
100
  - Workflow maps route work to the right role team.
100
101
  - Quality gates define evidence, source/as-of posture, claim discipline, handoff acceptance, and readiness.
102
+ - Improve records preserve reusable analysis memory from artifacts,
103
+ postmortem review, and loop feedback without changing prompts, skills, policy,
104
+ broker, approval, or execution authority.
101
105
  - Handoff contracts keep downstream roles from filling missing upstream work outside their owned question.
102
106
  - Research memory preserves workspace markdown artifacts, versions, source posture, and source snapshots.
103
107
  - Skill proposals let the harness evolve without hidden prompt drift.
@@ -154,5 +158,5 @@ file internals belong in collapsed diagnostics unless the user opens them.
154
158
  ## Naming Rule
155
159
 
156
160
  Use "harness" for the top-level operating model. Use "guardrail" only for
157
- safety/restriction systems. Use "improvement" for quality, learning, skill,
158
- postmortem, and validation loops.
161
+ safety/restriction systems. Use "improvement" for quality, investment judgment
162
+ learning, skill, postmortem, and validation loops.
@@ -1,8 +1,14 @@
1
1
  # Improvement Loop
2
2
 
3
3
  Improvement is the quality subsystem under the top-level TradingCodex workspace orchestration model.
4
- It makes future workflows better through routing discipline, artifact quality,
5
- research memory, skill proposals, postmortems, and validation feedback.
4
+ For investment workflows, self-improvement means better investment judgment:
5
+ clearer evidence, assumptions, source posture, valuation sensitivity, risk
6
+ context, and decision readiness. It is not hidden prompt, skill, policy, broker,
7
+ approval, or execution mutation.
8
+
9
+ The broader harness also supports explicit skill proposals and validation
10
+ feedback, but those are deliberate maintenance paths, not automatic investment
11
+ workflow self-modification.
6
12
 
7
13
  Improvement is separate from Guardrails. Improvement can raise confidence and
8
14
  reduce repeated mistakes, but it never authorizes execution by itself.
@@ -84,6 +90,43 @@ proposal -> validation -> approval -> apply -> audit
84
90
  This keeps improvements visible through Admin, CLI, tests, and docs instead of
85
91
  letting hidden prompt changes become durable product rules.
86
92
 
93
+ ## Improve Ledger
94
+
95
+ TradingCodex uses the memory pattern from self-improving agent systems, but the
96
+ thing being improved is investment judgment: evidence discipline, source
97
+ quality, assumptions, valuation sensitivity, forecast calibration, risk misses,
98
+ portfolio-context gaps, contradictions, and decision readiness. It does not let
99
+ an agent silently rewrite durable prompts, roles, policy, MCP allowlists, broker
100
+ posture, approvals, execution gates, or skills during an investment workflow.
101
+
102
+ Research artifacts may include `improvements` frontmatter. Postmortem review and
103
+ the Artifact Supervisor Loop can also record selected feedback such as blocked
104
+ artifacts, lane-escalation proposals, and exhausted follow-up budgets. Recorded
105
+ improvements are stored under `.tradingcodex/mainagent/improve.jsonl`, with a
106
+ compact `.tradingcodex/mainagent/improve-index.json` beside it.
107
+ Each record carries source path, improvement type, materiality, reason, evidence refs,
108
+ review state, reuse state, and the fixed authority boundary
109
+ `no_policy_skill_or_execution_change`.
110
+
111
+ The JSONL ledger is the append-only workspace-owned audit trail. The index is
112
+ the incremental reuse layer: counts by type, role, materiality, and source type,
113
+ recent compact summaries, recent full records, known improvement ids for dedupe,
114
+ and the ledger file marker used to rebuild once after legacy or manual edits.
115
+ Future `tcx workflow improve` runs read the compact index instead of rereading
116
+ the entire ledger unless the index is missing or stale.
117
+
118
+ The ledger is inspired by Hermes-style procedural memory and GEPA-style
119
+ trace-driven reflection, but TradingCodex keeps the application rule simple:
120
+
121
+ ```text
122
+ trace/artifact/postmortem -> improve record -> future judgment review -> audit
123
+ ```
124
+
125
+ Improve records are not system changes. They are compact investment-analysis memory for
126
+ future workflows. Skill changes still use optional skill CRUD or skill proposal
127
+ projection. Policy, role, approval, execution, broker, and secret surfaces still
128
+ use their existing service-layer gates.
129
+
87
130
  ## Postmortems
88
131
 
89
132
  Postmortems are not only for executed orders. They also apply to:
@@ -101,12 +144,12 @@ Postmortems are not only for executed orders. They also apply to:
101
144
  A useful postmortem should include an investment judgment review: original
102
145
  thesis, what happened, failed assumption, role evidence miss or overstatement,
103
146
  stale or misleading source, confidence calibration, and future warning pattern.
104
- It should end with concrete harness, guardrail, policy, skill, artifact, or
105
- validation improvements.
147
+ It should end with concrete `improve` records about investment judgment,
148
+ analysis readiness, source quality, assumptions, risk, or evidence gaps.
106
149
 
107
150
  ## Validation Feedback
108
151
 
109
- Validation feedback turns lessons into regression coverage:
152
+ Validation feedback turns improve findings into regression coverage:
110
153
 
111
154
  - unit tests for policy and execution preconditions
112
155
  - API tests for Admin/Ninja/MCP boundaries
@@ -352,7 +352,7 @@ Top-level commands:
352
352
  - `tcx profile status|list|create|select|update`
353
353
  - `tcx subagents status|list|inspect|diff|project|plan|loop|skills|prompt|state`
354
354
  - `tcx skills list [--all]|inspect|propose-add|propose-update|apply-proposal`
355
- - `tcx research create|append|get|list|search|export`
355
+ - `tcx research create|append|get|list|search|export|run-card|validation-card`
356
356
  - `tcx policy simulate`
357
357
  - `tcx db status|path|migrate`
358
358
  - `tcx mcp call <tool> [tool args]`
@@ -394,7 +394,7 @@ provider, then registration stores only provider metadata and `credential_ref`.
394
394
  - `./tcx db status|path|migrate`
395
395
  - `./tcx mcp call <tool>`
396
396
  - `./tcx mcp ledger [--tool <name>]`
397
- - `./tcx research create|append|get|list|search|export`
397
+ - `./tcx research create|append|get|list|search|export|run-card|validation-card`
398
398
 
399
399
  Default main-agent skill listing is user-facing, not exhaustive. It shows only
400
400
  direct user entrypoints: `plan-workflow`, `tcx-workflow`, `automate-workflow`,
@@ -74,7 +74,7 @@ guidance emitted by the product should remain English.
74
74
  | Strong role model | Keep one `head-manager`, ten fixed subagents, and role-owned skills as a durable coordination model, including an independent judgment-review gate. |
75
75
  | Multi-universe extensibility | Let public equity be deepest first while preserving paths for ETF/index, crypto, macro/rates/FX/commodities, options, credit-signal, and cross-asset workflows. |
76
76
  | Intuition-led investing with gates | Let users begin from rough market intuition, then translate that intuition into workflow lane, role team, evidence needs, investor-profile questions, blocked actions, and next allowed actions. |
77
- | Compounding workflow memory | Each completed workflow should leave reusable context, source posture, missing-evidence notes, tests, or improvement proposals so the next workflow is easier to run and review. |
77
+ | Compounding workflow memory | Each completed workflow should leave reusable context, source posture, missing-evidence notes, tests, or improve records so the next workflow is easier to run and review. |
78
78
  | Local operator control | Make Django Admin and Ninja useful for local/staff inspection, validation, and operation without becoming a bypass. |
79
79
 
80
80
  ## Non-Goals In Detail