ww-agentic-workflows 1.0.0.dev8__tar.gz → 1.0.0.dev10__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 (382) hide show
  1. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/CHANGELOG.md +18 -0
  2. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/PKG-INFO +1 -1
  3. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/documentation/architecture.md +73 -16
  4. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/documentation/features.md +134 -39
  5. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/documentation/specification.md +27 -12
  6. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/ext/ww/git/extension.py +27 -11
  7. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/pyproject.toml +1 -1
  8. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/action_execution.py +24 -0
  9. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/contracts.py +16 -0
  10. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/extension.py +11 -0
  11. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-rule_skill.md +37 -16
  12. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/main.py +67 -8
  13. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/parser.py +18 -1
  14. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/completion_artifacts.py +11 -3
  15. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/completion_inputs.py +7 -2
  16. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config_writes.py +123 -31
  17. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/execution_models/plan_codec.py +1 -0
  18. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/execution_models/records.py +21 -0
  19. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/extensions/api.py +9 -0
  20. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/instructions/builder.py +50 -9
  21. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/instructions/handoff.py +22 -1
  22. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/instructions/models.py +24 -4
  23. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/output_adapters/markdown.py +55 -12
  24. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/output_adapters/rule_pages.py +99 -2
  25. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/plan/actions.py +6 -1
  26. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/plan/compiler.py +3 -12
  27. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/rule_checks.py +23 -4
  28. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/rule_conversion.py +21 -3
  29. ww_agentic_workflows-1.0.0.dev10/src/ww/rule_stats.py +295 -0
  30. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/rule_verification.py +36 -6
  31. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/rule_views.py +158 -5
  32. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/rule_writes.py +132 -57
  33. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/service.py +63 -14
  34. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/transitions.py +10 -2
  35. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/workflow_config.py +31 -2
  36. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/workflow_validation.py +5 -22
  37. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/manager-dispatch.md +2 -0
  38. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/step-auto-worker.md +2 -0
  39. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/worker-bootstrap.md +2 -0
  40. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_assessment_outcomes.py +72 -2
  41. ww_agentic_workflows-1.0.0.dev10/tests/integration/test_conditional_inputs.py +136 -0
  42. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_discover.py +2 -1
  43. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_git_extension.py +34 -0
  44. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_handoff_block.py +2 -0
  45. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_interactive.py +43 -0
  46. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_onboarding_workflows.py +11 -0
  47. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_plan_execution.py +2 -2
  48. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_rule_commands.py +190 -0
  49. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_rule_verification_flow.py +213 -0
  50. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_rule_write_commands.py +161 -5
  51. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_rules_and_checks.py +37 -0
  52. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_worker_handoff.py +113 -10
  53. ww_agentic_workflows-1.0.0.dev10/tests/unit/test_completion_inputs.py +43 -0
  54. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_extensions.py +9 -0
  55. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_markdown_output.py +54 -24
  56. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_records.py +60 -1
  57. ww_agentic_workflows-1.0.0.dev10/tests/unit/test_rule_stats.py +135 -0
  58. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_rule_verification.py +63 -3
  59. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_rule_writes.py +86 -3
  60. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_rules.py +37 -0
  61. ww_agentic_workflows-1.0.0.dev8/tests/unit/test_completion_inputs.py +0 -22
  62. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.claude/settings.json +0 -0
  63. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.claude/skills/noww/SKILL.md +0 -0
  64. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.claude/skills/update-architecture-documentation/SKILL.md +0 -0
  65. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.claude/skills/ww/SKILL.md +0 -0
  66. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.codex/hooks.json +0 -0
  67. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.codex/skills/noww/SKILL.md +0 -0
  68. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.codex/skills/update-architecture-documentation/SKILL.md +0 -0
  69. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.codex/skills/ww/SKILL.md +0 -0
  70. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.git-blame-ignore-revs +0 -0
  71. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.githooks/pre-commit +0 -0
  72. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  73. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  74. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  75. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  76. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.github/workflows/dev-publish.yml +0 -0
  77. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.github/workflows/release-gates.yml +0 -0
  78. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/.gitignore +0 -0
  79. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/AGENTS.md +0 -0
  80. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/CLAUDE.md +0 -0
  81. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/CODE_OF_CONDUCT.md +0 -0
  82. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/CONTRIBUTING.md +0 -0
  83. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/LICENSE +0 -0
  84. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/README.md +0 -0
  85. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/SECURITY.md +0 -0
  86. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/WW_AGENT_INSTRUCTIONS.md +0 -0
  87. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/documentation/agent-hooks.md +0 -0
  88. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/documentation/development-releases.md +0 -0
  89. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/documentation/examples.md +0 -0
  90. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/documentation/limitations.md +0 -0
  91. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/documentation/python-agent-rules.md +0 -0
  92. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/documentation/todo.md +0 -0
  93. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/scripts/check_distribution.py +0 -0
  94. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/scripts/check_release_gates.py +0 -0
  95. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/scripts/demo.sh +0 -0
  96. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/scripts/ensure_spdx_license.py +0 -0
  97. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/scripts/measure_pages.py +0 -0
  98. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/scripts/run_workflow_dummy.py +0 -0
  99. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/scripts/set_dev_version.py +0 -0
  100. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/scripts/test +0 -0
  101. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/__init__.py +0 -0
  102. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/__init__.py +0 -0
  103. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/command.py +0 -0
  104. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/mcp.py +0 -0
  105. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/prompt.py +0 -0
  106. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/skill.py +0 -0
  107. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/slash_command.py +0 -0
  108. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/agents.py +0 -0
  109. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/amendments.py +0 -0
  110. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/artifacts.py +0 -0
  111. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assessments.py +0 -0
  112. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/__init__.py +0 -0
  113. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/agent_instructions.md +0 -0
  114. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/noww_skill.md +0 -0
  115. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/workflows/onboarding.yaml +0 -0
  116. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/workflows/scriptize.yaml +0 -0
  117. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-automate_skill.md +0 -0
  118. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-debug-report_skill.md +0 -0
  119. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-deduce-feedback_skill.md +0 -0
  120. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-feedback-rules_skill.md +0 -0
  121. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-learn-project_skill.md +0 -0
  122. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-refresh_skill.md +0 -0
  123. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-rules-from-artifacts_skill.md +0 -0
  124. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-scriptize_skill.md +0 -0
  125. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-setup_skill.md +0 -0
  126. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-solve_skill.md +0 -0
  127. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-suggest_skill.md +0 -0
  128. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-wizard_skill.md +0 -0
  129. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-workflow-feedback_skill.md +0 -0
  130. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww_skill.md +0 -0
  131. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assignments.py +0 -0
  132. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/bootstrap.py +0 -0
  133. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/builtin_workflows.py +0 -0
  134. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/changes.py +0 -0
  135. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/child_coordination.py +0 -0
  136. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/children.py +0 -0
  137. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/claude_permissions.py +0 -0
  138. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/__init__.py +0 -0
  139. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/__main__.py +0 -0
  140. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/audit.py +0 -0
  141. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/catalogs.py +0 -0
  142. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/discover.py +0 -0
  143. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/initialization.py +0 -0
  144. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/lookup.py +0 -0
  145. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/prompts.py +0 -0
  146. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/updates.py +0 -0
  147. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config/__init__.py +0 -0
  148. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config/actions.py +0 -0
  149. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config/composition.py +0 -0
  150. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config/rules.py +0 -0
  151. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config/steps.py +0 -0
  152. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config/values.py +0 -0
  153. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config_files.py +0 -0
  154. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/contracts.py +0 -0
  155. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/control.py +0 -0
  156. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/defaults.py +0 -0
  157. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/design_docs.py +0 -0
  158. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/direct_work.py +0 -0
  159. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/discovery.py +0 -0
  160. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/documents.py +0 -0
  161. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/errors.py +0 -0
  162. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/executable.py +0 -0
  163. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/execution_models/__init__.py +0 -0
  164. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/execution_models/construction.py +0 -0
  165. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/execution_models/decoding.py +0 -0
  166. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/execution_models/runs.py +0 -0
  167. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/extensions/__init__.py +0 -0
  168. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/extensions/registry.py +0 -0
  169. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/extensions/store.py +0 -0
  170. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/feedback.py +0 -0
  171. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/handler_repairs.py +0 -0
  172. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/hooks/__init__.py +0 -0
  173. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/hooks/agents.py +0 -0
  174. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/hooks/install.py +0 -0
  175. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/hooks/notices.py +0 -0
  176. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/hooks/runtime.py +0 -0
  177. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/inspect.py +0 -0
  178. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/instructions/__init__.py +0 -0
  179. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/instructions/commands.py +0 -0
  180. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/instructions/policy.py +0 -0
  181. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/instructions/text.py +0 -0
  182. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/interactions.py +0 -0
  183. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/interpolation.py +0 -0
  184. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/item_passes.py +0 -0
  185. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/items.py +0 -0
  186. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/locking.py +0 -0
  187. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/metadata_publication.py +0 -0
  188. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/onboarding.py +0 -0
  189. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/open_work.py +0 -0
  190. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/operations.py +0 -0
  191. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/operator_ui/__init__.py +0 -0
  192. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/operator_ui/page.html +0 -0
  193. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/operator_ui/server.py +0 -0
  194. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/operator_ui/session.py +0 -0
  195. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/operator_ui/sheet.py +0 -0
  196. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/operator_ui/view.py +0 -0
  197. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/output.py +0 -0
  198. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/output_adapters/__init__.py +0 -0
  199. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/output_adapters/base.py +0 -0
  200. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/output_adapters/json_adapter.py +0 -0
  201. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/output_adapters/terminal.py +0 -0
  202. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/package_updates.py +0 -0
  203. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/plan/__init__.py +0 -0
  204. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/plan/constructs.py +0 -0
  205. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/plan/models.py +0 -0
  206. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/project_config.py +0 -0
  207. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/recovery.py +0 -0
  208. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/replanning.py +0 -0
  209. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/results.py +0 -0
  210. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/rule_disputes.py +0 -0
  211. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/rule_store.py +0 -0
  212. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/run_coordination.py +0 -0
  213. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/run_reports.py +0 -0
  214. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/runtimes.py +0 -0
  215. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/setup_apply.py +0 -0
  216. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/step_values.py +0 -0
  217. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/storage.py +0 -0
  218. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/storage_adapters/__init__.py +0 -0
  219. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/storage_adapters/base.py +0 -0
  220. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/storage_adapters/filesystem.py +0 -0
  221. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/storage_adapters/memory.py +0 -0
  222. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/storage_adapters/project_metadata.py +0 -0
  223. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/storage_adapters/task_document.py +0 -0
  224. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/task_ids.py +0 -0
  225. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/task_references.py +0 -0
  226. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/updates.py +0 -0
  227. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/upgrade.py +0 -0
  228. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/validation.py +0 -0
  229. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/variables.py +0 -0
  230. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/workflow_update.py +0 -0
  231. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/src/ww/workspace.py +0 -0
  232. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/action_contract_helpers.py +0 -0
  233. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/config_helpers.py +0 -0
  234. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/conftest.py +0 -0
  235. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/example_documents.py +0 -0
  236. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/fixtures/packaged_extension/ww_test_packaged_extension.py +0 -0
  237. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/completion.md +0 -0
  238. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/fix-required.md +0 -0
  239. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/interactive.md +0 -0
  240. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/item-stage.md +0 -0
  241. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/loop-body.md +0 -0
  242. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/loop-continue.md +0 -0
  243. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/operator-stop.md +0 -0
  244. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/step-rules.md +0 -0
  245. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/step-single.md +0 -0
  246. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/values-and-metadata.md +0 -0
  247. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/verification.md +0 -0
  248. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/worker-handoff.md +0 -0
  249. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_adjustments.py +0 -0
  250. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_artifact_from_containers.py +0 -0
  251. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_assignment_tokens.py +0 -0
  252. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_auto_retries.py +0 -0
  253. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_automatic_handler_groups.py +0 -0
  254. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_automatic_modes.py +0 -0
  255. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_awaiting_operator.py +0 -0
  256. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_bootstrap_task_id.py +0 -0
  257. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_builtin_workflows.py +0 -0
  258. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_child_identity.py +0 -0
  259. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_child_launch_settings.py +0 -0
  260. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_child_stages.py +0 -0
  261. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_child_start_action.py +0 -0
  262. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_child_start_guards.py +0 -0
  263. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_child_tasks.py +0 -0
  264. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_children_added_mid_run.py +0 -0
  265. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_cli.py +0 -0
  266. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_command_metadata.py +0 -0
  267. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_complete_dispatch.py +0 -0
  268. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_concurrency.py +0 -0
  269. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_config_files.py +0 -0
  270. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_configuration_authority.py +0 -0
  271. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_consumed_values.py +0 -0
  272. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_debug_events.py +0 -0
  273. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_direct_work.py +0 -0
  274. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_documents.py +0 -0
  275. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_example_behaviour.py +0 -0
  276. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_executable.py +0 -0
  277. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_extension_execution.py +0 -0
  278. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_feedback_commands.py +0 -0
  279. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_git_variables.py +0 -0
  280. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_golden_pages.py +0 -0
  281. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_handler_repairs.py +0 -0
  282. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_hooks.py +0 -0
  283. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_init_force.py +0 -0
  284. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_init_permissions.py +0 -0
  285. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_inspect.py +0 -0
  286. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_item_assignment.py +0 -0
  287. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_item_fields.py +0 -0
  288. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_item_pass_restarts.py +0 -0
  289. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_item_pass_runs.py +0 -0
  290. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_item_reply_reports.py +0 -0
  291. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_item_runtime_values.py +0 -0
  292. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_items.py +0 -0
  293. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_local_step_pages.py +0 -0
  294. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_loops.py +0 -0
  295. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_memory_workflow_service.py +0 -0
  296. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_metadata_lists.py +0 -0
  297. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_onboarding.py +0 -0
  298. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_pack_scenarios.py +0 -0
  299. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_packaged_extension.py +0 -0
  300. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_page_gates.py +0 -0
  301. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_projects.py +0 -0
  302. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_recommended_workflow.py +0 -0
  303. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_recovery_guards.py +0 -0
  304. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_replanning.py +0 -0
  305. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_requirements_pages.py +0 -0
  306. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_requirements_per_session.py +0 -0
  307. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_restart.py +0 -0
  308. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_rule_conversion.py +0 -0
  309. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_run_report_commands.py +0 -0
  310. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_scriptize_workflow.py +0 -0
  311. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_setup_apply.py +0 -0
  312. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_setup_update.py +0 -0
  313. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_setup_verification.py +0 -0
  314. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_shared_items.py +0 -0
  315. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_stale_task_records.py +0 -0
  316. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_state_unknown_fields.py +0 -0
  317. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_system_scenarios.py +0 -0
  318. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_update_notice.py +0 -0
  319. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_upgrade.py +0 -0
  320. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_workdir.py +0 -0
  321. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_worker_bootstrap_text.py +0 -0
  322. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_workflow_service.py +0 -0
  323. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/page_catalog.py +0 -0
  324. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/plan_helpers.py +0 -0
  325. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/test_dev_version.py +0 -0
  326. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_action_contracts.py +0 -0
  327. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_action_example.py +0 -0
  328. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_action_phase_contexts.py +0 -0
  329. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_artifacts.py +0 -0
  330. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_assignments.py +0 -0
  331. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_beta_notice.py +0 -0
  332. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_builtin_actions.py +0 -0
  333. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_changes.py +0 -0
  334. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_checklist_prompt.py +0 -0
  335. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_child_stages_config.py +0 -0
  336. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_children_config.py +0 -0
  337. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_cli_prompts.py +0 -0
  338. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_completion_selection.py +0 -0
  339. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_config.py +0 -0
  340. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_config_composition.py +0 -0
  341. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_config_writes.py +0 -0
  342. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_delegation_requests.py +0 -0
  343. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_design_docs.py +0 -0
  344. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_discovery.py +0 -0
  345. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_examples_doc.py +0 -0
  346. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_execution_hints.py +0 -0
  347. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_feedback.py +0 -0
  348. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_handler_failure_report.py +0 -0
  349. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_hook_agents.py +0 -0
  350. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_instruction_commands.py +0 -0
  351. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_interactions.py +0 -0
  352. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_item_config.py +0 -0
  353. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_item_passes.py +0 -0
  354. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_item_validation.py +0 -0
  355. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_locking.py +0 -0
  356. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_modes.py +0 -0
  357. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_operator_ui.py +0 -0
  358. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_package_updates.py +0 -0
  359. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_plan.py +0 -0
  360. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_project_config.py +0 -0
  361. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_project_metadata_storage_adapters.py +0 -0
  362. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_rule_disputes.py +0 -0
  363. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_rule_store.py +0 -0
  364. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_run_reports.py +0 -0
  365. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_runtimes.py +0 -0
  366. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_scripts_test_bootstrap.py +0 -0
  367. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_step_role.py +0 -0
  368. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_storage.py +0 -0
  369. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_task_document.py +0 -0
  370. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_task_ids.py +0 -0
  371. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_task_references.py +0 -0
  372. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_task_storage_adapters.py +0 -0
  373. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_transitions.py +0 -0
  374. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_updates.py +0 -0
  375. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_validation.py +0 -0
  376. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_variables.py +0 -0
  377. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_workflow_inheritance.py +0 -0
  378. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_workflow_validation.py +0 -0
  379. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_workspace.py +0 -0
  380. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/tests/workflow_helpers.py +0 -0
  381. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/ww.json +0 -0
  382. {ww_agentic_workflows-1.0.0.dev8 → ww_agentic_workflows-1.0.0.dev10}/ww.yaml +0 -0
