generic-ml-wrapper 0.7.0__tar.gz → 0.8.1__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 (357) hide show
  1. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/CHANGELOG.md +124 -1
  2. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/PKG-INFO +4 -4
  3. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/README.md +3 -3
  4. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/ROADMAP.md +67 -35
  5. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/SECURITY.md +1 -1
  6. generic_ml_wrapper-0.8.1/VERSION +1 -0
  7. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/CONFIGURATION.md +39 -7
  8. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/DESIGN.md +15 -5
  9. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/TROUBLESHOOTING.md +29 -0
  10. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/USER_GUIDE.md +32 -15
  11. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/WORKFLOWS.md +22 -13
  12. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/pyproject.toml +1 -1
  13. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/__init__.py +1 -1
  14. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/inbound/cli/app.py +160 -69
  15. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/inbound/cli/banner.py +10 -6
  16. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/inbound/cli/hints.py +2 -2
  17. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/inbound/tui/menu_app.py +203 -18
  18. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/filesystem_axis_catalog.py +6 -5
  19. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/filesystem_layout_seeder.py +25 -17
  20. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/adapter/outbound/bootstrap/filesystem_rule_catalog.py +96 -0
  21. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/tty_client_setup.py +5 -1
  22. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/adapter/outbound/diagnostics/__init__.py +3 -0
  23. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/adapter/outbound/diagnostics/levels.py +38 -0
  24. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/adapter/outbound/diagnostics/null_diagnostics.py +29 -0
  25. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/adapter/outbound/diagnostics/rolling_file_diagnostics.py +170 -0
  26. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/adapter/outbound/diagnostics/scrub.py +114 -0
  27. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/adapter/outbound/diagnostics/stderr_diagnostics.py +80 -0
  28. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/adapter/outbound/diagnostics/tee_diagnostics.py +44 -0
  29. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/gateway/relay.py +152 -8
  30. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/workflow/filesystem_workflow_source.py +122 -47
  31. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/client_catalog.py +35 -4
  32. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/context_source.py +11 -3
  33. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/application/domain/model/rule_catalog.py +67 -0
  34. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/application/domain/model/rules.py +138 -0
  35. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/application/domain/model/session_snapshot.py +71 -0
  36. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/application/domain/service/diagnostics.py +63 -0
  37. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/application/domain/service/rule_parser.py +74 -0
  38. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/application/port/inbound/list_rules.py +24 -0
  39. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/application/port/outbound/diagnostics.py +26 -0
  40. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/application/port/outbound/rule_catalog.py +26 -0
  41. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/workflow_source.py +11 -8
  42. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/edit_workflow.py +3 -3
  43. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/application/usecase/list_rules.py +33 -0
  44. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/new_workflow.py +3 -3
  45. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/start_job.py +7 -5
  46. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/wiring/composition.py +72 -1
  47. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/common/config.py +85 -3
  48. generic_ml_wrapper-0.8.1/src/generic_ml_wrapper/common/log.py +132 -0
  49. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/common/paths.py +9 -1
  50. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/common/settings_registry.py +32 -30
  51. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/resources/i18n/en.json +103 -1
  52. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/resources/i18n/fr.json +103 -1
  53. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_bootstrap.py +18 -6
  54. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_config.py +5 -2
  55. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_context_source.py +2 -1
  56. generic_ml_wrapper-0.8.1/tests/test_diagnostics_sinks.py +304 -0
  57. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_edit_workflow_usecase.py +1 -1
  58. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_filesystem_workflow_source.py +92 -46
  59. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_list_workflows_usecase.py +1 -1
  60. generic_ml_wrapper-0.8.1/tests/test_log.py +97 -0
  61. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_new_workflow_usecase.py +1 -1
  62. generic_ml_wrapper-0.8.1/tests/test_no_untranslated_literals.py +163 -0
  63. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_relay.py +209 -2
  64. generic_ml_wrapper-0.8.1/tests/test_rule_catalog.py +83 -0
  65. generic_ml_wrapper-0.8.1/tests/test_rule_parser.py +65 -0
  66. generic_ml_wrapper-0.8.1/tests/test_session_snapshot.py +62 -0
  67. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_settings_registry.py +3 -0
  68. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_size_logger.py +9 -4
  69. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_start_job_usecase.py +1 -1
  70. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_tui_menu.py +88 -0
  71. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/uv.lock +1 -1
  72. generic_ml_wrapper-0.7.0/VERSION +0 -1
  73. generic_ml_wrapper-0.7.0/src/generic_ml_wrapper/application/domain/model/rules.py +0 -94
  74. generic_ml_wrapper-0.7.0/src/generic_ml_wrapper/common/log.py +0 -83
  75. generic_ml_wrapper-0.7.0/tests/test_log.py +0 -37
  76. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/.coveragerc +0 -0
  77. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/.gitattributes +0 -0
  78. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/.github/workflows/ci.yml +0 -0
  79. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/.github/workflows/pr-hygiene.yml +0 -0
  80. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/.github/workflows/release.yml +0 -0
  81. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/.github/workflows/sonar.yml +0 -0
  82. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/.gitignore +0 -0
  83. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/.importlinter +0 -0
  84. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/.pre-commit-config.yaml +0 -0
  85. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/AGENTS.md +0 -0
  86. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/CODE_OF_CONDUCT.md +0 -0
  87. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/CONTRIBUTING.md +0 -0
  88. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/GOVERNANCE.md +0 -0
  89. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/LICENSE +0 -0
  90. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/NOTICE +0 -0
  91. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/RELEASE.md +0 -0
  92. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/CLI.md +0 -0
  93. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/CLIENTS.md +0 -0
  94. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/images/gmlw-favicon.svg +0 -0
  95. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/images/gmlw-lockup-dark.svg +0 -0
  96. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/images/gmlw-lockup.svg +0 -0
  97. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/images/gmlw-statusline.gif +0 -0
  98. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/images/gmlw-usage.gif +0 -0
  99. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/tapes/README.md +0 -0
  100. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/tapes/render.sh +0 -0
  101. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/tapes/seed.py +0 -0
  102. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/tapes/statusline.tape +0 -0
  103. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/docs/tapes/usage.tape +0 -0
  104. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/hatch_build.py +0 -0
  105. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/noxfile.py +0 -0
  106. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/pyrightconfig.json +0 -0
  107. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/sonar-project.properties +0 -0
  108. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/__init__.py +0 -0
  109. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/inbound/__init__.py +0 -0
  110. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/inbound/cli/__init__.py +0 -0
  111. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/inbound/cli/help_topics.py +0 -0
  112. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/inbound/cli/index.py +0 -0
  113. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/inbound/tui/__init__.py +0 -0
  114. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/inbound/tui/banner.py +0 -0
  115. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/__init__.py +0 -0
  116. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/__init__.py +0 -0
  117. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/about.py +0 -0
  118. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/filesystem_layout_migrator.py +0 -0
  119. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/filesystem_slug_migrator.py +0 -0
  120. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/http_client_versions.py +0 -0
  121. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/path_client_detector.py +0 -0
  122. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/subprocess_command_runner.py +0 -0
  123. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/system_clipboard.py +0 -0
  124. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/tty_axis_chooser.py +0 -0
  125. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/tty_guided_chooser.py +0 -0
  126. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/tty_language_chooser.py +0 -0
  127. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/tty_persona_chooser.py +0 -0
  128. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/tty_prompt.py +0 -0
  129. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/tty_text_prompt.py +0 -0
  130. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/bootstrap/tty_workflow_chooser.py +0 -0
  131. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/caller/__init__.py +0 -0
  132. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/caller/claude_cli_caller.py +0 -0
  133. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/caller/codex_cli_caller.py +0 -0
  134. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/caller/context_file.py +0 -0
  135. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/caller/context_opening.py +0 -0
  136. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/caller/cursor_cli_caller.py +0 -0
  137. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/caller/default_provider.py +0 -0
  138. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/caller/loader.py +0 -0
  139. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/caller/status_line_config.py +0 -0
  140. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/caller/vibe_cli_caller.py +0 -0
  141. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/caller/vibe_config.py +0 -0
  142. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/compress/__init__.py +0 -0
  143. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/compress/cache_backed_compressor.py +0 -0
  144. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/config/__init__.py +0 -0
  145. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/config/tomlkit_config_writer.py +0 -0
  146. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/credentials/__init__.py +0 -0
  147. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/credentials/filesystem_credentials_store.py +0 -0
  148. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/gateway/__init__.py +0 -0
  149. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/gateway/anthropic_sse.py +0 -0
  150. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/gateway/openai_chat.py +0 -0
  151. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/gateway/openai_responses.py +0 -0
  152. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/hook/__init__.py +0 -0
  153. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/hook/session_logger.py +0 -0
  154. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/interceptor/__init__.py +0 -0
  155. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/interceptor/size_logger.py +0 -0
  156. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/persona/__init__.py +0 -0
  157. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/persona/filesystem_persona_source.py +0 -0
  158. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/plugin/__init__.py +0 -0
  159. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/plugin/filesystem_plugin_source.py +0 -0
  160. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/status/__init__.py +0 -0
  161. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/status/claude_status_parser.py +0 -0
  162. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/status/cursor_status_parser.py +0 -0
  163. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/store/__init__.py +0 -0
  164. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/store/filesystem_report_exporter.py +0 -0
  165. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/store/filesystem_transcript_store.py +0 -0
  166. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/store/ledger.py +0 -0
  167. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/store/sqlite_per_turn_store.py +0 -0
  168. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/store/sqlite_session_store.py +0 -0
  169. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/store/sqlite_usage_store.py +0 -0
  170. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/workflow/__init__.py +0 -0
  171. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/workspace/__init__.py +0 -0
  172. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/adapter/outbound/workspace/local_workspace_inspector.py +0 -0
  173. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/__init__.py +0 -0
  174. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/__init__.py +0 -0
  175. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/__init__.py +0 -0
  176. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/axis.py +0 -0
  177. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/client_status.py +0 -0
  178. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/draft.py +0 -0
  179. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/identifiers.py +0 -0
  180. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/learned.py +0 -0
  181. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/migration.py +0 -0
  182. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/persona.py +0 -0
  183. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/plugin.py +0 -0
  184. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/run.py +0 -0
  185. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/session.py +0 -0
  186. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/turn_usage.py +0 -0
  187. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/model/workspace.py +0 -0
  188. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/service/__init__.py +0 -0
  189. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/service/greeting.py +0 -0
  190. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/service/hook.py +0 -0
  191. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/service/hook_runner.py +0 -0
  192. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/service/interceptor.py +0 -0
  193. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/service/interceptor_chain.py +0 -0
  194. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/service/persona_parser.py +0 -0
  195. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/service/rule_cleaner.py +0 -0
  196. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/service/session_naming.py +0 -0
  197. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/domain/service/statusline_renderer.py +0 -0
  198. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/__init__.py +0 -0
  199. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/__init__.py +0 -0
  200. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/bootstrap.py +0 -0
  201. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/check_client_ready.py +0 -0
  202. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/config_commands.py +0 -0
  203. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/create_axis.py +0 -0
  204. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/edit_workflow.py +0 -0
  205. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/export_usage.py +0 -0
  206. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/init.py +0 -0
  207. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/list_clients.py +0 -0
  208. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/list_jobs.py +0 -0
  209. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/list_personas.py +0 -0
  210. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/list_plugins.py +0 -0
  211. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/list_sessions.py +0 -0
  212. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/list_workflows.py +0 -0
  213. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/migrate_layout.py +0 -0
  214. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/migrate_slugs.py +0 -0
  215. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/new_workflow.py +0 -0
  216. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/render_greeting.py +0 -0
  217. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/render_statusline.py +0 -0
  218. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/save_usage_report.py +0 -0
  219. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/set_credential.py +0 -0
  220. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/inbound/start_job.py +0 -0
  221. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/__init__.py +0 -0
  222. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/axis_catalog.py +0 -0
  223. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/axis_chooser.py +0 -0
  224. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/cli_caller.py +0 -0
  225. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/client_detector.py +0 -0
  226. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/client_setup.py +0 -0
  227. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/client_status.py +0 -0
  228. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/client_version.py +0 -0
  229. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/clipboard.py +0 -0
  230. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/command_runner.py +0 -0
  231. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/config_writer.py +0 -0
  232. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/context_compressor.py +0 -0
  233. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/credentials_store.py +0 -0
  234. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/hook.py +0 -0
  235. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/interceptor.py +0 -0
  236. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/language_chooser.py +0 -0
  237. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/layout_migrator.py +0 -0
  238. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/layout_seeder.py +0 -0
  239. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/per_turn_metering.py +0 -0
  240. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/persona_chooser.py +0 -0
  241. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/persona_source.py +0 -0
  242. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/plugin_source.py +0 -0
  243. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/report_export.py +0 -0
  244. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/session_store.py +0 -0
  245. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/slug_migrator.py +0 -0
  246. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/text_prompt.py +0 -0
  247. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/transcript.py +0 -0
  248. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/usage_store.py +0 -0
  249. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/port/outbound/workspace.py +0 -0
  250. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/__init__.py +0 -0
  251. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/bootstrap.py +0 -0
  252. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/check_client_ready.py +0 -0
  253. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/create_axis.py +0 -0
  254. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/export_usage.py +0 -0
  255. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/init.py +0 -0
  256. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/launch.py +0 -0
  257. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/list_clients.py +0 -0
  258. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/list_jobs.py +0 -0
  259. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/list_personas.py +0 -0
  260. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/list_plugins.py +0 -0
  261. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/list_sessions.py +0 -0
  262. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/list_workflows.py +0 -0
  263. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/migrate_layout.py +0 -0
  264. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/migrate_slugs.py +0 -0
  265. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/render_greeting.py +0 -0
  266. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/render_statusline.py +0 -0
  267. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/save_usage_report.py +0 -0
  268. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/set_credential.py +0 -0
  269. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/usecase/update_config.py +0 -0
  270. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/application/wiring/__init__.py +0 -0
  271. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/common/__init__.py +0 -0
  272. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/common/fs_time.py +0 -0
  273. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/common/i18n.py +0 -0
  274. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/common/slug.py +0 -0
  275. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/common/spec_loader.py +0 -0
  276. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/py.typed +0 -0
  277. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/resources/personas/_floor.md +0 -0
  278. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/resources/personas/butler.md +0 -0
  279. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/resources/personas/companion.md +0 -0
  280. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/resources/personas/mentor.md +0 -0
  281. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/resources/personas/plain.md +0 -0
  282. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/resources/personas/terse.md +0 -0
  283. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/resources/workflows/_common/base.md +0 -0
  284. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/resources/workflows/create-workflow/guided.md +0 -0
  285. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/src/generic_ml_wrapper/resources/workflows/create-workflow/workflow.md +0 -0
  286. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/_conformance.py +0 -0
  287. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/conftest.py +0 -0
  288. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_anthropic_sse.py +0 -0
  289. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_authoring_separation.py +0 -0
  290. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_banner.py +0 -0
  291. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_cache_backed_compressor.py +0 -0
  292. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_caller_loader.py +0 -0
  293. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_callers.py +0 -0
  294. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_check_client_ready.py +0 -0
  295. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_cli.py +0 -0
  296. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_client_catalog.py +0 -0
  297. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_client_versions.py +0 -0
  298. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_context_file.py +0 -0
  299. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_create_axis.py +0 -0
  300. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_credentials_store.py +0 -0
  301. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_cursor_status_parser.py +0 -0
  302. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_docs_consistency.py +0 -0
  303. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_exit_handling.py +0 -0
  304. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_export_usage_usecase.py +0 -0
  305. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_filesystem_axis_catalog.py +0 -0
  306. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_filesystem_persona_source.py +0 -0
  307. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_filesystem_plugin_source.py +0 -0
  308. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_filesystem_transcript_store.py +0 -0
  309. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_greeting.py +0 -0
  310. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_hook_runner.py +0 -0
  311. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_i18n.py +0 -0
  312. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_identifiers.py +0 -0
  313. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_init_usecase.py +0 -0
  314. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_interceptor_chain.py +0 -0
  315. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_layout_migrator.py +0 -0
  316. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_learned.py +0 -0
  317. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_ledger_migration.py +0 -0
  318. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_list_clients.py +0 -0
  319. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_list_jobs_usecase.py +0 -0
  320. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_list_personas_usecase.py +0 -0
  321. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_list_plugins_usecase.py +0 -0
  322. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_list_sessions_usecase.py +0 -0
  323. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_local_workspace_inspector.py +0 -0
  324. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_migrate_layout_usecase.py +0 -0
  325. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_model_invariants.py +0 -0
  326. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_openai_chat.py +0 -0
  327. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_openai_responses.py +0 -0
  328. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_path_client_detector.py +0 -0
  329. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_persona_parser.py +0 -0
  330. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_render_greeting_usecase.py +0 -0
  331. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_rule_cleaner.py +0 -0
  332. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_save_usage_report.py +0 -0
  333. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_session_logger.py +0 -0
  334. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_session_naming.py +0 -0
  335. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_slug.py +0 -0
  336. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_slug_migrator.py +0 -0
  337. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_smoke.py +0 -0
  338. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_sqlite_per_turn_store.py +0 -0
  339. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_sqlite_session_store.py +0 -0
  340. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_sqlite_usage_store.py +0 -0
  341. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_status_line_config.py +0 -0
  342. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_statusline.py +0 -0
  343. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_store_conformance.py +0 -0
  344. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_tty_axis_chooser.py +0 -0
  345. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_tty_client_setup.py +0 -0
  346. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_tty_guided_chooser.py +0 -0
  347. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_tty_language_chooser.py +0 -0
  348. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_tty_persona_chooser.py +0 -0
  349. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_tty_prompt.py +0 -0
  350. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_tty_text_prompt.py +0 -0
  351. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_tty_workflow_chooser.py +0 -0
  352. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_tui_banner.py +0 -0
  353. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_update_config_usecase.py +0 -0
  354. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_version.py +0 -0
  355. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tests/test_vibe_config.py +0 -0
  356. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tools/hooks/check-commit-msg.sh +0 -0
  357. {generic_ml_wrapper-0.7.0 → generic_ml_wrapper-0.8.1}/tools/hooks/guard-branch.sh +0 -0
