ww-agentic-workflows 1.0.0.dev9__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 (381) hide show
  1. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/CHANGELOG.md +6 -0
  2. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/PKG-INFO +1 -1
  3. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/documentation/architecture.md +25 -5
  4. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/documentation/features.md +58 -14
  5. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/documentation/specification.md +23 -9
  6. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/pyproject.toml +1 -1
  7. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-rule_skill.md +25 -9
  8. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/main.py +64 -2
  9. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/parser.py +8 -0
  10. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/completion_artifacts.py +11 -3
  11. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/execution_models/records.py +20 -0
  12. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/instructions/builder.py +3 -0
  13. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/instructions/models.py +12 -1
  14. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/output_adapters/markdown.py +15 -2
  15. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/output_adapters/rule_pages.py +75 -1
  16. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/rule_checks.py +23 -4
  17. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/rule_conversion.py +21 -3
  18. ww_agentic_workflows-1.0.0.dev10/src/ww/rule_stats.py +295 -0
  19. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/rule_verification.py +36 -6
  20. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/rule_views.py +61 -4
  21. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/service.py +36 -9
  22. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/transitions.py +1 -0
  23. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_onboarding_workflows.py +11 -0
  24. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_rule_commands.py +133 -0
  25. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_rule_verification_flow.py +213 -0
  26. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_rules_and_checks.py +37 -0
  27. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_records.py +43 -0
  28. ww_agentic_workflows-1.0.0.dev10/tests/unit/test_rule_stats.py +135 -0
  29. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_rule_verification.py +63 -3
  30. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.claude/settings.json +0 -0
  31. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.claude/skills/noww/SKILL.md +0 -0
  32. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.claude/skills/update-architecture-documentation/SKILL.md +0 -0
  33. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.claude/skills/ww/SKILL.md +0 -0
  34. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.codex/hooks.json +0 -0
  35. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.codex/skills/noww/SKILL.md +0 -0
  36. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.codex/skills/update-architecture-documentation/SKILL.md +0 -0
  37. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.codex/skills/ww/SKILL.md +0 -0
  38. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.git-blame-ignore-revs +0 -0
  39. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.githooks/pre-commit +0 -0
  40. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  41. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  42. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  43. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  44. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.github/workflows/dev-publish.yml +0 -0
  45. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.github/workflows/release-gates.yml +0 -0
  46. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/.gitignore +0 -0
  47. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/AGENTS.md +0 -0
  48. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/CLAUDE.md +0 -0
  49. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/CODE_OF_CONDUCT.md +0 -0
  50. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/CONTRIBUTING.md +0 -0
  51. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/LICENSE +0 -0
  52. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/README.md +0 -0
  53. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/SECURITY.md +0 -0
  54. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/WW_AGENT_INSTRUCTIONS.md +0 -0
  55. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/documentation/agent-hooks.md +0 -0
  56. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/documentation/development-releases.md +0 -0
  57. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/documentation/examples.md +0 -0
  58. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/documentation/limitations.md +0 -0
  59. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/documentation/python-agent-rules.md +0 -0
  60. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/documentation/todo.md +0 -0
  61. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/ext/ww/git/extension.py +0 -0
  62. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/scripts/check_distribution.py +0 -0
  63. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/scripts/check_release_gates.py +0 -0
  64. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/scripts/demo.sh +0 -0
  65. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/scripts/ensure_spdx_license.py +0 -0
  66. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/scripts/measure_pages.py +0 -0
  67. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/scripts/run_workflow_dummy.py +0 -0
  68. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/scripts/set_dev_version.py +0 -0
  69. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/scripts/test +0 -0
  70. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/__init__.py +0 -0
  71. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/action_execution.py +0 -0
  72. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/__init__.py +0 -0
  73. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/command.py +0 -0
  74. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/contracts.py +0 -0
  75. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/extension.py +0 -0
  76. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/mcp.py +0 -0
  77. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/prompt.py +0 -0
  78. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/skill.py +0 -0
  79. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/actions/slash_command.py +0 -0
  80. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/agents.py +0 -0
  81. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/amendments.py +0 -0
  82. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/artifacts.py +0 -0
  83. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assessments.py +0 -0
  84. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/__init__.py +0 -0
  85. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/agent_instructions.md +0 -0
  86. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/noww_skill.md +0 -0
  87. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/workflows/onboarding.yaml +0 -0
  88. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/workflows/scriptize.yaml +0 -0
  89. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-automate_skill.md +0 -0
  90. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-debug-report_skill.md +0 -0
  91. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-deduce-feedback_skill.md +0 -0
  92. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-feedback-rules_skill.md +0 -0
  93. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-learn-project_skill.md +0 -0
  94. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-refresh_skill.md +0 -0
  95. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-rules-from-artifacts_skill.md +0 -0
  96. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-scriptize_skill.md +0 -0
  97. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-setup_skill.md +0 -0
  98. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-solve_skill.md +0 -0
  99. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-suggest_skill.md +0 -0
  100. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-wizard_skill.md +0 -0
  101. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww-workflow-feedback_skill.md +0 -0
  102. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assets/ww_skill.md +0 -0
  103. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/assignments.py +0 -0
  104. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/bootstrap.py +0 -0
  105. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/builtin_workflows.py +0 -0
  106. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/changes.py +0 -0
  107. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/child_coordination.py +0 -0
  108. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/children.py +0 -0
  109. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/claude_permissions.py +0 -0
  110. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/__init__.py +0 -0
  111. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/__main__.py +0 -0
  112. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/audit.py +0 -0
  113. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/catalogs.py +0 -0
  114. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/discover.py +0 -0
  115. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/initialization.py +0 -0
  116. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/lookup.py +0 -0
  117. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/prompts.py +0 -0
  118. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/cli/updates.py +0 -0
  119. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/completion_inputs.py +0 -0
  120. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config/__init__.py +0 -0
  121. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config/actions.py +0 -0
  122. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config/composition.py +0 -0
  123. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config/rules.py +0 -0
  124. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config/steps.py +0 -0
  125. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config/values.py +0 -0
  126. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config_files.py +0 -0
  127. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/config_writes.py +0 -0
  128. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/contracts.py +0 -0
  129. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/control.py +0 -0
  130. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/defaults.py +0 -0
  131. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/design_docs.py +0 -0
  132. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/direct_work.py +0 -0
  133. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/discovery.py +0 -0
  134. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/documents.py +0 -0
  135. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/errors.py +0 -0
  136. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/executable.py +0 -0
  137. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/execution_models/__init__.py +0 -0
  138. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/execution_models/construction.py +0 -0
  139. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/execution_models/decoding.py +0 -0
  140. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/execution_models/plan_codec.py +0 -0
  141. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/execution_models/runs.py +0 -0
  142. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/extensions/__init__.py +0 -0
  143. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/extensions/api.py +0 -0
  144. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/extensions/registry.py +0 -0
  145. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/extensions/store.py +0 -0
  146. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/feedback.py +0 -0
  147. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/handler_repairs.py +0 -0
  148. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/hooks/__init__.py +0 -0
  149. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/hooks/agents.py +0 -0
  150. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/hooks/install.py +0 -0
  151. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/hooks/notices.py +0 -0
  152. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/hooks/runtime.py +0 -0
  153. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/inspect.py +0 -0
  154. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/instructions/__init__.py +0 -0
  155. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/instructions/commands.py +0 -0
  156. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/instructions/handoff.py +0 -0
  157. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/instructions/policy.py +0 -0
  158. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/instructions/text.py +0 -0
  159. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/interactions.py +0 -0
  160. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/interpolation.py +0 -0
  161. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/item_passes.py +0 -0
  162. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/items.py +0 -0
  163. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/locking.py +0 -0
  164. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/metadata_publication.py +0 -0
  165. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/onboarding.py +0 -0
  166. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/open_work.py +0 -0
  167. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/operations.py +0 -0
  168. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/operator_ui/__init__.py +0 -0
  169. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/operator_ui/page.html +0 -0
  170. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/operator_ui/server.py +0 -0
  171. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/operator_ui/session.py +0 -0
  172. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/operator_ui/sheet.py +0 -0
  173. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/operator_ui/view.py +0 -0
  174. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/output.py +0 -0
  175. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/output_adapters/__init__.py +0 -0
  176. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/output_adapters/base.py +0 -0
  177. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/output_adapters/json_adapter.py +0 -0
  178. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/output_adapters/terminal.py +0 -0
  179. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/package_updates.py +0 -0
  180. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/plan/__init__.py +0 -0
  181. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/plan/actions.py +0 -0
  182. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/plan/compiler.py +0 -0
  183. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/plan/constructs.py +0 -0
  184. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/plan/models.py +0 -0
  185. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/project_config.py +0 -0
  186. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/recovery.py +0 -0
  187. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/replanning.py +0 -0
  188. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/results.py +0 -0
  189. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/rule_disputes.py +0 -0
  190. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/rule_store.py +0 -0
  191. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/rule_writes.py +0 -0
  192. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/run_coordination.py +0 -0
  193. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/run_reports.py +0 -0
  194. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/runtimes.py +0 -0
  195. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/setup_apply.py +0 -0
  196. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/step_values.py +0 -0
  197. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/storage.py +0 -0
  198. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/storage_adapters/__init__.py +0 -0
  199. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/storage_adapters/base.py +0 -0
  200. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/storage_adapters/filesystem.py +0 -0
  201. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/storage_adapters/memory.py +0 -0
  202. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/storage_adapters/project_metadata.py +0 -0
  203. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/storage_adapters/task_document.py +0 -0
  204. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/task_ids.py +0 -0
  205. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/task_references.py +0 -0
  206. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/updates.py +0 -0
  207. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/upgrade.py +0 -0
  208. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/validation.py +0 -0
  209. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/variables.py +0 -0
  210. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/workflow_config.py +0 -0
  211. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/workflow_update.py +0 -0
  212. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/workflow_validation.py +0 -0
  213. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/src/ww/workspace.py +0 -0
  214. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/action_contract_helpers.py +0 -0
  215. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/config_helpers.py +0 -0
  216. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/conftest.py +0 -0
  217. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/example_documents.py +0 -0
  218. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/fixtures/packaged_extension/ww_test_packaged_extension.py +0 -0
  219. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/completion.md +0 -0
  220. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/fix-required.md +0 -0
  221. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/interactive.md +0 -0
  222. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/item-stage.md +0 -0
  223. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/loop-body.md +0 -0
  224. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/loop-continue.md +0 -0
  225. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/manager-dispatch.md +0 -0
  226. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/operator-stop.md +0 -0
  227. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/step-auto-worker.md +0 -0
  228. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/step-rules.md +0 -0
  229. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/step-single.md +0 -0
  230. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/values-and-metadata.md +0 -0
  231. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/verification.md +0 -0
  232. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/worker-bootstrap.md +0 -0
  233. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/golden/pages/worker-handoff.md +0 -0
  234. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_adjustments.py +0 -0
  235. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_artifact_from_containers.py +0 -0
  236. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_assessment_outcomes.py +0 -0
  237. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_assignment_tokens.py +0 -0
  238. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_auto_retries.py +0 -0
  239. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_automatic_handler_groups.py +0 -0
  240. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_automatic_modes.py +0 -0
  241. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_awaiting_operator.py +0 -0
  242. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_bootstrap_task_id.py +0 -0
  243. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_builtin_workflows.py +0 -0
  244. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_child_identity.py +0 -0
  245. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_child_launch_settings.py +0 -0
  246. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_child_stages.py +0 -0
  247. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_child_start_action.py +0 -0
  248. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_child_start_guards.py +0 -0
  249. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_child_tasks.py +0 -0
  250. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_children_added_mid_run.py +0 -0
  251. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_cli.py +0 -0
  252. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_command_metadata.py +0 -0
  253. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_complete_dispatch.py +0 -0
  254. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_concurrency.py +0 -0
  255. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_conditional_inputs.py +0 -0
  256. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_config_files.py +0 -0
  257. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_configuration_authority.py +0 -0
  258. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_consumed_values.py +0 -0
  259. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_debug_events.py +0 -0
  260. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_direct_work.py +0 -0
  261. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_discover.py +0 -0
  262. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_documents.py +0 -0
  263. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_example_behaviour.py +0 -0
  264. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_executable.py +0 -0
  265. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_extension_execution.py +0 -0
  266. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_feedback_commands.py +0 -0
  267. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_git_extension.py +0 -0
  268. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_git_variables.py +0 -0
  269. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_golden_pages.py +0 -0
  270. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_handler_repairs.py +0 -0
  271. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_handoff_block.py +0 -0
  272. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_hooks.py +0 -0
  273. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_init_force.py +0 -0
  274. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_init_permissions.py +0 -0
  275. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_inspect.py +0 -0
  276. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_interactive.py +0 -0
  277. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_item_assignment.py +0 -0
  278. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_item_fields.py +0 -0
  279. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_item_pass_restarts.py +0 -0
  280. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_item_pass_runs.py +0 -0
  281. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_item_reply_reports.py +0 -0
  282. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_item_runtime_values.py +0 -0
  283. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_items.py +0 -0
  284. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_local_step_pages.py +0 -0
  285. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_loops.py +0 -0
  286. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_memory_workflow_service.py +0 -0
  287. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_metadata_lists.py +0 -0
  288. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_onboarding.py +0 -0
  289. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_pack_scenarios.py +0 -0
  290. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_packaged_extension.py +0 -0
  291. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_page_gates.py +0 -0
  292. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_plan_execution.py +0 -0
  293. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_projects.py +0 -0
  294. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_recommended_workflow.py +0 -0
  295. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_recovery_guards.py +0 -0
  296. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_replanning.py +0 -0
  297. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_requirements_pages.py +0 -0
  298. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_requirements_per_session.py +0 -0
  299. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_restart.py +0 -0
  300. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_rule_conversion.py +0 -0
  301. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_rule_write_commands.py +0 -0
  302. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_run_report_commands.py +0 -0
  303. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_scriptize_workflow.py +0 -0
  304. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_setup_apply.py +0 -0
  305. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_setup_update.py +0 -0
  306. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_setup_verification.py +0 -0
  307. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_shared_items.py +0 -0
  308. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_stale_task_records.py +0 -0
  309. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_state_unknown_fields.py +0 -0
  310. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_system_scenarios.py +0 -0
  311. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_update_notice.py +0 -0
  312. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_upgrade.py +0 -0
  313. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_workdir.py +0 -0
  314. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_worker_bootstrap_text.py +0 -0
  315. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_worker_handoff.py +0 -0
  316. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/integration/test_workflow_service.py +0 -0
  317. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/page_catalog.py +0 -0
  318. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/plan_helpers.py +0 -0
  319. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/test_dev_version.py +0 -0
  320. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_action_contracts.py +0 -0
  321. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_action_example.py +0 -0
  322. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_action_phase_contexts.py +0 -0
  323. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_artifacts.py +0 -0
  324. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_assignments.py +0 -0
  325. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_beta_notice.py +0 -0
  326. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_builtin_actions.py +0 -0
  327. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_changes.py +0 -0
  328. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_checklist_prompt.py +0 -0
  329. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_child_stages_config.py +0 -0
  330. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_children_config.py +0 -0
  331. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_cli_prompts.py +0 -0
  332. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_completion_inputs.py +0 -0
  333. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_completion_selection.py +0 -0
  334. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_config.py +0 -0
  335. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_config_composition.py +0 -0
  336. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_config_writes.py +0 -0
  337. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_delegation_requests.py +0 -0
  338. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_design_docs.py +0 -0
  339. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_discovery.py +0 -0
  340. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_examples_doc.py +0 -0
  341. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_execution_hints.py +0 -0
  342. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_extensions.py +0 -0
  343. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_feedback.py +0 -0
  344. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_handler_failure_report.py +0 -0
  345. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_hook_agents.py +0 -0
  346. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_instruction_commands.py +0 -0
  347. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_interactions.py +0 -0
  348. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_item_config.py +0 -0
  349. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_item_passes.py +0 -0
  350. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_item_validation.py +0 -0
  351. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_locking.py +0 -0
  352. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_markdown_output.py +0 -0
  353. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_modes.py +0 -0
  354. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_operator_ui.py +0 -0
  355. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_package_updates.py +0 -0
  356. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_plan.py +0 -0
  357. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_project_config.py +0 -0
  358. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_project_metadata_storage_adapters.py +0 -0
  359. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_rule_disputes.py +0 -0
  360. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_rule_store.py +0 -0
  361. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_rule_writes.py +0 -0
  362. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_rules.py +0 -0
  363. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_run_reports.py +0 -0
  364. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_runtimes.py +0 -0
  365. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_scripts_test_bootstrap.py +0 -0
  366. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_step_role.py +0 -0
  367. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_storage.py +0 -0
  368. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_task_document.py +0 -0
  369. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_task_ids.py +0 -0
  370. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_task_references.py +0 -0
  371. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_task_storage_adapters.py +0 -0
  372. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_transitions.py +0 -0
  373. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_updates.py +0 -0
  374. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_validation.py +0 -0
  375. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_variables.py +0 -0
  376. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_workflow_inheritance.py +0 -0
  377. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_workflow_validation.py +0 -0
  378. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/unit/test_workspace.py +0 -0
  379. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/tests/workflow_helpers.py +0 -0
  380. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/ww.json +0 -0
  381. {ww_agentic_workflows-1.0.0.dev9 → ww_agentic_workflows-1.0.0.dev10}/ww.yaml +0 -0
