tradingcodex 1.1.1__tar.gz → 1.2.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 (447) hide show
  1. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/CHANGELOG.md +109 -0
  2. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/MANIFEST.in +2 -0
  3. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/PKG-INFO +21 -14
  4. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/README.md +19 -13
  5. tradingcodex-1.2.0/assets/tradingcodex-banner-v1.png +0 -0
  6. tradingcodex-1.2.0/assets/tradingcodex-banner-v2.png +0 -0
  7. tradingcodex-1.2.0/assets/tradingcodex-banner-v3.png +0 -0
  8. tradingcodex-1.2.0/docs/README.md +101 -0
  9. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/codex-native-orchestration.md +54 -33
  10. tradingcodex-1.2.0/docs/data-sources-and-openbb.md +114 -0
  11. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/decision-memory.md +12 -7
  12. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/deployment.md +35 -22
  13. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/financial-workflow-references.md +2 -2
  14. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/generated-workspaces.md +353 -208
  15. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/guardrails.md +11 -12
  16. tradingcodex-1.2.0/docs/harness.md +122 -0
  17. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/improvement-loop.md +5 -7
  18. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/interfaces-and-surfaces.md +208 -80
  19. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/investment-brain-plugins.md +35 -36
  20. tradingcodex-1.2.0/docs/knowledge-wikis.md +196 -0
  21. tradingcodex-1.2.0/docs/product-direction.md +174 -0
  22. tradingcodex-1.2.0/docs/release-readiness.md +151 -0
  23. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/research-memory-and-artifacts.md +305 -45
  24. tradingcodex-1.2.0/docs/roles-skills-and-workflows.md +573 -0
  25. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/safety-policy-and-execution.md +74 -66
  26. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/system-architecture.md +73 -20
  27. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/user-facing-skills.md +35 -28
  28. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/validation-and-test-plan.md +252 -66
  29. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/frontend/package-lock.json +434 -5
  30. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/frontend/package.json +3 -0
  31. tradingcodex-1.2.0/frontend/src/App.tsx +82 -0
  32. tradingcodex-1.2.0/frontend/src/ViewerShell.tsx +75 -0
  33. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/frontend/src/domain.ts +75 -35
  34. tradingcodex-1.2.0/frontend/src/features/LibraryPage.tsx +144 -0
  35. tradingcodex-1.2.0/frontend/src/features/SystemPage.tsx +31 -0
  36. tradingcodex-1.2.0/frontend/src/features/WikiPage.tsx +175 -0
  37. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/frontend/src/main.tsx +2 -0
  38. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/frontend/src/navigation.js +1 -1
  39. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/frontend/src/navigation.test.js +21 -26
  40. tradingcodex-1.2.0/frontend/src/styles.css +211 -0
  41. tradingcodex-1.2.0/frontend/src/ui.tsx +36 -0
  42. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/installation.md +35 -31
  43. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/pyproject.toml +2 -0
  44. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_artifact_authentication.py +638 -2
  45. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_brain_skill.py +6 -5
  46. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_build_contract_metadata.py +0 -29
  47. tradingcodex-1.2.0/tests/test_build_hook.py +310 -0
  48. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_build_turn_grant.py +117 -34
  49. tradingcodex-1.2.0/tests/test_calculation_runner.py +1482 -0
  50. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_clean_v1_cli_audit.py +7 -9
  51. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_codex_capabilities.py +87 -3
  52. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_codex_cli_contract.py +4 -4
  53. tradingcodex-1.2.0/tests/test_codex_native_orchestration.py +517 -0
  54. tradingcodex-1.2.0/tests/test_datasets.py +358 -0
  55. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_dynamic_artifact_quality.py +101 -2
  56. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_e2e_user_scenarios.py +12 -43
  57. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_guidebook_contract.py +30 -18
  58. tradingcodex-1.2.0/tests/test_investment_brain_prompt_layers.py +103 -0
  59. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_investment_brain_provenance.py +17 -13
  60. tradingcodex-1.2.0/tests/test_knowledge_wikis.py +299 -0
  61. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_native_execution_gateway.py +158 -72
  62. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_order_turn_grant.py +3 -34
  63. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_platform_runtime.py +692 -105
  64. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_release_contract.py +56 -14
  65. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_research_forecast_surfaces.py +19 -2
  66. tradingcodex-1.2.0/tests/test_research_object_catalog.py +272 -0
  67. tradingcodex-1.2.0/tests/test_research_objects.py +48 -0
  68. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_runtime_profile.py +0 -77
  69. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_security_invariants.py +87 -4
  70. tradingcodex-1.2.0/tests/test_skill_runtime_boundaries.py +82 -0
  71. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_source_snapshot_agent_contract.py +24 -7
  72. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_v1_state_integrity.py +0 -82
  73. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_viewer.py +42 -3
  74. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_workspace_git_contract.py +3 -0
  75. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex.egg-info/PKG-INFO +21 -14
  76. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex.egg-info/SOURCES.txt +43 -15
  77. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex.egg-info/requires.txt +1 -0
  78. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/__main__.py +6 -4
  79. tradingcodex-1.2.0/tradingcodex_cli/calculation-runtime-lock.json +31 -0
  80. tradingcodex-1.2.0/tradingcodex_cli/calculation-runtime-requirements.txt +297 -0
  81. tradingcodex-1.2.0/tradingcodex_cli/calculation_runner.py +904 -0
  82. tradingcodex-1.2.0/tradingcodex_cli/commands/data_sources.py +71 -0
  83. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/doctor.py +203 -73
  84. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/research.py +73 -0
  85. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/subagents.py +0 -40
  86. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/utils.py +1 -70
  87. tradingcodex-1.2.0/tradingcodex_cli/commands/wikis.py +137 -0
  88. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/generator.py +992 -94
  89. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/startup_status.py +7 -13
  90. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/api.py +60 -24
  91. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/agents.py +102 -165
  92. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/artifact_bindings.py +125 -6
  93. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/artifact_catalog.py +62 -3
  94. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/artifact_quality.py +31 -9
  95. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/build_gateway.py +4 -1
  96. tradingcodex-1.2.0/tradingcodex_service/application/calculations.py +1733 -0
  97. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/codex_capabilities.py +215 -7
  98. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/common.py +3 -3
  99. tradingcodex-1.2.0/tradingcodex_service/application/data_sources.py +103 -0
  100. tradingcodex-1.2.0/tradingcodex_service/application/datasets.py +1573 -0
  101. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/investment_brains.py +49 -384
  102. tradingcodex-1.2.0/tradingcodex_service/application/knowledge_wikis.py +1157 -0
  103. tradingcodex-1.2.0/tradingcodex_service/application/managed_package_sources.py +358 -0
  104. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/portfolio.py +76 -0
  105. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/research.py +1452 -54
  106. tradingcodex-1.2.0/tradingcodex_service/application/research_object_catalog.py +1100 -0
  107. tradingcodex-1.2.0/tradingcodex_service/application/research_objects.py +214 -0
  108. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/research_specs.py +31 -29
  109. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/runtime.py +52 -10
  110. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/source_snapshots.py +6 -4
  111. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/viewer.py +35 -0
  112. tradingcodex-1.2.0/tradingcodex_service/application/wiki_viewer.py +308 -0
  113. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/workspace_git.py +4 -0
  114. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/mcp_runtime.py +1081 -94
  115. tradingcodex-1.2.0/tradingcodex_service/static/tradingcodex_web/assets/allPaths-DJ5oy6Ot.js +1 -0
  116. tradingcodex-1.2.0/tradingcodex_service/static/tradingcodex_web/assets/allPathsLoader-CRlwLu1z.js +2 -0
  117. tradingcodex-1.2.0/tradingcodex_service/static/tradingcodex_web/assets/index-c5e0ZsDr.js +9 -0
  118. tradingcodex-1.2.0/tradingcodex_service/static/tradingcodex_web/assets/index-y2v9zCLQ.css +1 -0
  119. tradingcodex-1.2.0/tradingcodex_service/static/tradingcodex_web/assets/paths-BDuITqPr.js +1 -0
  120. tradingcodex-1.2.0/tradingcodex_service/static/tradingcodex_web/assets/paths-CoispWSv.js +1 -0
  121. tradingcodex-1.2.0/tradingcodex_service/static/tradingcodex_web/assets/splitPathsBySizeLoader-x57jFwA3.js +2 -0
  122. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/static/tradingcodex_web/index.html +2 -2
  123. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/urls.py +12 -0
  124. tradingcodex-1.2.0/tradingcodex_service/version.py +1 -0
  125. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/viewer_api.py +59 -0
  126. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/codex-base/files/.codex/config.toml +17 -8
  127. tradingcodex-1.2.0/workspace_templates/modules/codex-base/files/.codex/hooks/tradingcodex_hook.py +766 -0
  128. tradingcodex-1.2.0/workspace_templates/modules/codex-base/files/.codex/hooks.json +66 -0
  129. tradingcodex-1.2.0/workspace_templates/modules/codex-base/files/.codex/prompts/base_instructions/fixed-role.md +16 -0
  130. tradingcodex-1.2.0/workspace_templates/modules/codex-base/files/.codex/prompts/base_instructions/head-manager.md +180 -0
  131. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/codex-base/files/.tradingcodex/config.yaml +0 -4
  132. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/codex-base/files/AGENTS.md +49 -22
  133. tradingcodex-1.2.0/workspace_templates/modules/codex-base/files/tcx-calc +13 -0
  134. tradingcodex-1.2.0/workspace_templates/modules/codex-base/files/tcx-calc.cmd +11 -0
  135. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/codex-base/module.json +1 -0
  136. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/research_artifact.schema.json +21 -0
  137. tradingcodex-1.2.0/workspace_templates/modules/fixed-subagents/files/.codex/agents/fundamental-analyst.toml +39 -0
  138. tradingcodex-1.2.0/workspace_templates/modules/fixed-subagents/files/.codex/agents/instrument-analyst.toml +39 -0
  139. tradingcodex-1.2.0/workspace_templates/modules/fixed-subagents/files/.codex/agents/judgment-reviewer.toml +33 -0
  140. tradingcodex-1.2.0/workspace_templates/modules/fixed-subagents/files/.codex/agents/macro-analyst.toml +39 -0
  141. tradingcodex-1.2.0/workspace_templates/modules/fixed-subagents/files/.codex/agents/news-analyst.toml +39 -0
  142. tradingcodex-1.2.0/workspace_templates/modules/fixed-subagents/files/.codex/agents/portfolio-manager.toml +33 -0
  143. tradingcodex-1.2.0/workspace_templates/modules/fixed-subagents/files/.codex/agents/risk-manager.toml +34 -0
  144. tradingcodex-1.2.0/workspace_templates/modules/fixed-subagents/files/.codex/agents/technical-analyst.toml +39 -0
  145. tradingcodex-1.2.0/workspace_templates/modules/fixed-subagents/files/.codex/agents/valuation-analyst.toml +39 -0
  146. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-brain/SKILL.md +26 -32
  147. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-brain/agents/openai.yaml +1 -1
  148. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-server/SKILL.md +25 -8
  149. tradingcodex-1.2.0/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-wiki/SKILL.md +131 -0
  150. tradingcodex-1.2.0/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-wiki/agents/openai.yaml +6 -0
  151. tradingcodex-1.2.0/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-wiki/references/bundle-contract.md +64 -0
  152. tradingcodex-1.2.0/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/SKILL.md +159 -0
  153. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/fundamental-analyst/tcx-fundamental/SKILL.md +1 -1
  154. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/instrument-analyst/tcx-instrument/SKILL.md +1 -1
  155. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/judgment-reviewer/tcx-judgment/SKILL.md +2 -2
  156. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/macro-analyst/tcx-macro/SKILL.md +1 -1
  157. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/news-analyst/tcx-news/SKILL.md +1 -1
  158. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/tcx-order-draft/SKILL.md +1 -1
  159. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/tcx-portfolio/SKILL.md +1 -1
  160. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/tcx-policy/SKILL.md +1 -1
  161. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/tcx-risk/SKILL.md +1 -1
  162. tradingcodex-1.2.0/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-artifact/SKILL.md +70 -0
  163. tradingcodex-1.2.0/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-calculation/SKILL.md +64 -0
  164. tradingcodex-1.2.0/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-calculation/agents/openai.yaml +6 -0
  165. tradingcodex-1.2.0/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-calculation/references/data-runtime.md +126 -0
  166. tradingcodex-1.2.0/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-calculation/references/finance-methods.md +72 -0
  167. tradingcodex-1.2.0/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-evidence/SKILL.md +41 -0
  168. tradingcodex-1.2.0/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-source-gate/SKILL.md +45 -0
  169. tradingcodex-1.2.0/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-source-gate/agents/openai.yaml +6 -0
  170. tradingcodex-1.2.0/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-source-gate/references/openbb-mcp.md +22 -0
  171. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/technical-analyst/tcx-technical/SKILL.md +1 -1
  172. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/valuation-analyst/tcx-valuation/SKILL.md +11 -2
  173. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/module.json +2 -1
  174. tradingcodex-1.1.1/docs/README.md +0 -111
  175. tradingcodex-1.1.1/docs/components.md +0 -106
  176. tradingcodex-1.1.1/docs/core-concepts-and-rules.md +0 -171
  177. tradingcodex-1.1.1/docs/execution-without-subagent-plan.md +0 -493
  178. tradingcodex-1.1.1/docs/harness.md +0 -222
  179. tradingcodex-1.1.1/docs/product-direction.md +0 -196
  180. tradingcodex-1.1.1/docs/release-readiness.md +0 -190
  181. tradingcodex-1.1.1/docs/roles-skills-and-workflows.md +0 -382
  182. tradingcodex-1.1.1/frontend/src/App.tsx +0 -123
  183. tradingcodex-1.1.1/frontend/src/features/LibraryPage.tsx +0 -105
  184. tradingcodex-1.1.1/frontend/src/features/SkillsPage.tsx +0 -78
  185. tradingcodex-1.1.1/frontend/src/features/SystemPage.tsx +0 -37
  186. tradingcodex-1.1.1/frontend/src/styles.css +0 -531
  187. tradingcodex-1.1.1/frontend/src/ui.tsx +0 -42
  188. tradingcodex-1.1.1/tests/test_build_hook.py +0 -2326
  189. tradingcodex-1.1.1/tests/test_codex_native_orchestration.py +0 -304
  190. tradingcodex-1.1.1/tests/test_dashboard_skill.py +0 -67
  191. tradingcodex-1.1.1/tests/test_investment_brain_prompt_layers.py +0 -96
  192. tradingcodex-1.1.1/tests/test_skill_runtime_boundaries.py +0 -318
  193. tradingcodex-1.1.1/tradingcodex_cli/commands/mode.py +0 -33
  194. tradingcodex-1.1.1/tradingcodex_service/application/components.py +0 -553
  195. tradingcodex-1.1.1/tradingcodex_service/application/context_budget.py +0 -94
  196. tradingcodex-1.1.1/tradingcodex_service/application/runtime_mode.py +0 -90
  197. tradingcodex-1.1.1/tradingcodex_service/static/tradingcodex_web/assets/index-DYzj_xRR.css +0 -1
  198. tradingcodex-1.1.1/tradingcodex_service/static/tradingcodex_web/assets/index-_2ys6WhF.js +0 -9
  199. tradingcodex-1.1.1/tradingcodex_service/version.py +0 -1
  200. tradingcodex-1.1.1/workspace_templates/modules/codex-base/files/.codex/hooks/tradingcodex_hook.py +0 -3989
  201. tradingcodex-1.1.1/workspace_templates/modules/codex-base/files/.codex/hooks.json +0 -105
  202. tradingcodex-1.1.1/workspace_templates/modules/codex-base/files/.codex/prompts/base_instructions/head-manager.md +0 -480
  203. tradingcodex-1.1.1/workspace_templates/modules/fixed-subagents/files/.codex/agents/fundamental-analyst.toml +0 -66
  204. tradingcodex-1.1.1/workspace_templates/modules/fixed-subagents/files/.codex/agents/instrument-analyst.toml +0 -68
  205. tradingcodex-1.1.1/workspace_templates/modules/fixed-subagents/files/.codex/agents/judgment-reviewer.toml +0 -60
  206. tradingcodex-1.1.1/workspace_templates/modules/fixed-subagents/files/.codex/agents/macro-analyst.toml +0 -68
  207. tradingcodex-1.1.1/workspace_templates/modules/fixed-subagents/files/.codex/agents/news-analyst.toml +0 -67
  208. tradingcodex-1.1.1/workspace_templates/modules/fixed-subagents/files/.codex/agents/portfolio-manager.toml +0 -63
  209. tradingcodex-1.1.1/workspace_templates/modules/fixed-subagents/files/.codex/agents/risk-manager.toml +0 -63
  210. tradingcodex-1.1.1/workspace_templates/modules/fixed-subagents/files/.codex/agents/technical-analyst.toml +0 -67
  211. tradingcodex-1.1.1/workspace_templates/modules/fixed-subagents/files/.codex/agents/valuation-analyst.toml +0 -67
  212. tradingcodex-1.1.1/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-dashboard/SKILL.md +0 -83
  213. tradingcodex-1.1.1/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-dashboard/agents/openai.yaml +0 -6
  214. tradingcodex-1.1.1/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/SKILL.md +0 -138
  215. tradingcodex-1.1.1/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/references/context-and-override.md +0 -93
  216. tradingcodex-1.1.1/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/references/decision-quality-spine.md +0 -58
  217. tradingcodex-1.1.1/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-artifact/SKILL.md +0 -64
  218. tradingcodex-1.1.1/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-evidence/SKILL.md +0 -74
  219. tradingcodex-1.1.1/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-source-gate/SKILL.md +0 -96
  220. tradingcodex-1.1.1/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-source-gate/agents/openai.yaml +0 -6
  221. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/CONTRIBUTING.md +0 -0
  222. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/LICENSE +0 -0
  223. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/NOTICE +0 -0
  224. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/TRADEMARKS.md +0 -0
  225. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/__init__.py +0 -0
  226. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/audit/__init__.py +0 -0
  227. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/audit/admin.py +0 -0
  228. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/audit/apps.py +0 -0
  229. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/audit/migrations/0001_v1_initial.py +0 -0
  230. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/audit/migrations/__init__.py +0 -0
  231. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/audit/models.py +0 -0
  232. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/harness/__init__.py +0 -0
  233. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/harness/admin.py +0 -0
  234. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/harness/apps.py +0 -0
  235. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/harness/migrations/0001_v1_initial.py +0 -0
  236. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/harness/migrations/__init__.py +0 -0
  237. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/harness/models.py +0 -0
  238. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/harness/templatetags/__init__.py +0 -0
  239. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/integrations/__init__.py +0 -0
  240. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/integrations/admin.py +0 -0
  241. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/integrations/apps.py +0 -0
  242. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/integrations/migrations/0001_v1_initial.py +0 -0
  243. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/integrations/migrations/__init__.py +0 -0
  244. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/integrations/models.py +0 -0
  245. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/mcp/__init__.py +0 -0
  246. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/mcp/admin.py +0 -0
  247. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/mcp/apps.py +0 -0
  248. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/mcp/migrations/0001_v1_initial.py +0 -0
  249. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/mcp/migrations/0002_remove_external_mcp_gate.py +0 -0
  250. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/mcp/migrations/__init__.py +0 -0
  251. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/mcp/models.py +0 -0
  252. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/mcp/services.py +0 -0
  253. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/orders/__init__.py +0 -0
  254. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/orders/admin.py +0 -0
  255. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/orders/apps.py +0 -0
  256. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/orders/migrations/0001_v1_initial.py +0 -0
  257. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/orders/migrations/__init__.py +0 -0
  258. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/orders/models.py +0 -0
  259. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/orders/services.py +0 -0
  260. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/policy/__init__.py +0 -0
  261. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/policy/admin.py +0 -0
  262. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/policy/apps.py +0 -0
  263. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/policy/migrations/0001_v1_initial.py +0 -0
  264. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/policy/migrations/__init__.py +0 -0
  265. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/policy/models.py +0 -0
  266. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/policy/services.py +0 -0
  267. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/portfolio/__init__.py +0 -0
  268. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/portfolio/admin.py +0 -0
  269. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/portfolio/apps.py +0 -0
  270. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/portfolio/migrations/0001_v1_initial.py +0 -0
  271. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/portfolio/migrations/__init__.py +0 -0
  272. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/apps/portfolio/models.py +0 -0
  273. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/assets/tradingcodex-banner.svg +0 -0
  274. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/docs/licensing-and-commercialization.md +0 -0
  275. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/frontend/index.html +0 -0
  276. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/frontend/src/api.ts +0 -0
  277. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/frontend/src/viewer-data.js +0 -0
  278. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/frontend/tsconfig.json +0 -0
  279. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/frontend/vite.config.ts +0 -0
  280. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/install.sh +0 -0
  281. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/setup.cfg +0 -0
  282. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_artifact_catalog.py +0 -0
  283. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_broker_center_prd.py +0 -0
  284. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_codex_cli_compat.py +0 -0
  285. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_decision_memory_core.py +0 -0
  286. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_dev_bootstrap.py +0 -0
  287. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_evaluation_lab_hardening.py +0 -0
  288. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_evaluation_profiles.py +0 -0
  289. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_investment_analysis.py +0 -0
  290. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_investment_brain_cli.py +0 -0
  291. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_investment_brain_registry.py +0 -0
  292. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_investor_context.py +0 -0
  293. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_mcp_broker_release_health.py +0 -0
  294. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_provider_source_approval.py +0 -0
  295. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_research_spec_profiles.py +0 -0
  296. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_runtime_paths.py +0 -0
  297. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tests/test_v1_migrations.py +0 -0
  298. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex.egg-info/dependency_links.txt +0 -0
  299. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex.egg-info/entry_points.txt +0 -0
  300. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex.egg-info/top_level.txt +0 -0
  301. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/__init__.py +0 -0
  302. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/__init__.py +0 -0
  303. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/bootstrap.py +0 -0
  304. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/build.py +0 -0
  305. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/connectors.py +0 -0
  306. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/db.py +0 -0
  307. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/decision.py +0 -0
  308. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/evaluation.py +0 -0
  309. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/forecast.py +0 -0
  310. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/home.py +0 -0
  311. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/investment_brains.py +0 -0
  312. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/investor_context.py +0 -0
  313. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/mcp.py +0 -0
  314. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/orders.py +0 -0
  315. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/policy.py +0 -0
  316. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/profile.py +0 -0
  317. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/skills.py +0 -0
  318. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/strategies.py +0 -0
  319. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/workflow.py +0 -0
  320. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/commands/workspaces.py +0 -0
  321. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/mcp_stdio.py +0 -0
  322. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/package_source.py +0 -0
  323. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/service_autostart.py +0 -0
  324. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_cli/versioning.py +0 -0
  325. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/__init__.py +0 -0
  326. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/admin.py +0 -0
  327. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/__init__.py +0 -0
  328. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/analysis_runs.py +0 -0
  329. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/audit.py +0 -0
  330. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/brokers.py +0 -0
  331. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/decision_packages.py +0 -0
  332. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/evaluation_lab.py +0 -0
  333. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/execution_gateway.py +0 -0
  334. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/forecasting.py +0 -0
  335. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/git_subprocess.py +0 -0
  336. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/harness.py +0 -0
  337. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/health.py +0 -0
  338. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/investment_analysis.py +0 -0
  339. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/investor_context.py +0 -0
  340. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/markdown_preview.py +0 -0
  341. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/operator_authority.py +0 -0
  342. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/orders.py +0 -0
  343. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/policy.py +0 -0
  344. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/postmortems.py +0 -0
  345. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/skill_invocations.py +0 -0
  346. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/application/workspaces.py +0 -0
  347. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/asgi.py +0 -0
  348. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/log_safety.py +0 -0
  349. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/runtime_profile.py +0 -0
  350. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/settings.py +0 -0
  351. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/static/tradingcodex_admin/favicon.svg +0 -0
  352. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/web.py +0 -0
  353. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/tradingcodex_service/wsgi.py +0 -0
  354. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/__init__.py +0 -0
  355. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/audit/files/.tradingcodex/audit/README.md +0 -0
  356. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/audit/files/trading/audit/.gitkeep +0 -0
  357. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/audit/module.json +0 -0
  358. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/codex-base/files/.codex/rules/tradingcodex.rules +0 -0
  359. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/codex-base/files/.tradingcodex/cli.py +0 -0
  360. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/codex-base/files/pyproject.toml +0 -0
  361. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/codex-base/files/tcx +0 -0
  362. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/codex-base/files/tcx.cmd +0 -0
  363. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/policies/restricted-list.yaml +0 -0
  364. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/approval_receipt.schema.json +0 -0
  365. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/audit_event.schema.json +0 -0
  366. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/evidence_pack.schema.json +0 -0
  367. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/execution_result.schema.json +0 -0
  368. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/fundamental_report.schema.json +0 -0
  369. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/news_report.schema.json +0 -0
  370. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/order_ticket.schema.json +0 -0
  371. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/portfolio_review.schema.json +0 -0
  372. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/postmortem_report.schema.json +0 -0
  373. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/risk_report.schema.json +0 -0
  374. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/technical_report.schema.json +0 -0
  375. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/thesis.schema.json +0 -0
  376. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/files/.tradingcodex/schemas/valuation.schema.json +0 -0
  377. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/enforcement-guardrails/module.json +0 -0
  378. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/fixed-subagents/files/.tradingcodex/mainagent/skill-change-proposals/.gitkeep +0 -0
  379. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/fixed-subagents/module.json +0 -0
  380. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/guidance-guardrails/files/.tradingcodex/guidance/guardrails.md +0 -0
  381. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/guidance-guardrails/files/.tradingcodex/guidance/task-quality-checklist.md +0 -0
  382. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/guidance-guardrails/module.json +0 -0
  383. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/.tradingcodex/secrets.md +0 -0
  384. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/trading/forecasts/.gitkeep +0 -0
  385. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/trading/market-data/.gitkeep +0 -0
  386. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/trading/portfolio/.gitkeep +0 -0
  387. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/trading/reports/fundamental/.gitkeep +0 -0
  388. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/trading/reports/instrument/.gitkeep +0 -0
  389. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/trading/reports/macro/.gitkeep +0 -0
  390. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/trading/reports/news/.gitkeep +0 -0
  391. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/trading/reports/policy/.gitkeep +0 -0
  392. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/trading/reports/portfolio/.gitkeep +0 -0
  393. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/trading/reports/postmortem/.gitkeep +0 -0
  394. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/trading/reports/risk/.gitkeep +0 -0
  395. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/trading/reports/technical/.gitkeep +0 -0
  396. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/trading/reports/valuation/.gitkeep +0 -0
  397. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/files/trading/research/.gitkeep +0 -0
  398. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/information-barriers/module.json +0 -0
  399. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/paper-trading/module.json +0 -0
  400. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-automate/SKILL.md +0 -0
  401. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-automate/agents/openai.yaml +0 -0
  402. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-brain/references/bundle-contract.md +0 -0
  403. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-build/SKILL.md +0 -0
  404. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-build/agents/openai.yaml +0 -0
  405. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-investor-context/SKILL.md +0 -0
  406. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-investor-context/agents/openai.yaml +0 -0
  407. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-memory/SKILL.md +0 -0
  408. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-memory/agents/openai.yaml +0 -0
  409. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-order-allow/SKILL.md +0 -0
  410. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-order-allow/agents/openai.yaml +0 -0
  411. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-order-cancel/SKILL.md +0 -0
  412. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-order-cancel/agents/openai.yaml +0 -0
  413. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-order-submit/SKILL.md +0 -0
  414. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-order-submit/agents/openai.yaml +0 -0
  415. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-plan/SKILL.md +0 -0
  416. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-plan/agents/openai.yaml +0 -0
  417. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-server/agents/openai.yaml +0 -0
  418. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-strategy/SKILL.md +0 -0
  419. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-strategy/agents/openai.yaml +0 -0
  420. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.agents/skills/tcx-workflow/agents/openai.yaml +0 -0
  421. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/fundamental-analyst/tcx-fundamental/agents/openai.yaml +0 -0
  422. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/instrument-analyst/tcx-instrument/agents/openai.yaml +0 -0
  423. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/judgment-reviewer/tcx-judgment/agents/openai.yaml +0 -0
  424. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/macro-analyst/tcx-macro/agents/openai.yaml +0 -0
  425. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/news-analyst/tcx-news/agents/openai.yaml +0 -0
  426. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/tcx-order-draft/agents/openai.yaml +0 -0
  427. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/portfolio-manager/tcx-portfolio/agents/openai.yaml +0 -0
  428. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/tcx-order-approve/SKILL.md +0 -0
  429. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/tcx-order-approve/agents/openai.yaml +0 -0
  430. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/tcx-policy/agents/openai.yaml +0 -0
  431. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/risk-manager/tcx-risk/agents/openai.yaml +0 -0
  432. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-anti-overfit/SKILL.md +0 -0
  433. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-anti-overfit/agents/openai.yaml +0 -0
  434. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-artifact/agents/openai.yaml +0 -0
  435. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-data-qc/SKILL.md +0 -0
  436. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-data-qc/agents/openai.yaml +0 -0
  437. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-evidence/agents/openai.yaml +0 -0
  438. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-forecast/SKILL.md +0 -0
  439. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-forecast/agents/openai.yaml +0 -0
  440. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-scenarios/SKILL.md +0 -0
  441. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/shared/tcx-scenarios/agents/openai.yaml +0 -0
  442. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/technical-analyst/tcx-technical/agents/openai.yaml +0 -0
  443. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/repo-skills/files/.tradingcodex/subagents/skills/valuation-analyst/tcx-valuation/agents/openai.yaml +0 -0
  444. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/enforcer/README.md +0 -0
  445. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/gateway/README.md +0 -0
  446. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/tradingcodex-mcp/files/.tradingcodex/mcp/server.py +0 -0
  447. {tradingcodex-1.1.1 → tradingcodex-1.2.0}/workspace_templates/modules/tradingcodex-mcp/module.json +0 -0
