ww-agentic-workflows 1.0.0.dev13__tar.gz → 1.0.0.dev14__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.
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/CHANGELOG.md +4 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/PKG-INFO +1 -1
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/WW_AGENT_INSTRUCTIONS.md +4 -3
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/documentation/architecture.md +16 -4
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/documentation/features.md +27 -5
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/documentation/specification.md +11 -6
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/pyproject.toml +1 -1
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/agent_instructions.md +4 -3
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/workflows/onboarding.yaml +3 -1
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/workflows/scriptize.yaml +20 -11
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww-scriptize_skill.md +3 -2
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww_skill.md +4 -1
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/cli/main.py +1 -1
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/config/rules.py +47 -3
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/execution_models/records.py +2 -2
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/instructions/builder.py +5 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/instructions/models.py +6 -2
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/output_adapters/markdown.py +15 -4
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/plan/models.py +3 -2
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/rule_checks.py +32 -12
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/rule_conversion.py +5 -2
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/rule_verification.py +11 -10
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/rule_views.py +16 -5
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/service.py +6 -9
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/variables.py +10 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/workflow_config.py +3 -2
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_configuration_authority.py +47 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_rule_commands.py +12 -3
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_rule_conversion.py +48 -14
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_rules_and_checks.py +6 -2
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_rule_checks.py +3 -3
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_rule_verification.py +20 -7
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_rules.py +44 -5
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.claude/settings.json +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.claude/skills/noww/SKILL.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.claude/skills/update-architecture-documentation/SKILL.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.claude/skills/ww/SKILL.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.codex/hooks.json +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.codex/skills/noww/SKILL.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.codex/skills/update-architecture-documentation/SKILL.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.codex/skills/ww/SKILL.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.git-blame-ignore-revs +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.githooks/pre-commit +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.github/workflows/dev-publish.yml +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.github/workflows/release-gates.yml +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/.gitignore +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/AGENTS.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/CLAUDE.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/CODE_OF_CONDUCT.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/CONTRIBUTING.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/LICENSE +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/README.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/SECURITY.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/documentation/agent-hooks.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/documentation/development-releases.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/documentation/examples.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/documentation/limitations.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/documentation/python-agent-rules.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/documentation/todo.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/ext/ww/git/extension.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/scripts/check_distribution.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/scripts/check_release_gates.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/scripts/demo.sh +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/scripts/ensure_spdx_license.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/scripts/measure_pages.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/scripts/run_workflow_dummy.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/scripts/set_dev_version.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/scripts/test +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/action_execution.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/actions/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/actions/command.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/actions/contracts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/actions/extension.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/actions/mcp.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/actions/prompt.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/actions/skill.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/actions/slash_command.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/agents.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/amendments.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/artifacts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assessments.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/noww_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww-automate_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww-debug-report_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww-deduce-feedback_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww-feedback-rules_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww-learn-project_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww-refresh_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww-rule_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww-rules-from-artifacts_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww-setup_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww-solve_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww-suggest_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww-wizard_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww-workflow-feedback_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assignments.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/bootstrap.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/builtin_workflows.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/changes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/child_coordination.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/children.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/claude_permissions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/cli/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/cli/__main__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/cli/audit.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/cli/catalogs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/cli/discover.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/cli/initialization.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/cli/lookup.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/cli/parser.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/cli/prompts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/cli/updates.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/completion_artifacts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/completion_inputs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/config/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/config/actions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/config/composition.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/config/steps.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/config/values.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/config_files.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/config_writes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/contracts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/control.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/defaults.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/design_docs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/direct_work.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/discovery.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/documents.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/errors.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/executable.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/execution_models/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/execution_models/construction.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/execution_models/decoding.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/execution_models/plan_codec.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/execution_models/runs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/extensions/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/extensions/api.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/extensions/registry.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/extensions/store.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/feedback.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/handler_repairs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/hooks/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/hooks/agents.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/hooks/install.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/hooks/notices.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/hooks/runtime.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/inspect.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/instructions/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/instructions/collection.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/instructions/commands.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/instructions/handoff.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/instructions/policy.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/instructions/text.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/interactions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/interpolation.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/item_collections.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/items.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/locking.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/metadata_publication.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/onboarding.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/open_work.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/operations.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/operator_ui/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/operator_ui/page.html +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/operator_ui/server.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/operator_ui/session.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/operator_ui/sheet.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/operator_ui/view.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/output.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/output_adapters/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/output_adapters/base.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/output_adapters/json_adapter.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/output_adapters/rule_pages.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/output_adapters/terminal.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/package_updates.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/plan/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/plan/actions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/plan/compiler.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/plan/constructs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/project_config.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/recovery.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/replanning.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/results.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/rule_disputes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/rule_stats.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/rule_store.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/rule_writes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/run_coordination.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/run_reports.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/runtimes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/setup_apply.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/step_values.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/storage.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/storage_adapters/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/storage_adapters/base.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/storage_adapters/filesystem.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/storage_adapters/memory.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/storage_adapters/project_metadata.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/storage_adapters/task_document.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/task_ids.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/task_references.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/transitions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/updates.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/upgrade.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/validation.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/workflow_update.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/workflow_validation.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/workspace.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/action_contract_helpers.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/config_helpers.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/conftest.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/example_documents.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/fixtures/packaged_extension/ww_test_packaged_extension.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/golden/pages/completion.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/golden/pages/fix-required.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/golden/pages/interactive.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/golden/pages/items-substep.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/golden/pages/manager-dispatch.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/golden/pages/operator-stop.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/golden/pages/step-auto-worker.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/golden/pages/step-rules.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/golden/pages/step-single.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/golden/pages/values-and-metadata.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/golden/pages/verification.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/golden/pages/worker-bootstrap.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/golden/pages/worker-handoff.md +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_adjustments.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_artifact_false.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_artifact_from_containers.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_assessment_outcomes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_assignment_tokens.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_auto_retries.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_automatic_handler_groups.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_automatic_modes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_awaiting_operator.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_bootstrap_task_id.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_builtin_workflows.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_child_identity.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_child_launch_settings.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_child_stages.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_child_start_action.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_child_start_guards.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_child_tasks.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_children_added_mid_run.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_cli.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_command_metadata.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_complete_dispatch.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_concurrency.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_conditional_inputs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_config_files.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_consumed_values.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_debug_events.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_direct_work.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_discover.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_documents.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_example_behaviour.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_executable.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_extension_execution.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_feedback_commands.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_git_extension.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_git_variables.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_golden_pages.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_handler_repairs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_handoff_block.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_hooks.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_init_force.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_init_permissions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_inspect.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_interactive.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_item_collections.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_local_step_pages.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_memory_workflow_service.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_metadata_lists.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_onboarding.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_onboarding_workflows.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_pack_scenarios.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_packaged_extension.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_page_gates.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_plan_execution.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_projects.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_recommended_workflow.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_recovery_guards.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_replanning.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_requirements_pages.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_requirements_per_session.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_restart.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_rule_verification_flow.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_rule_write_commands.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_run_report_commands.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_scriptize_workflow.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_setup_apply.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_setup_update.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_setup_verification.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_stale_task_records.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_state_unknown_fields.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_system_scenarios.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_update_notice.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_upgrade.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_workdir.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_worker_bootstrap_text.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_worker_handoff.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/integration/test_workflow_service.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/page_catalog.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/plan_helpers.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/test_dev_version.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_action_contracts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_action_example.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_action_phase_contexts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_artifacts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_assignments.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_beta_notice.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_builtin_actions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_changes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_checklist_prompt.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_child_stages_config.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_children_config.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_cli_prompts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_completion_inputs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_completion_selection.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_config.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_config_composition.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_config_writes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_delegation_requests.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_design_docs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_discovery.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_examples_doc.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_execution_hints.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_extensions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_feedback.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_handler_failure_report.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_hook_agents.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_instruction_commands.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_interactions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_item_config.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_locking.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_markdown_output.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_modes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_operator_ui.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_package_updates.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_plan.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_project_config.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_project_metadata_storage_adapters.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_records.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_rule_disputes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_rule_stats.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_rule_store.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_rule_writes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_run_reports.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_runtimes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_scripts_test_bootstrap.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_step_role.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_storage.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_task_document.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_task_ids.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_task_references.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_task_storage_adapters.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_transitions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_updates.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_validation.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_variables.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_workflow_inheritance.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_workflow_validation.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/unit/test_workspace.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/tests/workflow_helpers.py +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/ww.json +0 -0
- {ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/ww.yaml +0 -0
|
@@ -9,6 +9,10 @@ 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-12
|
|
13
|
+
|
|
14
|
+
- Breaking: ww configuration, rule files and check files are always read from the project root, also for a task in a worktree of an older branch; checks still run in the worktree and reach their files as `{{ww.root}}/<path>` or `"$WW_ROOT/<path>"`, and a check declaring files that does neither is refused. `8b4c445`
|
|
15
|
+
|
|
12
16
|
## 2026-10-09
|
|
13
17
|
|
|
14
18
|
- Fixed: a crash during a commit can no longer wedge a task; run state is written to revision-named files (`runs/<run_id>/state.<revision>.json`), the index is published last and unnamed files are removed afterwards, so a reader always sees one consistent revision. `{{ ww.item.id }}` with spaces is accepted again; completing a children step commits once; boundary auto-completion no longer swallows unrelated state errors.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: ww-agentic-workflows
|
|
3
|
-
Version: 1.0.0.
|
|
3
|
+
Version: 1.0.0.dev14
|
|
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
|
{ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/WW_AGENT_INSTRUCTIONS.md
RENAMED
|
@@ -30,6 +30,8 @@ To continue a task, run `./ww instruction <task-id> --role manager` (a resuming
|
|
|
30
30
|
completion, error, or assignment end. One completion rarely ends a task; the final handoff says
|
|
31
31
|
when the workflow is complete and names `status`.
|
|
32
32
|
- Perform only agent-owned work. Never run or bypass a ww handler, edit ww state, or read `ww.yaml` or ww source to infer the next step.
|
|
33
|
+
- ww's configuration (`ww.yaml`, `ww.json`, `.ww/`, rule files, checks) lives at the project root a
|
|
34
|
+
page names, not in a task's worktree, whose branch may hold an older copy or none: read it there.
|
|
33
35
|
- For handler repair, fix the cause and complete with an artifact; ww retries it. In `auto`, the manager dispatches repairs with `next`.
|
|
34
36
|
- On an `interactive: true` step, converse in the operator session and finish on clear contextual
|
|
35
37
|
intent; ask if it is ambiguous ("done for today" means pause). Record both sides and end the
|
|
@@ -40,9 +42,8 @@ To continue a task, run `./ww instruction <task-id> --role manager` (a resuming
|
|
|
40
42
|
<task-id>` previews checks; an unavailable check is no failure) or `./ww dispute` with one `--rule`
|
|
41
43
|
per wrong check; record impossible work with `./ww fail` and the page's role/assignment. On
|
|
42
44
|
`awaiting_operator`, stop and report the reason and exact error; run only the operator's chosen
|
|
43
|
-
recovery option; never reset unasked. A standing
|
|
44
|
-
|
|
45
|
-
such stops; ask only for a material decision.
|
|
45
|
+
recovery option; never reset unasked. A standing operator authorization for routine repairs
|
|
46
|
+
(dependency installation, formatting, retries) covers such stops; ask only for a material decision.
|
|
46
47
|
- In an items context, resolve and report each item explicitly; report only after its outcome was sent.
|
|
47
48
|
- Relay feedback-deduction suggestions after completion; rule approval and pruning are separate follow-ups.
|
|
48
49
|
- When a start page says ww collects debug or feedback info, tell the operator once, then never
|
{ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/documentation/architecture.md
RENAMED
|
@@ -1246,6 +1246,17 @@ root discovery follows Git's common directory back to the primary checkout, so
|
|
|
1246
1246
|
the task ledger, `.ww` runtime, and configuration remain shared rather than
|
|
1247
1247
|
being recreated inside the worktree. An explicit `--root` remains authoritative.
|
|
1248
1248
|
|
|
1249
|
+
ww's configuration (`ww.yaml`, `ww.json`, `.ww/`, rule files, the check
|
|
1250
|
+
store and the files checks declare) is therefore always read from that root,
|
|
1251
|
+
never from the worktree, whose branch may predate it. `{{ww.root}}` (and
|
|
1252
|
+
`WW_ROOT` in every check's environment) names the root, so a check defined
|
|
1253
|
+
there runs in the worktree against its change set while reaching its own
|
|
1254
|
+
scripts and configs at the root. A page whose working directory differs from
|
|
1255
|
+
the root carries `Instruction.project_root` and tells the agent to read ww's
|
|
1256
|
+
configuration there, and `config.rules.shown_source` prints rule files
|
|
1257
|
+
root-relative only when ww runs at the root, otherwise by their absolute path
|
|
1258
|
+
there.
|
|
1259
|
+
|
|
1249
1260
|
The git extension separates `start-task-branch` from `create-worktree`. The
|
|
1250
1261
|
first establishes the task branch without occupying it when worktrees are
|
|
1251
1262
|
enabled; the second may be placed independently in workflow hooks and is a
|
|
@@ -1656,8 +1667,9 @@ repeatable, so they keep no command ledger; their outputs are stored like
|
|
|
1656
1667
|
other command output and their reports live on the item record, one per
|
|
1657
1668
|
attempt, which is the single authority for how often a step was rejected.
|
|
1658
1669
|
A check that cannot run here is `unavailable` (`CheckStatus`) with its
|
|
1659
|
-
reason, never failed: a file it declares under `files` is missing
|
|
1660
|
-
|
|
1670
|
+
reason, never failed: a file it declares under `files` is missing at the
|
|
1671
|
+
project root (`missing_file` against `CheckScope.root`, tested before the
|
|
1672
|
+
command runs, which itself runs in `CheckScope.directory`), the
|
|
1661
1673
|
command could not be launched, or the shell exited 126 or 127.
|
|
1662
1674
|
`CheckReport.failed` leaves such results out, so they reject no completion,
|
|
1663
1675
|
count in neither `check_failures` nor the rule statistics, and are never
|
|
@@ -1719,8 +1731,8 @@ the store; `rules prune` deletes orphan store entries after asking, and
|
|
|
1719
1731
|
`rules revoke` rejects one check and its rules the same way. `rules convert`
|
|
1720
1732
|
and `rules decline` (`rule_conversion.py`) record an operator-approved check
|
|
1721
1733
|
or `not_convertible` rules through the same locked store write. `resolve_rules`
|
|
1722
|
-
is given the
|
|
1723
|
-
|
|
1734
|
+
is given the project root and resolves a converted check's rules as judged
|
|
1735
|
+
when one of its `config` files is missing there.
|
|
1724
1736
|
|
|
1725
1737
|
Only the operator's `rules` commands write the store, and `rules convert` is
|
|
1726
1738
|
the one approval path. `rules.check_guidance` in
|
{ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/documentation/features.md
RENAMED
|
@@ -2276,7 +2276,7 @@ with a `check` field naming the check.
|
|
|
2276
2276
|
### A check that cannot run
|
|
2277
2277
|
|
|
2278
2278
|
A check that cannot run here is **unavailable**, not failed: the script it
|
|
2279
|
-
runs is not
|
|
2279
|
+
runs is not at the project root (its `check` lists it under `files`, tested
|
|
2280
2280
|
before anything runs), the `argv` program does not exist, or the shell
|
|
2281
2281
|
answered `command not found` or `not executable` (exit 127 or 126), as when
|
|
2282
2282
|
a check is written on a branch its tool has not reached yet. The worker is
|
|
@@ -2289,6 +2289,21 @@ check and the reason. The fix page, `ww check`, the operator's fix-limit and
|
|
|
2289
2289
|
dispute pages, and the step artifact list such checks apart from the failed
|
|
2290
2290
|
ones as `check unavailable: <reason>`.
|
|
2291
2291
|
|
|
2292
|
+
### Rules and checks in a worktree of an older branch
|
|
2293
|
+
|
|
2294
|
+
ww's configuration, `ww.yaml`, `ww.json`, `.ww/`, the rule files and the
|
|
2295
|
+
check store, is always read from the project root, the primary checkout,
|
|
2296
|
+
even when a task works in a Git worktree. A hotfix branched from a release
|
|
2297
|
+
branch that predates the latest rules still gets them: rules and checks are
|
|
2298
|
+
defined at the root and applied in the worktree. A check's command runs in
|
|
2299
|
+
the step's directory against its change set, while the files it declares are
|
|
2300
|
+
looked up at the root and reached as `{{ww.root}}/<path>` (or
|
|
2301
|
+
`"$WW_ROOT/<path>"` in a `shell` source); a check that declares files without
|
|
2302
|
+
naming the root is refused. A page whose working directory is a worktree
|
|
2303
|
+
names the project root and tells the agent to read ww's configuration there,
|
|
2304
|
+
and `ww rules` shows rule files by their absolute path at the root when run
|
|
2305
|
+
from anywhere else, so an agent never opens a worktree's older copy.
|
|
2306
|
+
|
|
2292
2307
|
### In the artifact
|
|
2293
2308
|
|
|
2294
2309
|
The step's artifact gains a `## Rules` section after `## Result`: one line per
|
|
@@ -2316,8 +2331,8 @@ to commit, keyed by each rule's text hash; `checks` there are named, and one
|
|
|
2316
2331
|
check may cover many rules, the usual case for an ecosystem tool such as
|
|
2317
2332
|
deptrac, PHPStan, import-linter, ruff, or eslint, whose one configuration
|
|
2318
2333
|
expresses several rules. When a step begins, each of its rules without a
|
|
2319
|
-
command is settled once: `converted`, checked by its store check
|
|
2320
|
-
check's configuration files exist, or `judged`. A store written by an earlier
|
|
2334
|
+
command is settled once: `converted`, checked by its store check while the
|
|
2335
|
+
check's configuration files exist at the project root, or `judged`. A store written by an earlier
|
|
2321
2336
|
ww may still hold the interim entries verifiers once wrote inside tasks, such
|
|
2322
2337
|
as an approach or a proposed check; ww reads them, and their rules are judged.
|
|
2323
2338
|
|
|
@@ -2424,10 +2439,16 @@ verification, by `ww-scriptize-rules` or by hand:
|
|
|
2424
2439
|
```console
|
|
2425
2440
|
./ww rules convert phpstan --covers php/no-new-services php/typed-returns \
|
|
2426
2441
|
--config phpstan.neon --proven \
|
|
2427
|
-
--check-argv -- vendor/bin/phpstan analyse --configuration phpstan.neon
|
|
2442
|
+
--check-argv -- vendor/bin/phpstan analyse --configuration '{{ww.root}}/phpstan.neon'
|
|
2428
2443
|
./ww rules decline docs/tone --reason "A matter of review."
|
|
2429
2444
|
```
|
|
2430
2445
|
|
|
2446
|
+
A check's `--config` files are read at the project root, while its command
|
|
2447
|
+
runs in the step's directory, which may be a worktree of an older branch:
|
|
2448
|
+
the command reaches them as `{{ww.root}}/<path>` (or `"$WW_ROOT/<path>"`
|
|
2449
|
+
in a `--check-shell` source), and a check with `--config` that does neither
|
|
2450
|
+
is refused.
|
|
2451
|
+
|
|
2431
2452
|
`--check-argv -- <arg>...` goes last: everything after `--` is the check's
|
|
2432
2453
|
argv, so the tool's own options, such as `--configuration` or `--select E`,
|
|
2433
2454
|
are not taken for ww's. Without `--`, `--check-argv` takes the arguments up
|
|
@@ -2649,7 +2670,8 @@ it chose instead. `{{ww.project.name}}` is that project's name
|
|
|
2649
2670
|
and `{{ww.project.dir}}` its directory, both empty for a task in the root;
|
|
2650
2671
|
`{{ww.project.dir}}` keeps pointing at the project even after a worktree moves
|
|
2651
2672
|
the task workspace. `{{ww.project.names}}` lists every configured project name, joined
|
|
2652
|
-
by commas. `{{ww.
|
|
2673
|
+
by commas. `{{ww.root}}` is the project root, where ww's configuration lives:
|
|
2674
|
+
the primary checkout, even for a task in a worktree of an older branch. `{{ww.executable}}` is how the commands ww prints invoke ww, `./ww`
|
|
2653
2675
|
or the configured [`executable`](#choosing-the-ww-binary), so a step's text can
|
|
2654
2676
|
name a ww command as ww's own pages do: ``Run `{{ww.executable}} onboarding` ``.
|
|
2655
2677
|
Values under `{{ww.<namespace>.*}}` come from a configured extension, such
|
{ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/documentation/specification.md
RENAMED
|
@@ -20,7 +20,9 @@ and `ww docs examples` (`docs` is read-only and takes no project state).
|
|
|
20
20
|
`{{ww.task.id}}`, `{{ww.task.slug}}` (the task ID as one path component,
|
|
21
21
|
a child's `/` replaced by `-`), `{{ww.task.workspace_dir}}`,
|
|
22
22
|
`{{ww.task.workflows}}` (the configured workflow names), `{{ww.project.name}}`,
|
|
23
|
-
`{{ww.project.dir}}`, `{{ww.project.names}}`, `{{ww.
|
|
23
|
+
`{{ww.project.dir}}`, `{{ww.project.names}}`, `{{ww.root}}` (the project
|
|
24
|
+
root, where ww's configuration lives, also from a task worktree),
|
|
25
|
+
`{{ww.executable}}` (how
|
|
24
26
|
printed commands invoke ww: `./ww` or the configured `executable`),
|
|
25
27
|
`{{ww.documents.<name>}}`,
|
|
26
28
|
`{{ww.metadata.<path>}}`, `{{ww.project_metadata.<path>}}`, inside an items
|
|
@@ -1426,7 +1428,7 @@ Controllers must not instantiate services; inject them.
|
|
|
1426
1428
|
| `contains_in_file` | 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, as `in file "<string>"`. |
|
|
1427
1429
|
| `contains_in_diff` | non-empty list of non-empty strings | Narrows the rule to files whose changed lines contain any of the strings: the lines the step added or removed, read from the diff between its two tree marks (no context lines; a new file contributes every line, a binary file none). Plain substrings as for `contains_in_file`, and the two keys combine: a file must satisfy each key present. Without git there are no marks and the whole file is read, as for `contains_in_file`. The step page prints the strings as `in diff "<string>"`. |
|
|
1428
1430
|
| `contains` | — | Refused: the error names `contains_in_file` and `contains_in_diff`. |
|
|
1429
|
-
| `check` | command | `argv`, or `shell` with `args` and `env`, and optional `assert`, as in [Commands](#commands); `command` and `idempotent` are not accepted. An optional `files` lists the project files the command needs, such as the script it runs, relative to the
|
|
1431
|
+
| `check` | command | `argv`, or `shell` with `args` and `env`, and optional `assert`, as in [Commands](#commands); `command` and `idempotent` are not accepted. An optional `files` lists the project files the command needs, such as the script it runs, relative to the project root and without a `..` part: when one is missing at the root, the check is unavailable (see [Running checks](#running-checks)). A check with `files` must reach them at the root, as `{{ww.root}}/<path>` in `argv`, `args` or `env`, or `"$WW_ROOT/<path>"` in a `shell` source, since it runs in the step's directory, which may be a worktree of a branch without them; one that does neither is refused. |
|
|
1430
1432
|
| `max_fixes` | positive integer | Rejections this check allows; defaults to `limits.fixes` in `ww.json` (3). |
|
|
1431
1433
|
| `agent`, `model`, `reasoning` | string | The worker that verifies the rule; see [Verifying rules without a command](#verifying-rules-without-a-command). |
|
|
1432
1434
|
|
|
@@ -1514,10 +1516,13 @@ changed, newline-separated and relative to the step's directory, narrowed to
|
|
|
1514
1516
|
the check's `paths`. A check fails on a non-zero exit or a failed assertion.
|
|
1515
1517
|
In a shell check, a bare `$WW_STEP_CHANGED_FILES` splits on whitespace, so a
|
|
1516
1518
|
path containing a space needs `printf '%s\n' "$WW_STEP_CHANGED_FILES" | xargs -d '\n'`;
|
|
1517
|
-
an `argv` check receives the variable in its environment only.
|
|
1519
|
+
an `argv` check receives the variable in its environment only. Each also sees
|
|
1520
|
+
`WW_ROOT`, the project root: a check is defined at the root and applied in
|
|
1521
|
+
the step's directory, so its own files are read there even when the step
|
|
1522
|
+
works in a Git worktree of an older branch.
|
|
1518
1523
|
|
|
1519
1524
|
A check that cannot run is `unavailable`, never failed: a file its `files`
|
|
1520
|
-
lists is missing
|
|
1525
|
+
lists is missing at the project root (tested before the command runs),
|
|
1521
1526
|
the command could not be launched (an `argv` program that does not exist),
|
|
1522
1527
|
or the shell exited 126 or 127 because the program was not found or not
|
|
1523
1528
|
executable. The result carries the reason. An unavailable check rejects no
|
|
@@ -1622,7 +1627,7 @@ it, YAML, or rule files; only the operator's `rules` write commands do.
|
|
|
1622
1627
|
},
|
|
1623
1628
|
"checks": {
|
|
1624
1629
|
"deptrac": {
|
|
1625
|
-
"argv": ["vendor/bin/deptrac", "analyse", "--no-progress"],
|
|
1630
|
+
"argv": ["vendor/bin/deptrac", "analyse", "--config-file={{ww.root}}/deptrac.yaml", "--no-progress"],
|
|
1626
1631
|
"assert": null,
|
|
1627
1632
|
"config": ["deptrac.yaml"],
|
|
1628
1633
|
"covers": ["9f2a…"],
|
|
@@ -1662,7 +1667,7 @@ or `schema_version` is an error.
|
|
|
1662
1667
|
| `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; nested steps, collection and per-child stages take their parent's path as a prefix), whether it is `agent_owned` (a 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. |
|
|
1663
1668
|
| `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. |
|
|
1664
1669
|
| `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. |
|
|
1665
|
-
| `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. |
|
|
1670
|
+
| `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 root and refused when absolute or with a `..` part; a check with `--config` paths must reach them as `{{ww.root}}/<path>` in its argv or `"$WW_ROOT/<path>"` in its shell source, or it is refused, since it runs in the step's directory, which may be a worktree of a branch without them. 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. |
|
|
1666
1671
|
| `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`. |
|
|
1667
1672
|
| `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. |
|
|
1668
1673
|
| `rules add <group> --text "<text>" [--paths <glob>...] [--contains-in-file <text>...] [--contains-in-diff <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 string, and warns about a `--contains-in-file` string found nowhere (a `--contains-in-diff` string may arrive with a change, so it only gets the count). `--assert` is repeatable, one condition each. |
|
|
@@ -30,6 +30,8 @@ To continue a task, run `./ww instruction <task-id> --role manager` (a resuming
|
|
|
30
30
|
completion, error, or assignment end. One completion rarely ends a task; the final handoff says
|
|
31
31
|
when the workflow is complete and names `status`.
|
|
32
32
|
- Perform only agent-owned work. Never run or bypass a ww handler, edit ww state, or read `ww.yaml` or ww source to infer the next step.
|
|
33
|
+
- ww's configuration (`ww.yaml`, `ww.json`, `.ww/`, rule files, checks) lives at the project root a
|
|
34
|
+
page names, not in a task's worktree, whose branch may hold an older copy or none: read it there.
|
|
33
35
|
- For handler repair, fix the cause and complete with an artifact; ww retries it. In `auto`, the manager dispatches repairs with `next`.
|
|
34
36
|
- On an `interactive: true` step, converse in the operator session and finish on clear contextual
|
|
35
37
|
intent; ask if it is ambiguous ("done for today" means pause). Record both sides and end the
|
|
@@ -40,9 +42,8 @@ To continue a task, run `./ww instruction <task-id> --role manager` (a resuming
|
|
|
40
42
|
<task-id>` previews checks; an unavailable check is no failure) or `./ww dispute` with one `--rule`
|
|
41
43
|
per wrong check; record impossible work with `./ww fail` and the page's role/assignment. On
|
|
42
44
|
`awaiting_operator`, stop and report the reason and exact error; run only the operator's chosen
|
|
43
|
-
recovery option; never reset unasked. A standing
|
|
44
|
-
|
|
45
|
-
such stops; ask only for a material decision.
|
|
45
|
+
recovery option; never reset unasked. A standing operator authorization for routine repairs
|
|
46
|
+
(dependency installation, formatting, retries) covers such stops; ask only for a material decision.
|
|
46
47
|
- In an items context, resolve and report each item explicitly; report only after its outcome was sent.
|
|
47
48
|
- Relay feedback-deduction suggestions after completion; rule approval and pruning are separate follow-ups.
|
|
48
49
|
- When a start page says ww collects debug or feedback info, tell the operator once, then never
|
|
@@ -416,7 +416,9 @@ workflows:
|
|
|
416
416
|
worktree when worktrees are on, through the project's wrapper as
|
|
417
417
|
{{ww.documents.project}} records it and as the `check_guidance` of
|
|
418
418
|
`{{ww.executable}} rules --json` says when it is set, never with
|
|
419
|
-
the main checkout's absolute path
|
|
419
|
+
the main checkout's absolute path; a rule's check that declares
|
|
420
|
+
`files` reaches them at the project root, as `{{ww.root}}/<path>`
|
|
421
|
+
in `argv` or `"$WW_ROOT/<path>"` in a `shell` source. Write it as a setup fragment to
|
|
420
422
|
{{ww.documents.setup_proposal}} (the root keys `workflows`, `modes`,
|
|
421
423
|
`documents`, `handlers`, `hooks`, `rules` and `settings`; rules as
|
|
422
424
|
literal sentences in the `rules` lists of the steps they govern). A
|
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
# base and follows its worktree and commit settings, and the
|
|
8
8
|
# operator merges what it built. ww records the approved checks in the
|
|
9
9
|
# rule-automation store at the project root with `rules convert`; a check runs
|
|
10
|
-
# only
|
|
11
|
-
# branch is merged
|
|
10
|
+
# only while its configuration files exist at the project root, so tasks pick
|
|
11
|
+
# it up once the branch is merged there, also tasks in worktrees of older
|
|
12
|
+
# branches, since the command reaches its files as `{{ww.root}}/<path>`.
|
|
12
13
|
workflows:
|
|
13
14
|
- name: ww-scriptize-rules
|
|
14
15
|
description: >-
|
|
@@ -77,8 +78,13 @@ workflows:
|
|
|
77
78
|
tool as a development dependency in the project's manifest,
|
|
78
79
|
never globally, and write its configuration in the repository;
|
|
79
80
|
every command follows the `check_guidance` and the project's
|
|
80
|
-
command convention
|
|
81
|
-
|
|
81
|
+
command convention. ww runs it in the step's directory, which
|
|
82
|
+
may be a worktree of an older branch without this run's files,
|
|
83
|
+
and reads its files at the project root: the command reaches
|
|
84
|
+
each of them, its script, its tool's configuration, its baseline,
|
|
85
|
+
as `{{ww.root}}/<path>` in `argv`, `args` or `env`, or as
|
|
86
|
+
`"$WW_ROOT/<path>"` in a `shell` source, and never by a path
|
|
87
|
+
relative to this directory. Every check reads the files the step changed
|
|
82
88
|
from `WW_STEP_CHANGED_FILES`, newline-separated, relative to
|
|
83
89
|
this directory and already narrowed to its rules' globs and
|
|
84
90
|
`contains_in_file` or `contains_in_diff` strings, and examines
|
|
@@ -89,7 +95,9 @@ workflows:
|
|
|
89
95
|
compares the branch with a base branch (`git diff master...`)
|
|
90
96
|
or scans the whole repository, because a step must not fail on
|
|
91
97
|
files it did not change. Prove each check by running it exactly
|
|
92
|
-
as ww will, from this directory
|
|
98
|
+
as ww will, from this directory, with `WW_ROOT` and
|
|
99
|
+
`{{ww.root}}` standing for this directory, where its files are
|
|
100
|
+
until the branch is merged: add a deliberately violating
|
|
93
101
|
input and show the command fails with `WW_STEP_CHANGED_FILES`
|
|
94
102
|
set to just that file and passes with it set to an unrelated
|
|
95
103
|
clean file, then remove the input and show it passes.
|
|
@@ -100,9 +108,9 @@ workflows:
|
|
|
100
108
|
offer one and say which file it would write. Leave the agreed
|
|
101
109
|
not-convertible rules alone. The artifact gives, per check: its
|
|
102
110
|
name, the rule IDs it covers, its command as `argv` or `shell`
|
|
103
|
-
with any output assertion, its config files (
|
|
104
|
-
every file holding its logic, which decide
|
|
105
|
-
proof, and the violations.
|
|
111
|
+
with any output assertion, its config files (paths from the
|
|
112
|
+
project root of every file holding its logic, which decide when
|
|
113
|
+
it runs), the proof, and the violations.
|
|
106
114
|
- name: checks
|
|
107
115
|
interactive: true
|
|
108
116
|
artifact_from: build
|
|
@@ -145,6 +153,7 @@ workflows:
|
|
|
145
153
|
that file in the main checkout, on the integration branch,
|
|
146
154
|
together with or right after merging this run's branch: until
|
|
147
155
|
then `is-git-clean` refuses the next task's start. The checks
|
|
148
|
-
run in
|
|
149
|
-
so once the branch is merged
|
|
150
|
-
|
|
156
|
+
run in tasks once their config files exist at the project root,
|
|
157
|
+
so once the branch is merged there; from then on they apply in
|
|
158
|
+
every task, also one in a worktree of an older branch. The
|
|
159
|
+
artifact lists what was recorded.
|
|
@@ -26,8 +26,9 @@ worktree settings; this skill starts it.
|
|
|
26
26
|
The ww/git default base branch must be configured; its absence is an
|
|
27
27
|
error. Never edit ww's configuration files yourself.
|
|
28
28
|
3. Follow every page until the run completes. Tell the operator that the
|
|
29
|
-
checks run in tasks
|
|
30
|
-
this run's branch is merged, and
|
|
29
|
+
checks run in tasks once their configuration files exist at the project
|
|
30
|
+
root, so once this run's branch is merged there, and then in every task,
|
|
31
|
+
also one in a worktree of an older branch such as a hotfix; and that `./ww rules convert` and
|
|
31
32
|
`./ww rules decline` wrote `ww-rule-automation.json` at the project root,
|
|
32
33
|
in the main checkout: they commit it there, on the integration branch,
|
|
33
34
|
together with or right after merging this run's branch. Until then the
|
{ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/assets/ww_skill.md
RENAMED
|
@@ -59,7 +59,10 @@ change, start from step 1 then.
|
|
|
59
59
|
Deduction uses ww commands and explicit existing point IDs; rule review
|
|
60
60
|
and pruning are separate, and rules require operator approval.
|
|
61
61
|
5. Never run a ww-owned handler yourself, edit ww state, or read
|
|
62
|
-
`ww.yaml` or ww's source to work out what to do next.
|
|
62
|
+
`ww.yaml` or ww's source to work out what to do next. ww's configuration
|
|
63
|
+
(`ww.yaml`, `ww.json`, `.ww/`, rule files, checks) lives at the project
|
|
64
|
+
root a page names, never in a task's worktree, whose branch may hold an
|
|
65
|
+
older copy or none: read it there, never the worktree copy. For a handler repair
|
|
63
66
|
assignment, fix the cause and complete with an artifact; ww retries the
|
|
64
67
|
command. In `auto`, the manager dispatches the repair with `next`. When
|
|
65
68
|
ww reports `awaiting_operator` (a failed handler or work, an interrupted
|
|
@@ -793,7 +793,7 @@ def _convert(context: _Context, configuration: WorkflowConfiguration) -> _Outcom
|
|
|
793
793
|
if not confirm_operator(
|
|
794
794
|
"ww rules convert",
|
|
795
795
|
f"record check {name} as converted, run for the {len(rules)} rule(s) "
|
|
796
|
-
"it covers
|
|
796
|
+
"it covers while its config files exist at the project root",
|
|
797
797
|
"Record it?",
|
|
798
798
|
"Convert",
|
|
799
799
|
assume_yes=args.yes,
|
{ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/config/rules.py
RENAMED
|
@@ -26,7 +26,9 @@ from ww.actions import Commands
|
|
|
26
26
|
from ww.actions.command import CommandAction
|
|
27
27
|
from ww.errors import ConfigurationError
|
|
28
28
|
from ww.extensions.api import RuleGroupContribution
|
|
29
|
+
from ww.interpolation import dependencies
|
|
29
30
|
from ww.validation import is_positive_int
|
|
31
|
+
from ww.variables import ROOT, ROOT_ENVIRONMENT
|
|
30
32
|
from ww.workflow_config import (
|
|
31
33
|
ALL,
|
|
32
34
|
ALL_NAMES,
|
|
@@ -79,6 +81,14 @@ STEP_RULE_KEYS = {
|
|
|
79
81
|
_CHECK_KEYS = {"argv", "shell", "args", "env", "assert"}
|
|
80
82
|
# Beside the command keys on a rule's own check: the files it needs.
|
|
81
83
|
_CHECK_FILES_KEY = "files"
|
|
84
|
+
# Why a check declaring files must name the root: they are read there, while
|
|
85
|
+
# the command runs in the step's directory.
|
|
86
|
+
ROOT_FILES_MESSAGE = (
|
|
87
|
+
"a check that declares files must reach them at the project root, as "
|
|
88
|
+
'`{{ww.root}}/<path>` in argv, args or env, or `"$WW_ROOT/<path>"` in a '
|
|
89
|
+
"shell source: it runs in the step's directory, which may be a worktree "
|
|
90
|
+
"of a branch without them"
|
|
91
|
+
)
|
|
82
92
|
_GROUP_KEYS = {"rules", "workflows", "steps", "agent", "model", "reasoning"}
|
|
83
93
|
# A bare string shaped like this names a group or a file, never a sentence:
|
|
84
94
|
# "python" and "rules/python.md" match, "Write tests first" does not.
|
|
@@ -119,6 +129,21 @@ def rule_source(source: str | None, root: Path) -> str | None:
|
|
|
119
129
|
return str(path)
|
|
120
130
|
|
|
121
131
|
|
|
132
|
+
def shown_source(source: str | None, root: Path) -> str | None:
|
|
133
|
+
"""A rule file as an agent should open it.
|
|
134
|
+
|
|
135
|
+
Relative to ``root`` only when ww runs there; from anywhere else, such
|
|
136
|
+
as a task's Git worktree whose branch may hold an older copy or none,
|
|
137
|
+
the absolute path at the root, where ww read it.
|
|
138
|
+
"""
|
|
139
|
+
if source is None:
|
|
140
|
+
return None
|
|
141
|
+
path = Path(source)
|
|
142
|
+
if Path.cwd().resolve() == root.resolve():
|
|
143
|
+
return rule_source(source, root)
|
|
144
|
+
return str(path if path.is_absolute() else (root / path).resolve())
|
|
145
|
+
|
|
146
|
+
|
|
122
147
|
def looks_like_reference(value: str) -> bool:
|
|
123
148
|
"""Whether a bare step entry names a group or file rather than a sentence."""
|
|
124
149
|
return bool(_REFERENCE.fullmatch(value)) and not value.endswith(
|
|
@@ -265,6 +290,22 @@ def parse_check_command(mapping: dict[str, Any], context: str) -> Commands:
|
|
|
265
290
|
return CommandAction().parse(mapping, "check", "", context)
|
|
266
291
|
|
|
267
292
|
|
|
293
|
+
def references_root(command: Commands) -> bool:
|
|
294
|
+
"""Whether a check's command reaches the project root's files.
|
|
295
|
+
|
|
296
|
+
A check's declared files are read at the root, while the command runs in
|
|
297
|
+
the step's directory, which may be a worktree of a branch without them:
|
|
298
|
+
an interpolated field names ``{{ww.root}}``, a ``shell`` source
|
|
299
|
+
``$WW_ROOT``.
|
|
300
|
+
"""
|
|
301
|
+
return any(
|
|
302
|
+
ROOT in dependencies(template)
|
|
303
|
+
or (definition.shell is not None and ROOT_ENVIRONMENT in definition.shell)
|
|
304
|
+
for definition in command.commands
|
|
305
|
+
for template in (*definition.templates, definition.shell or "")
|
|
306
|
+
)
|
|
307
|
+
|
|
308
|
+
|
|
268
309
|
def _parse_check(
|
|
269
310
|
mapping: dict[str, Any], context: str
|
|
270
311
|
) -> tuple[Commands, tuple[str, ...]]:
|
|
@@ -275,11 +316,14 @@ def _parse_check(
|
|
|
275
316
|
else ()
|
|
276
317
|
)
|
|
277
318
|
command = {key: value for key, value in mapping.items() if key != _CHECK_FILES_KEY}
|
|
278
|
-
|
|
319
|
+
check = parse_check_command(command, context)
|
|
320
|
+
if files and not references_root(check):
|
|
321
|
+
raise ConfigurationError(f"{context}.check: {ROOT_FILES_MESSAGE}")
|
|
322
|
+
return check, files
|
|
279
323
|
|
|
280
324
|
|
|
281
325
|
def _check_files(value: Any, context: str) -> tuple[str, ...]:
|
|
282
|
-
"""Paths inside the
|
|
326
|
+
"""Paths inside the project root: relative, without a ``..`` part."""
|
|
283
327
|
if (
|
|
284
328
|
not isinstance(value, list)
|
|
285
329
|
or not value
|
|
@@ -293,7 +337,7 @@ def _check_files(value: Any, context: str) -> tuple[str, ...]:
|
|
|
293
337
|
if PurePosixPath(item).is_absolute() or ".." in parts:
|
|
294
338
|
raise ConfigurationError(
|
|
295
339
|
f"{context}.{_CHECK_FILES_KEY}: {item!r} must stay inside the "
|
|
296
|
-
"
|
|
340
|
+
"project root"
|
|
297
341
|
)
|
|
298
342
|
return tuple(value)
|
|
299
343
|
|
|
@@ -158,8 +158,8 @@ class RuleResolution:
|
|
|
158
158
|
checked by the derived check ``check``; ``judged`` ones get a verifier's
|
|
159
159
|
verdict. ``interpretation`` is the store's one-sentence reading, shown
|
|
160
160
|
under the rule on the page. ``missing`` is set on a judged rule whose
|
|
161
|
-
converted ``check`` does not apply
|
|
162
|
-
|
|
161
|
+
converted ``check`` does not apply: the first of its configuration files
|
|
162
|
+
the project root lacks.
|
|
163
163
|
"""
|
|
164
164
|
|
|
165
165
|
id: str
|
{ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/instructions/builder.py
RENAMED
|
@@ -1063,6 +1063,11 @@ class InstructionBuilder:
|
|
|
1063
1063
|
# A task still in the root needs no ``cd``; an item that chose
|
|
1064
1064
|
# its own directory always names it.
|
|
1065
1065
|
working_directory=str(workspace) if workspace is not None else None,
|
|
1066
|
+
project_root=(
|
|
1067
|
+
str(self.root.resolve())
|
|
1068
|
+
if workspace is not None and workspace.resolve() != self.root.resolve()
|
|
1069
|
+
else None
|
|
1070
|
+
),
|
|
1066
1071
|
rules=rule_lines(item, record),
|
|
1067
1072
|
modes=item.modes,
|
|
1068
1073
|
fix_required=fix_required(item, record),
|
{ww_agentic_workflows-1.0.0.dev13 → ww_agentic_workflows-1.0.0.dev14}/src/ww/instructions/models.py
RENAMED
|
@@ -133,7 +133,7 @@ class RuleLine:
|
|
|
133
133
|
# with ``missing``, the converted check that does not apply here.
|
|
134
134
|
check: str | None = None
|
|
135
135
|
# A verifier judges the rule because its converted ``check`` does not
|
|
136
|
-
# apply
|
|
136
|
+
# apply: this configuration file is missing at the project root.
|
|
137
137
|
missing: str | None = None
|
|
138
138
|
|
|
139
139
|
def to_dict(self) -> dict[str, object]:
|
|
@@ -271,7 +271,7 @@ class VerificationRuleLine:
|
|
|
271
271
|
text: str
|
|
272
272
|
interpretation: str | None = None
|
|
273
273
|
# Its ``check`` does not run here: a converted check whose configuration
|
|
274
|
-
# file ``missing`` names is not
|
|
274
|
+
# file ``missing`` names is not at the project root, or the rule's
|
|
275
275
|
# own or derived check was found ``unavailable`` for the reason given.
|
|
276
276
|
check: str | None = None
|
|
277
277
|
missing: str | None = None
|
|
@@ -524,6 +524,9 @@ class Instruction:
|
|
|
524
524
|
run_id: str | None = None
|
|
525
525
|
task_runs: tuple[WorkflowRunSummary, ...] = ()
|
|
526
526
|
working_directory: str | None = None
|
|
527
|
+
# The project root, where ww's configuration lives, on a page whose
|
|
528
|
+
# working directory is elsewhere, such as a task's Git worktree.
|
|
529
|
+
project_root: str | None = None
|
|
527
530
|
child_tasks: tuple[ChildTask, ...] = ()
|
|
528
531
|
operation_id: str | None = None
|
|
529
532
|
recovery_commands: tuple[RecoveryCommand, ...] = ()
|
|
@@ -671,6 +674,7 @@ class Instruction:
|
|
|
671
674
|
"run_id": self.run_id,
|
|
672
675
|
"task_runs": [item.to_dict() for item in self.task_runs],
|
|
673
676
|
"working_directory": self.working_directory,
|
|
677
|
+
"project_root": self.project_root,
|
|
674
678
|
"child_tasks": [child.to_dict() for child in self.child_tasks],
|
|
675
679
|
"operation_id": self.operation_id,
|
|
676
680
|
"recovery_commands": [item.to_dict() for item in self.recovery_commands],
|
|
@@ -698,6 +698,17 @@ def _working_directory(lines: Lines, instruction: Instruction) -> None:
|
|
|
698
698
|
"```",
|
|
699
699
|
]
|
|
700
700
|
)
|
|
701
|
+
if instruction.project_root:
|
|
702
|
+
lines.extend(
|
|
703
|
+
[
|
|
704
|
+
"",
|
|
705
|
+
"ww's configuration (`ww.yaml`, `ww.json`, `.ww/`, rule files "
|
|
706
|
+
"and checks) is read from the project root, "
|
|
707
|
+
f"`{instruction.project_root}`, not from this workspace, whose "
|
|
708
|
+
"branch may hold an older copy or none: read it there, never "
|
|
709
|
+
"the copy here.",
|
|
710
|
+
]
|
|
711
|
+
)
|
|
701
712
|
|
|
702
713
|
|
|
703
714
|
def _profile(lines: Lines, instruction: Instruction) -> None:
|
|
@@ -860,8 +871,8 @@ def _rules(lines: Lines, instruction: Instruction) -> None:
|
|
|
860
871
|
lines.append(f" {rule.interpretation}")
|
|
861
872
|
if rule.missing is not None:
|
|
862
873
|
lines.append(
|
|
863
|
-
f" Its check `{rule.check}` does not run
|
|
864
|
-
|
|
874
|
+
f" Its check `{rule.check}` does not run: `{rule.missing}` "
|
|
875
|
+
"is missing at the project root."
|
|
865
876
|
)
|
|
866
877
|
lines.extend(
|
|
867
878
|
[
|
|
@@ -1071,8 +1082,8 @@ def _verification(lines: Lines, instruction: Instruction) -> None:
|
|
|
1071
1082
|
lines.append(f" Interpretation: {rule.interpretation}")
|
|
1072
1083
|
if rule.missing is not None:
|
|
1073
1084
|
lines.append(
|
|
1074
|
-
f" Its check `{rule.check}` does not run
|
|
1075
|
-
"is missing
|
|
1085
|
+
f" Its check `{rule.check}` does not run: `{rule.missing}` "
|
|
1086
|
+
"is missing at the project root, so judge it instead."
|
|
1076
1087
|
)
|
|
1077
1088
|
if rule.unavailable is not None:
|
|
1078
1089
|
lines.append(
|
|
@@ -131,8 +131,9 @@ class PlannedCheck:
|
|
|
131
131
|
shared by several rules runs once.
|
|
132
132
|
|
|
133
133
|
``files`` are the project files the command needs, relative to the
|
|
134
|
-
|
|
135
|
-
the
|
|
134
|
+
project root, such as the script it runs: the command reaches them as
|
|
135
|
+
``{{ww.root}}/<path>`` from the step's directory, and when one is missing
|
|
136
|
+
at the root the check is unavailable and does not run.
|
|
136
137
|
"""
|
|
137
138
|
|
|
138
139
|
id: str
|