@@ -11,6 +11,12 @@ yet, is in [documentation/limitations.md](documentation/limitations.md).
11
11
 
12
12
  ## 2026-10-08
13
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`
14
20
  - Fixed: after a worker's assessment, the handoff block lists one `next --outcome <label>` command per
15
21
  outcome and a plain `next` shows the choice again instead of failing; `git-commit` no longer asks for a
16
22
  message when the task workspace has nothing to commit, the message is optional on the step's completion,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: ww-agentic-workflows
3
- Version: 1.0.0.dev9
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
@@ -1832,11 +1832,19 @@ for the same purpose. The limit turns into an operator decision (`fix_limit`)
1832
1832
  whose two exits, a fresh count or a recorded waiver, are transitions like any
1833
1833
  other.
1834
1834
  Judged rules, those without a command, are verified by an agent that is never
1835
- the step's worker. Completing such a step holds the completion: the
1836
- arguments, the change set and the draft artifact stay on the item record,
1837
- and ww inserts one verification item per distinct worker setting before the
1838
- step as a new plan revision, each an assignment of its own. A verifier only
1839
- 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.
1840
1848
  Turning rules into checks is a project task of its own,
1841
1849
  `ww-scriptize-rules`, whose checks the operator records with `rules
1842
1850
  convert`. They live in `ww-rule-automation.json` at the project root, keyed
@@ -1874,6 +1882,18 @@ the one approval path. `rules.check_guidance` in
1874
1882
  lists the same rules from `unscriptized_rules`. The notice is a view; it
1875
1883
  selects no work.
1876
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
+
1877
1897
  Rules are written by the operator, through the `ww-rule` skill, never by a
1878
1898
  running task. The skill holds the judgment (atomic rules, amendments, globs,
1879
1899
  placement, wording, one confirmation); `rule_writes.py` holds the writes, each
@@ -2236,6 +2236,15 @@ and deleted files, ww's own `.ww` state, and `ww-rule-automation.json` are left
2236
2236
  out. Without git there is no change set: the globs select every file in the
2237
2237
  directory, `.git` and `.ww` excepted.
2238
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
+
2239
2248
  In a shell check a bare `$WW_STEP_CHANGED_FILES` splits on whitespace, which
2240
2249
  suits `grep -L foo $WW_STEP_CHANGED_FILES` and `xargs`; paths with spaces need
2241
2250
  `printf '%s\n' "$WW_STEP_CHANGED_FILES" | xargs -d '\n' …`. A check's full
@@ -2247,8 +2256,9 @@ with a `check` field naming the check.
2247
2256
  The step's artifact gains a `## Rules` section after `## Result`: one line per