@@ -9,6 +9,24 @@ The committed package version stays at 0.1.0; development snapshots from `dev`
9
9
  use `1.0.0.devN`. What may change between two pulls, and what ww does not promise
10
10
  yet, is in [documentation/limitations.md](documentation/limitations.md).
11
11
 
12
+ ## 2026-10-08
13
+
14
+ - Added: a rule without a check is narrowed by the step's change set like a check is, so a rule scoped with
15
+ `paths` or `contains` that no changed file matches is reported `not applicable` and spawns no verifier, a
16
+ step whose judged rules are all out of scope completes without a verification item, and the verifier page
17
+ shows each rule's scope with the changed files in it; ww keeps per-rule counters (applied, checked, judged,
18
+ failures, waived, not applicable, last failure) in the local `.ww/rules/stats.json`, shown by `rules` and
19
+ the new `rules stats`, and `lint` hints at unscoped judged rules and rules never applied. `b4fcc17`
20
+ - Fixed: after a worker's assessment, the handoff block lists one `next --outcome <label>` command per
21
+ outcome and a plain `next` shows the choice again instead of failing; `git-commit` no longer asks for a
22
+ message when the task workspace has nothing to commit, the message is optional on the step's completion,
23
+ and the "steps completed since" list of a commit request counts earlier commit placements; `next` on an
24
+ open interactive step shows its page again, and the refusal for a worker's open item names `instruction`,
25
+ `complete` and `next --reassign`; `rules add` and `rules move` work with a group that lists its rule files
26
+ one by one; `rules --json` lists every workflow's steps with the path a `steps` filter can name, loop bodies
27
+ and per-item stages included, which the `ww-rule` skill now reads; the assignment coverage line also names
28
+ the items ww runs itself, marked `(run by ww)`, and the upcoming-assignment preview lists them. `d38e52e`
29
+
12
30
  ## 2026-10-07