@@ -2,6 +2,115 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 1.2.0 - 2026-07-20
6
+
7
+ - Refresh the manual GitHub Pages workflow to the current Node 24 action
8
+ majors after the v1.1.2 candidate exposed the upstream Node 20 deprecation
9
+ annotation. The guide remains explicit-dispatch only.
10
+ - Simplify Codex-native orchestration, hooks, and lifecycle boundaries while
11
+ retaining concise fixed-role prompts, direct native delegation, and
12
+ service-gated sensitive effects.
13
+ - Keep root work on the user's active Codex model and reasoning settings while
14
+ fixed roles use `gpt-5.6-terra`/high, including explicit independent risk and
15
+ judgment review boundaries.
16
+ - Preserve canonical research-artifact lookup when a supported export copies
17
+ Markdown between research and report paths. Current exports carry a
18
+ service-authenticated sidecar bound to central workspace provenance, while
19
+ pre-1.2 copies are recovered only when a retained signed receipt and, when
20
+ needed, a version archive prove the original path and bytes; altered,
21
+ replayed, copied-root, or ambiguous duplicates remain fail-closed.
22
+ - Require the same central workspace provenance for every run-bound receipt
23
+ read, including compact review and card projections, so a copied workspace
24
+ cannot replay authenticated research with a shared local service key.
25
+ - Keep optional OpenBB direct, add Snapshot/Dataset row-oriented reuse, and
26
+ strengthen conclusion-relevant point-in-time evidence, decision quality, and
27
+ artifact handoff guidance without adding provider or workflow services.
28
+ - Add agent-maintained, Obsidian-compatible Knowledge Wikis with explicit write
29
+ admission, immutable community packages, bounded read-only Viewer search,
30
+ and a separate Brain-promotion boundary.
31
+ - Record redacted external-tool observations for offline exact-repeat regression
32
+ checks; they do not infer outcome or block native tool use.
33
+
34
+ ## 1.1.2 - 2026-07-17
35
+
36
+ - Add a cross-platform fixed-role calculation surface with generated
37
+ `tcx-calc`/`tcx-calc.cmd` launchers and a content-addressed runtime v2 outside
38
+ Django, MCP, the service home, DB, workspace, and scratch. Its wheel-only
39
+ per-artifact hash resource pins the complete 12-package direct/transitive
40
+ set around NumPy, pandas, SciPy, statsmodels, numpy-financial, and PyArrow.
41
+ The exact basename-only contract replaces host-dependent system
42
+ Python and heredocs, sanitizes environment and temp state before exposing the
43
+ verified runtime, rejects links and compound forms, applies resource bounds,
44
+ blocks child-process and network escape paths in prepared mode, verifies the
45
+ generated launcher hashes in doctor, and remains inside the native Codex OS
46
+ sandbox. Windows scratch now uses `TradingCodexScratch` so it cannot overlap
47
+ the default service home. Native Windows release smoke invokes both generated
48
+ batch launchers through tokenized `cmd /c call` commands so workspace paths
49
+ containing spaces retain their argument boundaries. Pinned packages may load
50
+ native libraries only from absolute paths inside the verified runtime and
51
+ only from an imported runtime-package frame; their process-local ctypes
52
+ bootstrap remains available, including CPython's exact Windows `kernel32`
53
+ import bootstrap. Scratch calls and external, other bare-name, or raw-integer-
54
+ handle loading remain denied. The explicit manual
55
+ release workflow gates the exact wheel through an x86-64 Linux/macOS/Windows
56
+ and Python 3.11-3.14 runtime matrix.
57
+ - Separate ordinary GitHub uploads from deployment work. Normal source CI keeps
58
+ source, framework, and deterministic frontend checks but does not build or
59
+ upload distributions, run release-upgrade or platform matrices, or publish.
60
+ Documentation-only pushes and pull requests skip source CI, GitHub Pages
61
+ becomes manual-only, and package build/publication remains confined to
62
+ explicit Manual Release dispatches.
63
+ - Add immutable Dataset memory with Source Snapshot lineage, explicit typed
64
+ manifests, content-addressed canonical Parquet payloads, append-only license
65
+ withdrawals, bounded card/manifest/profile/slice retrieval, and a managed
66
+ Git ignore rule for payload objects. A rebuildable SQLite+FTS v3 catalog now
67
+ unifies existing research artifacts with Dataset and Calculation objects,
68
+ reprojects only changed files, rebuilds after corruption, and continues the
69
+ legacy JSON exports for one compatibility release. Lineage timestamps cannot
70
+ predate their Source Snapshot or parent Dataset, withdrawn shared payloads
71
+ cannot be profiled, malformed manifests fail closed per object, and L0 cards
72
+ are size-bounded. Internally generated `Path` objects are normalized to the
73
+ portable forward-slash workspace form on native Windows while caller-supplied
74
+ backslash paths remain rejected.
75
+ - Add prepared CalculationSpec/Run memory around `tcx-calc`, including declared
76
+ scratch inputs/outputs, typed finite result envelopes, exact full-fingerprint
77
+ reuse with a current-workflow reuse Run, comparison by requested metric, and
78
+ private-ledger snapshot hash binding without durable input values. The new
79
+ shared `tcx-calculation` skill gives the six financial calculation roles the
80
+ bounded procedure; Head Manager receives card-only planning discovery and
81
+ the viewer remains read-only. Calculation cards also project bounded symbols
82
+ and immutable Dataset relations so instrument-scoped role searches do not
83
+ miss an existing exact calculation. Prepared recording independently
84
+ revalidates script/input/sidecar/runtime/output hashes and schemas; Dataset
85
+ materializations and private central-ledger snapshots are service-bound
86
+ rather than caller-asserted.
87
+ - Route legacy Source Snapshot, ResearchSpec, ReplayManifest, and ExperimentRun
88
+ path construction, regular-file reads, hash verification, and immutable
89
+ writes through the shared Research Object primitives while preserving their
90
+ released v1 hash encoding and IDs without migration.
91
+ - Enable Head Manager live web search for narrow workflow-planning
92
+ reconnaissance. Durable root instructions and `tcx-workflow` keep raw search
93
+ results untrusted and prohibit using them as accepted evidence or synthesis
94
+ support; material facts must be reacquired by producing roles. Portfolio,
95
+ risk, and judgment-review roles explicitly keep web search disabled, and the
96
+ existing Build hook continues to block native web and browser tools.
97
+ - Fix BYOR Codex capability use after the 1.1.1 gate removal. Head Manager and
98
+ fixed roles now distinguish explicit external skill overlays from read-only
99
+ app, connector, MCP, and data tools; inspect the current task's callable
100
+ surface before falling back or declaring a provider unavailable; and treat
101
+ the sanitized inventory as configuration evidence rather than runtime
102
+ callability proof. Capability inventory now names plugin app/MCP/hook
103
+ components from secret-free top-level identifiers and includes compatible
104
+ user skills discovered below `CODEX_HOME/skills`. Generated workspaces no
105
+ longer disable Codex apps, leaving app exposure to user, organization, and
106
+ host policy.
107
+ - Align observed E2E behavior with the workspace contract: fixed roles may edit
108
+ files in their dedicated private scratch root while arbitrary external paths
109
+ remain blocked; viewer write-shaped requests consistently return GET-only
110
+ `405` responses even with CSRF enforcement; managed Brain and Strategy proof
111
+ errors name their own entrypoints; and E2E hooks execute through the generated
112
+ launcher runtime.
113
+
5
114
  ## 1.1.1 - 2026-07-16