2248
2257
  rule with its status, `passed`, `not applicable`, `failed`, which only a
2249
2258
  waiver lets through, `verified pass (by <verification item>)` for a rule a
2250
- verifier judged, or `passed (check <name>)` for one a derived check covers;
2251
- 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
2252
2262
  waived it, which skips its verification too. The section ends with the
2253
2263
  waived IDs and the operator's reason for each, if any, and how many
2254
2264
  completions ww rejected before this one.
@@ -2277,9 +2287,10 @@ items** are inserted before the step, one per distinct worker the rules ask
2277
2287
  for through `agent`, `model`, and `reasoning` (else the step's). Each is its
2278
2288
  own assignment: under `auto` the manager hands it to a new worker; under
2279
2289
  `single` the same session performs it, and its page says to read the change
2280
- as a reviewer would. The verification page lists each rule, the step's
2281
- changed files and the `git diff` that shows them, and the path of the held
2282
- 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
2283
2294
  `file:line — what` evidence, as one `--rule-result` per rule,
2284
2295
  `{"id": "<rule>", "status": "judged", "verdict": "pass"}`, and writes
2285
2296
  nothing to the store. A failing verdict is a rejected completion: the step
@@ -2292,10 +2303,11 @@ declared rules have no check yet and suggest the `ww-scriptize` skill, which sta
2292
2303
  `ww-scriptize-rules`. The notice never blocks a task; it is left out
2293
2304
  while `ww-scriptize-rules` is switched off, and on the pages of
2294
2305
  `ww-scriptize-rules` itself. `ww lint` warns with the IDs of those rules,
2295
- suggesting `ww-scriptize-rules` only while it is switched on, and
2296
- lists store entries whose wording no rule has any more; only
2297
- `ww rules prune`, after listing them and asking the operator, deletes the
2298
- 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.
2299
2311
 
2300
2312
  ### Guiding the checks: `rules.check_guidance`
2301
2313
 
@@ -2402,13 +2414,43 @@ rule's ID and first sentence, each step's own rules, and then every
2402
2414
  workflow's steps as a `steps` filter can name them: one line per step with
2403
2415
  its path, which reaches exactly that step where a leaf name would match it
2404
2416
  everywhere (loop bodies and per-item stages included), the groups reaching
2405
- it, or that it is not an agent step and takes no rules. `--json` gives the
2406
- same for a program, the steps as `targets` with `workflow`, `step`, `path`,
2407
- `agent_owned` and `groups`. `ww rules prune` deletes store entries no declared rule
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
2408
2422
  needs any more, after listing them and asking; `--yes` skips the question.
2409
2423
  `ww rules revoke <check>` rejects a converted or proposed check and its rules
2410
2424
  the same way.
2411
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
+
2412
2454
  ### Writing rules with the ww-rule skill
2413
2455
 
2414
2456
  Rules are easiest to add in conversation. Invoked as `/ww-rule`, or when you
@@ -2416,8 +2458,10 @@ ask an agent to add or change a rule, the `ww-rule` skill carries the
2416
2458
  judgment: it reads the groups and the real workflow and step names from
2417
2459
  `ww rules --json`, splits what you said into atomic obligations,
2418
2460
  tells a new rule from an amendment of an existing one or a change of where a
2419
- group applies, gives a rule globs only when it names a kind of file and
2420
- 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
2421
2465
  rewrites it as one imperative sentence with the rationale below. It shows
2422
2466
  you one confirmation block, with each rule's ID, group, filters, globs and
2423
2467
  match counts, sentence, and whether it is new or replaces an existing one,
@@ -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,8 +1920,9 @@ 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, 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. |
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. |
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "ww-agentic-workflows"
7
- version = "1.0.0.dev9"
7
+ version = "1.0.0.dev10"
8
8
  description = "A local-first, resumable workflow CLI for people and AI agents."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -6,8 +6,8 @@ description: Add, amend, move, or re-scope the rules ww gives to workflow steps,
6
6
  # Write ww rules from the operator's words
7
7
 
8
8
  A rule is one sentence a step's agent must follow, in a Markdown file whose
9
- optional frontmatter scopes it to files (`paths`) or gives it a command
10
- (`check`). You decide what the rules are; `./ww rules add`, `edit`, `move`,
9
+ optional frontmatter scopes it to files (`paths`, `contains`) or gives it a
10
+ command (`check`). You decide what the rules are; `./ww rules add`, `edit`, `move`,
11
11
  `filter` and `promote` write them, validated. Never edit a rule file, a
12
12
  group, `ww-rules.yaml`, `ww.yaml` or
13
13
  `ww-rule-automation.json` yourself.
@@ -18,7 +18,15 @@ group, `ww-rules.yaml`, `ww.yaml` or
18
18
  `path` a `steps` filter names to reach exactly that step (loop bodies and
19
19
  per-item stages included) and whether the step is `agent_owned`; only
20
20
  such a step takes rules. Use only workflow names and step names or paths
21
- it shows; never invent one.
21
+ it shows; never invent one. Each rule's `stats` are the checkout's local
22
+ counters: `applied`, `checked`, `check_failures`, `judged`,
23
+ `judged_failures`, `waived`, `not_applicable` and `last_failure`. A rule
24
+ that fails often is a candidate for an amendment (clearer wording, a
25
+ narrower scope, a better check); one with `applied` 0 after several
26
+ `waived` or `not_applicable` evaluations is a candidate for retirement.
27
+ Propose either as such, and act only on the operator's confirmation: an
28
+ amendment through `rules edit`, a retirement by deleting the rule file
29
+ or, for a rule in a step's `rules:` list, by the operator's hand edit.
22
30
  2. **Split into atomic obligations.** One rule is one thing an agent can do
23
31
  or fail to do. Break the input into such obligations and merge the ones
24
32
  that say the same thing twice. For each, search the existing rules by ID
@@ -26,10 +34,17 @@ group, `ww-rules.yaml`, `ww.yaml` or
26
34
  **amendment** of `<id>` (same obligation, new wording or globs), or a
27
35
  **filter change** of `<group>` (the rule is right, the steps it reaches
28
36
  are not).
29
- 3. **Decide globs.** Give `paths` only when the sentence names a kind of file
30
- or a directory. Count what each glob matches (`git ls-files | grep -c`,
31
- or `--dry-run`, which reports the count). A glob that matches nothing is
32
- dropped, and you say so.
37
+ 3. **Decide the scope.** Prefer a scoped rule: when the rule is about
38
+ particular files or constructs, give `--paths` (globs for the files it
39
+ concerns) and `--contains` (plain strings those files hold, such as a
40
+ class or function name). ww narrows every rule to the files the step
41
+ changed: a scoped rule whose globs and strings select none of them is not
42
+ applicable and is neither checked nor judged, whereas an unscoped rule
43
+ without a check is verified after every step that changes anything, by a
44
+ verifier that has to read the whole change. Leave a rule unscoped only
45
+ when it truly concerns every file. Count what each glob matches (`git
46
+ ls-files | grep -c`, or `--dry-run`, which reports the count). A glob
47
+ that matches nothing is dropped, and you say so.
33
48
  4. **Decide placement from the real filters.** An existing group whose
34
49
  `workflows`/`steps` fit the rule, whether it lists a directory or its
35
50
  files one by one (`rules add` then writes the file beside the group's
@@ -62,11 +77,12 @@ group, `ww-rules.yaml`, `ww.yaml` or
62
77
  7. **Write only through the CLI**, in this order: new groups
63
78
  (`./ww rules add --group <name> --dir <path> [--workflows ...] [--steps ...]`),
64
79
  promotions (`./ww rules promote <check>`), amendments
65
- (`./ww rules edit <id> [--text "<sentence and body>"] [--paths <glob> ...]`),
80
+ (`./ww rules edit <id> [--text "<sentence and body>"] [--paths <glob> ...]
81
+ [--contains <text> ...]`),
66
82
  moves (`./ww rules move <id> <group>`), filter changes
67
83
  (`./ww rules filter <group> [--workflows ...] [--steps ...]`), new rules
68
84
  (`./ww rules add <group> --text "<sentence and body>" [--paths <glob> ...]
69
- [--assert empty|equals:<v> ...] [--id <stem>]
85
+ [--contains <text> ...] [--assert empty|equals:<v> ...] [--id <stem>]
70
86
  [--check-shell "<sh>" | --check-argv -- <arg> ...]`; `--check-argv --` goes
71
87
  last, so the checked tool's own options stay its own). Each command refuses a write that would leave the
72
88
  configuration invalid and changes nothing then; `--dry-run` checks one
@@ -69,12 +69,14 @@ from ww.output_adapters.rule_pages import (
69
69
  render_orphans,
70
70
  render_revoke_preview,
71
71
  render_revoked,
72
+ render_rule_stats,
72
73
  render_rule_view,
73
74
  render_rules_listing,
74
75
  )
75
76
  from ww.plan import PlanCompilationOptions, compile_workflow_plan
76
77
  from ww.project_config import ProjectConfig, compose_settings, load_project_config
77
78
  from ww.rule_disputes import DisputeLog
79
+ from ww.rule_stats import RuleStatsStore, never_applied_rules
78
80
  from ww.rule_store import (
79
81
  CheckSpec,
80
82
  RuleAutomation,
@@ -82,7 +84,13 @@ from ww.rule_store import (
82
84
  parse_command,
83
85
  )
84
86
  from ww.rule_verification import revoke_check
85
- from ww.rule_views import declared_hashes, orphans, prune, rules_listing
87
+ from ww.rule_views import (
88
+ declared_hashes,
89
+ orphans,
90
+ prune,
91
+ rule_stats_listing,
92
+ rules_listing,
93
+ )
86
94
  from ww.run_reports import DEBUG, FEEDBACK, listing, render_listing, render_record
87
95
  from ww.service import WorkflowService
88
96
  from ww.storage import Storage
@@ -298,6 +306,8 @@ def _lint(context: _Context) -> _Outcome:
298
306
  f"{_rules_summary(configuration)}"
299
307
  f"{_rule_store_summary(RuleStore(context.storage.root), configuration)}"
300
308
  f"{_unscriptized_warning(RuleStore(context.storage.root), configuration)}"
309
+ f"{_unscoped_hint(RuleStore(context.storage.root), configuration)}"
310
+ f"{_never_applied_hint(RuleStatsStore(context.storage), configuration)}"
301
311
  f"{_disputes_summary(DisputeLog(context.storage.root))}"
302
312
  )
303
313
 
@@ -391,6 +401,45 @@ def _unscriptized_warning(
391
401
  )
392
402
 
393
403
 
404
+ def _unscoped_hint(store: RuleStore, configuration: WorkflowConfiguration) -> str:
405
+ """Name the judged rules with no ``paths`` or ``contains``.
406
+
407
+ A hint only: such a rule is verified after every step that changes
408
+ anything, where a scoped one is skipped when none of the changed files
409
+ is in its scope.
410
+ """
411
+ rules = rule_conversion.unscoped_judged_rules(configuration, store.load())
412
+ if not rules:
413
+ return ""
414
+ many = len(rules) != 1
415
+ return (
416
+ f"Hint: {len(rules)} judged rule{'s are' if many else ' is'} verified on "
417
+ "every step (" + ", ".join(rule.id for rule in rules) + "); add paths or "
418
+ f"contains to narrow {'them' if many else 'it'}.\n"
419
+ )
420
+
421
+
422
+ def _never_applied_hint(
423
+ store: RuleStatsStore, configuration: WorkflowConfiguration
424
+ ) -> str:
425
+ """Name the rules evaluated often without ever applying.
426
+
427
+ A hint only: such a rule was waived or left out by the change set every
428
+ time a completed step carried it, so it may be scoped wrong or no
429
+ longer worth keeping.
430
+ """
431
+ rules = never_applied_rules(configuration, store.load())
432
+ if not rules:
433
+ return ""
434
+ many = len(rules) != 1
435
+ return (
436
+ f"Hint: {len(rules)} rule{'s were' if many else ' was'} never applied ("
437
+ + ", ".join(rule.id for rule in rules)
438
+ + f"); review whether to keep {'them' if many else 'it'}: "
439
+ f"`{ww_command()} rules stats`.\n"
440
+ )
441
+
442
+
394
443
  def _rules_summary(configuration: WorkflowConfiguration) -> str:
395
444
  """``Rules: N groups, M rules``, when the configuration declares any.
396
445
 
@@ -561,6 +610,8 @@ def _rules(context: _Context) -> _Outcome:
561
610
  return _convert(context, configuration)
562
611
  if args.rules_action == "decline":
563
612
  return _decline(context, configuration)
613
+ if args.rules_action == "stats":
614
+ return _rule_stats(context, configuration)
564
615
  if args.rules_action is not None:
565
616
  return _rule_write(context, configuration)
566
617
  settings = context.extensions.config
@@ -570,6 +621,7 @@ def _rules(context: _Context) -> _Outcome:
570
621
  context.storage.root,
571
622
  DisputeLog(context.storage.root).load(),
572
623
  RuleStore(context.storage.root).load(),
624
+ RuleStatsStore(context.storage).load(),
573
625
  ),
574
626
  check_guidance=settings.rule_check_guidance,
575
627
  )
@@ -578,6 +630,16 @@ def _rules(context: _Context) -> _Outcome:
578
630
  )
579
631
 
580
632
 
633
+ def _rule_stats(context: _Context, configuration: WorkflowConfiguration) -> _Outcome:
634
+ """Every declared rule with its local counters, the most failing first."""
635
+ listing = rule_stats_listing(configuration, RuleStatsStore(context.storage).load())
636
+ return _Outcome(
637
+ _json(listing.to_dict())
638
+ if context.args.json_output
639
+ else render_rule_stats(listing)
640
+ )
641
+
642
+
581
643
  def _rule_write(context: _Context, configuration: WorkflowConfiguration) -> _Outcome:
582
644
  """Write a rule file or group, validated; nothing is committed."""
583
645
  args = context.args
@@ -1708,7 +1770,7 @@ def main(argv: list[str] | None = None) -> int:
1708
1770
  workflow = cast(str | None, getattr(args, "workflow", None))
1709
1771
  task_id = cast(str | None, getattr(args, "task_id", None))
1710
1772
  logged = args.command not in _READ_ONLY_COMMANDS and not (
1711
- (args.command == "rules" and args.rules_action is None)
1773
+ (args.command == "rules" and args.rules_action in {None, "stats"})
1712
1774
  or (
1713
1775
  args.command == "feedback"
1714
1776
  and (args.feedback_action not in {"record", "prune"} or args.dry_run)
@@ -1070,6 +1070,14 @@ def _rules_parser(
1070
1070
  action="store_true",
1071
1071
  help="Revoke without the y/N prompt, on the operator's word.",
1072
1072
  )
1073
+ actions.add_parser(
1074
+ "stats",
1075
+ parents=[after],
1076
+ help=(
1077
+ "List every declared rule with the checkout's local counters, "
1078
+ "the most failing first; rules never applied are marked."
1079
+ ),
1080
+ )
1073
1081
  dry_run = _Parser(add_help=False)
1074
1082
  dry_run.add_argument(
1075
1083
  "--dry-run",
@@ -24,9 +24,11 @@ def rule_outcomes(
24
24
  """What the completing step's artifact says about its rules and checks.
25
25
 
26
26
  A rule checked by a derived check reports that check's result; one a
27
- verifier judged reports the verdict and the verification item; any other
28
- rule without a check is self-declared: the worker states in its result
29
- how it followed it. A check reports its result in ``report``, or, when
27
+ verifier judged reports the verdict and the verification item; one whose
28
+ scope selected none of the changed files is not applicable, as a check
29
+ that did not run is; any other rule without a check is self-declared:
30
+ the worker states in its result how it followed it. A check reports its
31
+ result in ``report``, or, when
30
32
  the operator waived it, in the last report that ran it. Rejections an
31
33
  operator retry moved into the history still count.
32
34
  """
@@ -60,6 +62,12 @@ def rule_outcomes(
60
62
  outcomes.append(
61
63
  RuleOutcome(rule.id, "verified pass", detail=f"by `{verdict.by}`")
62
64
  )
65
+ elif rule.id in record.rules_not_applicable:
66
+ outcomes.append(
67
+ RuleOutcome(
68
+ rule.id, "not applicable", detail="no changed file in scope"
69
+ )
70
+ )
63
71
  else:
64
72
  outcomes.append(RuleOutcome(rule.id, "self-declared"))
65
73
  for check in item.checks:
@@ -410,6 +410,9 @@ class VerificationRule:
410
410
  """One rule a verification item judges, as the step began with it.
411
411
 
412
412
  ``interpretation`` is the store's reading of the rule, when it has one.
413
+ ``paths`` and ``contains`` are the rule's scope, and ``files`` the
414
+ changed files that scope selects; both are empty for an unscoped rule,
415
+ which applies to the whole change set.
413
416
  """
414
417
 
415
418
  id: str
@@ -420,6 +423,9 @@ class VerificationRule:
420
423
  # the configuration file the step's directory lacks.
421
424
  check: str | None = None
422
425
  missing: str | None = None
426
+ paths: tuple[str, ...] = ()
427
+ contains: tuple[str, ...] = ()
428
+ files: tuple[str, ...] = ()
423
429
 
424
430
  def to_dict(self) -> dict[str, Any]:
425
431
  data: dict[str, Any] = {
@@ -428,6 +434,9 @@ class VerificationRule:
428
434
  "text_hash": self.text_hash,
429
435
  "interpretation": self.interpretation,
430
436
  "check": self.check,
437
+ "paths": list(self.paths),
438
+ "contains": list(self.contains),
439
+ "files": list(self.files),
431
440
  }
432
441
  if self.missing is not None:
433
442
  data["missing"] = self.missing
@@ -456,6 +465,9 @@ class VerificationRule:
456
465
  missing=expect_optional_string(
457
466
  data.get("missing"), "verification rule.missing"
458
467
  ),
468
+ paths=_strings(data.get("paths", []), "verification rule.paths"),
469
+ contains=_strings(data.get("contains", []), "verification rule.contains"),
470
+ files=_strings(data.get("files", []), "verification rule.files"),
459
471
  )
460
472
 
461
473
 
@@ -607,6 +619,10 @@ class PlanItemExecution:
607
619
  # A completion accepted by the checks and held while verifiers judge the
608
620
  # step's rules; its artifact is ``draft_artifact``.
609
621
  held_completion: HeldCompletion | None = None
622
+ # The judged rules whose scope selects none of the files the step changed,
623
+ # settled against the change set each time a completion is evaluated: no
624
+ # verifier judges them, and the artifact reports them as not applicable.
625
+ rules_not_applicable: tuple[str, ...] = ()
610
626
  # On a verification item's record: the rules it is asked about.
611
627
  verification: tuple[VerificationRule, ...] = ()
612
628
 
@@ -662,6 +678,7 @@ class PlanItemExecution:
662
678
  "held_completion": (
663
679
  self.held_completion.to_dict() if self.held_completion else None
664
680
  ),
681
+ "rules_not_applicable": list(self.rules_not_applicable),
665
682
  "verification": [rule.to_dict() for rule in self.verification],
666
683
  **(
667
684
  {"assessment_outcome": self.assessment_outcome}
@@ -775,6 +792,9 @@ class PlanItemExecution:
775
792
  if data.get("held_completion") is not None
776
793
  else None
777
794
  ),
795
+ rules_not_applicable=_strings(
796
+ data.get("rules_not_applicable", []), "rules not applicable"
797
+ ),
778
798
  verification=tuple(
779
799
  VerificationRule.from_dict(entry)
780
800
  for entry in _list(data.get("verification", []), "verification")
@@ -877,6 +877,9 @@ class InstructionBuilder:
877
877
  rule.interpretation,
878
878
  rule.check,
879
879
  rule.missing,
880
+ paths=rule.paths,
881
+ contains=rule.contains,
882
+ files=rule.files,
880
883
  )
881
884
  for rule in record.verification
882
885
  ),
@@ -233,7 +233,12 @@ class CheckPreview:
233
233
 
234
234
  @dataclass(frozen=True)
235
235
  class VerificationRuleLine:
236
- """One rule on a verification page, which the verifier judges."""
236
+ """One rule on a verification page, which the verifier judges.
237
+
238
+ ``paths`` and ``contains`` are its scope, and ``files`` the changed
239
+ files in that scope; all empty for an unscoped rule, which the whole
240
+ change set is in scope of.
241
+ """
237
242
 
238
243
  id: str
239
244
  text: str
@@ -242,6 +247,9 @@ class VerificationRuleLine:
242
247
  # missing in the step's directory.
243
248
  check: str | None = None
244
249
  missing: str | None = None
250
+ paths: tuple[str, ...] = ()
251
+ contains: tuple[str, ...] = ()
252
+ files: tuple[str, ...] = ()
245
253
 
246
254
  def to_dict(self) -> dict[str, object]:
247
255
  return {
@@ -250,6 +258,9 @@ class VerificationRuleLine:
250
258
  "interpretation": self.interpretation,
251
259
  "check": self.check,
252
260
  "missing": self.missing,
261
+ "paths": list(self.paths),
262
+ "contains": list(self.contains),
263
+ "files": list(self.files),
253
264
  }
254
265
 
255
266