solarwindpy 0.0.1.dev0__py3-none-any.whl → 0.1.1__py3-none-any.whl

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.

Potentially problematic release.


This version of solarwindpy might be problematic. Click here for more details.

Files changed (412) hide show
  1. plans/.velocity/metrics.json +96 -0
  2. plans/0-overview-template.md +268 -0
  3. plans/N-phase-template.md +106 -0
  4. plans/PLAN_AUDIT_SUMMARY.md +173 -0
  5. plans/TEMPLATE-USAGE-GUIDE.md +198 -0
  6. plans/__init__.py +1 -0
  7. plans/abandoned/compaction-agent-system/0-Overview.md +123 -0
  8. plans/abandoned/compaction-agent-system/agents-index-update-plan.md +109 -0
  9. plans/abandoned/compaction-agent-system/compacted_state.md +85 -0
  10. plans/abandoned/compaction-agent-system/implementation-plan.md +107 -0
  11. plans/abandoned/compaction-agent-system/system-validation-report.md +159 -0
  12. plans/abandoned/compaction-agent-system/usage-guide.md +210 -0
  13. plans/abandoned/hook-system-enhancement/0-Overview.md +214 -0
  14. plans/abandoned/hook-system-enhancement/1-Phase1-Core-Infrastructure.md +313 -0
  15. plans/abandoned/hook-system-enhancement/2-Phase2-Intelligent-Testing.md +385 -0
  16. plans/abandoned/hook-system-enhancement/3-Phase3-Physics-Validation.md +444 -0
  17. plans/abandoned/hook-system-enhancement/4-Phase4-Performance-Monitoring.md +458 -0
  18. plans/abandoned/hook-system-enhancement/5-Phase5-Developer-Experience.md +532 -0
  19. plans/abandoned/hook-system-enhancement/6-Implementation-Timeline.md +274 -0
  20. plans/abandoned/hook-system-enhancement/7-Risk-Management.md +376 -0
  21. plans/abandoned/hook-system-enhancement/8-Testing-Strategy.md +579 -0
  22. plans/abandoned/readthedocs-automation/0-Overview.md +247 -0
  23. plans/abandoned/readthedocs-automation/1-Emergency-Documentation-Fixes.md +270 -0
  24. plans/abandoned/readthedocs-automation/2-Template-System-Enhancement.md +811 -0
  25. plans/abandoned/readthedocs-automation/3-Quality-Audit-ReadTheDocs-Integration.md +844 -0
  26. plans/abandoned/readthedocs-automation/4-Plan-Consolidation-Cleanup.md +632 -0
  27. plans/abandoned/readthedocs-automation/9-Closeout.md +207 -0
  28. plans/abandoned/readthedocs-automation/ABANDONMENT_REASON.md +72 -0
  29. plans/cicd-architecture-redesign/0-Overview.md +193 -0
  30. plans/cicd-architecture-redesign/1-Workflow-Creation.md +103 -0
  31. plans/cicd-architecture-redesign/2-Version-Detection.md +123 -0
  32. plans/cicd-architecture-redesign/3-Deployment-Gates.md +169 -0
  33. plans/cicd-architecture-redesign/4-RC-Testing.md +194 -0
  34. plans/cicd-architecture-redesign/5-TestPyPI-Validation.md +264 -0
  35. plans/cicd-architecture-redesign/6-Production-Release.md +263 -0
  36. plans/cicd-architecture-redesign/7-Cleanup.md +243 -0
  37. plans/cicd-architecture-redesign/8-Documentation.md +285 -0
  38. plans/cicd-architecture-redesign/Closeout.md +225 -0
  39. plans/closeout-template.md +259 -0
  40. plans/completed/circular-import-audit/0-Overview.md +152 -0
  41. plans/completed/circular-import-audit/1-Static-Dependency-Analysis.md +62 -0
  42. plans/completed/circular-import-audit/2-Dynamic-Import-Testing.md +56 -0
  43. plans/completed/circular-import-audit/3-Performance-Impact-Assessment.md +56 -0
  44. plans/completed/circular-import-audit/4-Issue-Remediation.md +78 -0
  45. plans/completed/circular-import-audit/5-Preventive-Infrastructure.md +89 -0
  46. plans/completed/claude-settings-ecosystem-alignment/0-Overview.md +162 -0
  47. plans/completed/claude-settings-ecosystem-alignment/1-Security-Foundation.md +148 -0
  48. plans/completed/claude-settings-ecosystem-alignment/2-Hook-Integration.md +158 -0
  49. plans/completed/claude-settings-ecosystem-alignment/3-Agent-System-Integration.md +177 -0
  50. plans/completed/claude-settings-ecosystem-alignment/4-Enhanced-Workflow-Automation.md +159 -0
  51. plans/completed/claude-settings-ecosystem-alignment/5-Validation-Monitoring.md +181 -0
  52. plans/completed/claude-settings-ecosystem-alignment/compacted_session_state.md +290 -0
  53. plans/completed/combined_plan_with_checklist_documentation/1-Overview-and-Goals.md +51 -0
  54. plans/completed/combined_plan_with_checklist_documentation/2-Toolchain-and-Hosting.md +69 -0
  55. plans/completed/combined_plan_with_checklist_documentation/3-Repository-Structure.md +61 -0
  56. plans/completed/combined_plan_with_checklist_documentation/4-Configuration-and-Standards.md +70 -0
  57. plans/completed/combined_plan_with_checklist_documentation/5-Documentation-Content.md +62 -0
  58. plans/completed/combined_plan_with_checklist_documentation/6-CI-CD-and-Validation.md +58 -0
  59. plans/completed/combined_plan_with_checklist_documentation/7-Maintenance.md +55 -0
  60. plans/completed/combined_test_plan_with_checklist_fitfunctions/0-Overview.md +135 -0
  61. plans/completed/combined_test_plan_with_checklist_fitfunctions/1-Common-fixtures.md +59 -0
  62. plans/completed/combined_test_plan_with_checklist_fitfunctions/10-power_laws.md +56 -0
  63. plans/completed/combined_test_plan_with_checklist_fitfunctions/2-core.py-FitFunction.md +118 -0
  64. plans/completed/combined_test_plan_with_checklist_fitfunctions/3-gaussians.py-Gaussian-GaussianNormalized-GaussianLn.md +69 -0
  65. plans/completed/combined_test_plan_with_checklist_fitfunctions/4-trend_fits.py-TrendFit.md +99 -0
  66. plans/completed/combined_test_plan_with_checklist_fitfunctions/5-plots.py-FFPlot.md +98 -0
  67. plans/completed/combined_test_plan_with_checklist_fitfunctions/6-tex_info.py-TeXinfo.md +79 -0
  68. plans/completed/combined_test_plan_with_checklist_fitfunctions/7-Justification.md +49 -0
  69. plans/completed/combined_test_plan_with_checklist_fitfunctions/8-exponentials.md +64 -0
  70. plans/completed/combined_test_plan_with_checklist_fitfunctions/9-lines.md +58 -0
  71. plans/completed/combined_test_plan_with_checklist_plotting/0-Overview.md +142 -0
  72. plans/completed/combined_test_plan_with_checklist_plotting/1-base.py.md +90 -0
  73. plans/completed/combined_test_plan_with_checklist_plotting/10-labels-special.py.md +102 -0
  74. plans/completed/combined_test_plan_with_checklist_plotting/11-labels-chemistry.py.md +212 -0
  75. plans/completed/combined_test_plan_with_checklist_plotting/12-labels-composition.py.md +242 -0
  76. plans/completed/combined_test_plan_with_checklist_plotting/13-labels-datetime.py.md +247 -0
  77. plans/completed/combined_test_plan_with_checklist_plotting/14-labels-elemental_abundance.py.md +274 -0
  78. plans/completed/combined_test_plan_with_checklist_plotting/15-visual-validation.md +256 -0
  79. plans/completed/combined_test_plan_with_checklist_plotting/16-integration-testing.md +266 -0
  80. plans/completed/combined_test_plan_with_checklist_plotting/17-performance-benchmarks.md +267 -0
  81. plans/completed/combined_test_plan_with_checklist_plotting/18-Fixtures-and-Utilities.md +86 -0
  82. plans/completed/combined_test_plan_with_checklist_plotting/2-agg_plot.py.md +90 -0
  83. plans/completed/combined_test_plan_with_checklist_plotting/3-histograms.py.md +201 -0
  84. plans/completed/combined_test_plan_with_checklist_plotting/4-scatter.py.md +167 -0
  85. plans/completed/combined_test_plan_with_checklist_plotting/5-spiral.py.md +216 -0
  86. plans/completed/combined_test_plan_with_checklist_plotting/6-orbits.py.md +108 -0
  87. plans/completed/combined_test_plan_with_checklist_plotting/7-tools.py.md +86 -0
  88. plans/completed/combined_test_plan_with_checklist_plotting/8-select_data_from_figure.py.md +97 -0
  89. plans/completed/combined_test_plan_with_checklist_plotting/9-labels-base.py.md +88 -0
  90. plans/completed/combined_test_plan_with_checklist_solar_activity/.gitkeep +0 -0
  91. plans/completed/combined_test_plan_with_checklist_solar_activity/0-Overview.md +170 -0
  92. plans/completed/combined_test_plan_with_checklist_solar_activity/1-Package-Entry-Point-__init__.py.md +121 -0
  93. plans/completed/combined_test_plan_with_checklist_solar_activity/2-Core-Base-Classes-base.py.md +142 -0
  94. plans/completed/combined_test_plan_with_checklist_solar_activity/3-Plotting-Helpers-plots.py.md +123 -0
  95. plans/completed/combined_test_plan_with_checklist_solar_activity/4-LISIRD-Sub-package.md +119 -0
  96. plans/completed/combined_test_plan_with_checklist_solar_activity/5-Extrema-Calculator.md +103 -0
  97. plans/completed/combined_test_plan_with_checklist_solar_activity/6-Sunspot-Number-Sub-package.md +163 -0
  98. plans/completed/combined_test_plan_with_checklist_solar_activity/7-Sunspot-Number-Init.py.md +217 -0
  99. plans/completed/combined_test_plan_with_checklist_solar_activity/compacted_state.md +52 -0
  100. plans/completed/compaction-agent-modernization/0-Overview.md +156 -0
  101. plans/completed/compaction-agent-modernization/1-Architecture-Audit-Gap-Analysis.md +132 -0
  102. plans/completed/compaction-agent-modernization/2-Token-Baseline-Recalibration.md +153 -0
  103. plans/completed/compaction-agent-modernization/3-Agent-Reference-Updates.md +184 -0
  104. plans/completed/compaction-agent-modernization/4-Compression-Algorithm-Modernization.md +238 -0
  105. plans/completed/compaction-agent-modernization/5-Workflow-Integration-Streamlining.md +252 -0
  106. plans/completed/compaction-agent-modernization/6-Template-Structure-Optimization.md +240 -0
  107. plans/completed/compaction-agent-modernization/7-Integration-Testing-Validation.md +292 -0
  108. plans/completed/compaction-hook-enhancement/0-Overview.md +150 -0
  109. plans/completed/compaction-hook-enhancement/1-Token-Estimation-Enhancement.md +179 -0
  110. plans/completed/compaction-hook-enhancement/2-Compression-Intelligence.md +294 -0
  111. plans/completed/compaction-hook-enhancement/3-Git-Integration-Metadata.md +310 -0
  112. plans/completed/compaction-hook-enhancement/4-Session-Continuity-Features.md +358 -0
  113. plans/completed/compaction-hook-enhancement/5-Testing-Strategy.md +404 -0
  114. plans/completed/compaction-hook-enhancement/6-Integration-Roadmap.md +319 -0
  115. plans/completed/compaction-hook-enhancement/compacted_state.md +142 -0
  116. plans/completed/docstring-audit-enhancement/0-Overview.md +274 -0
  117. plans/completed/docstring-audit-enhancement/1-Infrastructure-Setup-and-Validation-Tools.md +206 -0
  118. plans/completed/docstring-audit-enhancement/2-Core-Physics-Modules-Enhancement.md +237 -0
  119. plans/completed/docstring-audit-enhancement/3-Fitfunctions-Mathematical-Modules-Enhancement.md +188 -0
  120. plans/completed/docstring-audit-enhancement/4-Plotting-Visualization-Modules-Enhancement.md +243 -0
  121. plans/completed/docstring-audit-enhancement/5-Specialized-Modules-Enhancement.md +216 -0
  122. plans/completed/docstring-audit-enhancement/6-Validation-and-Integration.md +216 -0
  123. plans/completed/fitfunctions-testing-implementation/0-Overview.md +130 -0
  124. plans/completed/fitfunctions-testing-implementation/1-Test-Infrastructure-Setup.md +79 -0
  125. plans/completed/fitfunctions-testing-implementation/2-Common-Fixtures-Test-Utilities.md +104 -0
  126. plans/completed/fitfunctions-testing-implementation/3-Core-FitFunction-Testing.md +168 -0
  127. plans/completed/fitfunctions-testing-implementation/4-Specialized-Function-Classes.md +210 -0
  128. plans/completed/fitfunctions-testing-implementation/5-Advanced-Classes-Testing.md +214 -0
  129. plans/completed/fitfunctions-testing-implementation/6-Plotting-Integration-Testing.md +231 -0
  130. plans/completed/fitfunctions-testing-implementation/7-Extended-Coverage-BONUS.md +184 -0
  131. plans/completed/numpy-docstring-conversion-plan/numpy-docstring-conversion-plan.md +118 -0
  132. plans/completed/pr-review-remediation/0-Overview.md +138 -0
  133. plans/completed/pr-review-remediation/1-Critical-Safety-Improvements.md +179 -0
  134. plans/completed/pr-review-remediation/2-Smart-Timeouts-Validation.md +399 -0
  135. plans/completed/pr-review-remediation/3-Enhanced-GitHub-Integration.md +258 -0
  136. plans/completed/pr-review-remediation/compacted_state.md +66 -0
  137. plans/completed/python-310-migration/0-Overview.md +390 -0
  138. plans/completed/python-310-migration/1-Planning-Setup.md +164 -0
  139. plans/completed/python-310-migration/2-Implementation.md +256 -0
  140. plans/completed/python-310-migration/3-Testing-Validation.md +335 -0
  141. plans/completed/python-310-migration/4-Documentation-Release.md +274 -0
  142. plans/completed/python-310-migration/5-Closeout.md +252 -0
  143. plans/completed/requirements-management-consolidation/0-Overview.md +118 -0
  144. plans/completed/requirements-management-consolidation/1-Documentation-Validation-Environment-Setup.md +116 -0
  145. plans/completed/requirements-management-consolidation/2-Requirements-Consolidation.md +161 -0
  146. plans/completed/requirements-management-consolidation/3-Workflow-Automation-Final-Integration.md +196 -0
  147. plans/completed/single-ecosystem-plan-implementation/0-Overview.md +83 -0
  148. plans/completed/single-ecosystem-plan-implementation/1-Plan-Preservation-Session-Management.md +38 -0
  149. plans/completed/single-ecosystem-plan-implementation/2-File-Structure-Optimization.md +43 -0
  150. plans/completed/single-ecosystem-plan-implementation/3-Plan-Migration-Archive-Setup.md +82 -0
  151. plans/completed/single-ecosystem-plan-implementation/4-Agent-System-Transformation.md +108 -0
  152. plans/completed/single-ecosystem-plan-implementation/5-Template-System-Enhancement.md +131 -0
  153. plans/completed/single-ecosystem-plan-implementation/6-Final-Validation-Testing.md +120 -0
  154. plans/completed/test-directory-consolidation/0-Overview.md +51 -0
  155. plans/completed/test-directory-consolidation/1-Structure-Preparation.md +82 -0
  156. plans/completed/test-directory-consolidation/2-File-Migration.md +100 -0
  157. plans/completed/test-directory-consolidation/3-Import-Transformation.md +117 -0
  158. plans/completed/test-directory-consolidation/4-Configuration-Consolidation.md +140 -0
  159. plans/completed/test-directory-consolidation/5-Validation.md +152 -0
  160. plans/completed/test-directory-consolidation/6-Cleanup.md +156 -0
  161. plans/completed/test-planning-agents-architecture/0-Overview.md +79 -0
  162. plans/completed/test-planning-agents-architecture/1-Branch-Isolation-Testing.md +49 -0
  163. plans/completed/test-planning-agents-architecture/2-Cross-Branch-Coordination.md +51 -0
  164. plans/completed/test-planning-agents-architecture/3-Merge-Workflow-Testing.md +48 -0
  165. plans/deployment-semver-pypi-rtd/0-Overview.md +463 -0
  166. plans/deployment-semver-pypi-rtd/1-Semantic-Versioning-Foundation.md +136 -0
  167. plans/deployment-semver-pypi-rtd/2-PyPI-Deployment-Infrastructure.md +168 -0
  168. plans/deployment-semver-pypi-rtd/3-Release-Automation.md +214 -0
  169. plans/deployment-semver-pypi-rtd/4-Plan-Closeout.md +543 -0
  170. plans/deployment-semver-pypi-rtd/compacted_session_state.md +172 -0
  171. plans/deployment-semver-pypi-rtd/compacted_state.md +131 -0
  172. plans/documentation-code-audit/0-Overview.md +393 -0
  173. plans/documentation-code-audit/1-Discovery-Inventory.md +183 -0
  174. plans/documentation-code-audit/2-Execution-Environment-Setup.md +263 -0
  175. plans/documentation-code-audit/3-Systematic-Validation.md +322 -0
  176. plans/documentation-code-audit/4-Code-Example-Remediation.md +358 -0
  177. plans/documentation-code-audit/5-Physics-MultiIndex-Compliance.md +464 -0
  178. plans/documentation-code-audit/6-Doctest-Integration.md +523 -0
  179. plans/documentation-code-audit/7-Reporting-Documentation.md +498 -0
  180. plans/documentation-code-audit/8-Closeout.md +456 -0
  181. plans/documentation-rebuild-session/compacted_state.md +109 -0
  182. plans/documentation-rendering-fixes/0-Overview.md +104 -0
  183. plans/documentation-rendering-fixes/1-Sphinx-Build-Diagnostics-Warning-Audit.md +101 -0
  184. plans/documentation-rendering-fixes/2-Configuration-Infrastructure-Fixes.md +113 -0
  185. plans/documentation-rendering-fixes/3-Docstring-Syntax-Audit-Repair.md +131 -0
  186. plans/documentation-rendering-fixes/4-HTML-Page-Rendering-Verification.md +113 -0
  187. plans/documentation-rendering-fixes/5-Advanced-Documentation-Quality-Assurance.md +119 -0
  188. plans/documentation-rendering-fixes/6-Documentation-Build-Optimization-Testing.md +129 -0
  189. plans/documentation-rendering-fixes/compacted_state.md +132 -0
  190. plans/documentation-template-fix/0-Overview.md +197 -0
  191. plans/documentation-template-fix/1-Template-System-Analysis.md +269 -0
  192. plans/documentation-template-fix/2-Template-Modification.md +609 -0
  193. plans/documentation-template-fix/3-Build-System-Integration.md +766 -0
  194. plans/documentation-template-fix/4-Testing-Validation.md +1399 -0
  195. plans/documentation-template-fix/5-Documentation-Training.md +602 -0
  196. plans/documentation-workflow-fix/0-Overview.md +222 -0
  197. plans/documentation-workflow-fix/1-Immediate-Fixes.md +238 -0
  198. plans/documentation-workflow-fix/2-Configuration-Setup.md +298 -0
  199. plans/documentation-workflow-fix/3-Pre-commit-Integration.md +382 -0
  200. plans/documentation-workflow-fix/4-Workflow-Improvements.md +446 -0
  201. plans/documentation-workflow-fix/5-Documentation-and-Training.md +527 -0
  202. plans/duplicate-object-warnings-fix-plan.md +130 -0
  203. plans/github-issues-migration/0-Overview.md +510 -0
  204. plans/github-issues-migration/1-Foundation-Label-System.md +180 -0
  205. plans/github-issues-migration/2-Migration-Tool-Rewrite.md +235 -0
  206. plans/github-issues-migration/3-CLI-Integration-Automation.md +169 -0
  207. plans/github-issues-migration/4-Validated-Migration.md +252 -0
  208. plans/github-issues-migration/5-Documentation-Training.md +171 -0
  209. plans/github-issues-migration/6-Closeout.md +179 -0
  210. plans/github-workflows-repair/repair-plan.md +299 -0
  211. plans/issues_from_plans.py +342 -0
  212. plans/pr-270-doc-validation-fixes/0-Overview.md +354 -0
  213. plans/pr-270-doc-validation-fixes/1-Critical-PR-Fixes.md +117 -0
  214. plans/pr-270-doc-validation-fixes/2-Framework-Right-Sizing.md +129 -0
  215. plans/pr-270-doc-validation-fixes/3-Sustainable-Documentation.md +126 -0
  216. plans/pr-270-doc-validation-fixes/4-Closeout-Migration.md +143 -0
  217. plans/pr-270-doc-validation-fixes/PLAN_COMPLETED.md +149 -0
  218. plans/python-310-migration/0-Overview.md +390 -0
  219. plans/python-310-migration/1-Planning-Setup.md +164 -0
  220. plans/python-310-migration/2-Implementation.md +256 -0
  221. plans/python-310-migration/3-Testing-Validation.md +335 -0
  222. plans/python-310-migration/4-Documentation-Release.md +274 -0
  223. plans/python-310-migration/5-Closeout.md +252 -0
  224. plans/readthedocs-simplified/0-Overview.md +243 -0
  225. plans/readthedocs-simplified/1-Immediate-Fixes.md +216 -0
  226. plans/readthedocs-simplified/2-Template-Simplification.md +278 -0
  227. plans/readthedocs-simplified/3-ReadTheDocs-Setup.md +298 -0
  228. plans/readthedocs-simplified/4-Testing-Validation.md +328 -0
  229. plans/readthedocs-simplified/5-Closeout.md +231 -0
  230. plans/readthedocs-simplified/compacted_state.md +127 -0
  231. plans/session-compaction-2025-08-12/compacted_state.md +114 -0
  232. plans/session-compaction-2025-08-13/compacted_state.md +145 -0
  233. plans/session-continuity-protocol/0-Overview.md +35 -0
  234. plans/session-continuity-protocol/1-Core-Principles-Framework.md +40 -0
  235. plans/session-continuity-protocol/2-Pre-Session-Validation-System.md +79 -0
  236. plans/session-continuity-protocol/3-Context-Switching-Prevention.md +87 -0
  237. plans/session-continuity-protocol/4-Progress-Tracking-Recovery.md +100 -0
  238. plans/sphinx-warnings-analysis.md +222 -0
  239. plans/systemprompt-optimization/0-Overview.md +447 -0
  240. plans/systemprompt-optimization/1-Deploy-SystemPrompt.md +114 -0
  241. plans/systemprompt-optimization/2-Documentation-Alignment.md +198 -0
  242. plans/systemprompt-optimization/3-Monitoring-Infrastructure.md +396 -0
  243. plans/systemprompt-optimization/4-Implementation-Script.md +450 -0
  244. plans/systemprompt-optimization/9-Closeout.md +165 -0
  245. plans/systemprompt-optimization/compacted_state.md +143 -0
  246. plans/template-value-propositions/0-Overview.md +357 -0
  247. plans/template-value-propositions/1-Value-Proposition-Framework-Design.md +144 -0
  248. plans/template-value-propositions/2-Plan-Template-Enhancement.md +178 -0
  249. plans/template-value-propositions/3-Value-Generator-Hook-Implementation.md +291 -0
  250. plans/template-value-propositions/4-Value-Validator-Hook-Implementation.md +274 -0
  251. plans/template-value-propositions/5-Documentation-Agent-Updates.md +219 -0
  252. plans/template-value-propositions/6-Integration-Testing-Validation.md +247 -0
  253. plans/tests-audit/0-Overview.md +410 -0
  254. plans/tests-audit/1-Discovery-Inventory.md +170 -0
  255. plans/tests-audit/2-Physics-Validation-Audit.md +195 -0
  256. plans/tests-audit/3-Architecture-Compliance.md +195 -0
  257. plans/tests-audit/4-Numerical-Stability-Analysis.md +203 -0
  258. plans/tests-audit/5-Documentation-Enhancement.md +220 -0
  259. plans/tests-audit/6-Audit-Deliverables.md +220 -0
  260. plans/tests-audit/7-Closeout.md +252 -0
  261. plans/tests-audit/artifacts/ARCHITECTURE_COMPLIANCE_REPORT.md +315 -0
  262. plans/tests-audit/artifacts/ARCHITECTURE_RECOMMENDATIONS.md +943 -0
  263. plans/tests-audit/artifacts/COMPREHENSIVE_AUDIT_REPORT.md +356 -0
  264. plans/tests-audit/artifacts/CONTRIBUTING_ENHANCED_TEMPLATE.md +419 -0
  265. plans/tests-audit/artifacts/COVERAGE_GAP_ANALYSIS.md +152 -0
  266. plans/tests-audit/artifacts/DOCUMENTATION_ENHANCEMENT_REPORT.md +502 -0
  267. plans/tests-audit/artifacts/EXECUTIVE_AUDIT_SUMMARY.md +129 -0
  268. plans/tests-audit/artifacts/IMPLEMENTATION_ROADMAP.md +647 -0
  269. plans/tests-audit/artifacts/NUMERICAL_RECOMMENDATIONS.md +739 -0
  270. plans/tests-audit/artifacts/NUMERICAL_STABILITY_GUIDE_TEMPLATE.rst +451 -0
  271. plans/tests-audit/artifacts/NUMERICAL_STABILITY_REPORT.md +301 -0
  272. plans/tests-audit/artifacts/PHASE_3_SUMMARY.md +280 -0
  273. plans/tests-audit/artifacts/PHASE_4_SUMMARY.md +229 -0
  274. plans/tests-audit/artifacts/PHASE_5_SUMMARY.md +292 -0
  275. plans/tests-audit/artifacts/PHASE_6_CLOSEOUT.md +278 -0
  276. plans/tests-audit/artifacts/PHYSICS_GUIDE_TEMPLATE.rst +268 -0
  277. plans/tests-audit/artifacts/PHYSICS_VALIDATION_REPORT.md +235 -0
  278. plans/tests-audit/artifacts/TECHNICAL_DELIVERABLES_PACKAGE.md +2502 -0
  279. plans/tests-audit/artifacts/TEST_INVENTORY.csv +1204 -0
  280. plans/tests-audit/artifacts/TEST_INVENTORY.md +135 -0
  281. plans/tests-audit/artifacts/test_discovery_analysis.py +231 -0
  282. plans/tests-audit/artifacts/test_parser.py +395 -0
  283. solarwindpy/README.md +3 -0
  284. solarwindpy/Untitled.ipynb +54 -0
  285. solarwindpy/__init__.py +74 -0
  286. solarwindpy/core/__init__.py +23 -0
  287. solarwindpy/core/alfvenic_turbulence.py +804 -0
  288. solarwindpy/core/base.py +267 -0
  289. solarwindpy/core/ions.py +309 -0
  290. solarwindpy/core/plasma.py +2133 -0
  291. solarwindpy/core/spacecraft.py +256 -0
  292. solarwindpy/core/tensor.py +90 -0
  293. solarwindpy/core/units_constants.py +199 -0
  294. solarwindpy/core/vector.py +328 -0
  295. solarwindpy/fitfunctions/__init__.py +20 -0
  296. solarwindpy/fitfunctions/core.py +734 -0
  297. solarwindpy/fitfunctions/exponentials.py +188 -0
  298. solarwindpy/fitfunctions/gaussians.py +264 -0
  299. solarwindpy/fitfunctions/lines.py +116 -0
  300. solarwindpy/fitfunctions/moyal.py +71 -0
  301. solarwindpy/fitfunctions/plots.py +751 -0
  302. solarwindpy/fitfunctions/power_laws.py +209 -0
  303. solarwindpy/fitfunctions/tex_info.py +568 -0
  304. solarwindpy/fitfunctions/trend_fits.py +482 -0
  305. solarwindpy/instabilities/__init__.py +16 -0
  306. solarwindpy/instabilities/beta_ani.py +82 -0
  307. solarwindpy/instabilities/verscharen2016.py +631 -0
  308. solarwindpy/plotting/__init__.py +33 -0
  309. solarwindpy/plotting/agg_plot.py +489 -0
  310. solarwindpy/plotting/base.py +465 -0
  311. solarwindpy/plotting/hist1d.py +405 -0
  312. solarwindpy/plotting/hist2d.py +1035 -0
  313. solarwindpy/plotting/histograms.py +1845 -0
  314. solarwindpy/plotting/labels/__init__.py +104 -0
  315. solarwindpy/plotting/labels/base.py +686 -0
  316. solarwindpy/plotting/labels/chemistry.py +19 -0
  317. solarwindpy/plotting/labels/composition.py +100 -0
  318. solarwindpy/plotting/labels/datetime.py +235 -0
  319. solarwindpy/plotting/labels/elemental_abundance.py +73 -0
  320. solarwindpy/plotting/labels/special.py +794 -0
  321. solarwindpy/plotting/orbits.py +515 -0
  322. solarwindpy/plotting/scatter.py +99 -0
  323. solarwindpy/plotting/select_data_from_figure.py +329 -0
  324. solarwindpy/plotting/spiral.py +980 -0
  325. solarwindpy/plotting/tools.py +434 -0
  326. solarwindpy/scripts/__init__.py +1 -0
  327. solarwindpy/scripts/logs/.gitignore +1 -0
  328. solarwindpy/solar_activity/__init__.py +53 -0
  329. solarwindpy/solar_activity/base.py +605 -0
  330. solarwindpy/solar_activity/lisird/__init__.py +3 -0
  331. solarwindpy/solar_activity/lisird/extrema_calculator.py +394 -0
  332. solarwindpy/solar_activity/lisird/lisird.py +319 -0
  333. solarwindpy/solar_activity/plots.py +116 -0
  334. solarwindpy/solar_activity/sunspot_number/.DS_Store +0 -0
  335. solarwindpy/solar_activity/sunspot_number/__init__.py +3 -0
  336. solarwindpy/solar_activity/sunspot_number/sidc.py +556 -0
  337. solarwindpy/solar_activity/sunspot_number/ssn_extrema.csv +72 -0
  338. solarwindpy/solar_activity/sunspot_number/ssn_extrema.csv.silso +72 -0
  339. solarwindpy/tools/__init__.py +162 -0
  340. solarwindpy-0.1.1.dist-info/METADATA +181 -0
  341. solarwindpy-0.1.1.dist-info/RECORD +409 -0
  342. {solarwindpy-0.0.1.dev0.dist-info → solarwindpy-0.1.1.dist-info}/WHEEL +1 -1
  343. solarwindpy-0.1.1.dist-info/licenses/LICENSE.rst +32 -0
  344. solarwindpy-0.1.1.dist-info/top_level.txt +3 -0
  345. tests/__init__.py +1 -0
  346. tests/conftest.py +10 -0
  347. tests/core/__init__.py +1 -0
  348. tests/core/test_alfvenic_turbulence.py +544 -0
  349. tests/core/test_base.py +112 -0
  350. tests/core/test_base_head_tail.py +29 -0
  351. tests/core/test_base_mi_tuples.py +11 -0
  352. tests/core/test_core_verify_datetimeindex.py +32 -0
  353. tests/core/test_ions.py +325 -0
  354. tests/core/test_plasma.py +2581 -0
  355. tests/core/test_plasma_io.py +12 -0
  356. tests/core/test_quantities.py +507 -0
  357. tests/core/test_spacecraft.py +210 -0
  358. tests/core/test_units_constants.py +22 -0
  359. tests/data/epoch.csv +4 -0
  360. tests/data/plasma.csv +4 -0
  361. tests/data/spacecraft.csv +4 -0
  362. tests/fitfunctions/conftest.py +60 -0
  363. tests/fitfunctions/test_core.py +193 -0
  364. tests/fitfunctions/test_exponentials.py +342 -0
  365. tests/fitfunctions/test_gaussians.py +142 -0
  366. tests/fitfunctions/test_lines.py +349 -0
  367. tests/fitfunctions/test_moyal.py +258 -0
  368. tests/fitfunctions/test_plots.py +258 -0
  369. tests/fitfunctions/test_power_laws.py +365 -0
  370. tests/fitfunctions/test_tex_info.py +183 -0
  371. tests/fitfunctions/test_trend_fit_properties.py +31 -0
  372. tests/fitfunctions/test_trend_fits.py +244 -0
  373. tests/plotting/__init__.py +1 -0
  374. tests/plotting/labels/__init__.py +1 -0
  375. tests/plotting/labels/test_chemistry.py +243 -0
  376. tests/plotting/labels/test_composition.py +345 -0
  377. tests/plotting/labels/test_datetime.py +445 -0
  378. tests/plotting/labels/test_elemental_abundance.py +366 -0
  379. tests/plotting/labels/test_init.py +66 -0
  380. tests/plotting/labels/test_labels_base.py +347 -0
  381. tests/plotting/labels/test_special.py +550 -0
  382. tests/plotting/test_agg_plot.py +602 -0
  383. tests/plotting/test_base.py +752 -0
  384. tests/plotting/test_fixtures_utilities.py +775 -0
  385. tests/plotting/test_histograms.py +546 -0
  386. tests/plotting/test_integration.py +675 -0
  387. tests/plotting/test_orbits.py +435 -0
  388. tests/plotting/test_performance.py +708 -0
  389. tests/plotting/test_scatter.py +752 -0
  390. tests/plotting/test_select_data_from_figure.py +1209 -0
  391. tests/plotting/test_spiral.py +573 -0
  392. tests/plotting/test_tools.py +607 -0
  393. tests/plotting/test_visual_validation.py +465 -0
  394. tests/solar_activity/__init__.py +1 -0
  395. tests/solar_activity/lisird/__init__.py +1 -0
  396. tests/solar_activity/lisird/test_extrema_calculator.py +593 -0
  397. tests/solar_activity/lisird/test_lisird_id.py +187 -0
  398. tests/solar_activity/sunspot_number/__init__.py +1 -0
  399. tests/solar_activity/sunspot_number/test_init.py +399 -0
  400. tests/solar_activity/sunspot_number/test_sidc.py +465 -0
  401. tests/solar_activity/sunspot_number/test_sidc_id.py +223 -0
  402. tests/solar_activity/sunspot_number/test_sidc_loader.py +275 -0
  403. tests/solar_activity/sunspot_number/test_ssn_extrema.py +406 -0
  404. tests/solar_activity/test_base.py +656 -0
  405. tests/solar_activity/test_init.py +396 -0
  406. tests/solar_activity/test_plots.py +371 -0
  407. tests/test_circular_imports.py +408 -0
  408. tests/test_issue_titles.py +25 -0
  409. tests/test_statusline.py +298 -0
  410. solarwindpy-0.0.1.dev0.dist-info/METADATA +0 -14
  411. solarwindpy-0.0.1.dev0.dist-info/RECORD +0 -4
  412. solarwindpy-0.0.1.dev0.dist-info/top_level.txt +0 -1