6
115
 
7
116
  - Remove the legacy user-capability gate, its CLI and broker-import paths,
@@ -11,5 +11,7 @@ recursive-include frontend *.css *.html *.json *.js *.ts *.tsx
11
11
  recursive-include workspace_templates *
12
12
  recursive-include workspace_templates .*
13
13
  recursive-include tradingcodex_service/static *
14
+ include tradingcodex_cli/calculation-runtime-lock.json
15
+ include tradingcodex_cli/calculation-runtime-requirements.txt
14
16
  recursive-exclude frontend/node_modules *
15
17
  global-exclude *.py[cod]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tradingcodex
3
- Version: 1.1.1
3
+ Version: 1.2.0
4
4
  Summary: Local-first investment operating system for Codex-native research and service-gated execution.
5
5
  Author: TradingCodex Authors
6
6
  License-Expression: Apache-2.0
@@ -29,13 +29,18 @@ Requires-Dist: markdown-it-py<5,>=3
29
29
  Requires-Dist: nh3<0.4,>=0.3
30
30
  Requires-Dist: packaging>=24
31
31
  Requires-Dist: pydantic>=2
32
+ Requires-Dist: pyarrow==25.0.0
32
33
  Requires-Dist: PyYAML>=6
33
34
  Requires-Dist: whitenoise<7,>=6.12