13
31
 
14
32
  - Fixed: a rejected completion's artifact is shown on the fix page and kept as a previous attempt in the
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: ww-agentic-workflows
3
- Version: 1.0.0.dev8
3
+ Version: 1.0.0.dev10
4
4
  Summary: A local-first, resumable workflow CLI for people and AI agents.
5
5
  Project-URL: Homepage, https://agenticworkflows.dev
6
6
  Project-URL: Documentation, https://github.com/from-developers-for-developers/agentic-workflows/tree/main/documentation
@@ -27,7 +27,12 @@ The built-in frontend in `../src/ww/config/` parses `../ww.yaml` into the
27
27
  immutable definitions in `../src/ww/workflow_config.py`; another notation can
28
28
  produce those definitions directly through the same loader contract. Shared
29
29
  cross-definition rules live in `../src/ww/workflow_validation.py`, so notation
30
- parsers do not acquire different workflow semantics. Validation is also where
30
+ parsers do not acquire different workflow semantics. `workflow_config.step_paths`
31
+ is the one walk of a step tree with its logical paths (nested steps, loop
32
+ bodies, per-item and per-child stages under their parent's path); the
33
+ validator, the plan compiler, rule placement and the `rules` listing's
34
+ `targets` all use it, so a step filter is checked, applied and listed against
35
+ the same set of names. Validation is also where
31
36
  the built-in workflows join the configured ones: `../src/ww/builtin_workflows.py`
32
37
  parses the YAML files shipped in `../src/ww/assets/workflows/` (`scriptize.yaml` with `ww-scriptize-rules`, and
33
38
  `onboarding.yaml` with ww's learning and setup workflows) with the same frontend, once per process, and adds each workflow the
@@ -609,11 +614,13 @@ agent, model, reasoning, or profile, or that is reserved for the manager with
609
614
  cannot change those. The `single` runtime keeps per-step bounds. Each stage is still its own plan item
610
615
  with its own record, so completion, reload, and recovery need no span-specific
611
616
  state; only the instruction builder marks the first stage of a span with its
612
- scope and later stages as compact continuations. The builder also splits the
613
- covered items by their execution records into `completed_assignment_items`
614
- and the rest, and names in `running_assignment_item` the ww-owned item the
615
- cursor is on, so a page re-read while a hook runs describes the assignment as
616
- it stands rather than as it was dispatched.
617
+ scope and later stages as compact continuations. The builder also lists every
618
+ item of the assignment in plan order as `assignment_items`, the ones ww runs
619
+ itself among them as `assignment_automatic_items`, splits them by their
620
+ execution records into `completed_assignment_items` and the rest, and names in
621
+ `running_assignment_item` the ww-owned item the cursor is on, so a page re-read
622
+ while a hook runs describes the assignment as it stands rather than as it was
623
+ dispatched.
617
624
 
618
625
  The same module collects the inputs of a completion window. Matching variable
619
626
  requests share one value across its automatic handlers, so overlapping project
@@ -973,10 +980,20 @@ builds from the saved state (`instructions/handoff.py`): the items performed
973
980
  with their outcomes, artifacts, checks, fix rounds and change set, plus the
974
981
  worker's capped `--summary`. The service takes the open
975
982
  assignment's items before a worker command runs, so the block can still name
976
- them after the command closed the assignment. `WorkflowService` builds the block in one method, used by both the completion
983
+ them after the command closed the assignment. When the assignment ended with
984
+ an assessment, the block also carries that step's name and its pending
985
+ outcome labels (`choosing_outcome_of`, `outcomes`, from `pending_assessment`),
986
+ so its manager line is one `next --outcome <label>` command per label rather
987
+ than a plain `next`, which with an outcome pending re-renders the choose page
988
+ instead of reaching `select_assessment_outcome` (`--force` still does, and is
989
+ refused there). `WorkflowService` builds the block in one method, used by both the completion
977
990
  path and `ww handoff`, which reprints it for an ended assignment from the saved records. A worker's `complete` or `loop`
978
991
  on a `role: manager` item is refused; the manager completes it with `--role
979
- manager`.
992
+ manager`. `next` while an item is open follows the same ownership: the page is
993
+ shown again when the session asking holds the open item (every item in
994
+ `single`, a `role: manager` item such as an interactive step in `auto`), and
995
+ refused for a worker's open item with the three ways out named,
996
+ `instruction`, `complete`, and `next --reassign`.
980
997
  A step's `role` says who performs it, and it is resolved along the same chain
981
998
  as the profile: workflow, enclosing steps, the step. For a `role: manager`
982
999
  action the compiler clears profile and execution-selection hints, so
@@ -1099,6 +1116,20 @@ that item has run; the supplied values remain on the record's
1099
1116
  `supplied_values`. Workflow values thus hold only what no consumer has used
1100
1117
  yet, and a later consumer of the same name, a commit after a review loop,
1101
1118
  raises its own input request instead of reusing the earlier value. A
1119
+ handler that needs its inputs only sometimes declares a precondition,
1120
+ `ExtensionHandler.needs_input`, which the compiler carries as
1121
+ `ProvidedVariable.conditional` on the plan item and `ActionExecutor.needs_input`
1122
+ evaluates through `AutomaticAction.needs_input` with the handler's ordinary
1123
+ context: `drain` consults it when the item's values are missing and runs the
1124
+ item without a request when they are not needed, and the completion window
1125
+ (`completion_inputs.py`) accepts a conditional value left out, so a commit on
1126
+ a clean workspace neither asks for a message nor stops the assignment; once
1127
+ ww has requested the value, it is required. The "steps completed since this
1128
+ handler last ran" list of a request is keyed on the handler rather than the
1129
+ plan item: the builder reads `item_executions` and `execution_history` for
1130
+ any placement of the same handler, skips a run whose result says it found
1131
+ nothing to do, and orders records completed in the same second by plan
1132
+ position. A
1102
1133
  reference's `args` are the other input:
1103
1134
  the name-only handler carries them, the compiler checks their count against
1104
1135
  the handler's declared `arguments` and validates their templates like shell
@@ -1801,11 +1832,19 @@ for the same purpose. The limit turns into an operator decision (`fix_limit`)
1801
1832
  whose two exits, a fresh count or a recorded waiver, are transitions like any
1802
1833
  other.
1803
1834
  Judged rules, those without a command, are verified by an agent that is never
1804
- the step's worker. Completing such a step holds the completion: the
1805
- arguments, the change set and the draft artifact stay on the item record,
1806
- and ww inserts one verification item per distinct worker setting before the
1807
- step as a new plan revision, each an assignment of its own. A verifier only
1808
- judges: it gives verdicts with evidence and never writes anything else.
1835
+ the step's worker. Completing such a step first narrows them by the step's
1836
+ change set through the one applicability test checks use,
1837
+ `rule_checks.applicable_files`: `verification_needs` returns the rules a
1838
+ verifier must still judge, each with its scope and the changed files in it,
1839
+ and the IDs the change set left out, which `record_not_applicable` keeps on
1840
+ the item record (`rules_not_applicable`) so the artifact reports them and
1841
+ the statistics count them; `reject_completion` clears that set. When no
1842
+ rule remains, the completion is recorded as usual. Otherwise ww holds the
1843
+ completion: the arguments, the change set and the draft artifact stay on
1844
+ the item record, and ww inserts one verification item per distinct worker
1845
+ setting before the step as a new plan revision, each an assignment of its
1846
+ own. A verifier only judges: it gives verdicts with evidence and never
1847
+ writes anything else.
1809
1848
  Turning rules into checks is a project task of its own,
1810
1849
  `ww-scriptize-rules`, whose checks the operator records with `rules
1811
1850
  convert`. They live in `ww-rule-automation.json` at the project root, keyed
@@ -1843,6 +1882,18 @@ the one approval path. `rules.check_guidance` in
1843
1882
  lists the same rules from `unscriptized_rules`. The notice is a view; it
1844
1883
  selects no work.
1845
1884
 
1885
+ `rule_stats.py` keeps the per-rule counters in `.ww/rules/stats.json`, a
1886
+ ww-owned local file keyed by rule ID. The service counts at the three points
1887
+ a completion settles: a rejection by checks, a rejection by a verifier's
1888
+ verdict, and the acceptance; `evaluations` derives from the step's record and
1889
+ the settling check report what that settlement decided about each rule, so
1890
+ each rule counts once per settlement (applied and checked or judged, failed,
1891
+ waived, or not applicable), and `reject_completion` clears the record's
1892
+ not-applicable rules so a later settlement never counts a stale set. The
1893
+ store writes under its own lock and drops a write it cannot make: statistics
1894
+ never fail a completion. `rules` and `rules stats` read it through
1895
+ `rule_views`, and `lint` hints at rules never applied (`never_applied_rules`).
1896
+
1846
1897
  Rules are written by the operator, through the `ww-rule` skill, never by a
1847
1898
  running task. The skill holds the judgment (atomic rules, amendments, globs,
1848
1899
  placement, wording, one confirmation); `rule_writes.py` holds the writes, each
@@ -1851,12 +1902,18 @@ loading the configuration as any command would, and restored whole when that
1851
1902
  fails. Rule files are edited in place, keeping every line a change does not
1852
1903
  concern; the repo YAML is never rewritten whole, because PyYAML cannot round-trip
1853
1904
  comments, so new groups go into `ww-rules.yaml`, a ww-owned import, and the
1854
- repo file gains only its `imports` entry, checked by reading it back.
1905
+ repo file gains only its `imports` entry, checked by reading it back. A rule
1906
+ added or moved into a group that lists its files one by one is written beside
1907
+ the group's last file (or in `--dir`) and listed the same way: `ww-rules.yaml`
1908
+ is rewritten whole, any other declaring file gains the one list line, and the
1909
+ write is refused, naming the line to add by hand, when the list cannot be
1910
+ extended without touching anything else.
1855
1911
  `rules promote` is the one write that also changes the store, after the rule
1856
1912
  files validated. The write mechanics both this and `ww setup apply` use — a
1857
1913
  `FileWrite` plan, the `Transaction` that restores every file, and
1858
- `import_write`, which adds one `imports` entry and checks nothing else moved —
1859
- live in `../src/ww/config_writes.py`, with `dump_yaml`, which writes every YAML
1914
+ `import_write`, which adds one `imports` entry, and `list_item_write`, which
1915
+ appends one item to the block list at a key path, both checking nothing else
1916
+ moved — live in `../src/ww/config_writes.py`, with `dump_yaml`, which writes every YAML
1860
1917
  file ww owns the way a person would: block style, no anchors or aliases, an
1861
1918
  empty value rather than `null` (`- run-tests:`), long text folded with `>-` and
1862
1919
  multi-line text as a `|` block, short scalar lists such as `argv` inline,
@@ -1366,13 +1366,16 @@ Direct branches and `outcomes` cannot be combined; use `outcomes` for custom
1366
1366
  labels.
1367
1367
 
1368
1368
  The agent sees the choice before it answers: the assessment's page lists each
1369
- outcome and what it does, for example "`negative` — ends the workflow here".
1369
+ outcome and what it does, for example "`negative` — ends the workflow here",
1370
+ and says that once the step is complete the manager records the outcome with
1371
+ `next --outcome <label>`.
1370
1372
  Once the assessment is complete, the next page asks for the outcome and shows
1371
- one `next --outcome <label>` command per outcome, never a plain `next`, which
1372
- ww would refuse. An outcome made of an automatic command runs only after its
1373
- outcome is chosen; ww pauses at a pending assessment rather than running any
1374
- branch. A delegating manager chooses it itself; no worker preview is
1375
- shown until the outcome decides which work comes next.
1373
+ one `next --outcome <label>` command per outcome; a plain `next` runs nothing
1374
+ and shows that choice again. An outcome made of an automatic command runs only
1375
+ after its outcome is chosen; ww pauses at a pending assessment rather than
1376
+ running any branch. A delegating manager chooses it itself; no worker preview
1377
+ is shown until the outcome decides which work comes next, and the worker's
1378
+ handoff block ends with the same one command per outcome.
1376
1379
 
1377
1380
  `profile` may be a name or a mapping containing `name` and/or `description`.
1378
1381
  The mapping form supplies an inline description. ww resolves a named profile by
@@ -1537,14 +1540,16 @@ manager continues. `awaiting_operator` means a human must decide; see
1537
1540
  At handoff only the manager runs the displayed `next --role manager` command.
1538
1541
  In the `auto` runtime the manager's delegate page and the requested worker
1539
1542
  describe the step that drives selection, not whichever hook the cursor is on,
1540
- and both the manager and the worker are told every item the assignment covers:
1541
- `This assignment covers, in order: ...` while nothing is done, then, once the
1542
- worker has completed some of them, `Already completed in this assignment: ...
1543
- Remaining, in order: ...`, derived from the items' execution status rather
1544
- than from the assignment's first item. The line is omitted when one item or
1545
- none remains; while it is shown and ww is running an automatic item of the
1546
- assignment, a commit hook or a push, it names it: `` `ww` is now running
1547
- `git-push`. ``
1543
+ and both the manager and the worker are told every item the assignment covers,
1544
+ in plan order, the ones ww runs itself marked: `This assignment covers, in
1545
+ order: `develop`, `git-push` (run by `ww`), `update-workflow-summary`.` while
1546
+ nothing is done, then, once some of them are completed, `Already completed in
1547
+ this assignment: ... Remaining, in order: ...`, derived from the items'
1548
+ execution status rather than from the assignment's first item. The line is
1549
+ omitted when one item or none remains; while it is shown and ww is running an
1550
+ automatic item of the assignment, a commit hook or a push, it names it: `` `ww`
1551
+ is now running `git-push`. `` The previous manager page's "Upcoming
1552
+ assignment" preview lists the same items.
1548
1553
  A worker moving to a later item of the same assignment is told so explicitly,
1549
1554
  and the end of an assignment says to stop and return to the manager.
1550
1555
 
@@ -1555,9 +1560,11 @@ the `awaiting_input` instruction is addressed to the manager, its command
1555
1560
  carries `--role manager`, and the preview before it says that no worker is
1556
1561
  selected. Every pending-input page also lists, under "Work these values
1557
1562
  describe", the handovers of the steps completed since that handler last ran
1558
- in the run, so a commit message names this round's work rather than repeating
1559
- an earlier one. The first page of each session shows the requirements saved by
1560
- `init` in full under "Task requirements", so the user's wording reaches the worker
1563
+ in the run, through any of its placements, so a commit message names this
1564
+ round's work rather than repeating an earlier one; a run that found nothing to
1565
+ commit does not count as one. The first page of each session shows the
1566
+ requirements saved by `init` in full under "Task requirements", so the user's
1567
+ wording reaches the worker
1561
1568
  without the manager adding commentary: the manager's first page that asks for
1562
1569
  work, the first page of every delegated worker assignment (each is a fresh
1563
1570
  session; `pages.worker_requirements` in `ww.json` set to `pointer` swaps it for
@@ -1699,7 +1706,9 @@ Manager: continue with `./ww next TASK-7 --role manager`
1699
1706
  When the block ends a child task's run (the task ID has a `/` and no run of it
1700
1707
  is open any more), the last line names the parent instead: "Manager: continue
1701
1708
  with the parent task: `./ww next TASK-7 --role manager`". A child that is only
1702
- partway through its run keeps its own command.
1709
+ partway through its run keeps its own command. When the assignment ended with
1710
+ an assessment, the last line instead asks the manager to choose its outcome
1711
+ and lists one `next --outcome <label>` command per outcome.
1703
1712
 
1704
1713
  It lists every agent item the worker performed in the assignment with its
1705
1714
  outcome (`completed`, `loop break`, `loop continue`, `held for verification`,
@@ -2227,6 +2236,15 @@ and deleted files, ww's own `.ww` state, and `ww-rule-automation.json` are left
2227
2236
  out. Without git there is no change set: the globs select every file in the
2228
2237
  directory, `.git` and `.ww` excepted.
2229
2238
 
2239
+ A rule without a check is narrowed the same way. When the step's worker
2240
+ completes, each judged rule is matched against the change set: a rule with
2241
+ `paths` or `contains` that select none of the changed files is not
2242
+ applicable, no verifier judges it, and the artifact says so; a rule with
2243
+ neither applies to every change, even when the step changed nothing, so an
2244
+ unscoped judged rule is verified after every step. A step that changed no
2245
+ files makes every scoped judged rule not applicable. When no judged rule
2246
+ remains, the completion is recorded at once, without a verification item.
2247
+
2230
2248
  In a shell check a bare `$WW_STEP_CHANGED_FILES` splits on whitespace, which
2231
2249
  suits `grep -L foo $WW_STEP_CHANGED_FILES` and `xargs`; paths with spaces need
2232
2250
  `printf '%s\n' "$WW_STEP_CHANGED_FILES" | xargs -d '\n' …`. A check's full
@@ -2238,8 +2256,9 @@ with a `check` field naming the check.
2238
2256
  The step's artifact gains a `## Rules` section after `## Result`: one line per
2239
2257
  rule with its status, `passed`, `not applicable`, `failed`, which only a
2240
2258
  waiver lets through, `verified pass (by <verification item>)` for a rule a
2241
- verifier judged, or `passed (check <name>)` for one a derived check covers;
2242
- hook checks carry `(hook)`. A rule is `self-declared` only when the operator
2259
+ verifier judged, `not applicable (no changed file in scope)` for a judged
2260
+ rule the change set left out, or `passed (check <name>)` for one a derived
2261
+ check covers; hook checks carry `(hook)`. A rule is `self-declared` only when the operator
2243
2262
  waived it, which skips its verification too. The section ends with the
2244
2263
  waived IDs and the operator's reason for each, if any, and how many
2245
2264
  completions ww rejected before this one.
@@ -2268,9 +2287,10 @@ items** are inserted before the step, one per distinct worker the rules ask
2268
2287
  for through `agent`, `model`, and `reasoning` (else the step's). Each is its
2269
2288
  own assignment: under `auto` the manager hands it to a new worker; under
2270
2289
  `single` the same session performs it, and its page says to read the change
2271
- as a reviewer would. The verification page lists each rule, the step's
2272
- changed files and the `git diff` that shows them, and the path of the held
2273
- artifact. The verifier gives each rule a verdict, `pass` or `fail` with
2290
+ as a reviewer would. The verification page lists each rule, with its
2291
+ scope (globs and `contains` strings) and, when they are fewer than the
2292
+ step's, the changed files in that scope, the step's changed files once and
2293
+ the `git diff` that shows them, and the path of the held artifact. The verifier gives each rule a verdict, `pass` or `fail` with
2274
2294
  `file:line — what` evidence, as one `--rule-result` per rule,
2275
2295
  `{"id": "<rule>", "status": "judged", "verdict": "pass"}`, and writes
2276
2296
  nothing to the store. A failing verdict is a rejected completion: the step
@@ -2283,10 +2303,11 @@ declared rules have no check yet and suggest the `ww-scriptize` skill, which sta
2283
2303
  `ww-scriptize-rules`. The notice never blocks a task; it is left out
2284
2304
  while `ww-scriptize-rules` is switched off, and on the pages of
2285
2305
  `ww-scriptize-rules` itself. `ww lint` warns with the IDs of those rules,
2286
- suggesting `ww-scriptize-rules` only while it is switched on, and
2287
- lists store entries whose wording no rule has any more; only
2288
- `ww rules prune`, after listing them and asking the operator, deletes the
2289
- orphans.
2306
+ suggesting `ww-scriptize-rules` only while it is switched on, hints at the
2307
+ judged rules with neither `paths` nor `contains`, "verified on every step;
2308
+ add paths or contains to narrow", and lists store entries whose wording no
2309
+ rule has any more; only `ww rules prune`, after listing them and asking the
2310
+ operator, deletes the orphans.
2290
2311
 
2291
2312
  ### Guiding the checks: `rules.check_guidance`
2292
2313
 
@@ -2389,21 +2410,58 @@ the missing file.
2389
2410
  froze it: its full text, globs, rule file, command, and the steps that carry
2390
2411
  it, and for a rule without a command what the store knows about its wording.
2391
2412
  `ww rules` lists the project's declared groups, with their filters and each
2392
- rule's ID and first sentence, and each step's own rules; `--json` gives the
2393
- same for a program. `ww rules prune` deletes store entries no declared rule
2413
+ rule's ID and first sentence, each step's own rules, and then every
2414
+ workflow's steps as a `steps` filter can name them: one line per step with
2415
+ its path, which reaches exactly that step where a leaf name would match it
2416
+ everywhere (loop bodies and per-item stages included), the groups reaching
2417
+ it, or that it is not an agent step and takes no rules. Each rule's local
2418
+ counters follow its line; see [Rule statistics](#rule-statistics). `--json`
2419
+ gives the same for a program, the steps as `targets` with `workflow`, `step`,
2420
+ `path`, `agent_owned` and `groups`, and the counters as each rule's `stats`.
2421
+ `ww rules prune` deletes store entries no declared rule
2394
2422
  needs any more, after listing them and asking; `--yes` skips the question.
2395
2423
  `ww rules revoke <check>` rejects a converted or proposed check and its rules
2396
2424
  the same way.
2397
2425
 
2426
+ ### Rule statistics
2427
+
2428
+ ww counts what every settled completion of a step decided about each of the
2429
+ step's rules: a completion accepted, or one rejected because a check or a
2430
+ verifier's verdict failed. A rule counts once per settlement: `applied` when
2431
+ it was evaluated, `checked` or `judged` by how, `check_failures` or
2432
+ `judged_failures` when that evaluation failed it, `waived` when the operator
2433
+ let the step complete without it, and `not_applicable` when the change set
2434
+ selected none of its files. A step rejected three times by one rule's check
2435
+ and then accepted counts that rule as applied 4, checked 4, check failures
2436
+ 3. Each rule also keeps when it last applied and last failed, and the task,
2437
+ step and kind (`check` or `verdict`) of the last failure.
2438
+
2439
+ The counts live in `.ww/rules/stats.json`, keyed by rule ID with the hash
2440
+ of the wording last evaluated alongside, so they follow a rule through
2441
+ rewordings. The file is ww-owned, local to the checkout, and never
2442
+ committed: `.ww` is ignored. ww writes it under its own lock, and a count it
2443
+ cannot write is dropped; it never fails the completion.
2444
+
2445
+ `ww rules` shows each rule's counters and last failure under its line, and
2446
+ `--json` carries them as `stats`. `ww rules stats [--json]` lists every
2447
+ declared rule, the most failing first (check and verdict failures together),
2448
+ then the most applied, then by ID, and marks the rules never applied. `ww
2449
+ lint` hints at a rule waived or left out five times or more without ever
2450
+ applying: it may be scoped wrong, or no longer worth keeping. The ww-rule
2451
+ skill reads the counters to propose amending a rule that fails often and
2452
+ retiring one that is never applied, each on the operator's confirmation.
2453
+
2398
2454
  ### Writing rules with the ww-rule skill
2399
2455
 
2400
2456
  Rules are easiest to add in conversation. Invoked as `/ww-rule`, or when you
2401
2457
  ask an agent to add or change a rule, the `ww-rule` skill carries the
2402
- judgment: it reads the groups (`ww rules --json`) and the real workflow and
2403
- step names (`ww discover`), splits what you said into atomic obligations,
2458
+ judgment: it reads the groups and the real workflow and step names from
2459
+ `ww rules --json`, splits what you said into atomic obligations,
2404
2460
  tells a new rule from an amendment of an existing one or a change of where a
2405
- group applies, gives a rule globs only when it names a kind of file and
2406
- counts what each matches, places it in a group whose filters fit, and
2461
+ group applies, prefers a scoped rule, with `paths` globs and `contains`
2462
+ strings when the rule is about particular files or constructs, since ww
2463
+ skips a scoped rule the step's change set never touches, and counts what
2464
+ each glob matches, places it in a group whose filters fit, and
2407
2465
  rewrites it as one imperative sentence with the rationale below. It shows
2408
2466
  you one confirmation block, with each rule's ID, group, filters, globs and
2409
2467
  match counts, sentence, and whether it is new or replaces an existing one,
@@ -2437,6 +2495,13 @@ Reaches these steps (an agent step's page shows it):
2437
2495
  sentence unless `--id` names it, with `--paths` globs, `--contains` strings
2438
2496
  (it reports how many files hold each) and a check from `--check-shell` or
2439
2497
  `--check-argv` and `--assert empty|eq:<value>`. It never overwrites a file.
2498
+ A group that lists its rule files one by one instead of a directory gets
2499
+ the file beside its last one, or in `--dir <path>`, and the file's path
2500
+ appended to its `rules` list: `ww-rules.yaml` is rewritten whole; `ww.yaml`
2501
+ or another file of yours gains that one line, checked to change nothing
2502
+ else, and the command refuses with the line to add by hand when the list is
2503
+ written in a way it cannot extend (flow style, an anchor). A group that
2504
+ names only other groups needs `--dir`.
2440
2505
  - `rules add --group <name> --dir <path>` adds a root group, with optional
2441
2506
  `--workflows` and `--steps` filters. ww never rewrites
2442
2507
  `ww.yaml`: the group goes into `ww-rules.yaml` next to
@@ -2448,7 +2513,9 @@ Reaches these steps (an agent step's page shows it):
2448
2513
  and, when the old wording had an approved check, that `rules promote` keeps
2449
2514
  it.
2450
2515
  - `rules move <id> <group>` moves the file, unchanged, into another group's
2451
- directory; its wording, and so what the store knows about it, stays.
2516
+ directory, or beside the last file of a group that lists files and into its
2517
+ `rules` list as `rules add` does; its wording, and so what the store knows
2518
+ about it, stays.
2452
2519
  - `rules filter <group> --workflows ... --steps ...` changes where a group of
2453
2520
  `ww-rules.yaml` applies (`--workflows '*'` writes `"*"`; `--all-workflows` and
2454
2521
  `--all-steps` remove a filter, which also means all); a group declared
@@ -2551,7 +2618,11 @@ review loop or one that is a step of its own, therefore requests it afresh
2551
2618
  (`awaiting_input`) instead of running silently with the message an earlier
2552
2619
  step supplied. A failed handler releases its values the same way when it is
2553
2620
  retried, keeping them on its record so the request can show what it was given
2554
- last time.
2621
+ last time. A handler with a precondition asks only when it needs the value:
2622
+ `git-commit` needs no message while the task workspace has nothing to commit,
2623
+ so such a value is optional on the step's completion (the page says so), and
2624
+ when it is left out ww asks for it only if the workspace changed; a clean one
2625
+ commits nothing without a question.
2555
2626
 
2556
2627
  When several automatic completion hooks request the same variable with the
2557
2628
  same description, ww asks for it once and gives that value to each hook.
@@ -2787,7 +2858,12 @@ holds the conversation, the manager in the `auto` runtime: it is a
2787
2858
  `role: manager` step, and the step's profile, agent, model, and reasoning
2788
2859
  are ignored. For a manual-testing workflow, put `interactive: true` on the
2789
2860
  per-item stage: the manager presents each test case, waits for the operator's
2790
- result, records it, ends the interaction, and completes the item.
2861
+ result, records it, ends the interaction, and completes the item. Running
2862
+ `next` again while such a step is open shows its page again, as it does for
2863
+ any open step in the `single` runtime; `complete` is not the way to leave an
2864
+ interactive step before the conversation ended. Only a worker's open item is
2865
+ refused, and the refusal names the ways out: `instruction` to see its page,
2866
+ `complete` to finish it, `next --reassign` to dispatch it again.
2791
2867
 
2792
2868
  A conversation is recorded once, when it ends. A session that ends in the
2793
2869
  middle of one has not recorded it, and ww does not recover it from the
@@ -3674,8 +3750,10 @@ An extension handler runs inside ww rather than as a shell command, so it can
3674
3750
  remember what it did. `ww/git`'s `git-commit` commits and then records the
3675
3751
  commit, and `commits` reads that back. It stages the task workspace first; when
3676
3752
  nothing is staged, for example after a review round that needed no fix, it
3677
- succeeds without a commit and without invoking project pre-commit hooks such as
3678
- Husky or lint-staged:
3753
+ succeeds without a commit, without a `commit_message`, and without invoking
3754
+ project pre-commit hooks such as Husky or lint-staged. Its precondition tells
3755
+ ww whether the workspace has anything to commit, so a clean one is committed
3756
+ without asking for a message at all:
3679
3757
 
3680
3758
  ```console
3681
3759
  ww-agentic-workflows extensions # what is installed, and what it provides
@@ -3989,6 +4067,16 @@ workspace, and no effects, and it does not replace the check the handler makes
3989
4067
  when it runs: `ww/git` declares one for `commit_message` and still checks the
3990
4068
  same rule in `git-commit`.
3991
4069
 
4070
+ Such a handler may also declare `needs_input`, a precondition: whether the
4071
+ handler needs its declared inputs this run; `False` lets ww run it without
4072
+ asking. ww consults it, with the handler's ordinary context, when the inputs
4073
+ are missing: the values of a handler with a precondition are optional on the
4074
+ agent's completion, and when they are left out ww asks for them only if the
4075
+ precondition says they are needed (a precondition that raises counts as
4076
+ needing them). The handler must then accept running without them: `ww/git`'s
4077
+ `git-commit` needs its message only while the task workspace has something
4078
+ to commit, and commits nothing without one otherwise.
4079
+
3992
4080
  ```python
3993
4081
  def _subject_error(values):
3994
4082
  if "\n" in values.get("commit_message", ""):
@@ -3996,11 +4084,16 @@ def _subject_error(values):
3996
4084
  return None
3997
4085
 
3998
4086
 
4087
+ def _needs_commit_message(context):
4088
+ return bool(_git(context, "status", "--porcelain").stdout)
4089
+
4090
+
3999
4091
  ExtensionHandler(
4000
4092
  "git-commit",
4001
4093
  _commit,
4002
4094
  provide=(ProvidedVariable("commit_message"),),
4003
4095
  validate=_subject_error,
4096
+ needs_input=_needs_commit_message,
4004
4097
  )
4005
4098
  ```
4006
4099
 
@@ -4177,7 +4270,9 @@ anything is saved, ww hands each value to the handler that will consume it:
4177
4270
  a handler that declares a validator, such as `ww/git`'s `git-commit` for
4178
4271
  `commit_message`, refuses a value it would fail on, and the completion fails
4179
4272
  with the handler's own message and records nothing, so the agent corrects the
4180
- value and completes again. `ww` then
4273
+ value and completes again. A value whose handler has a precondition is
4274
+ optional, and the screen says so: left out, it is requested later only when
4275
+ the handler needs it, as `git-commit` does only with something to commit. `ww` then
4181
4276
  executes those handlers itself before it activates the next worker item or
4182
4277
  returns control to the manager. If an automatic command fails, the worker stops
4183
4278
  and reports the failure to the manager. The response reports
@@ -1701,8 +1701,8 @@ Controllers must not instantiate services; inject them.
1701
1701
 
1702
1702
  | Key | Type | Meaning |
1703
1703
  | --- | --- | --- |
1704
- | `paths` | non-empty list of globs | The files the rule is about, relative to the step's directory. `*` and `?` stay within a path segment, `**` spans segments, and a glob without `/` matches a file name anywhere. A check whose globs match no changed file does not run. |
1705
- | `contains` | non-empty list of non-empty strings | Narrows the rule to files whose text contains any of the strings. Each is a plain, case-sensitive substring of the file read as UTF-8 text from the step's directory; there is no regular expression, and `*`, `.` and the like mean themselves. With `paths`, a file must match a glob and contain a string; without `paths`, any changed file containing a string counts. A file that cannot be read as text is not selected. A check whose strings are in no changed file does not run, as for `paths`. The step page prints the strings after the globs. |
1704
+ | `paths` | non-empty list of globs | The files the rule is about, relative to the step's directory. `*` and `?` stay within a path segment, `**` spans segments, and a glob without `/` matches a file name anywhere. A check whose globs match no changed file does not run, and a rule without a check whose globs match none is not applicable and gets no verifier; a rule with neither `paths` nor `contains` applies to every change. |
1705
+ | `contains` | non-empty list of non-empty strings | Narrows the rule to files whose text contains any of the strings. Each is a plain, case-sensitive substring of the file read as UTF-8 text from the step's directory; there is no regular expression, and `*`, `.` and the like mean themselves. With `paths`, a file must match a glob and contain a string; without `paths`, any changed file containing a string counts. A file that cannot be read as text is not selected. A check whose strings are in no changed file does not run, and a rule without a check is not applicable then, as for `paths`. The step page prints the strings after the globs. |
1706
1706
  | `check` | command | `argv`, or `shell` with `args` and `env`, and optional `assert`, as in [Commands](#commands); `command` and `idempotent` are not accepted. |
1707
1707
  | `max_fixes` | positive integer | Rejections this check allows; defaults to `limits.fixes` in `ww.json` (3). |
1708
1708
  | `agent`, `model`, `reasoning` | string | The worker that verifies the rule; see [Verifying rules without a command](#verifying-rules-without-a-command). |
@@ -1796,12 +1796,21 @@ an `argv` check receives the variable in its environment only.
1796
1796
  ### Verifying rules without a command
1797
1797
 
1798
1798
  A rule without a check of its own is never judged by the worker who did the
1799
- step. When that worker completes and the step's checks pass, ww holds the
1800
- completion, records nothing yet, and inserts **verification items** right
1799
+ step. When that worker completes and the step's checks pass, ww first
1800
+ narrows the step's judged rules by its change set as it narrows checks: a
1801
+ rule whose `paths` or `contains` select none of the changed files is not
1802
+ applicable, is recorded on the step as such (`not applicable (no changed
1803
+ file in scope)` in the artifact's `## Rules` section), and gets no verifier;
1804
+ a rule with neither applies to every change, even an empty one. When no
1805
+ judged rule remains, the completion is recorded at once. Otherwise ww holds
1806
+ the completion, records nothing yet, and inserts **verification items** right
1801
1807
  before the step: agent items ww generates, IDs
1802
- `<workflow>:<step path>:verify:<n>`, one per distinct worker among the rules
1803
- (the rule's or group's `agent`, `model`, `reasoning`, else the step's). Each is
1804
- an assignment of its own, and asks for a verdict on each of its rules.
1808
+ `<workflow>:<step path>:verify:<n>`, one per distinct worker among the
1809
+ remaining rules (the rule's or group's `agent`, `model`, `reasoning`, else
1810
+ the step's). Each is an assignment of its own, and asks for a verdict on
1811
+ each of its rules; its page shows each rule's scope and, when the scope
1812
+ selects fewer than the step's changed files, the changed files in it
1813
+ (`paths`, `contains`, `files` on each verification rule in `--json`).
1805
1814
 
1806
1815
  When the step begins, each rule without a command resolves once against the
1807
1816
  rule-automation store, and the step keeps what it resolved: `converted` when
@@ -1831,7 +1840,11 @@ held completion as submitted.
1831
1840
  `ww-scriptize-rules`. The notice is left out while
1832
1841
  `ww-scriptize-rules` is switched off and when it is the workflow started,
1833
1842
  and never blocks anything. `lint` warns with the IDs of those rules and
1834
- suggests `ww-scriptize-rules` only while it is switched on.
1843
+ suggests `ww-scriptize-rules` only while it is switched on. `lint` also
1844
+ hints at the judged rules with neither `paths` nor `contains`, which a
1845
+ verifier judges after every step, and at a rule the local counters
1846
+ (`rules stats`) show waived or left out by the change set five times or
1847
+ more without ever applying.
1835
1848
 
1836
1849
  #### Guiding checks: `rules.check_guidance`
1837
1850
 
@@ -1907,15 +1920,16 @@ or `schema_version` is an error.
1907
1920
  | `check <task> [--json]` | Runs the checks of the step in progress against its change set so far, exactly as `complete` would, and prints the failures in the fix page's shape, or `All checks pass`, plus the rules a verifier judges at completion. Records nothing: no attempt counts and no output is kept. Exits 1 when a check fails. Not written to the audit log. |
1908
1921
  | `dispute <task> --rule <id> --reason "<why>"` | Only while the step is in progress, and only for an ID a rejected completion of it failed: a rule, a `fix` hook, a derived check, or a judged rule. Stops the task with `operator_reason: check_disputed`; the page shows the check's text, command, and last output, and the worker's reason. |
1909
1922
  | `rule <task> <id> [--json]` | One rule or check of the task as its plan froze it: full text, globs, rule file (or the step's own list), command and assertion, `max_fixes`, the steps of the task that carry it, and for a rule without a command what the rule-automation store knows about its wording. |
1910
- | `rules [--json]` | The declared root groups with their filters, verifier hints, and rules (ID, summary, globs, whether it has a check, file, times disputed), then each step's own rules and the groups it names. |
1923
+ | `rules [--json]` | The declared root groups with their filters, verifier hints, and rules (ID, summary, globs, whether it has a check, file, times disputed, its local `stats` counters as `rules stats` lists them), then each step's own rules and the groups it names, then the `targets`: every workflow's steps in tree order, `init` left out, each with its leaf `step` name, its logical `path` (the precise `steps` selector; loop bodies, nested steps, per-item and per-child stages take their parent's path as a prefix), whether it is `agent_owned` (a loop or nested sequence only holds its steps; an extension or ww-owned action takes no rules), and the `groups` reaching it now, by filter or by name, empty for a step that is not an agent's. |
1911
1924
  | `rules revoke <check> [--reason "<why>"] [--yes] [--json]` | Shows a `converted` or `proposed` store check, asks, and rejects it, recording the reason, together with the rules whose entries name it, which a verifier judges from then on. Never touches YAML, rule files, or the check's config files; the output says they stay for the operator. `--yes` skips the question; without it and without a terminal, it refuses. |
1925
+ | `rules stats [--json]` | Every declared rule with the checkout's local counters from `.ww/rules/stats.json`, counted once per settled completion of a step that carried the rule: `applied` (checked or judged), `checked`, `check_failures`, `judged`, `judged_failures`, `waived`, `not_applicable`, `last_applied_at`, `last_failed_at` and `last_failure` (`task`, `step`, `kind`: `check` or `verdict`), with `text_hash` the wording last evaluated. The most failing rule first (check plus verdict failures), then the most applied, then by ID; a rule never applied is marked (`never_applied` in JSON). Read-only: not in the audit log. |
1912
1926
  | `rules convert <check> --covers <rule-id>... [--assert empty\|equals:<value>]... [--config <path>...] [--proven] [--dry-run] [--yes] [--json] (--check-shell "<sh>" \| --check-argv <arg>... \| --check-argv -- <arg>...)` | `--check-argv -- <arg>...` goes last and takes every argument after `--` as the argv, options starting with `-` included. Shows the check, its command in full, its config files, the rules it covers with each one's current store state, and every other change, asks, and records it in the store as `converted`, approved by the operator. A new name creates the check; an existing one has its command, config, proof and coverage replaced and any pending revision dropped. A covered rule another check covered moves to this one, and that check loses any pending revision and is removed once it covers nothing more. A rule this check covered before and no longer does returns to unscriptized (its entry is removed); a rejection or decline naming the check stays. `--config` paths are relative to the project and refused when absolute or with a `..` part. Refuses an unknown or repeated rule ID and a rule with a command of its own. `--dry-run` prints the preview and records nothing. `--json` gives the check, its rules, and the `unscriptized`, `moved`, `dropped_checks` and `dropped_revisions` changes. |
1913
1927
  | `rules decline <rule-id>... --reason "<why>" [--dry-run] [--yes] [--json]` | Shows the rules with each one's current store state and every other change, asks, and records them as `not_convertible` with the reason, removing them from any check's coverage (a check left covering nothing is removed): a verifier judges them, and `ww-scriptize-rules` leaves them out. `--json` gives the rules and the same changes as `rules convert`. |
1914
1928
  | `rules prune [--yes] [--json]` | Lists the store's orphans, rule entries whose wording no declared rule has and checks that cover only such rules and that no remaining rule names, asks, and deletes them. `--yes` skips the question. |
1915
- | `rules add <group> --text "<text>" [--paths <glob>...] [--contains <text>...] [--assert empty\|equals:<value>]... [--id <stem>] [--check-shell "<sh>" \| --check-argv <arg>... \| --check-argv -- <arg>...]` | `--check-argv -- <arg>...` goes last, as for `rules convert`. Creates `<stem>.md` in the group's first directory item; the stem is the first five words of the first sentence in kebab-case unless `--id` gives one. Refuses an existing file, a group without a directory, and a group an extension ships. Reports each glob's match count, and the number of project files containing each `--contains` string, and warns about one found nowhere. `--assert` is repeatable, one condition each. |
1929
+ | `rules add <group> --text "<text>" [--paths <glob>...] [--contains <text>...] [--assert empty\|equals:<value>]... [--id <stem>] [--check-shell "<sh>" \| --check-argv <arg>... \| --check-argv -- <arg>...]` | `--check-argv -- <arg>...` goes last, as for `rules convert`. Creates `<stem>.md` in `--dir <path>`, else in the group's first directory item, else beside the group's last file item; the stem is the first five words of the first sentence in kebab-case unless `--id` gives one. A file no listed directory holds is appended to the group's `rules` list, relative to the declaring file as its other entries are: in `ww-rules.yaml` by rewriting the file whole, in any other file as one added line, checked to change nothing else and refused, naming the line to add by hand, when the list cannot be extended that way (a flow list, an anchor, a tag). Refuses an existing file, a group that lists neither a directory nor a file when `--dir` is absent, and a group an extension ships. Reports each glob's match count, and the number of project files containing each `--contains` string, and warns about one found nowhere. `--assert` is repeatable, one condition each. |
1916
1930
  | `rules add --group <name> --dir <path> [--workflows <name>...] [--steps <name>...]` | `<path>` is relative to the project root and inside it. Adds the group `{rules: [<path>/], workflows, steps}` to `ww-rules.yaml` and, the first time, `ww-rules.yaml` to the repo file's `imports`; creates the directory. A filter option without a name writes `[]`; `'*'` alone writes `"*"`. |
1917
1931
  | `rules edit <id> [--text "<text>"] [--paths <glob>...] [--contains <text>...]` | Replaces a rule file's body, its `paths`, its `contains`, or any of them, keeping every other byte, and reports matches as `rules add` does; warns when the wording's hash changes and names the store entry and approved check that stop matching. Refuses a rule written in a step's `rules` list. |
1918
- | `rules move <id> <group>` | Moves the rule file unchanged into the group's first directory; the rule's ID becomes `<group>/<stem>`. |
1932
+ | `rules move <id> <group>` | Moves the rule file unchanged into the group's first directory, or beside the group's last file item and into its `rules` list as `rules add` lists a file; the rule's ID becomes `<group>/<stem>`. |
1919
1933
  | `rules filter <group> [--workflows <name>...] [--steps <name>...] [--all-workflows] [--all-steps]` | Sets a `ww-rules.yaml` group's filters; `--workflows '*'` / `--steps '*'` writes `"*"`, and `--all-*` removes one, which also admits all. Refuses a group declared in another file. |
1920
1934
  | `rules promote <check>` | Copies a `converted` store check without a pending revision into the `check` of every rule file whose wording it covers, then deletes the check and those rules' entries from the store. Refuses when a covered rule is written in a step's `rules` list or already has a check. |
1921
1935
 
@@ -1941,7 +1955,8 @@ absolute or has a `..` part, which only a hand-edited store holds, counts as
1941
1955
  absent.
1942
1956
 
1943
1957
  `ww-rules.yaml`, next to `ww.yaml`, holds only a `rules`
1944
- mapping written by `rules add --group` and `rules filter`; ww rewrites it
1958
+ mapping written by `rules add --group` and `rules filter`, and by `rules add`
1959
+ and `rules move` listing a file in one of its groups; ww rewrites it
1945
1960
  whole and it is composed like any import. While it exists without being
1946
1961
  imported, the write commands refuse to use it.
1947
1962