@@ -6,6 +6,127 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.8.1] - 2026-07-26
10
+
11
+ A rule is a projection of the user, so it belongs on one of the two axes that describe one:
12
+ the **environment** (constraints of the place — its processes, standards, tooling) or the
13
+ **role** (the user's own preferences about the craft). This release moves rules onto those
14
+ axes and deletes the two tiers that sat outside them.
15
+
16
+ ### Changed
17
+ - **Rules now live on the environment and role axes; the global and per-workflow tiers are
18
+ removed.** A rule is read from `~/.gmlw/environments/<env>/rules/<slug>.rule.md` or
19
+ `~/.gmlw/profile/roles/<role>/rules/<slug>.rule.md`, and from nowhere else. The global
20
+ `~/.gmlw/rules/` and per-workflow `<workflow>/rules/` directories are no longer read — a
21
+ workflow that behaves wrongly is fixed in the workflow, not patched by a rule sitting
22
+ beside it.
23
+
24
+ **Migration.** Existing files are **not** moved for you: rules left in `~/.gmlw/rules/` or
25
+ in a workflow's `rules/` folder are silently inactive after upgrading. Move each one into
26
+ the environment (if it encodes a constraint of the place) or the role (if it encodes your
27
+ own craft preference). The config key is migrated automatically — see below.
28
+ - **On conflict the environment wins.** A constraint is not overridden by a preference, so
29
+ environment rules compose *last*, closest to the model, and the capture directive says so
30
+ outright. Within a single axis, an explicit `Precedence:` number decides.
31
+ - **A rule is active from creation.** The user demanded the correction, so it applies —
32
+ rather than being parked as a draft awaiting promotion. `status: draft` survives as the
33
+ user's own off-switch, for retiring a rule without deleting it.
34
+ - **The rule format moved to `~/.gmlw/templates/rule.template.md`**, seeded once and never
35
+ overwritten. The capture directive reads it from disk and embeds it, so the format the
36
+ model follows is the user's own file — collapsing two hand-synced copies that could
37
+ silently drift into one.
38
+ - **Config keys `rules.environment` / `rules.role` replace the scalar `rules`.** The
39
+ migration carries an explicit legacy setting onto *both* axes, so a deliberate opt-out is
40
+ never silently undone by the rename.
41
+
42
+ ### Added
43
+ - **A Rules browser in `gmlw tui`** (Job · Workflow · Config · Rules · Quit). It lists only
44
+ the axes and groups that actually hold rules, and marks the ones switched off.
45
+ - **A session snapshot at the head of every compiled context** — the active environment,
46
+ role, persona, user, language, and job as a JSON block, so a client answers "which role am
47
+ I in?" by reading a field instead of inferring it.
48
+ - **A `rules/` folder for environments at creation.** `FilesystemAxisCatalog.create()` made
49
+ one only for roles.
50
+
51
+ ### Fixed
52
+ - **Draft-ness is read from frontmatter** rather than a substring search over the whole file,
53
+ which silently dropped any live rule whose prose happened to mention drafting.
54
+ - **`docs/CONFIGURATION.md` documented the rules source as `activated = false`** when the
55
+ code default was `true`.
56
+
57
+ ## [0.8.0] - 2026-07-25
58
+
59
+ Two sweeps over the *whole* application, both about the same thing: gmlw was saying things
60
+ in the wrong language and writing them to the wrong place. Neither is a feature you switch
61
+ on — each is a pass that ends with a guard, so the debt cannot quietly come back.
62
+
63
+ ### Added
64
+ - **Logging as a real subsystem — a diagnostics port and swappable sinks.** gmlw's
65
+ diagnostics were 83 lines printing to `stderr`, which during a wrapped session **is the
66
+ client's own screen** — so a warning either corrupted the client's TUI or vanished on its
67
+ next redraw, and was written nowhere else. There is now a `DiagnosticsPort` that core
68
+ emits through, importing no logging library, with the destination chosen at the
69
+ composition root. The contract is that **a sink never raises**: a diagnostics failure must
70
+ not break or alter the run it was only observing.
71
+ - **A rolling log file at `~/.gmlw/logs/gmlw.log`.** Appended across runs, size-capped with
72
+ bounded backups, and it preserves a caught exception's traceback — so a failure no longer
73
+ has to reach the screen to be diagnosable. The destination is now a wiring decision rather
74
+ than a branch at every call site: file **and** `stderr` for a utility command, file only
75
+ once a command hands the terminal over (`start` / `run` / `tui` / `workflow new|edit`), and
76
+ silence for the statusline, which renders into another program's prompt from a short-lived
77
+ subprocess many times a session. Configurable via `[logging]` (`to_file`, `max_bytes`,
78
+ `backup_count`).
79
+ - **Secret and PII scrubbing in the sink**, so no call site has to remember. Deliberately
80
+ narrowed twice against over-redaction, because a log that has eaten its own identifiers is
81
+ useless: session ids and content hashes survive, and the entropy rule no longer treats `/`
82
+ as secret-ish — the inherited rule ate every file path in a traceback and rendered it
83
+ `[secret].py`.
84
+ - **Localisation, finished — every message a key, technical logs included.** 0.5.0 built the
85
+ catalogue mechanism; four releases of new surfaces put English literals back, because
86
+ nothing failed when they did. 87 new keys (EN and FR, **395 each**) convert what drifted:
87
+ every argparse `help` / `description` / `metavar`, the TUI footer labels, the 17
88
+ settings-registry descriptions, and the client catalogue's login hints. Logs are localised
89
+ on purpose rather than by oversight — a French user reading their own log file, or pasting
90
+ one into an issue, is the case that decides it.
91
+ - **A drift guard that fails the build** (`tests/test_no_untranslated_literals.py`). It
92
+ catches the three things key-parity cannot see, since parity only checks the languages
93
+ against each other: a literal at a `print` / `log` / argparse / `Binding` call site, a
94
+ `t()` key missing from the catalogue (which renders as the raw key), and a registry setting
95
+ with no `setting.<key>` entry. Each was verified to actually fail by introducing the
96
+ violation it targets.
97
+
98
+ ### Changed
99
+ - **`--help` speaks one language instead of two.** `build_parser()` ran before the localiser
100
+ was installed, so `--help` would have stayed English whatever the language setting; that
101
+ ordering is fixed. argparse's own chrome (`usage:`, `positional arguments`, `options`, `-h`,
102
+ `--version`) comes from its gettext domain, which the catalogue cannot reach — so
103
+ `add_help=False` plus a localised help formatter brings it under the same roof.
104
+
105
+ ### Fixed
106
+ - **A TLS failure in the relay can no longer reach the client's screen**
107
+ ([#59](https://github.com/danielslobozian/generic-ml-wrapper/issues/59)). An error in a
108
+ relay request thread escaped uncaught and `socketserver`'s default `handle_error` printed a
109
+ raw traceback to `stderr` — unreadable, uncopyable, and in no log file, while the session
110
+ carried on as if nothing had happened. Three operations talked to the upstream over TLS
111
+ with no guard; the only `try`/`except` covered writes *to the client*, the direction that
112
+ was not failing. `_proxy` is now a boundary around the whole exchange, returning a clean
113
+ `502` if it fails before the response head is on the wire and ending the stream cleanly
114
+ after; `handle_error` routes through the diagnostics port; `_drain` guards the upstream
115
+ **read**, so a connection dropped mid-response keeps what arrived and a cut-short turn is
116
+ still metered rather than lost; post-response bookkeeping is guarded separately, because by
117
+ then the client has its answer and a ledger failure is ours; and the accept loop is guarded
118
+ too — it runs on a daemon thread, so its death would silently stop metering while the
119
+ session kept working, the one failure mode worse than a visible error.
120
+
121
+ ### Engineering
122
+ - Registry descriptions hold a catalogue **key** resolved at render time, since a pydantic
123
+ `Field` is evaluated at import, long before a localiser exists. TUI bindings resolve at
124
+ import too, which is correct because the module is imported lazily after the localiser is
125
+ installed — documented at the top of the module.
126
+ - Deliberately left in English: the TOML comments in the generated `config.toml` (the keys
127
+ they annotate are English, and a half-translated config reads worse than a consistent one),
128
+ install and login commands, vendor plan names, and the `gmlw > ` breadcrumb.
129
+
9
130
  ## [0.7.0] - 2026-07-24
10
131
 
11
132
  The interactive release — a full-screen TUI over every verb, roles and environments you
@@ -296,7 +417,9 @@ First public release — a metering wrapper around ML coding CLIs.
296
417
  over `src` and `tests`; `nox` gates mirrored by CI across Python 3.11–3.14; a
297
418
  server-side no-AI-attribution check and branch protection.
298
419
 
299
- [Unreleased]: https://github.com/danielslobozian/generic-ml-wrapper/compare/v0.7.0...HEAD
420
+ [Unreleased]: https://github.com/danielslobozian/generic-ml-wrapper/compare/v0.8.1...HEAD
421
+ [0.8.1]: https://github.com/danielslobozian/generic-ml-wrapper/compare/v0.8.0...v0.8.1
422
+ [0.8.0]: https://github.com/danielslobozian/generic-ml-wrapper/compare/v0.7.0...v0.8.0
300
423
  [0.7.0]: https://github.com/danielslobozian/generic-ml-wrapper/compare/v0.6.0...v0.7.0
301
424
  [0.6.0]: https://github.com/danielslobozian/generic-ml-wrapper/compare/v0.5.0...v0.6.0
302
425
  [0.5.0]: https://github.com/danielslobozian/generic-ml-wrapper/compare/v0.4.0...v0.5.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: generic-ml-wrapper
3
- Version: 0.7.0
3
+ Version: 0.8.1
4
4
  Summary: A wrapper around an ML coding CLI: enter at a job, get a named resumable session, optionally driven by a workflow.
5
5
  Project-URL: Homepage, https://github.com/danielslobozian/generic-ml-wrapper
6
6
  Project-URL: Repository, https://github.com/danielslobozian/generic-ml-wrapper
@@ -133,11 +133,11 @@ uv tool install generic-ml-wrapper # or: uv sync --extra dev (from a clone)
133
133
  gmlw start MY-FIRST-JOB # first run self-seeds ~/.gmlw (owner-only)
134
134
  ```
135
135
 
136
- On first run the wrapper creates `~/.gmlw/` (mode `0700`) with a commented `config.toml`, a SQLite ledger, and the workflow/profile/rule folders. Pick the client per run with `--client claude|cursor|codex|vibe`, or set a default in `config.toml`.
136
+ On first run the wrapper creates `~/.gmlw/` (mode `0700`) with a commented `config.toml`, a SQLite ledger, and the workflow, profile, environment and template folders. Pick the client per run with `--client claude|cursor|codex|vibe`, or set a default in `config.toml`.
137
137
 
138
138
  ## Workflows
139
139
 
140
- A **workflow** is a small operating context you author once and launch a job with. Rather than re-explaining the same standing instructions to the client every time, you compile them once — a base, your profile, global rules, and the workflow's own steps — into the context the session opens with.
140
+ A **workflow** is a small operating context you author once and launch a job with. Rather than re-explaining the same standing instructions to the client every time, you compile them once — a base, your profile, the rules of your environment and role, and the workflow's own steps — into the context the session opens with.
141
141
 
142
142
  ```sh
143
143
  gmlw workflow new doc-review # author a workflow (an authoring session, kept apart from work)
@@ -170,7 +170,7 @@ Beyond metering, `gmlw` builds a portable operating context that follows you fro
170
170
  - **Profile & company** — who you are and your project's conventions (`profile/me`, `profile/company`), composed into every session.
171
171
  - **Learned notebook** — what your tools notice about how you work, in one file they all mirror into; negatives ("what to avoid") are first-class.
172
172
  - **Personas** — a selectable tone with a free, local greeting at launch (`gmlw persona list`).
173
- - **Rules** — corrections you've demanded, captured as reusable reflexes (`~/.gmlw/rules/*.rule.md`).
173
+ - **Rules** — corrections you've demanded, captured as reusable reflexes and filed by axis: the environment's constraints (`~/.gmlw/environments/<env>/rules/`) or your role's craft preferences (`~/.gmlw/profile/roles/<role>/rules/`). Browse them with `gmlw tui` → Rules.
174
174
  - **Mode-aware packaging** — a `[startup.<mode>]` matrix decides which sources compose for a plain session, a workflow, or authoring, with optional typed compression.
175
175
  - **Plugins & overrides** — swap a client's caller by id (`gmlw plugins list`, `[callers]`).
176
176
 
@@ -94,11 +94,11 @@ uv tool install generic-ml-wrapper # or: uv sync --extra dev (from a clone)
94
94
  gmlw start MY-FIRST-JOB # first run self-seeds ~/.gmlw (owner-only)
95
95
  ```
96
96
 
97
- On first run the wrapper creates `~/.gmlw/` (mode `0700`) with a commented `config.toml`, a SQLite ledger, and the workflow/profile/rule folders. Pick the client per run with `--client claude|cursor|codex|vibe`, or set a default in `config.toml`.
97
+ On first run the wrapper creates `~/.gmlw/` (mode `0700`) with a commented `config.toml`, a SQLite ledger, and the workflow, profile, environment and template folders. Pick the client per run with `--client claude|cursor|codex|vibe`, or set a default in `config.toml`.
98
98
 
99
99
  ## Workflows
100
100
 
101
- A **workflow** is a small operating context you author once and launch a job with. Rather than re-explaining the same standing instructions to the client every time, you compile them once — a base, your profile, global rules, and the workflow's own steps — into the context the session opens with.
101
+ A **workflow** is a small operating context you author once and launch a job with. Rather than re-explaining the same standing instructions to the client every time, you compile them once — a base, your profile, the rules of your environment and role, and the workflow's own steps — into the context the session opens with.
102
102
 
103
103
  ```sh
104
104
  gmlw workflow new doc-review # author a workflow (an authoring session, kept apart from work)
@@ -131,7 +131,7 @@ Beyond metering, `gmlw` builds a portable operating context that follows you fro
131
131
  - **Profile & company** — who you are and your project's conventions (`profile/me`, `profile/company`), composed into every session.
132
132
  - **Learned notebook** — what your tools notice about how you work, in one file they all mirror into; negatives ("what to avoid") are first-class.
133
133
  - **Personas** — a selectable tone with a free, local greeting at launch (`gmlw persona list`).
134
- - **Rules** — corrections you've demanded, captured as reusable reflexes (`~/.gmlw/rules/*.rule.md`).
134
+ - **Rules** — corrections you've demanded, captured as reusable reflexes and filed by axis: the environment's constraints (`~/.gmlw/environments/<env>/rules/`) or your role's craft preferences (`~/.gmlw/profile/roles/<role>/rules/`). Browse them with `gmlw tui` → Rules.
135
135
  - **Mode-aware packaging** — a `[startup.<mode>]` matrix decides which sources compose for a plain session, a workflow, or authoring, with optional typed compression.
136
136
  - **Plugins & overrides** — swap a client's caller by id (`gmlw plugins list`, `[callers]`).
137
137
 
@@ -252,7 +252,6 @@ than only configurable — plus a round of data-screen and localisation fixes.
252
252
  / Config verb**, including launching a fresh session (Job → New) and resuming a *specific*
253
253
  named session, not just the latest. It never replaces argv: the CLI stays the fast lane and
254
254
  the menu is there to browse. Built additively, de-spiked into shape, and localised.
255
- (Distinct from the text-UX consistency pass, which stays its own release below.)
256
255
  - **Create a role or environment (`CreateAxis`)** — the movie-set axes introduced in 0.4.0
257
256
  become **first-class slug-folders** (a stable slug plus a human label and description), with
258
257
  a use case and CLI to *create* a new role or environment, not only select among the seeded
@@ -264,41 +263,50 @@ than only configurable — plus a round of data-screen and localisation fixes.
264
263
  presentation.
265
264
  - **Fixes** — the first-run init announcement speaks the chosen language, not the OS locale.
266
265
 
267
- ## Planned
266
+ ### 0.8.0 — every string a key, every log a file
267
+ Two sweeps over the *whole* application, both about the same thing: gmlw was saying things in
268
+ the wrong language and writing them to the wrong place. Neither was a feature — each was a
269
+ pass that ends with a guard, so the debt cannot quietly come back.
270
+
271
+ - **Localisation, finished** — 87 new keys (EN and FR, **395 each**) convert what had drifted
272
+ back since 0.5.0: every argparse `help` / `description` / `metavar`, the TUI footer labels,
273
+ the 17 settings-registry descriptions, the client catalogue's login hints. Technical logs are
274
+ localised on purpose — a French user reading their own log file is the case that decided it.
275
+ `--help` now speaks one language rather than two, argparse's own chrome included.
276
+ - **A drift guard that fails the build** — rejects a literal at a `print` / `log` / argparse /
277
+ `Binding` call site, a `t()` key missing from the catalogue, and a registry setting with no
278
+ `setting.<key>` entry. The mechanically enforceable half that key-parity could not see.
279
+ - **Logging as a real subsystem** — a `DiagnosticsPort` in core with the concrete adapter built
280
+ at the composition root, a never-raises contract, a rolling file sink at `~/.gmlw/logs/`, a
281
+ structured line format, and PII scrubbing in the sink (narrowed twice against over-redaction).
282
+ The destination is a wiring decision: file + `stderr` for a utility command, file only once a
283
+ command hands the terminal over, silence for the statusline.
284
+ - **Relay error boundaries ([#59](https://github.com/danielslobozian/generic-ml-wrapper/issues/59))**
285
+ — a TLS failure in a request thread no longer dumps a raw traceback onto the live client's
286
+ screen. Boundaries around the exchange, the upstream read, post-response bookkeeping, and the
287
+ accept loop, all recorded through the port.
288
+
289
+ ### 0.8.1 — rules, scoped to the axes
290
+ A rule is a projection of the user, so it lives on one of the two axes that describe one —
291
+ and the tiers that sat outside them are gone.
292
+
293
+ - **Rules move onto the environment and role axes** — the place's constraints at
294
+ `~/.gmlw/environments/<env>/rules/`, your own craft preferences at
295
+ `~/.gmlw/profile/roles/<role>/rules/`. The global `~/.gmlw/rules/` and per-workflow
296
+ `<workflow>/rules/` tiers are removed: a workflow that behaves wrongly is fixed in the
297
+ workflow, not patched by a rule beside it. Existing files must be moved by hand.
298
+ - **The environment wins on conflict** — a constraint is not overridden by a preference, so
299
+ environment rules compose last, closest to the model. `Precedence:` decides within an axis.
300
+ - **Active from creation** — the user demanded the correction, so it applies; `status: draft`
301
+ becomes their off-switch rather than a promotion gate. Draft-ness is read from frontmatter
302
+ instead of a substring search that silently dropped live rules mentioning drafting.
303
+ - **One rule format, on disk** — `~/.gmlw/templates/rule.template.md`, seeded once and read
304
+ by the capture directive, replacing two hand-synced copies that could drift.
305
+ - **A Rules browser in `gmlw tui`**, plus a **session snapshot** heading every compiled
306
+ context (environment · role · persona · user · language · job), so a client reads which
307
+ role it is in rather than inferring it.
268
308
 
269
- ### 0.8.0 — TUI refactoring: the terminal UX as one system
270
- The discoverability surfaces landed piecemeal across 0.4.0–0.6.0 — the first-run chooser, the
271
- bare-`gmlw` index, `help` topics, `config list`, the exit receipt, the ambient card, the
272
- pre-launch workflow chooser. Each was built when its feature needed it. This release stops
273
- adding surfaces and makes the ones that exist read as **one system**: a consistency and
274
- quality pass over the terminal UX, from the design deliverable in `generic-ml-wrapper-030-ui-concepts.md`.
275
-
276
- **Not a TUI app.** The curses/full-screen "Hub" (that doc's Concept 3) stays **dropped** — it
277
- carries the only real dependency bill, and a persistent full-screen surface pulls against
278
- [[wrapper-not-standalone]]. "TUI refactoring" here means refactoring the *text* UX gmlw already
279
- owns, not adopting a widget toolkit. gmlw's UI lives only on the five legal surfaces and never
280
- as a persistent UI over a live session.
281
-
282
- - **The five surfaces, made consistent** — utility commands (S1), pre-launch (S2), the handoff
283
- (S3), ambient in-client greeting/statusline (S4), and **the return** (S5). Audit each for the
284
- house rules the codebase already implies: chrome to stderr so stdout stays clean for `--json`,
285
- non-TTY degrades to silent/scriptable, and anything shown at the handoff (S3, instantly wiped)
286
- is duplicated at S4/S5 so nothing is lost.
287
- - **Next-action footers everywhere** — the core mechanic of the enriched CLI: every
288
- run-and-return command ends with 1–2 contextual next commands, so discovery rides on commands
289
- the user already runs. Make it uniform across *all* listings/inspections, not just the ones
290
- that happen to have it.
291
- - **The chooser teaches the fast path** — the pre-launch chooser always echoes the equivalent
292
- one-liner before handoff, and `?` at any prompt prints the relevant `help` topic inline then
293
- re-prompts, so interactive use graduates the user out of the chooser. Full argv still means
294
- zero interaction, always.
295
- - **Receipt / card parity** — the exit receipt (S5) and the ambient capability card (S4) must
296
- describe the same command surface in the same vocabulary, so "what can gmlw do" gets the same
297
- answer whether asked mid-session or read on the return. One suppressible, usage-driven tip per
298
- return, rotated, never off-TTY.
299
- - **A visual-consistency pass** — shared alignment, colour/emphasis conventions, and the
300
- status-of vs manual split (statusline = ambient *state*; card = ambient *manual*) applied
301
- uniformly, so the surfaces look like one product rather than several sittings.
309
+ ## Planned
302
310
 
303
311
  ### 0.9.0 — personas, proven (and multilingual)
304
312
  Today "personas shape tone" is an **untested claim**. A persona ships a tone block, but
@@ -356,6 +364,30 @@ now lives here in 0.9.0, after the harness and the tuning, so the composition fo
356
364
  proof. If the matrix shows personas collapse even after tuning, per-workflow persona is
357
365
  reconsidered in place rather than shipped on sand.
358
366
 
367
+ ### 0.10.0 — the documentation release
368
+ The docs grew alongside the features: seven files under `docs/` plus a README that has absorbed
369
+ every new capability since 0.1.0. This release treats documentation as the deliverable rather
370
+ than the residue — one pass over what exists, plus the thing missing entirely, a first-contact
371
+ install path.
372
+
373
+ - **A one-line install, on both platforms** — a `sh` script for Linux/macOS and a PowerShell
374
+ script for Windows, served from the repo and pasted into the README. Each does one job: ensure
375
+ `uv` is present (Astral's own installer when it is not), then `uv tool install
376
+ generic-ml-wrapper`. **No Python prerequisite** — `uv` fetches its own interpreter, so the
377
+ usual "which Python, is it recent enough, is it the distro's broken split package" logic never
378
+ arises. Two separate scripts rather than one with branches: the PATH story differs too much
379
+ between them to share code honestly.
380
+ - **PATH, said out loud** — the common failure for a tool installed this way is a shim directory
381
+ that is not on `PATH`, and the second most common is a shell that has not been restarted. The
382
+ scripts detect both and say so loudly rather than exiting silently successful; the README
383
+ carries the same note so it is findable without re-running anything.
384
+ - **Hosted from the repo, not a site** — the raw GitHub URL is stable and CDN-cached. The cost is
385
+ no server-side OS detection, so the README shows both commands, labelled. Accepted deliberately:
386
+ a dedicated install page is not worth standing up a web property for.
387
+ - **A pass over the existing docs** — README, `USER_GUIDE`, `CLI`, `CONFIGURATION`, `CLIENTS`,
388
+ `WORKFLOWS`, `TROUBLESHOOTING` audited against the surface that actually ships, so what they
389
+ describe and what gmlw does are the same thing.
390
+
359
391
  ## Parked
360
392
 
361
393
  - **External source connectors** — let a workflow pull from external systems (APIs,
@@ -1,6 +1,6 @@
1
1
  # Security Policy
2
2
 
3
- `generic-ml-wrapper` is early software (`0.7.0`). It is published
3
+ `generic-ml-wrapper` is early software (`0.8.1`). It is published
4
4
  openly and takes security seriously regardless of maturity. Thank you for helping keep it
5
5
  and its users safe.
6
6
 
@@ -0,0 +1 @@
1
+ 0.8.1
@@ -152,8 +152,10 @@ On every run gmlw composes an operating context from a fixed set of sources.
152
152
  - `company` — `environments/<env>/*.md`, where `<env>` is the active
153
153
  `[profile] default_environment` (the config key stays `company`; only its on-disk home
154
154
  moved from the old `profile/company/`)
155
- - `rules` — `rules/*.md`, plus the active role's `profile/roles/<role>/rules/*.md`
156
- (role-scoped reflexes), where `<role>` is the active `[profile] default_role`
155
+ - `rules.environment` — `environments/<env>/rules/*.rule.md`, the place's constraints
156
+ - `rules.role` — `profile/roles/<role>/rules/*.rule.md`, your own craft preferences. The
157
+ environment's rules compose last and outrank the role's on conflict. There is no global
158
+ and no per-workflow rule tier.
157
159
  - `persona` — the selected persona plus the shared floor (see [`[companion]`](#companion))
158
160
  - `base` / `steps` — a workflow run also composes its `base` and `steps`
159
161
 
@@ -161,7 +163,8 @@ Each source is configured as `{ activated = <bool>, compression = <bool> }`. The
161
163
  nest by source group:
162
164
 
163
165
  - `[startup.<mode>.context.me]` holds `user` and `learned`.
164
- - `[startup.<mode>.context]` holds `company`, `rules`, and `persona`.
166
+ - `[startup.<mode>.context.rules]` holds `environment` and `role`.
167
+ - `[startup.<mode>.context]` holds `company` and `persona`.
165
168
  - `[startup.workflow.context]` also holds `base` and `steps` — in workflow and
166
169
  authoring modes these are **always active**, so only their `compression` is read
167
170
  (`activated` is ignored).
@@ -174,9 +177,12 @@ written out explicitly:
174
177
  user = { activated = true, compression = false }
175
178
  learned = { activated = true, compression = false }
176
179
 
180
+ [startup.default.context.rules]
181
+ environment = { activated = true, compression = false }
182
+ role = { activated = true, compression = false }
183
+
177
184
  [startup.default.context]
178
185
  company = { activated = true, compression = false }
179
- rules = { activated = false, compression = false }
180
186
  persona = { activated = false, compression = false }
181
187
  ```
182
188
 
@@ -231,7 +237,7 @@ The compression prompt is chosen by the source's **kind**:
231
237
  | --- | --- |
232
238
  | `human-touch` | `me.user` + `me.learned` |
233
239
  | `technical` | workflow `base` + `steps` |
234
- | `rules` | `rules` |
240
+ | `rules` | `rules.environment` + `rules.role` |
235
241
 
236
242
  `company` and `persona` are always verbatim (never compressed). Under
237
243
  `[compress.prompts]` you supply a prompt file per kind, or per **specific source key**
@@ -277,16 +283,42 @@ root = "/some/dir" # optional; defaults to ~/.gmlw/transcripts
277
283
 
278
284
  ## `[logging]`
279
285
 
280
- Controls diagnostic verbosity on stderr.
286
+ Controls the wrapper's own diagnostics — what is written, and how much of it is kept.
281
287
 
282
288
  | Key | Meaning | Default |
283
289
  | --- | --- | --- |
284
290
  | `level` | `debug` \| `info` \| `warning` \| `error` | `warning` |
291
+ | `to_file` | write diagnostics to `~/.gmlw/logs/gmlw.log` | `true` |
292
+ | `max_bytes` | roll the log file once it grows past this size | `1048576` |
293
+ | `backup_count` | how many rolled log files to keep | `5` |
285
294
 
286
- The environment variable `GMLW_LOG_LEVEL` sets the same value and is handy for a
295
+ The environment variable `GMLW_LOG_LEVEL` sets the level too, and is handy for a
287
296
  one-off run without editing the file.
288
297
 
298
+ **Where diagnostics go depends on the command.** A utility command (`gmlw jobs`,
299
+ `gmlw config list`, …) writes them to the log file *and* to stderr, so you see a
300
+ warning while you are watching. A command that hands the terminal to a client
301
+ (`start`, `run`, `tui`, `workflow new/edit`) writes to the **log file only** — there,
302
+ stderr is the client's own screen, so a diagnostic printed to it would corrupt the
303
+ client's display and be gone on the next redraw. `gmlw statusline` logs nothing at
304
+ all: it renders into another program's prompt many times a session.
305
+
306
+ So when something goes wrong *during* a wrapped session, the log file is where to
307
+ look:
308
+
309
+ ```console
310
+ $ tail -f ~/.gmlw/logs/gmlw.log
311
+ ```
312
+
313
+ Caught exceptions are recorded there with their full traceback, which is why a
314
+ failure inside the metering relay no longer has to reach your screen to be diagnosed.
315
+ Secrets and PII (API keys, bearer tokens, e-mail addresses) are redacted as records
316
+ are written.
317
+
289
318
  ```toml
290
319
  [logging]
291
320
  level = "warning"
321
+ to_file = true
322
+ max_bytes = 1048576
323
+ backup_count = 5
292
324
  ```
@@ -235,19 +235,29 @@ A workflow is a set of markdown files compiled, in fixed order, into one blob an
235
235
  injected at launch (Claude: `--append-system-prompt-file`):
236
236
 
237
237
  ```
238
- _common/base.md → profile/* → global rules → workflow rules → workflow steps
238
+ session snapshot → profile/* → role rules → environment rules → _common/base.md → workflow steps
239
239
  ```
240
240
 
241
241
  Each stage passes through the **interceptor chain**, so a transform like context
242
242
  compression is an opt-in plug-in bound to a target, not a fork of the engine.
243
243
 
244
+ - **Session snapshot (always-on, verbatim):** the context opens with a small JSON block
245
+ naming the active environment, role, persona and job. At the moment a session starts
246
+ exactly one of each is in play, so the frame is scalars rather than anything to resolve;
247
+ it is never compressed, because a paraphrase would make it wrong rather than shorter.
248
+ - **Rules are scoped to the user, never to a workflow:** a rule lives on the environment
249
+ axis (the place's constraints) or the role axis (the user's craft preferences). The
250
+ environment composes last and outranks the role on conflict. A workflow that behaves
251
+ wrongly is fixed in the workflow, so there is no per-workflow rule tier.
252
+
244
253
  - **Rule capture (always-on):** the `rules` stage leads with a fixed capture directive
245
254
  (gmlw's voice, verbatim) whenever the source is active — on by default in every mode,
246
- including a plain start — so a demanded correction becomes a draft rule in any session,
247
- is deduped against the existing rules, and, when mechanically enforceable, is offered as
248
- a script rather than a reminder.
255
+ including a plain start — so a demanded correction becomes a rule in any session, filed
256
+ on the environment or role axis, deduped against the existing rules, and, when
257
+ mechanically enforceable, offered as a script rather than a reminder.
249
258
  - **Rule cleaning (always, lossless):** drop each rule's YAML frontmatter and the
250
- human-only `Origin` / `Notes` sections; skip rules marked `status: draft`.
259
+ human-only `Origin` / `Notes` sections; skip rules the user has switched off with
260
+ `status: draft`.
251
261
  - **Compression (optional, off):** each source can be compressed through its *typed*
252
262
  prompt by the `CacheBackedContextCompressor` (the `ContextCompressorPort`), which
253
263
  records through `generic-ml-cache` so the same source replays for free — the lossy
@@ -48,6 +48,35 @@ GMLW_LOG_LEVEL=debug gmlw start <job> --client <client>
48
48
  or set `[logging] level = "debug"` in `~/.gmlw/config.toml`. See
49
49
  [CONFIGURATION.md](CONFIGURATION.md).
50
50
 
51
+ ## Where do I look when something goes wrong *during* a session?
52
+
53
+ `~/.gmlw/logs/gmlw.log`.
54
+
55
+ While a client is running it owns the terminal, so the wrapper cannot report anything
56
+ to the screen without corrupting the client's display — and anything it did write
57
+ would be painted over on the next redraw. Diagnostics for those commands (`start`,
58
+ `run`, `tui`, `workflow new/edit`) therefore go **only** to the log file:
59
+
60
+ ```
61
+ tail -f ~/.gmlw/logs/gmlw.log
62
+ ```
63
+
64
+ Caught failures are recorded there with their full traceback, so a relay or upstream
65
+ error that happened ten minutes ago is still there to read. The file rolls at 1 MiB
66
+ and keeps 5 backups; API keys, tokens and e-mail addresses are redacted as it is
67
+ written. Utility commands (`gmlw jobs`, `gmlw config list`, …) log to the file *and*
68
+ to stderr, since nothing else is using the screen.
69
+
70
+ ## A Python traceback appeared over my client's UI
71
+
72
+ Fixed in 0.8.0. The metering relay had no error boundary, so a TLS error in a request
73
+ thread was printed as a raw traceback to a `stderr` shared with the client's TUI —
74
+ unreadable, uncopyable, and saved nowhere.
75
+
76
+ Now such a failure returns a clean `502` to the client (which retries), and the
77
+ traceback goes to `~/.gmlw/logs/gmlw.log`. If you still see one, it is a bug worth
78
+ reporting — please include the log file's tail.
79
+
51
80
  ## How are client status-line settings restored after exit or crash?
52
81
 
53
82
  The wrapper snapshots your client status-line settings before launch and restores them
@@ -55,7 +55,7 @@ gmlw start PROJ-482 -w triage
55
55
  ```
56
56
 
57
57
  The authoring session is hidden from `gmlw jobs`. See [WORKFLOWS.md](WORKFLOWS.md) for the compile
58
- order and the `rules/` and `scripts/` folders.
58
+ order and the `scripts/` folder.
59
59
 
60
60
  ## 5. Add profile and environment context
61
61
 
@@ -69,14 +69,15 @@ $EDITOR ~/.gmlw/profile/me/about.md
69
69
  $EDITOR ~/.gmlw/environments/work/overview.md
70
70
  ```
71
71
 
72
- Rules and learnings can also be **role-scoped**: drop them under
73
- `~/.gmlw/profile/roles/<role>/rules/` and `~/.gmlw/profile/roles/<role>/learned.md`, and they
74
- compose only when `<role>` is your active `[profile] default_role` (the functional hat you
75
- picked at `gmlw init` — a lens over `me`, not a separate you). Global `rules/` and
76
- `profile/me/learned.md` always apply; the role's add on top.
72
+ Learnings can also be **role-scoped**: drop them under
73
+ `~/.gmlw/profile/roles/<role>/learned.md`, and they compose only when `<role>` is your active
74
+ `[profile] default_role` (the functional hat you picked at `gmlw init` — a lens over `me`, not a
75
+ separate you). `profile/me/learned.md` always applies; the role's adds on top.
76
+
77
+ Rules are *always* scoped — see section 7.
77
78
 
78
79
  ```
79
- $EDITOR ~/.gmlw/profile/roles/engineer/rules/review.rule.md
80
+ $EDITOR ~/.gmlw/profile/roles/engineer/learned.md
80
81
  ```
81
82
 
82
83
  Which sources are activated (and compressed) per mode is controlled by the `[startup.<mode>]`
@@ -101,20 +102,36 @@ persona = "mentor" # plain | companion | mentor | butler | terse, or a file
101
102
 
102
103
  Personas are off and invisible until you set this key.
103
104
 
104
- ## 7. Record and activate a rule
105
+ ## 7. Record a rule
106
+
107
+ A rule is a projection of *you*, so it lives on one of the two axes that describe you — never
108
+ globally, and never per-workflow:
109
+
110
+ | Axis | Folder | What belongs there |
111
+ | --- | --- | --- |
112
+ | Environment | `~/.gmlw/environments/<env>/rules/` | Constraints of the place — how docs are written here, how a service is built, the house lint config. Not your taste; it stops applying elsewhere. |
113
+ | Role | `~/.gmlw/profile/roles/<role>/rules/` | Your own preferences about the craft — design patterns, how you approach code. They travel with you. |
105
114
 
106
- Rules live in `~/.gmlw/rules/<slug>.rule.md`. A rule with `status: draft` is **not** injected;
107
- promote it to `active` once you're happy with it. The `Origin` field is stripped before the model
108
- sees the rule.
115
+ When the two conflict the **environment wins**: a constraint is not overridden by a preference.
116
+ Within one axis, an explicit `Precedence: <n>` decides (higher wins).
117
+
118
+ A rule is **active from the moment it is recorded** — you demanded it, so it applies. Setting
119
+ `status: draft` is your off-switch, to retire a rule later without deleting it; a draft is
120
+ injected into no session. The `Origin` field is stripped before the model sees the rule.
109
121
 
110
122
  ```
111
- $EDITOR ~/.gmlw/rules/no-force-push.rule.md # write Rule / When / Signals / Strength, status: draft
112
- # edit the front matter: status: draft -> status: active
123
+ $EDITOR ~/.gmlw/profile/roles/engineer/rules/no-force-push.rule.md
124
+ # to retire it later, edit the front matter: status: active -> status: draft
113
125
  ```
114
126
 
115
127
  In any session, when you're dissatisfied and want something to never recur, the client offers to
116
- record it as a draft rule for you — updating an existing rule instead of duplicating it, and
117
- offering to turn a mechanically enforceable one into a script. See [WORKFLOWS.md](WORKFLOWS.md).
128
+ record the rule for you — proposing an axis and letting you redirect it, updating an existing rule
129
+ instead of duplicating it, and offering to turn a mechanically enforceable one into a script.
130
+
131
+ Browse what you have with `gmlw tui` → **Rules**, which lists only the environments and roles that
132
+ actually hold rules and marks the ones you have switched off. The format itself is yours to
133
+ reshape: it is a plain file at `~/.gmlw/templates/rule.template.md`, and the client is told to
134
+ follow whatever is in it. See [WORKFLOWS.md](WORKFLOWS.md).
118
135
 
119
136
  ## 8. Enable transcripts safely
120
137