34
35
  Provides-Extra: dev
35
36
  Requires-Dist: pytest>=8; extra == "dev"
36
37
  Dynamic: license-file
37
38
 
38
- # TradingCodex
39
+ <h1 align="center">TradingCodex</h1>
40
+
41
+ <p align="center">
42
+ <img src="assets/tradingcodex-banner-v3.png" alt="TradingCodex transforms fragmented investment tools into a native Codex research workflow" width="100%">
43
+ </p>
39
44
 
40
45
  <div align="center">
41
46
  <a href="https://pypi.org/project/tradingcodex/"><img alt="PyPI" src="https://img.shields.io/pypi/v/tradingcodex?label=PyPI"></a>
@@ -54,7 +59,7 @@ next steps in your own workspace.
54
59
  It is not an autonomous trading bot. A research response never becomes a
55
60
  broker action on its own.
56
61
 
57
- [Get started](https://monarchjuno.github.io/tradingcodex/) · [All user-facing skills](docs/user-facing-skills.md) · [Provider to order](https://monarchjuno.github.io/tradingcodex/provider-to-order.html) · [Documentation](docs/README.md)
62
+ [Get started](https://monarchjuno.github.io/tradingcodex/) · [Data sources and OpenBB](docs/data-sources-and-openbb.md) · [All user-facing skills](docs/user-facing-skills.md) · [Provider to order](https://monarchjuno.github.io/tradingcodex/provider-to-order.html) · [Documentation](docs/README.md)
58
63
 
59
64
  ## Start Here
60
65
 
@@ -101,7 +106,8 @@ need Node, npm, or a separate frontend server.
101
106
  | Review a past decision or validate a lesson | [`$tcx-memory`](https://monarchjuno.github.io/tradingcodex/skill-memory.html) | Replay from point-in-time evidence and distinguish decision quality from outcome quality. |
102
107
  | Create a reusable method or reasoning framework | [`$tcx-strategy`](https://monarchjuno.github.io/tradingcodex/skill-strategy.html) or [`$tcx-brain`](https://monarchjuno.github.io/tradingcodex/skill-brain.html) | Start directly with the matching skill in the normal Research profile; its current-turn scope cannot grant execution authority or cross into generic Build work. |
103
108
  | Monitor work on a schedule | [`$tcx-automate`](https://monarchjuno.github.io/tradingcodex/skill-automate.html) | Create or update a Codex Scheduled Task that invokes the actual work skill on each run. |
104
- | Open the dashboard or recover a workspace | [`$tcx-dashboard`](https://monarchjuno.github.io/tradingcodex/skill-dashboard.html) or [`$tcx-server`](https://monarchjuno.github.io/tradingcodex/skill-server.html) | Open the read-only viewer inside Codex by default, request an external browser when needed, or receive a readiness check and safe recovery handoff. |
109
+ | Open the viewer or recover a workspace | The Viewer and Wiki links shown when a healthy workspace task starts, or [`$tcx-server`](https://monarchjuno.github.io/tradingcodex/skill-server.html) | Follow the read-only links directly; use the server skill for readiness checks and safe recovery guidance. |
110
+ | Configure optional OpenBB data access | [Data sources](https://monarchjuno.github.io/tradingcodex/data-sources.html) | OpenBB is projected by default as a non-required direct MCP; use `tcx data-sources openbb status|disable|enable` to control it. It is never installed during attach. |
105
111
  | Connect a provider and prepare an order | [Provider to order](https://monarchjuno.github.io/tradingcodex/provider-to-order.html) | Keep provider setup, account sync, ticket creation, checks, approval, and final action as separate checkpoints. |
106
112
 
107
113
  There are 13 user-facing skills. Browse their detailed behavior, examples, and
@@ -118,16 +124,16 @@ Analyze MSFT as a medium-term quality compounder. Separate facts, inferences,
118
124
  and assumptions. Include contrary evidence and invalidation conditions. No order.
119
125
  ```
120
126
 
121
- The workflow begins a lightweight, workspace-bound run. Head Manager selects
122
- only the fixed-role specialists the question needs, reassesses from accepted
123
- artifacts, and either synthesizes the result or states why work is waiting,
124
- needs revision, or is blocked.
127
+ Narrow trusted questions can stay direct. Fresh research begins a lightweight,
128
+ workspace-bound run; Head Manager selects only useful specialist profiles,
129
+ uses bounded fallback when necessary, and reassesses from accepted evidence
130
+ before answering, synthesizing, revising, or stopping on a gap.
125
131
 
126
132
  ## How TradingCodex Is Organized
127
133
 
128
134
  | Layer | What it does | What it does not do |
129
135
  | --- | --- | --- |
130
- | **Native Codex task** | Interprets the request, runs Head Manager, and dynamically dispatches exact fixed-role specialists. | It does not turn ordinary prose into an order or use a generic agent to imitate a specialist. |
136
+ | **Native Codex task** | Interprets the request, takes a direct fast path when sufficient, and uses specialist profiles or a bounded generic child only when needed. | It does not turn ordinary prose, a child, or a skill into policy, approval, broker, or execution authority. |
131
137
  | **Workspace** | Holds readable research, reports, source snapshots, skills, prompts, and lightweight run provenance. | It is not the portfolio, order, account, approval, or secret ledger. |
132
138
  | **Django service** | Enforces artifact identity, policy, approval, broker, idempotency, execution, and audit rules through shared application services. | It does not replace Codex with a semantic router, preset team, or stored workflow DAG. |
133
139
  | **Read-only viewer** | Lets you browse Library artifacts, Skills, System posture, and registered workspaces. | It does not launch Codex, write workspace files, or mutate orders, brokers, skills, or policy. |
@@ -156,11 +162,11 @@ that state in prompts or workspace files.
156
162
  - Fixed roles have bounded tools and handoff responsibilities. A final order
157
163
  path is available only from an exact root-native protocol, never from the
158
164
  viewer, a subagent, public REST, generic CLI, or direct MCP call.
159
- - User-installed MCP servers, skills, and plugins are BYOR native Codex
160
- capabilities. TradingCodex neither recommends nor verifies them; their
161
- licenses, data terms, costs, and side effects remain the user/provider's
162
- responsibility, and TradingCodex guarantees cover only its own capabilities,
163
- state, and actions.
165
+ - Relevant user-installed MCP servers and skills remain BYOR native Codex
166
+ capabilities. One relevant capability can be used for evidence without
167
+ becoming TradingCodex-managed. OpenBB is the one TradingCodex-supported
168
+ external data integration: it is optional, projected directly to evidence
169
+ roles, and still subject to upstream licenses and data terms.
164
170
  - Raw credentials do not belong in prompts, workspace files, reports, API/MCP
165
171
  output, or audit data.
166
172
 
@@ -175,6 +181,7 @@ guarantee returns.
175
181
  | [User Guide](https://monarchjuno.github.io/tradingcodex/) | Setup, examples, concepts, all user-facing skills, and provider-to-order onboarding. |
176
182
  | [Installation](installation.md) | Install variants, updates, runtime homes, MCP/service startup, and recovery. |
177
183
  | [User-facing skills](docs/user-facing-skills.md) | The full skill map, entry rules, and hard stops. |
184
+ | [Data sources and OpenBB](docs/data-sources-and-openbb.md) | Source routing, direct optional OpenBB projection, Snapshot/Dataset evidence, and third-party terms. |
178
185
  | [Research memory and artifacts](docs/research-memory-and-artifacts.md) | Artifact paths, source posture, versions, quality labels, forecasts, and exports. |
179
186
  | [Decision memory](docs/decision-memory.md) | Replay, postmortems, lesson validation, and reusable context. |
180
187
  | [Safety policy and execution](docs/safety-policy-and-execution.md) | Permissions, approvals, brokers, secrets, and execution boundaries. |
@@ -1,4 +1,8 @@
1
- # TradingCodex
1
+ <h1 align="center">TradingCodex</h1>
2
+
3
+ <p align="center">
4
+ <img src="assets/tradingcodex-banner-v3.png" alt="TradingCodex transforms fragmented investment tools into a native Codex research workflow" width="100%">
5
+ </p>
2
6
 
3
7
  <div align="center">
4
8
  <a href="https://pypi.org/project/tradingcodex/"><img alt="PyPI" src="https://img.shields.io/pypi/v/tradingcodex?label=PyPI"></a>
@@ -17,7 +21,7 @@ next steps in your own workspace.
17
21
  It is not an autonomous trading bot. A research response never becomes a
18
22
  broker action on its own.
19
23
 
20
- [Get started](https://monarchjuno.github.io/tradingcodex/) · [All user-facing skills](docs/user-facing-skills.md) · [Provider to order](https://monarchjuno.github.io/tradingcodex/provider-to-order.html) · [Documentation](docs/README.md)
24
+ [Get started](https://monarchjuno.github.io/tradingcodex/) · [Data sources and OpenBB](docs/data-sources-and-openbb.md) · [All user-facing skills](docs/user-facing-skills.md) · [Provider to order](https://monarchjuno.github.io/tradingcodex/provider-to-order.html) · [Documentation](docs/README.md)
21
25
 
22
26
  ## Start Here
23
27
 
@@ -64,7 +68,8 @@ need Node, npm, or a separate frontend server.
64
68
  | Review a past decision or validate a lesson | [`$tcx-memory`](https://monarchjuno.github.io/tradingcodex/skill-memory.html) | Replay from point-in-time evidence and distinguish decision quality from outcome quality. |
65
69
  | Create a reusable method or reasoning framework | [`$tcx-strategy`](https://monarchjuno.github.io/tradingcodex/skill-strategy.html) or [`$tcx-brain`](https://monarchjuno.github.io/tradingcodex/skill-brain.html) | Start directly with the matching skill in the normal Research profile; its current-turn scope cannot grant execution authority or cross into generic Build work. |
66
70
  | Monitor work on a schedule | [`$tcx-automate`](https://monarchjuno.github.io/tradingcodex/skill-automate.html) | Create or update a Codex Scheduled Task that invokes the actual work skill on each run. |
67
- | Open the dashboard or recover a workspace | [`$tcx-dashboard`](https://monarchjuno.github.io/tradingcodex/skill-dashboard.html) or [`$tcx-server`](https://monarchjuno.github.io/tradingcodex/skill-server.html) | Open the read-only viewer inside Codex by default, request an external browser when needed, or receive a readiness check and safe recovery handoff. |
71
+ | Open the viewer or recover a workspace | The Viewer and Wiki links shown when a healthy workspace task starts, or [`$tcx-server`](https://monarchjuno.github.io/tradingcodex/skill-server.html) | Follow the read-only links directly; use the server skill for readiness checks and safe recovery guidance. |
72
+ | Configure optional OpenBB data access | [Data sources](https://monarchjuno.github.io/tradingcodex/data-sources.html) | OpenBB is projected by default as a non-required direct MCP; use `tcx data-sources openbb status|disable|enable` to control it. It is never installed during attach. |
68
73
  | Connect a provider and prepare an order | [Provider to order](https://monarchjuno.github.io/tradingcodex/provider-to-order.html) | Keep provider setup, account sync, ticket creation, checks, approval, and final action as separate checkpoints. |
69
74
 
70
75
  There are 13 user-facing skills. Browse their detailed behavior, examples, and
@@ -81,16 +86,16 @@ Analyze MSFT as a medium-term quality compounder. Separate facts, inferences,
81
86
  and assumptions. Include contrary evidence and invalidation conditions. No order.
82
87
  ```
83
88
 
84
- The workflow begins a lightweight, workspace-bound run. Head Manager selects
85
- only the fixed-role specialists the question needs, reassesses from accepted
86
- artifacts, and either synthesizes the result or states why work is waiting,
87
- needs revision, or is blocked.
89
+ Narrow trusted questions can stay direct. Fresh research begins a lightweight,
90
+ workspace-bound run; Head Manager selects only useful specialist profiles,
91
+ uses bounded fallback when necessary, and reassesses from accepted evidence
92
+ before answering, synthesizing, revising, or stopping on a gap.
88
93
 
89
94
  ## How TradingCodex Is Organized
90
95
 
91
96
  | Layer | What it does | What it does not do |
92
97
  | --- | --- | --- |
93
- | **Native Codex task** | Interprets the request, runs Head Manager, and dynamically dispatches exact fixed-role specialists. | It does not turn ordinary prose into an order or use a generic agent to imitate a specialist. |
98
+ | **Native Codex task** | Interprets the request, takes a direct fast path when sufficient, and uses specialist profiles or a bounded generic child only when needed. | It does not turn ordinary prose, a child, or a skill into policy, approval, broker, or execution authority. |
94
99
  | **Workspace** | Holds readable research, reports, source snapshots, skills, prompts, and lightweight run provenance. | It is not the portfolio, order, account, approval, or secret ledger. |
95
100
  | **Django service** | Enforces artifact identity, policy, approval, broker, idempotency, execution, and audit rules through shared application services. | It does not replace Codex with a semantic router, preset team, or stored workflow DAG. |
96
101
  | **Read-only viewer** | Lets you browse Library artifacts, Skills, System posture, and registered workspaces. | It does not launch Codex, write workspace files, or mutate orders, brokers, skills, or policy. |
@@ -119,11 +124,11 @@ that state in prompts or workspace files.
119
124
  - Fixed roles have bounded tools and handoff responsibilities. A final order
120
125
  path is available only from an exact root-native protocol, never from the
121
126
  viewer, a subagent, public REST, generic CLI, or direct MCP call.
122
- - User-installed MCP servers, skills, and plugins are BYOR native Codex
123
- capabilities. TradingCodex neither recommends nor verifies them; their
124
- licenses, data terms, costs, and side effects remain the user/provider's
125
- responsibility, and TradingCodex guarantees cover only its own capabilities,
126
- state, and actions.
127
+ - Relevant user-installed MCP servers and skills remain BYOR native Codex
128
+ capabilities. One relevant capability can be used for evidence without
129
+ becoming TradingCodex-managed. OpenBB is the one TradingCodex-supported
130
+ external data integration: it is optional, projected directly to evidence
131
+ roles, and still subject to upstream licenses and data terms.
127
132
  - Raw credentials do not belong in prompts, workspace files, reports, API/MCP
128
133
  output, or audit data.
129
134
 
@@ -138,6 +143,7 @@ guarantee returns.
138
143
  | [User Guide](https://monarchjuno.github.io/tradingcodex/) | Setup, examples, concepts, all user-facing skills, and provider-to-order onboarding. |
139
144
  | [Installation](installation.md) | Install variants, updates, runtime homes, MCP/service startup, and recovery. |
140
145
  | [User-facing skills](docs/user-facing-skills.md) | The full skill map, entry rules, and hard stops. |
146
+ | [Data sources and OpenBB](docs/data-sources-and-openbb.md) | Source routing, direct optional OpenBB projection, Snapshot/Dataset evidence, and third-party terms. |
141
147
  | [Research memory and artifacts](docs/research-memory-and-artifacts.md) | Artifact paths, source posture, versions, quality labels, forecasts, and exports. |
142
148
  | [Decision memory](docs/decision-memory.md) | Replay, postmortems, lesson validation, and reusable context. |
143
149
  | [Safety policy and execution](docs/safety-policy-and-execution.md) | Permissions, approvals, brokers, secrets, and execution boundaries. |
@@ -0,0 +1,101 @@
1
+ # TradingCodex Documentation
2
+
3
+ `docs/` is the canonical product reference. It explains durable behavior and
4
+ the reasons behind it; it is not a second user guide or a source-file index.
5
+
6
+ - New users start with the [User Guide](https://monarchjuno.github.io/tradingcodex/).
7
+ - Operators start with [installation.md](../installation.md).
8
+ - Maintainers start with [AGENTS.md](../AGENTS.md) and
9
+ [openwiki/quickstart.md](../openwiki/quickstart.md), then read the owning page
10
+ below before changing behavior.
11
+
12
+ ## Documentation Ownership
13
+
14
+ | Layer | Purpose |
15
+ | --- | --- |
16
+ | `README.md` | Product summary and primary install route. |
17
+ | `installation.md` | Setup, update, and operator recovery. |
18
+ | `docs/` | Canonical product behavior, architecture, safety, and rationale. |
19
+ | `guidebook/` | Short task-first instructions for end users. |
20
+ | `openwiki/` | Source ownership and validation routing for coding agents. |
21
+ | `AGENTS.md` | Repository-wide development rules. |
22
+
23
+ Keep a concept in one owning document and link to it elsewhere. Update another
24
+ layer only when its audience's route changes; do not copy a behavior contract
25
+ into every layer. If two layers disagree, fix the owning `docs/` page first.
26
+
27
+ ## Start By Goal
28
+
29
+ | Goal | Canonical page | Useful follow-up |
30
+ | --- | --- | --- |
31
+ | Understand the product and its design posture | [Product Direction](product-direction.md) | [Harness](harness.md) |
32
+ | Understand runtime and source ownership | [System Architecture](system-architecture.md) | [Interfaces And Surfaces](interfaces-and-surfaces.md) |
33
+ | Change Head Manager, roles, skills, or research flow | [Roles, Skills, And Workflows](roles-skills-and-workflows.md) | [Codex-Native Orchestration](codex-native-orchestration.md) |
34
+ | Work with research evidence, datasets, and artifacts | [Research Memory And Artifacts](research-memory-and-artifacts.md) | [Data Sources And OpenBB](data-sources-and-openbb.md) |
35
+ | Work with reusable company, product, technology, science, industry, or value-chain knowledge | [Knowledge Wikis](knowledge-wikis.md) | [Investment Brain Plugins](investment-brain-plugins.md) |
36
+ | Understand saved decisions and improvement | [Decision Memory](decision-memory.md) | [Improvement Loop](improvement-loop.md) |
37
+ | Change policy, approvals, brokers, or execution | [Safety, Policy, And Execution](safety-policy-and-execution.md) | [Guardrails](guardrails.md) |
38
+ | Change attach/update or generated workspace files | [Generated Workspaces](generated-workspaces.md) | [Deployment](deployment.md) |
39
+ | Change the viewer, API, MCP, Admin, or CLI | [Interfaces And Surfaces](interfaces-and-surfaces.md) | [System Architecture](system-architecture.md) |
40
+ | Choose or verify validation | [Validation And Test Plan](validation-and-test-plan.md) | [Release Readiness](release-readiness.md) |
41
+
42
+ ## Reference By Domain
43
+
44
+ ### Product And Research
45
+
46
+ - [Product Direction](product-direction.md) — product thesis, native-Codex
47
+ posture, goals, non-goals, defaults, and scope.
48
+ - [Harness](harness.md) — how Codex, services, and workspace files cooperate.
49
+ - [Financial Workflow References](financial-workflow-references.md) — finance
50
+ workflow evidence and non-expert output requirements.
51
+ - [User-Facing Skills](user-facing-skills.md) — direct skill entrypoints and
52
+ user-visible responsibilities.
53
+ - [Roles, Skills, And Workflows](roles-skills-and-workflows.md) — agent and
54
+ skill behavior, research routing, and handoffs.
55
+ - [Codex-Native Orchestration](codex-native-orchestration.md) — the durable run
56
+ boundary and why Django is not an agent scheduler.
57
+ - [Research Memory And Artifacts](research-memory-and-artifacts.md) — file-native
58
+ evidence, datasets, calculations, artifacts, and provenance.
59
+ - [Knowledge Wikis](knowledge-wikis.md) — agent-maintained Obsidian-compatible
60
+ background knowledge, explicit write admission, community packages, and the
61
+ read-only Viewer.
62
+ - [Data Sources And OpenBB](data-sources-and-openbb.md) — source fallback,
63
+ optional direct OpenBB MCP, and third-party terms.
64
+ - [Decision Memory](decision-memory.md) and [Improvement Loop](improvement-loop.md)
65
+ — retained decisions, outcomes, lessons, and review.
66
+
67
+ ### Safety And Architecture
68
+
69
+ - [Safety, Policy, And Execution](safety-policy-and-execution.md) — canonical
70
+ sensitive-action, approval, broker, secret, and audit boundary.
71
+ - [Guardrails](guardrails.md) — guidance, enforcement, and information-barrier
72
+ taxonomy.
73
+ - [System Architecture](system-architecture.md) — runtime planes, central DB,
74
+ app boundaries, and service ownership.
75
+ - [Interfaces And Surfaces](interfaces-and-surfaces.md) — viewer, Admin, API,
76
+ MCP, CLI, and generated wrapper boundaries.
77
+ - [Generated Workspaces](generated-workspaces.md) — attach/update, generated
78
+ files, projection, provenance, and platform rules.
79
+ - [Investment Brain Plugins](investment-brain-plugins.md) — current managed
80
+ Brain behavior and migration context; native user skills remain the preferred
81
+ direction for future simplification.
82
+
83
+ ### Operations And Governance
84
+
85
+ - [Validation And Test Plan](validation-and-test-plan.md) — complete validation
86
+ matrix; use the smallest relevant subset during iteration.
87
+ - [Release Readiness](release-readiness.md) — release-specific evidence.
88
+ - [Deployment](deployment.md) — packaging, publication, update, and CI policy.
89
+ - [Licensing And Commercialization](licensing-and-commercialization.md) — open
90
+ source, generated workspace, trademark, and legal-review boundaries.
91
+
92
+ ## Writing Rules
93
+
94
+ - Document durable behavior, not temporary implementation plans or completed
95
+ checklists; Git history preserves those.
96
+ - Prefer links to repeated explanations. `openwiki/` should contain paths and
97
+ checks, not a second architecture narrative.
98
+ - Keep user procedures in `guidebook/`; keep internal source paths out of it.
99
+ - Keep product copy in English unless a reviewed localization layer is added.
100
+ - A behavior change updates its owning page in the same change. A code-only
101
+ refactor that preserves behavior need not churn every documentation layer.
@@ -3,18 +3,18 @@
3
3
  Status: v1 contract
4
4
 
5
5
  TradingCodex uses Codex itself as the investment research orchestrator. Head
6
- Manager interprets the user's original language, chooses the smallest useful
7
- fixed-role team, runs independent work in parallel, waits for authenticated
8
- artifacts, and decides whether to revise, add a role, challenge a conflict,
9
- stop, or synthesize.
6
+ Manager interprets the user's original language, answers narrow trusted facts
7
+ directly, and uses the smallest useful role set when fresh research or distinct
8
+ expertise is needed. It decides whether to follow up, add a role, challenge a
9
+ conflict, stop, answer directly, or synthesize.
10
10
 
11
11
  ```text
12
12
  User
13
13
  -> Head Manager
14
14
  -> begin_analysis_run (identity, request hash, sealed Brain/Strategy/Context provenance)
15
15
  -> optional one explicit Investment Brain inquiry overlay
16
- -> exact fixed-role children
17
- -> authenticated research artifacts
16
+ -> optional role-profile or workflow-defined fallback children
17
+ -> optional authenticated research artifacts
18
18
  -> dynamic next-role judgment
19
19
  -> run-local synthesis artifact
20
20
  ```
@@ -45,6 +45,13 @@ validated plugin `brain_id`, version, content digest, source metadata, manifest
45
45
  and source paths, and projected skill path. It does not store the raw request,
46
46
  a selected team, a plan, or a task queue.
47
47
 
48
+ Codex owns thread, child, wait, and follow-up lifecycle. TradingCodex does not
49
+ pre-allocate or mirror a Codex session-to-run map. When durable research
50
+ provenance is needed, `begin_analysis_run` creates the run ID and Head Manager
51
+ passes that returned ID in compact child briefs and authenticated artifact
52
+ calls. A follow-up in the same Codex task reuses that ID from task context;
53
+ TradingCodex does not reconstruct it from a session map.
54
+
48
55
  ## Investment Brain Context
49
56
 
50
57
  The native task may select at most one Primary Brain through one exact
@@ -72,23 +79,30 @@ falsify a Brain or Strategy assumption. Strategy governs a decision-rule
72
79
  conflict with Brain, while Investor Context remains blocking when suitability
73
80
  conflicts with Strategy.
74
81
 
75
- ## Dispatch Contract
76
-
77
- Every fixed-role child uses MultiAgent V2 with:
78
-
79
- - explicit `features.multi_agent_v2.enabled = true`
80
- - seven total session threads, preserving six child slots before the
81
- TradingCodex reserved-slot policy
82
- - exact registered `agent_type`
83
- - compact underscore-only `task_name`
84
- - compact role-owned assignment containing the analysis run id
85
- - `fork_turns="none"`
86
- - the role's projected model, reasoning effort, sandbox, web posture, skills,
87
- and MCP principal
88
-
89
- Each revision or follow-up is a fresh child. `followup_task`, generic/default
90
- agent fallback, full-history fork, role-TOML emulation, and source-code routing
91
- are not valid TradingCodex paths.
82
+ ## Delegation Contract
83
+
84
+ MultiAgent V2 exposes the generated role profiles with a depth-one boundary.
85
+ Head Manager prefers an exact profile when its specialty is useful and passes a
86
+ compact role-owned brief rather than the full root history. Role TOML supplies
87
+ the direct fixed model settings; their values and fallback eligibility are owned
88
+ by [Roles, Skills, And Workflows](roles-skills-and-workflows.md). Role profiles
89
+ retain their projected web posture, skills, tools, and MCP principal.
90
+
91
+ For an exact profile, Head Manager calls native `spawn_agent` with the exact
92
+ `agent_type`, a compact `message`, a `task_name`, and `fork_turns="none"`. It
93
+ does not pass `model` or `reasoning_effort`. A spawn is real only when the tool
94
+ returns a live target. Correct a rejected spawn only when its error identifies
95
+ the change; otherwise delegation remains blocked.
96
+
97
+ Use `followup_task` when a live child still owns a correction or clarification.
98
+ Start another child for a new specialty, an unavailable session, or independent
99
+ review. Apply the canonical fallback boundary in
100
+ [Roles, Skills, And Workflows](roles-skills-and-workflows.md). A child cannot
101
+ approve, execute, access a broker, or emulate Head Manager. Children never
102
+ delegate recursively. Head Manager waits only while a live child has useful work
103
+ and reports lifecycle events only from native tool and child-lifecycle results
104
+ in the current run. Native wait is wait-any and may serialize with no explicit
105
+ target list; that representation is not failure by itself.
92
106
 
93
107
  When a Brain applies, the assignment contains the question Head Manager derived
94
108
  from it, not the Brain body or a delegation of Brain authority. Brain content is
@@ -96,7 +110,8 @@ never copied into fixed-role configuration.
96
110
 
97
111
  ## Artifact And Lineage Contract
98
112
 
99
- Producing roles store their own output through `create_research_artifact`.
113
+ Decision-, reuse-, audit-, or handoff-relevant roles store their own output
114
+ through `create_research_artifact`; a narrow bounded answer need not create one.
100
115
  Authenticated service code derives the producer identity and content hash,
101
116
  verifies the analysis run, and resolves exact run-local `input_artifact_ids`
102
117
  into immutable input hashes. Head Manager reads exact returned artifact IDs
@@ -147,14 +162,20 @@ Brain invocation occur in native Codex tasks.
147
162
 
148
163
  A passing native smoke proves:
149
164
 
150
- 1. hooks provide transport/run context without semantic classification;
151
- 2. Head Manager calls `begin_analysis_run` for a fresh investment request;
165
+ 1. hooks provide compact context and proof gates without semantic classification
166
+ or generic shell-policy duplication;
167
+ 2. Head Manager uses the direct fast path or calls `begin_analysis_run` only for
168
+ fresh research and decision work;
152
169
  3. Korean and English requests both route by agent understanding;
153
- 4. exact Sol Head Manager and Terra roles use the configured reasoning levels;
154
- 5. spawns use exact V2 role identity and `fork_turns="none"`;
155
- 6. no Brain preserves baseline behavior, one exact Brain changes only inquiry
170
+ 4. generated root TOML inherits the user's model and reasoning settings, while
171
+ fixed-role TOML applies the child settings defined by the canonical role
172
+ contract;
173
+ 5. exact profiles spawn with compact fresh context, child follow-up targets a
174
+ returned live child, and lifecycle claims match completed native tool calls;
175
+ 6. fallback behavior matches the canonical role contract;
176
+ 7. no Brain preserves baseline behavior, one exact Brain changes only inquiry
156
177
  and interpretation, and multiple or unresolved Brains fail closed;
157
- 7. artifacts are principal-bound and preserve run-local Brain and input lineage;
158
- 8. Head Manager dynamically revises from artifacts without old plan tools;
159
- 9. memory-influenced judgment is blind-first and reports its delta; and
160
- 10. order/approval/execution gates remain service-owned.
178
+ 8. artifacts are principal-bound and preserve run-local Brain and input lineage;
179
+ 9. Head Manager dynamically revises from artifacts without old plan tools;
180
+ 10. memory-influenced judgment is blind-first and reports its delta; and
181
+ 11. order/approval/execution gates remain service-owned.