@@ -0,0 +1,222 @@
1
+ # Sphinx Documentation Warnings Analysis
2
+
3
+ ## Warning and Error Summary - UPDATED 2025-08-13
4
+
5
+ | Warning Type | Count | Status |
6
+ |-------------|-------|--------|
7
+ | SyntaxWarning: invalid escape sequence | 13 | 🔸 38% REDUCED (21→13) |
8
+ | Unknown section warnings (numpydoc) | 0 | ✅ **100% ELIMINATED** (21→0) |
9
+ | Docutils warnings | 0 | ✅ **100% ELIMINATED** (2→0) |
10
+ | Duplicate object description | 0 | ✅ **100% ELIMINATED** (150→0) |
11
+ | FutureWarning (pandas) | 1 | ⚠️ Reverted (user request) |
12
+ | Missing bibtex references | 4 | New category |
13
+
14
+ ## SyntaxWarning: invalid escape sequence
15
+
16
+ **Description**: Python 3.12+ treats backslashes in string literals as invalid escape sequences if they're not recognized escape characters. The warnings occur in LaTeX mathematical expressions where `\;` (thin space) and `\#` (hash symbol) are used but need to be properly escaped.
17
+
18
+ **🔸 PROGRESS UPDATE**: **38% reduction achieved** (21 → 13 warnings)
19
+
20
+ **Completed Fixes**:
21
+ - ✅ Fixed datetime.py: 4 strings converted to raw strings and f-string combinations
22
+ - ✅ Fixed composition.py: Updated units property to use raw string
23
+ - ✅ Fixed special.py: Cleaned up noqa comments for raw strings
24
+ - ✅ Fixed base.py: Fixed one non-raw template string and commented escape sequences
25
+
26
+ **Remaining Issues**:
27
+ - 13 remaining warnings showing as `<unknown>` line numbers
28
+ - These appear to be from dynamically generated content during Sphinx processing
29
+ - Likely from LaTeX strings processed during documentation generation
30
+
31
+ **Proposed Fixes for Remaining Issues**:
32
+ 1. **Investigate Sphinx LaTeX processing** - Track down source of dynamic warnings
33
+ - **Value**: Complete resolution of all warnings
34
+ - **Effort**: High - requires debugging Sphinx internals
35
+
36
+ 2. **Accept remaining warnings** - Focus on other high-impact fixes
37
+ - **Value**: Low maintenance overhead
38
+ - **Effort**: None - but warnings persist
39
+
40
+ **Affected Files**:
41
+ - `<unknown>` references (13 remaining - dynamically generated during Sphinx build)
42
+ - ✅ solarwindpy/plotting/labels/ modules (fixed)
43
+
44
+ ## Unknown section warnings (numpydoc) - ✅ **COMPLETED**
45
+
46
+ **Description**: NumPy docstring parser doesn't recognize custom sections like "Properties", "Abstract Properties", "Abstract Methods", "Derivation", "Call Signature", "Todo", "Paremeters" (typo).
47
+
48
+ **✅ STATUS**: **ALL 21 WARNINGS ELIMINATED** - 100% NumPy docstring standard compliance achieved!
49
+
50
+ **Implementation Details**:
51
+ - **Commit**: `8236f1d` - Comprehensive NumPy docstring conversion
52
+ - **Files Modified**: 11 total across core, plotting, and solar_activity modules
53
+ - **Strategy**: Complete conversion to NumPy standard sections (not configuration workaround)
54
+
55
+ **4-Phase Implementation Completed**:
56
+
57
+ **✅ Phase 1: Typo Fixes (4 instances)**
58
+ - Fixed "Paremeters" → "Parameters" in:
59
+ - `hist2d.py`: make_plot() and plot_contours() methods
60
+ - `scatter.py`: make_plot() method
61
+ - `spiral.py`: plot_contours() method
62
+
63
+ **✅ Phase 2: Class Docstring Conversions (12 instances)**
64
+ - Converted Properties/Abstract sections → Attributes/Methods:
65
+ - `agg_plot.py`: Merged Properties + Abstract Properties → Attributes
66
+ - `base.py`: Fixed "Abstract Properites" typo → Attributes
67
+ - `scatter.py`: Properties/Abstract sections → Attributes/Methods
68
+ - `hist1d.py`: Properties → Attributes
69
+ - `hist2d.py`: Properties → Attributes
70
+
71
+ **✅ Phase 3: Core Module Special Sections (2 files)**
72
+ - `alfvenic_turbulence.py`: Properties → Attributes (AlfvenicTurbulenceDAmicis class)
73
+ - `plasma.py`: Derivation → Notes (beta method, preserved all mathematical formulas)
74
+
75
+ **✅ Phase 4: Miscellaneous Sections (2 files)**
76
+ - `spiral.py`: "Call Signature" → "Examples" (SpiralPlot2D class)
77
+ - `sidc.py`: Moved "Todo" section to inline comment
78
+
79
+ **Bonus: Sphinx Cross-Reference Audit**
80
+ - Fixed property references to use `:py:attr:` instead of `:py:meth:`
81
+ - Updated `sc` and `b` properties in plasma.py
82
+ - Comprehensive property shortcut corrections in alfvenic_turbulence.py
83
+
84
+ **Results**:
85
+ - ✅ **Zero unknown section warnings** in documentation build
86
+ - ✅ **Full NumPy docstring convention compliance**
87
+ - ✅ **Improved documentation discoverability** through standard sections
88
+ - ✅ **Better Sphinx rendering** with proper section formatting
89
+
90
+ **Previously Affected Files (All Fixed)**:
91
+ - ✅ `solarwindpy/core/plasma.py` - "Derivation" sections → Notes
92
+ - ✅ `solarwindpy/core/alfvenic_turbulence.py` - "Properties" sections → Attributes
93
+ - ✅ `solarwindpy/plotting/` modules - Properties/Abstract sections → Attributes/Methods
94
+ - ✅ `solarwindpy/plotting/hist2d.py`, `scatter.py`, `spiral.py` - "Paremeters" typo → Parameters
95
+ - ✅ `solarwindpy/plotting/spiral.py` - "Call Signature" → Examples
96
+ - ✅ `solarwindpy/solar_activity/sunspot_number/sidc.py` - Todo section handled
97
+
98
+ ## Duplicate object description - ✅ **COMPLETED**
99
+
100
+ **Description**: Sphinx finds the same object documented in multiple places, likely due to importing classes/functions in `__init__.py` files and also documenting them in individual module pages.
101
+
102
+ **✅ STATUS**: **COMPLETELY ELIMINATED** - 100% reduction achieved (150→0)!
103
+
104
+ **Implementation Details**:
105
+ - **Commit**: `COMPLETED` - Configuration-based duplicate warnings elimination
106
+ - **Strategy**: Restructured documentation architecture + `:no-index:` directives
107
+ - **Files Modified**: 40+ RST files across all packages
108
+
109
+ **5-Phase Implementation Completed**:
110
+
111
+ **✅ Phase 1: Documentation Structure Analysis**
112
+ - Mapped 150 duplicate warnings across package/module/class hierarchy
113
+ - Identified root cause: triple documentation (package + module + autosummary)
114
+
115
+ **✅ Phase 2: Implement Autosummary Navigation**
116
+ - Converted package pages to use autosummary navigation
117
+ - `solarwindpy.core.rst`: Removed `automodule` → Added class autosummary
118
+ - `solarwindpy.plotting.rst`: Removed `automodule` → Added function autosummary
119
+ - `solarwindpy.fitfunctions.rst`: Simplified to description only
120
+
121
+ **✅ Phase 3: Clean Module Documentation**
122
+ - Added `:no-index:` to all module pages to prevent search index duplication
123
+ - Fixed module vs class page conflicts
124
+
125
+ **✅ Phase 4: Verify Class Pages**
126
+ - Ensured individual class pages generated by autosummary work correctly
127
+ - Verified navigation hierarchy integrity
128
+
129
+ **✅ Phase 5: Testing & Validation**
130
+ - Achieved 100% reduction: 150 → 0 warnings
131
+ - Tested documentation build performance (faster builds)
132
+ - Verified search functionality works correctly
133
+
134
+ **Results**:
135
+ - ✅ **100% warning elimination** - Complete resolution of duplicate object warnings
136
+ - 📚 **Sustainable solution** - Configuration-based approach survives regeneration
137
+ - 🔧 **Automated workflow** - Makefile integration ensures consistency
138
+ - ⚡ **Faster builds** - Eliminated redundant documentation processing
139
+
140
+ **Configuration-Based Achievement**:
141
+ - **Script**: `add_no_index.py` automatically adds `:no-index:` to all module documentation
142
+ - **Makefile Integration**: `make html` now runs `sphinx-apidoc` + `add_no_index.py` automatically
143
+ - **Future-Proof**: Changes persist through documentation regeneration
144
+ - **No Manual Edits**: No need to manually edit RST files that get overwritten
145
+
146
+ **Previously Affected Files (Major Improvements)**:
147
+ - ✅ **Package pages**: Converted to autosummary navigation (5 files)
148
+ - ✅ **Module pages**: Added `:no-index:` to prevent duplicates (40+ files)
149
+ - ✅ **Documentation structure**: Optimized for clarity and performance
150
+
151
+ ## Docutils warnings - ✅ **COMPLETED**
152
+
153
+ **Description**: RST formatting issues including incomplete field lists and malformed inline emphasis.
154
+
155
+ **✅ STATUS**: **ALL 2 WARNINGS ELIMINATED** - 100% docutils warning elimination achieved!
156
+
157
+ **Implementation Details**:
158
+ - **Commit**: `7059046` - Fixed RST formatting issues in docstrings
159
+ - **Files Modified**: 2 files (alfvenic_turbulence.py, base.py)
160
+ - **Warning Reduction**: Total warnings 160 → 158 (2 docutils warnings eliminated)
161
+
162
+ **Completed Fixes**:
163
+
164
+ **✅ Issue 1: Inline Emphasis in Journal Names**
165
+ - **File**: `solarwindpy/core/alfvenic_turbulence.py`
166
+ - **Problem**: Unescaped asterisks (*) in journal names interpreted as RST emphasis markers
167
+ - **Solution**: Escaped all asterisks with backslashes
168
+ - **Changes**:
169
+ - Line 13: `*Living Reviews in Solar Physics*` → `\*Living Reviews in Solar Physics\*`
170
+ - Line 15: `*Monthly Notices of the Royal Astronomical Society: Letters*` → `\*Monthly Notices...\*`
171
+ - Line 17: `*Astrophys. J.*` → `\*Astrophys. J.\*`
172
+
173
+ **✅ Issue 2: Inline Interpreted Text Reference**
174
+ - **File**: `solarwindpy/solar_activity/base.py`
175
+ - **Problem**: Improper backtick usage creating invalid inline interpreted text
176
+ - **Solution**: Used proper RST class reference syntax
177
+ - **Changes**:
178
+ - Line 376: `` `pd.Interval`s corresponding...`` → `:class:`pd.Interval` objects corresponding...`
179
+
180
+ **Results**:
181
+ - ✅ **Zero docutils warnings** in documentation build
182
+ - ✅ **Proper journal name rendering** with escaped italics formatting
183
+ - ✅ **Enhanced cross-referencing** with :class: directive for better navigation
184
+ - ✅ **Clean RST processing** with no formatting conflicts
185
+
186
+ **Previously Affected Files (All Fixed)**:
187
+ - ✅ `solarwindpy/core/alfvenic_turbulence.py` - Journal name emphasis issues → Proper escaped formatting
188
+ - ✅ `solarwindpy/solar_activity/base.py` - Inline text reference issue → Proper class reference
189
+
190
+ ## FutureWarning (pandas)
191
+
192
+ **Description**: Pandas deprecation warning for `stack()` method usage.
193
+
194
+ **⚠️ STATUS**: **User requested revert** - change undone for safety
195
+
196
+ **Available Fix**:
197
+ 1. **Add future_stack=True** - Adopt new pandas implementation
198
+ - **Value**: Future-proofs code, silences warning
199
+ - **Effort**: Minimal - single parameter addition
200
+ - **Status**: Not applied - user will handle manually
201
+
202
+ **Affected Files**:
203
+ - `solarwindpy/instabilities/verscharen2016.py:66`
204
+
205
+ ## Missing bibtex references
206
+
207
+ **Description**: Bibliography references not found in the .bib file.
208
+
209
+ **New Category**: 4 warnings detected
210
+
211
+ **Proposed Fixes**:
212
+ 1. **Add missing references** - Update solarwindpy.bib with missing citations
213
+ - **Value**: Proper bibliography rendering
214
+ - **Effort**: Medium - research and add bibliography entries
215
+
216
+ 2. **Remove citations** - Remove unused citation references from docstrings
217
+ - **Value**: Clean documentation
218
+ - **Effort**: Low - simple text removal
219
+
220
+ **Affected Files**:
221
+ - References to "Verscharen2016a" in instabilities modules
222
+ - Citations in various docstrings
@@ -0,0 +1,447 @@
1
+ # SystemPrompt Optimization - Overview
2
+
3
+ ## Plan Metadata
4
+ - **Plan Name**: SystemPrompt Optimization
5
+ - **Created**: 2025-08-19
6
+ - **Branch**: plan/systemprompt-optimization
7
+ - **Implementation Branch**: feature/systemprompt-optimization
8
+ - **PlanManager**: UnifiedPlanCoordinator
9
+ - **PlanImplementer**: UnifiedPlanCoordinator
10
+ - **Structure**: Multi-Phase
11
+ - **Total Phases**: 3
12
+ - **Dependencies**: None
13
+ - **Affects**: .claude/settings.json, CLAUDE.md, .claude/hooks/
14
+ - **Estimated Duration**: 4-6 hours
15
+ - **Status**: Planning
16
+
17
+ ## Phase Overview
18
+ - [ ] **Phase 1: SystemPrompt Deployment** (Est: 1-2 hours) - Update settings.json with optimized 210-token prompt
19
+ - [ ] **Phase 2: Documentation Alignment** (Est: 2-3 hours) - Update CLAUDE.md with PR workflow and hook details
20
+ - [ ] **Phase 3: Performance Monitoring** (Est: 1 hour) - Deploy automated metrics collection (optional)
21
+
22
+ ## Phase Files
23
+ 1. [1-SystemPrompt-Deployment.md](./1-SystemPrompt-Deployment.md)
24
+ 2. [2-Documentation-Alignment.md](./2-Documentation-Alignment.md)
25
+ 3. [3-Performance-Monitoring.md](./3-Performance-Monitoring.md)
26
+
27
+ ## 🎯 Objective
28
+ Optimize the Claude Code systemPrompt for SolarWindPy to provide complete context, improve productivity, and align with the sophisticated hook and agent infrastructure.
29
+
30
+ ## 🧠 Context
31
+ Current systemPrompt (175 tokens) is outdated, redundant, and incomplete. It uses wrong branch patterns (`claude/YYYY-MM-DD-HH-MM-SS-*` instead of `plan/*` workflow), duplicates functionality already automated by hooks, and forces unnecessary interactive branch selection every session.
32
+
33
+ **New SystemPrompt (210 tokens)**:
34
+ ```
35
+ SolarWindPy: Solar wind plasma physics package. Architecture: pandas MultiIndex (M:measurement/C:component/S:species), SI units, mw²=2kT.
36
+
37
+ Agents: UnifiedPlanCoordinator (all planning/implementation), PhysicsValidator (units/constraints), DataFrameArchitect (MultiIndex), TestEngineer (coverage), PlottingEngineer, FitFunctionSpecialist, NumericalStabilityGuard.
38
+
39
+ Hooks automate: SessionStart (branch validation/context), PreToolUse (physics/git checks), PostToolUse (test execution), PreCompact (state snapshots), Stop (coverage report).
40
+
41
+ Workflow: plan/* branches for planning, feature/* for code. PRs from plan/* to master trigger CI/security/docs checks. No direct master commits. Follow CLAUDE.md. Session context loads automatically.
42
+ ```
43
+
44
+ ## 🔧 Technical Requirements
45
+ - Claude Code settings.json configuration
46
+ - Git workflow integration with existing hooks
47
+ - Token counting and optimization tools
48
+ - Optional monitoring infrastructure for metrics collection
49
+
50
+ ## 📂 Affected Areas
51
+ **Direct Modifications**:
52
+ - `.claude/settings.json` → Updated systemPrompt content
53
+ - `CLAUDE.md` → Enhanced workflow documentation
54
+ - `.claude/hooks/` → Optional monitoring hooks
55
+
56
+ ## ✅ Acceptance Criteria
57
+ - [ ] systemPrompt updated in `.claude/settings.json`
58
+ - [ ] CLAUDE.md aligned with new context
59
+ - [ ] Token usage metrics baseline established
60
+ - [ ] Productivity improvements measurable (fewer clarification exchanges)
61
+ - [ ] All tests pass and code coverage maintained ≥ 95%
62
+ - [ ] Documentation updated
63
+
64
+ ## 🧪 Testing Strategy
65
+ **Validation Testing**:
66
+ - SystemPrompt token count verification (210 tokens target)
67
+ - Agent and hook integration testing
68
+ - Workflow compliance validation
69
+
70
+ **Performance Testing**:
71
+ - Session startup time measurement
72
+ - Token usage analysis (before/after)
73
+ - Productivity metrics collection
74
+
75
+ **Integration Testing**:
76
+ - Hook system compatibility verification
77
+ - Git workflow validation
78
+ - Agent selection effectiveness testing
79
+
80
+ ## 📊 Value Proposition Analysis
81
+
82
+ ### Scientific Software Development Value
83
+ **Research Efficiency Improvements:**
84
+ - **General Development**: Improved code quality and maintainability
85
+
86
+ **Development Quality Enhancements:**
87
+ - Systematic evaluation of plan impact on scientific workflows
88
+ - Enhanced decision-making through quantified value metrics
89
+ - Improved coordination with SolarWindPy's physics validation system
90
+
91
+ ### Developer Productivity Value
92
+ **Planning Efficiency:**
93
+ - **Manual Planning Time**: ~135 minutes for 3 phases
94
+ - **Automated Planning Time**: ~30 minutes with value propositions
95
+ - **Time Savings**: 105 minutes (78% reduction)
96
+ - **Reduced Cognitive Load**: Systematic framework eliminates ad-hoc analysis
97
+
98
+ **Token Usage Optimization:**
99
+ - **Manual Proposition Writing**: ~1800 tokens
100
+ - **Automated Hook Generation**: ~300 tokens
101
+ - **Net Savings**: 1500 tokens (83% reduction)
102
+ - **Session Extension**: Approximately 15 additional minutes of productive work
103
+
104
+ ## 💰 Resource & Cost Analysis
105
+
106
+ ### Development Investment
107
+ **Implementation Time Breakdown:**
108
+ - **Base estimate**: 8 hours (moderate plan)
109
+ - **Complexity multiplier**: 1.0x
110
+ - **Final estimate**: 8.0 hours
111
+ - **Confidence interval**: 6.4-10.4 hours
112
+ - **Per-phase average**: 2.7 hours
113
+
114
+ **Maintenance Considerations:**
115
+ - Ongoing maintenance: ~2-4 hours per quarter
116
+ - Testing updates: ~1-2 hours per major change
117
+ - Documentation updates: ~30 minutes per feature addition
118
+
119
+ ### Token Usage Economics
120
+ **Current vs Enhanced Token Usage:**
121
+ - Manual proposition writing: ~1800 tokens
122
+ - Automated generation: ~400 tokens
123
+ - Hook execution: 100 tokens
124
+ - Content insertion: 150 tokens
125
+ - Validation: 50 tokens
126
+ - Context overhead: 100 tokens
127
+
128
+ **Net Savings: 1400 tokens (78% reduction)**
129
+
130
+ **Break-even Analysis:**
131
+ - Development investment: ~10-15 hours
132
+ - Token savings per plan: 1400 tokens
133
+ - Break-even point: 10 plans
134
+ - Expected annual volume: 20-30 plans
135
+
136
+ ### Operational Efficiency
137
+ - Runtime overhead: <2% additional planning time
138
+ - Storage requirements: <5MB additional template data
139
+ - Performance impact: Negligible on core SolarWindPy functionality
140
+
141
+ ## ⚠️ Risk Assessment & Mitigation
142
+
143
+ ### Technical Implementation Risks
144
+ | Risk | Probability | Impact | Mitigation Strategy |
145
+ |------|------------|--------|-------------------|
146
+ | Integration compatibility issues | Low | Medium | Thorough integration testing, backward compatibility validation |
147
+ | Performance degradation | Low | Low | Performance benchmarking, optimization validation |
148
+
149
+ ### Project Management Risks
150
+ - **Scope creep risk (Medium)**: Value propositions may reveal additional requirements
151
+ - *Mitigation*: Strict scope boundaries, change control process
152
+ - **Resource availability risk (Low)**: Developer time allocation conflicts
153
+ - *Mitigation*: Resource planning, conflict identification system
154
+ - **Token budget overrun (Low)**: Complex plans may exceed session limits
155
+ - *Mitigation*: Token monitoring, automatic compaction at phase boundaries
156
+
157
+ ### Scientific Workflow Risks
158
+ - **User workflow disruption (Low)**: Interface changes may affect researcher productivity
159
+ - *Mitigation*: Backward compatibility, gradual feature introduction
160
+ - **Documentation lag (Medium)**: Implementation may outpace documentation updates
161
+ - *Mitigation*: Documentation-driven development, parallel doc updates
162
+
163
+ ## 🔒 Security Proposition
164
+
165
+ ### Code-Level Security Assessment
166
+ **Dependency Vulnerability Assessment:**
167
+ - **No specific dependencies identified** - general Python security best practices apply
168
+
169
+ **Recommended Actions:**
170
+ - Run `pip audit` to scan for known vulnerabilities
171
+ - Pin dependency versions in requirements.txt
172
+ - Monitor security advisories for scientific computing packages
173
+ - Consider using conda for better package management
174
+
175
+ **Authentication/Access Control Impact Analysis:**
176
+ - No direct authentication system modifications identified
177
+ - Standard scientific computing access patterns maintained
178
+ - No elevated privilege requirements detected
179
+ - Multi-user environment compatibility preserved
180
+
181
+ **Attack Surface Analysis:**
182
+ - **Minimal exposure increase**: Internal library modifications only
183
+
184
+ **Mitigation Strategies:**
185
+ - Validate all external inputs and user-provided data
186
+ - Sanitize file paths and prevent directory traversal
187
+ - Use parameterized queries for any database operations
188
+ - Implement proper error handling to prevent information disclosure
189
+
190
+ ### Scientific Computing Environment Security
191
+ **Development Workflow Security:**
192
+ - Git workflow integrity maintained through branch protection
193
+ - Code review requirements enforced for security-sensitive changes
194
+ - Automated testing validates security assumptions
195
+
196
+ **CI/CD Pipeline Security:**
197
+ - Automated dependency scanning in development workflow
198
+ - Test environment isolation prevents production data exposure
199
+ - Secrets management for any required credentials
200
+ - Build reproducibility ensures supply chain integrity
201
+
202
+ ### Scope Limitations
203
+ **This security assessment covers:**
204
+ - Code-level security and dependency analysis
205
+ - Development workflow security implications
206
+ - Scientific computing environment considerations
207
+
208
+ **Explicitly excluded from this assessment:**
209
+ - Data principle compliance (requires core data structure changes)
210
+ - Research data repository integration (outside scope)
211
+
212
+ **Note**: For comprehensive research data security, consider separate compliance initiative.
213
+
214
+ ## 🎯 Scope Audit
215
+
216
+ ### SolarWindPy Alignment Assessment
217
+ **Alignment Score**: 17/100
218
+
219
+ **Alignment Score Breakdown:**
220
+ - Module Relevance: 0/40 points
221
+ - Scientific Keywords: 7/30 points
222
+ - Research Impact: 0/20 points
223
+ - Scope Risk Control: 10/10 points
224
+
225
+ **Assessment**: Low alignment, significant scope concerns
226
+
227
+ ### Scientific Research Relevance
228
+ **Relevance Level**: Low
229
+
230
+ Limited scientific research relevance, scope review needed
231
+
232
+ ### Module Impact Analysis
233
+ **Affected SolarWindPy Modules:**
234
+ - Development workflow infrastructure only
235
+ - No direct impact on core scientific modules
236
+
237
+ ### Scope Risk Identification
238
+ **No significant scope risks identified** - Plan appears well-focused on scientific computing objectives
239
+
240
+ ### Scope Boundary Enforcement
241
+ **Recommended Scope Controls:**
242
+ - Limit implementation to affected modules: .claude/settings.json, CLAUDE.md, .claude/hooks/
243
+ - Maintain focus on solar wind physics research goals
244
+ - Validate all changes preserve scientific accuracy
245
+ - Ensure computational methods follow SolarWindPy conventions
246
+
247
+ **Out-of-Scope Elements to Avoid:**
248
+ - Web development or interface features unrelated to scientific analysis
249
+ - General-purpose software infrastructure not specific to research computing
250
+ - Business logic or user management functionality
251
+ - Non-scientific data processing or visualization features
252
+
253
+ **Scientific Computing Alignment:**
254
+ This plan should advance SolarWindPy's mission to provide accurate, efficient tools for solar wind physics research and space weather analysis.
255
+
256
+ ## 💾 Token Usage Optimization
257
+
258
+ ### Current Token Usage Patterns
259
+ **Manual Planning Token Breakdown:**
260
+ - Initial planning discussion: ~800 tokens
261
+ - Value proposition writing: ~600 tokens (moderate plan)
262
+ - Revision and refinement: ~300 tokens
263
+ - Context switching overhead: ~200 tokens
264
+ - **Total current usage: ~1900 tokens per plan**
265
+
266
+ **Inefficiency Sources:**
267
+ - Repetitive manual analysis for similar plan types
268
+ - Context regeneration between planning sessions
269
+ - Inconsistent proposition quality requiring revisions
270
+
271
+ ### Optimized Token Usage Strategy
272
+ **Hook-Based Generation Efficiency:**
273
+ - Hook execution and setup: 100 tokens
274
+ - Plan metadata extraction: 50 tokens
275
+ - Content generation coordination: 150 tokens
276
+ - Template insertion and formatting: 75 tokens
277
+ - Optional validation: 50 tokens
278
+ - **Total optimized usage: ~425 tokens per plan**
279
+
280
+ **Optimization Techniques:**
281
+ - Programmatic generation eliminates manual analysis
282
+ - Template-based approach ensures consistency
283
+ - Cached calculations reduce redundant computation
284
+ - Structured format enables better context compression
285
+
286
+ ### Context Preservation Benefits
287
+ **Session Continuity Improvements:**
288
+ - Structured value propositions enable efficient compaction
289
+ - Decision rationale preserved for future reference
290
+ - Consistent format improves session bridging
291
+ - Reduced context regeneration between sessions
292
+
293
+ **Compaction Efficiency:**
294
+ - Value propositions compress well due to structured format
295
+ - Key metrics preserved even in heavily compacted states
296
+ - Phase-by-phase progress tracking reduces context loss
297
+ - Automated generation allows context-aware detail levels
298
+
299
+ ## ⏱️ Time Investment Analysis
300
+
301
+ ### Implementation Time Breakdown
302
+ **Phase-by-Phase Time Estimates (3 phases):**
303
+ - Planning and design: 2 hours
304
+ - Implementation: 8.0 hours (base: 8, multiplier: 1.0x)
305
+ - Testing and validation: 2 hours
306
+ - Documentation updates: 1 hours
307
+ - **Total estimated time: 13.0 hours**
308
+
309
+ **Confidence Intervals:**
310
+ - Optimistic (80%): 10.4 hours
311
+ - Most likely (100%): 13.0 hours
312
+ - Pessimistic (130%): 16.9 hours
313
+
314
+ ### Time Savings Analysis
315
+ **Per-Plan Time Savings:**
316
+ - Manual planning process: 90 minutes
317
+ - Automated hook-based planning: 20 minutes
318
+ - Net savings per plan: 70 minutes (78% reduction)
319
+
320
+ **Long-term Efficiency Gains:**
321
+ - Projected annual plans: 25
322
+ - Annual time savings: 29.2 hours
323
+ - Equivalent to 3.6 additional development days per year
324
+
325
+ **Qualitative Benefits:**
326
+ - Reduced decision fatigue through systematic evaluation
327
+ - Consistent quality eliminates rework cycles
328
+ - Improved plan accuracy through structured analysis
329
+
330
+ ### Break-Even Calculation
331
+ **Investment vs. Returns:**
332
+ - One-time development investment: 14 hours
333
+ - Time savings per plan: 1.2 hours
334
+ - Break-even point: 12.0 plans
335
+
336
+ **Payback Timeline:**
337
+ - Estimated monthly plan volume: 2.5 plans
338
+ - Break-even timeline: 4.8 months
339
+ - ROI positive after: ~12 plans
340
+
341
+ **Long-term ROI:**
342
+ - Year 1: 200-300% ROI (25-30 plans)
343
+ - Year 2+: 500-600% ROI (ongoing benefits)
344
+ - Compound benefits from improved plan quality
345
+
346
+ ## 🎯 Usage & Adoption Metrics
347
+
348
+ ### Target Use Cases
349
+ **Primary Applications:**
350
+ - All new plan creation (immediate value through automated generation)
351
+ - Major feature development planning for SolarWindPy modules
352
+ - Scientific project planning requiring systematic value assessment
353
+
354
+ **Secondary Applications:**
355
+ - Existing plan enhancement during major updates
356
+ - Cross-plan value comparison for resource prioritization
357
+ - Quality assurance for plan completeness and consistency
358
+ - Decision audit trails for scientific project management
359
+
360
+ ### Adoption Strategy
361
+ **Phased Rollout Approach:**
362
+
363
+ **Phase 1 - Pilot (Month 1):**
364
+ - Introduce enhanced templates for new plans only
365
+ - Target 5-8 pilot plans for initial validation
366
+ - Gather feedback from UnifiedPlanCoordinator users
367
+ - Refine hook accuracy based on real usage
368
+
369
+ **Phase 2 - Gradual Adoption (Months 2-3):**
370
+ - Default enhanced templates for all new plans
371
+ - Optional migration for 3-5 active existing plans
372
+ - Training materials and best practices documentation
373
+ - Performance monitoring and optimization
374
+
375
+ **Phase 3 - Full Integration (Months 4-6):**
376
+ - Enhanced templates become standard for all planning
377
+ - Migration of remaining active plans (optional)
378
+ - Advanced features and customization options
379
+ - Integration with cross-plan analysis tools
380
+
381
+ **Success Factors:**
382
+ - Opt-in enhancement reduces resistance
383
+ - Immediate value visible through token savings
384
+ - Backward compatibility maintains existing workflows
385
+ - Progressive enhancement enables gradual learning
386
+
387
+ ### Success Metrics
388
+ **Quantitative Success Metrics:**
389
+
390
+ **Short-term (1-3 months):**
391
+ - Enhanced template adoption rate: >80% for new plans
392
+ - Token usage reduction: 60-80% demonstrated across plan types
393
+ - Hook execution success rate: >95% reliability
394
+ - Planning time reduction: >60% measured improvement
395
+
396
+ **Medium-term (3-6 months):**
397
+ - Plan quality scores: Objective improvement in completeness
398
+ - Value proposition accuracy: >90% relevant and actionable
399
+ - User satisfaction: Positive feedback from regular users
400
+ - Security assessment utility: Demonstrable risk identification
401
+
402
+ **Long-term (6-12 months):**
403
+ - Full adoption: 90%+ of all plans use enhanced templates
404
+ - Compound efficiency: Planning velocity improvements
405
+ - Quality improvement: Reduced plan revision cycles
406
+ - Knowledge capture: Better decision documentation
407
+
408
+ **Qualitative Success Indicators:**
409
+ - Developers prefer enhanced planning process
410
+ - Plan reviews are more efficient and comprehensive
411
+ - Scientific value propositions improve project prioritization
412
+ - Security considerations are systematically addressed
413
+
414
+ ## 📊 Progress Tracking
415
+
416
+ ### Overall Status
417
+ - **Phases Completed**: 0/3
418
+ - **Tasks Completed**: 0/[total]
419
+ - **Time Invested**: 0h of 5h estimated
420
+ - **Last Updated**: 2025-08-19
421
+
422
+ ### Implementation Notes
423
+ *Implementation decisions, blockers, and changes will be documented here as the plan progresses.*
424
+
425
+ ## 🔗 Related Plans
426
+ **Dependent Plans**: None
427
+ **Coordinated Plans**: None
428
+ **Future Plans**: Hook system enhancements, Agent workflow optimization
429
+
430
+ ## 💬 Notes & Considerations
431
+ **Alternative Approaches Considered**:
432
+ - Minimal 50-token prompt (rejected: insufficient context)
433
+ - Interactive prompt configuration (rejected: adds complexity)
434
+ - Dynamic prompt generation (rejected: hook overhead)
435
+
436
+ **Key Decision Factors**:
437
+ - Prioritizing immediate productivity over token minimization
438
+ - Choosing comprehensive context over session-by-session configuration
439
+ - Emphasizing workflow clarity and agent awareness
440
+
441
+ **Success Dependencies**:
442
+ - Accurate token counting for optimization
443
+ - Hook system stability and compatibility
444
+ - Documentation synchronization with prompt content
445
+
446
+ ---
447
+ *This multi-phase plan uses the plan-per-branch architecture where implementation occurs on feature/systemprompt-optimization branch with progress tracked via commit checksums across phase files.*