ww-agentic-workflows 1.0.0.dev14__tar.gz → 1.0.0.dev15__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.dev14 → ww_agentic_workflows-1.0.0.dev15}/CHANGELOG.md +4 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/PKG-INFO +1 -1
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/WW_AGENT_INSTRUCTIONS.md +3 -4
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/documentation/architecture.md +74 -15
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/documentation/features.md +89 -21
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/documentation/limitations.md +12 -6
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/documentation/specification.md +41 -11
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/pyproject.toml +1 -1
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/agent_instructions.md +3 -4
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/workflows/onboarding.yaml +3 -2
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/workflows/scriptize.yaml +16 -8
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww-scriptize_skill.md +5 -3
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww_skill.md +4 -4
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/cli/discover.py +1 -1
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/cli/main.py +123 -5
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/cli/parser.py +32 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/config/rules.py +13 -7
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/config_files.py +46 -4
- ww_agentic_workflows-1.0.0.dev15/src/ww/config_snapshots.py +368 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/execution_models/records.py +14 -1
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/extensions/registry.py +9 -3
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/instructions/builder.py +21 -9
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/instructions/models.py +11 -6
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/output_adapters/markdown.py +27 -12
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/project_config.py +21 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/results.py +22 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/rule_checks.py +13 -9
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/rule_conversion.py +35 -1
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/rule_verification.py +1 -1
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/rule_views.py +2 -1
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/service.py +100 -7
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/storage.py +16 -3
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/variables.py +12 -5
- ww_agentic_workflows-1.0.0.dev15/tests/integration/test_config_snapshots.py +293 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_configuration_authority.py +1 -1
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_rule_conversion.py +18 -9
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_rules_and_checks.py +2 -2
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_project_config.py +18 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_rules.py +3 -1
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.claude/settings.json +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.claude/skills/noww/SKILL.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.claude/skills/update-architecture-documentation/SKILL.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.claude/skills/ww/SKILL.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.codex/hooks.json +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.codex/skills/noww/SKILL.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.codex/skills/update-architecture-documentation/SKILL.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.codex/skills/ww/SKILL.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.git-blame-ignore-revs +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.githooks/pre-commit +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.github/workflows/dev-publish.yml +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.github/workflows/release-gates.yml +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/.gitignore +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/AGENTS.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/CLAUDE.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/CODE_OF_CONDUCT.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/CONTRIBUTING.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/LICENSE +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/README.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/SECURITY.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/documentation/agent-hooks.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/documentation/development-releases.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/documentation/examples.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/documentation/python-agent-rules.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/documentation/todo.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/ext/ww/git/extension.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/scripts/check_distribution.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/scripts/check_release_gates.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/scripts/demo.sh +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/scripts/ensure_spdx_license.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/scripts/measure_pages.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/scripts/run_workflow_dummy.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/scripts/set_dev_version.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/scripts/test +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/action_execution.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/actions/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/actions/command.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/actions/contracts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/actions/extension.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/actions/mcp.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/actions/prompt.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/actions/skill.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/actions/slash_command.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/agents.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/amendments.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/artifacts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assessments.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/noww_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww-automate_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww-debug-report_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww-deduce-feedback_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww-feedback-rules_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww-learn-project_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww-refresh_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww-rule_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww-rules-from-artifacts_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww-setup_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww-solve_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww-suggest_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww-wizard_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww-workflow-feedback_skill.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assignments.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/bootstrap.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/builtin_workflows.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/changes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/child_coordination.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/children.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/claude_permissions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/cli/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/cli/__main__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/cli/audit.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/cli/catalogs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/cli/initialization.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/cli/lookup.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/cli/prompts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/cli/updates.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/completion_artifacts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/completion_inputs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/config/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/config/actions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/config/composition.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/config/steps.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/config/values.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/config_writes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/contracts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/control.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/defaults.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/design_docs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/direct_work.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/discovery.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/documents.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/errors.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/executable.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/execution_models/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/execution_models/construction.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/execution_models/decoding.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/execution_models/plan_codec.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/execution_models/runs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/extensions/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/extensions/api.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/extensions/store.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/feedback.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/handler_repairs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/hooks/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/hooks/agents.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/hooks/install.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/hooks/notices.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/hooks/runtime.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/inspect.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/instructions/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/instructions/collection.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/instructions/commands.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/instructions/handoff.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/instructions/policy.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/instructions/text.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/interactions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/interpolation.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/item_collections.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/items.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/locking.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/metadata_publication.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/onboarding.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/open_work.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/operations.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/operator_ui/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/operator_ui/page.html +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/operator_ui/server.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/operator_ui/session.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/operator_ui/sheet.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/operator_ui/view.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/output.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/output_adapters/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/output_adapters/base.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/output_adapters/json_adapter.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/output_adapters/rule_pages.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/output_adapters/terminal.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/package_updates.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/plan/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/plan/actions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/plan/compiler.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/plan/constructs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/plan/models.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/recovery.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/replanning.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/rule_disputes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/rule_stats.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/rule_store.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/rule_writes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/run_coordination.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/run_reports.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/runtimes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/setup_apply.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/step_values.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/storage_adapters/__init__.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/storage_adapters/base.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/storage_adapters/filesystem.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/storage_adapters/memory.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/storage_adapters/project_metadata.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/storage_adapters/task_document.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/task_ids.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/task_references.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/transitions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/updates.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/upgrade.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/validation.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/workflow_config.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/workflow_update.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/workflow_validation.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/workspace.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/action_contract_helpers.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/config_helpers.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/conftest.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/example_documents.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/fixtures/packaged_extension/ww_test_packaged_extension.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/golden/pages/completion.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/golden/pages/fix-required.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/golden/pages/interactive.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/golden/pages/items-substep.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/golden/pages/manager-dispatch.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/golden/pages/operator-stop.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/golden/pages/step-auto-worker.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/golden/pages/step-rules.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/golden/pages/step-single.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/golden/pages/values-and-metadata.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/golden/pages/verification.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/golden/pages/worker-bootstrap.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/golden/pages/worker-handoff.md +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_adjustments.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_artifact_false.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_artifact_from_containers.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_assessment_outcomes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_assignment_tokens.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_auto_retries.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_automatic_handler_groups.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_automatic_modes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_awaiting_operator.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_bootstrap_task_id.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_builtin_workflows.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_child_identity.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_child_launch_settings.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_child_stages.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_child_start_action.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_child_start_guards.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_child_tasks.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_children_added_mid_run.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_cli.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_command_metadata.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_complete_dispatch.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_concurrency.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_conditional_inputs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_config_files.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_consumed_values.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_debug_events.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_direct_work.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_discover.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_documents.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_example_behaviour.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_executable.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_extension_execution.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_feedback_commands.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_git_extension.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_git_variables.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_golden_pages.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_handler_repairs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_handoff_block.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_hooks.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_init_force.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_init_permissions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_inspect.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_interactive.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_item_collections.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_local_step_pages.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_memory_workflow_service.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_metadata_lists.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_onboarding.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_onboarding_workflows.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_pack_scenarios.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_packaged_extension.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_page_gates.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_plan_execution.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_projects.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_recommended_workflow.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_recovery_guards.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_replanning.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_requirements_pages.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_requirements_per_session.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_restart.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_rule_commands.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_rule_verification_flow.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_rule_write_commands.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_run_report_commands.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_scriptize_workflow.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_setup_apply.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_setup_update.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_setup_verification.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_stale_task_records.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_state_unknown_fields.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_system_scenarios.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_update_notice.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_upgrade.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_workdir.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_worker_bootstrap_text.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_worker_handoff.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/integration/test_workflow_service.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/page_catalog.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/plan_helpers.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/test_dev_version.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_action_contracts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_action_example.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_action_phase_contexts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_artifacts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_assignments.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_beta_notice.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_builtin_actions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_changes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_checklist_prompt.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_child_stages_config.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_children_config.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_cli_prompts.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_completion_inputs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_completion_selection.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_config.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_config_composition.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_config_writes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_delegation_requests.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_design_docs.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_discovery.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_examples_doc.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_execution_hints.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_extensions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_feedback.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_handler_failure_report.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_hook_agents.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_instruction_commands.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_interactions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_item_config.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_locking.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_markdown_output.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_modes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_operator_ui.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_package_updates.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_plan.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_project_metadata_storage_adapters.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_records.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_rule_checks.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_rule_disputes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_rule_stats.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_rule_store.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_rule_verification.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_rule_writes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_run_reports.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_runtimes.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_scripts_test_bootstrap.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_step_role.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_storage.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_task_document.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_task_ids.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_task_references.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_task_storage_adapters.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_transitions.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_updates.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_validation.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_variables.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_workflow_inheritance.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_workflow_validation.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/unit/test_workspace.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/tests/workflow_helpers.py +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/ww.json +0 -0
- {ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/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-13
|
|
13
|
+
|
|
14
|
+
- Breaking: in a Git project, tasks read ww configuration committed on `config_ref` (default: the ww/git base branch), pinned when each run starts, so branch switches in the main checkout no longer affect them; new `ww config refresh <task>` and `ww config prune`, and `ww status` shows the pinned commit. `6335767`
|
|
15
|
+
|
|
12
16
|
## 2026-10-12
|
|
13
17
|
|
|
14
18
|
- 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`
|
|
@@ -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.dev15
|
|
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.dev14 → ww_agentic_workflows-1.0.0.dev15}/WW_AGENT_INSTRUCTIONS.md
RENAMED
|
@@ -30,8 +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`,
|
|
34
|
-
|
|
33
|
+
- Read ww's configuration (`ww.yaml`, `ww.json`, rule files, checks) only at the paths a page gives
|
|
34
|
+
or through `$WW_ROOT`; never in a task's worktree, which may hold another copy, or `.ww/config/`.
|
|
35
35
|
- For handler repair, fix the cause and complete with an artifact; ww retries it. In `auto`, the manager dispatches repairs with `next`.
|
|
36
36
|
- On an `interactive: true` step, converse in the operator session and finish on clear contextual
|
|
37
37
|
intent; ask if it is ambiguous ("done for today" means pause). Record both sides and end the
|
|
@@ -46,5 +46,4 @@ To continue a task, run `./ww instruction <task-id> --role manager` (a resuming
|
|
|
46
46
|
(dependency installation, formatting, retries) covers such stops; ask only for a material decision.
|
|
47
47
|
- In an items context, resolve and report each item explicitly; report only after its outcome was sent.
|
|
48
48
|
- Relay feedback-deduction suggestions after completion; rule approval and pruning are separate follow-ups.
|
|
49
|
-
- When a start page says ww collects debug or feedback info, tell the operator once
|
|
50
|
-
mention it again; never offer to send it.
|
|
49
|
+
- When a start page says ww collects debug or feedback info, tell the operator once; never mention it again or offer to send it.
|
{ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/documentation/architecture.md
RENAMED
|
@@ -1246,16 +1246,19 @@ 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`,
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1249
|
+
ww's configuration (`ww.yaml`, `ww.json`, rule files, the check store and
|
|
1250
|
+
the files checks declare) is therefore never read from the worktree, whose
|
|
1251
|
+
branch may predate it. It is read from `Storage.config_root`: in a Git project
|
|
1252
|
+
a read-only copy of a commit (see
|
|
1253
|
+
[Configuration snapshots](#configuration-snapshots)), otherwise the root.
|
|
1254
|
+
`{{ww.root}}` (and `WW_ROOT` in every check's environment) names that
|
|
1255
|
+
directory, so a check defined there runs in the worktree against its change set
|
|
1256
|
+
while reaching its own scripts and configs there. A page whose working
|
|
1257
|
+
directory differs from it carries `Instruction.config_root`, with
|
|
1258
|
+
`config_commit` and `config_ref` for a copy, and tells the agent to read ww's
|
|
1259
|
+
configuration only there or through `$WW_ROOT`; `config.rules.shown_source`
|
|
1260
|
+
prints rule files relative only when ww runs in that directory, otherwise by
|
|
1261
|
+
their absolute path there.
|
|
1259
1262
|
|
|
1260
1263
|
The git extension separates `start-task-branch` from `create-worktree`. The
|
|
1261
1264
|
first establishes the task branch without occupying it when worktrees are
|
|
@@ -1293,6 +1296,61 @@ pre-commit tooling such as Husky and lint-staged: an ignored or otherwise empty
|
|
|
1293
1296
|
change set is reported by ww directly instead of being misrepresented as a hook
|
|
1294
1297
|
integration failure.
|
|
1295
1298
|
|
|
1299
|
+
## Configuration snapshots
|
|
1300
|
+
|
|
1301
|
+
An operator switching branches in the main checkout must not change what a
|
|
1302
|
+
running task's agents read. In a Git project, `../src/ww/config_snapshots.py`
|
|
1303
|
+
therefore reads ww's configuration from a commit, never from what is checked
|
|
1304
|
+
out. `ConfigSnapshots(root)` resolves `config_ref` from the checkout's
|
|
1305
|
+
`ww.json` levels. `config_ref` says where snapshots come from, so it is never
|
|
1306
|
+
read from one. Its default is the ww/git `base_branches.default`. It resolves
|
|
1307
|
+
the ref to a commit and materializes `<root>/.ww/config/<sha>/` without a
|
|
1308
|
+
checkout (`git ls-tree` and `git cat-file`). The materialization starts from
|
|
1309
|
+
`ww.yaml`, `ww.json` and `ww-rule-automation.json` and follows every YAML or
|
|
1310
|
+
JSON string that names a committed file, every `{{ww.root}}/<path>` and
|
|
1311
|
+
`$WW_ROOT/<path>` reference, and every rule directory's `*.md`. A project in
|
|
1312
|
+
a subdirectory of its repository is addressed through `rev-parse
|
|
1313
|
+
--show-prefix`. The copy is written to a temporary directory, made read-only,
|
|
1314
|
+
and renamed into place, so a reader never sees half of one. One commit has
|
|
1315
|
+
one copy, reused by every reader, and a missing copy is written again on the
|
|
1316
|
+
next read. The result is a `ConfigSource`, a directory plus the commit and
|
|
1317
|
+
ref it came from. Without Git, with `config_ref: false`, with a default ref
|
|
1318
|
+
that does not resolve, or with a commit that has no `ww.yaml`, the result is
|
|
1319
|
+
`ConfigSource(root)`, the checkout as before. An explicit `config_ref` that
|
|
1320
|
+
names no commit is a `ConfigurationError`.
|
|
1321
|
+
|
|
1322
|
+
`Storage(root, config=ConfigSource)` keeps the two apart: `config_root` is
|
|
1323
|
+
where the configuration is read (`config_path`, `project_config_path`, the
|
|
1324
|
+
`RuleStore`, `resolve_rules`, `CheckScope.root`, the `{{ww.root}}` value,
|
|
1325
|
+
the extension registry's `ww.json`), and `root` is where everything ww writes
|
|
1326
|
+
lives: task state, locks, executions, logs, rule statistics, disputes and the
|
|
1327
|
+
configuration edits ww makes. `config_files._levels` reads the local level
|
|
1328
|
+
(`ww.local.*`), which no commit holds, from the checkout that
|
|
1329
|
+
`checkout_directory` derives from a snapshot path, so it still applies on top
|
|
1330
|
+
of the copy.
|
|
1331
|
+
|
|
1332
|
+
The CLI chooses the source once per invocation (`_config_source`). Commands
|
|
1333
|
+
that edit the configuration or read none of it (`init`, `lint`, `setup`,
|
|
1334
|
+
`onboarding`, `inspect`, the writing `rules` commands, and others) read the
|
|
1335
|
+
checkout, where the edit is made and committed. A command that addresses a
|
|
1336
|
+
task whose run has pinned a commit reads that commit's copy. Every other
|
|
1337
|
+
command, `start` included, reads the ref's current commit. `start` records
|
|
1338
|
+
that commit and ref on the run (`ExecutionState.config_commit` and
|
|
1339
|
+
`config_ref`). The pin is carried across handoffs, and child tasks inherit
|
|
1340
|
+
it through the process's storage. `WorkflowService.refresh_configuration`
|
|
1341
|
+
(`ww config refresh`) moves an open run to the ref's current commit, and the
|
|
1342
|
+
next `next` compares the plan with it like any other configuration change.
|
|
1343
|
+
`TaskStatus.config` reports the pin and how many commits the ref has moved
|
|
1344
|
+
ahead. Pruning keeps `configuration_pins()`, the commits open runs read, plus
|
|
1345
|
+
the ref's current commit. `ww config prune` runs it, and so do `next`,
|
|
1346
|
+
`complete`, `reset`, `cleanup` and `config` after they succeed, and a
|
|
1347
|
+
failure there never fails the command.
|
|
1348
|
+
|
|
1349
|
+
The copy holds only committed configuration and the logic files checks name.
|
|
1350
|
+
Documents named in step text are read in the worktree. Tools come from
|
|
1351
|
+
`PATH` or the step's directory, so `rules convert` refuses a `--config` file
|
|
1352
|
+
that Git ignores (`rule_conversion.require_committable`).
|
|
1353
|
+
|
|
1296
1354
|
## Parent and child tasks
|
|
1297
1355
|
|
|
1298
1356
|
One workflow can decompose a task into independently executable child tasks.
|
|
@@ -1667,8 +1725,8 @@ repeatable, so they keep no command ledger; their outputs are stored like
|
|
|
1667
1725
|
other command output and their reports live on the item record, one per
|
|
1668
1726
|
attempt, which is the single authority for how often a step was rejected.
|
|
1669
1727
|
A check that cannot run here is `unavailable` (`CheckStatus`) with its
|
|
1670
|
-
reason, never failed: a file it declares under `files` is missing
|
|
1671
|
-
|
|
1728
|
+
reason, never failed: a file it declares under `files` is missing where
|
|
1729
|
+
ww reads its configuration (`missing_file` against `CheckScope.root`, tested before the
|
|
1672
1730
|
command runs, which itself runs in `CheckScope.directory`), the
|
|
1673
1731
|
command could not be launched, or the shell exited 126 or 127.
|
|
1674
1732
|
`CheckReport.failed` leaves such results out, so they reject no completion,
|
|
@@ -1706,7 +1764,8 @@ own. A verifier only judges: it gives verdicts with evidence and never
|
|
|
1706
1764
|
writes anything else.
|
|
1707
1765
|
Turning rules into checks is a project task of its own,
|
|
1708
1766
|
`ww-scriptize-rules`, whose checks the operator records with `rules
|
|
1709
|
-
convert`. They live in `ww-rule-automation.json
|
|
1767
|
+
convert`. They live in `ww-rule-automation.json`, read with the rest of the
|
|
1768
|
+
configuration and written in the checkout, keyed
|
|
1710
1769
|
by the hash of the rule text, with checks that may cover several rules; it is
|
|
1711
1770
|
derived knowledge that ww owns and commits, never configuration, so YAML and
|
|
1712
1771
|
rule files are never rewritten. When a step begins, `resolve_rules` settles
|
|
@@ -1731,8 +1790,8 @@ the store; `rules prune` deletes orphan store entries after asking, and
|
|
|
1731
1790
|
`rules revoke` rejects one check and its rules the same way. `rules convert`
|
|
1732
1791
|
and `rules decline` (`rule_conversion.py`) record an operator-approved check
|
|
1733
1792
|
or `not_convertible` rules through the same locked store write. `resolve_rules`
|
|
1734
|
-
is given the
|
|
1735
|
-
when one of its `config` files is missing there.
|
|
1793
|
+
is given the configuration directory and resolves a converted check's rules
|
|
1794
|
+
as judged when one of its `config` files is missing there.
|
|
1736
1795
|
|
|
1737
1796
|
Only the operator's `rules` commands write the store, and `rules convert` is
|
|
1738
1797
|
the one approval path. `rules.check_guidance` in
|
{ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/documentation/features.md
RENAMED
|
@@ -1060,6 +1060,67 @@ the repo's `ww/git` settings.
|
|
|
1060
1060
|
composed result: it adds no default workflow to the YAML, and no `task_format`
|
|
1061
1061
|
to the JSON, when another level already provides them.
|
|
1062
1062
|
|
|
1063
|
+
## Configuration read from a commit
|
|
1064
|
+
|
|
1065
|
+
In a Git project, tasks read the configuration that is committed on a ref,
|
|
1066
|
+
not what happens to be checked out in the main checkout. So an operator can
|
|
1067
|
+
switch branches there while agents keep working in their worktrees, and
|
|
1068
|
+
nothing changes for those agents. By default the ref is the ww/git default
|
|
1069
|
+
base branch (`base_branches.default`). `config_ref` in `ww.json` names
|
|
1070
|
+
another ref, and `false` turns the feature off:
|
|
1071
|
+
|
|
1072
|
+
```json
|
|
1073
|
+
{"config_ref": "main"}
|
|
1074
|
+
```
|
|
1075
|
+
|
|
1076
|
+
ww resolves the ref to a commit and copies the configuration out of that
|
|
1077
|
+
commit, without a checkout, into `.ww/config/<sha>/`. The copy holds
|
|
1078
|
+
`ww.yaml`, `ww.json`, `ww-rule-automation.json`, their imports, every rule
|
|
1079
|
+
file and rule directory they declare, and every committed file a check
|
|
1080
|
+
reaches as `{{ww.root}}/<path>` or `$WW_ROOT/<path>`. The copy is written to
|
|
1081
|
+
a temporary directory and renamed into place, and it is read-only. Each
|
|
1082
|
+
commit gets one copy, made the first time it is needed. A copy that is
|
|
1083
|
+
missing, for example after `git clean`, is written again on the next read.
|
|
1084
|
+
`{{ww.root}}` and every check's `WW_ROOT` name that copy, while checks still
|
|
1085
|
+
run in the step's directory. Pages and `ww rules` give its absolute paths.
|
|
1086
|
+
|
|
1087
|
+
A task records the commit when it starts and reads that copy until it ends,
|
|
1088
|
+
even after new commits land on the ref. Commands outside a task, such as
|
|
1089
|
+
`discover`, `start` and `rules`, read the ref's current commit. `status`
|
|
1090
|
+
shows the commit a task reads and whether the ref has moved ahead, as
|
|
1091
|
+
`config` (also a key of `status --json`):
|
|
1092
|
+
|
|
1093
|
+
```console
|
|
1094
|
+
$ ./ww status TASK-7
|
|
1095
|
+
...
|
|
1096
|
+
config: commit 3f2a9c1 of main; main is 2 commit(s) ahead (`./ww config refresh TASK-7` moves to it)
|
|
1097
|
+
$ ./ww config refresh TASK-7
|
|
1098
|
+
TASK-7 now reads the configuration of 8be04d2, the current commit of main. Its next `next` compares the run's plan with it.
|
|
1099
|
+
$ ./ww config prune
|
|
1100
|
+
Removed 3 configuration snapshot(s).
|
|
1101
|
+
```
|
|
1102
|
+
|
|
1103
|
+
`next`, `complete`, `reset`, `cleanup` and `config` also prune
|
|
1104
|
+
automatically: they remove every copy that no open run reads, except the
|
|
1105
|
+
copy of the ref's current commit. A configuration change takes effect once
|
|
1106
|
+
it is committed on the ref; for a running task, after `config refresh`.
|
|
1107
|
+
The commands that edit the configuration (`init`, `lint`, `setup`,
|
|
1108
|
+
`onboarding`, `inspect`, and the `rules` commands that write) read the
|
|
1109
|
+
checkout, because that is where the edit is made and committed.
|
|
1110
|
+
|
|
1111
|
+
Some things stay in the checkout: task state, locks, logs, rule counters,
|
|
1112
|
+
disputes, and the untracked `ww.local.yaml` and `ww.local.json`, which still
|
|
1113
|
+
apply on top of the copy. Documents that a step's text only mentions are not
|
|
1114
|
+
copied; agents read them in their worktree. Without Git, with
|
|
1115
|
+
`config_ref: false`, or when the ref's commit has no `ww.yaml` yet, ww reads
|
|
1116
|
+
the configuration from the checkout as before. An explicit `config_ref` that
|
|
1117
|
+
names no commit is an error.
|
|
1118
|
+
|
|
1119
|
+
Agents read ww's configuration only through the paths a page gives or
|
|
1120
|
+
through `$WW_ROOT`, and never browse `.ww/config/`. A check gets its tools
|
|
1121
|
+
from `PATH` or the step's directory. `WW_ROOT` holds only committed files,
|
|
1122
|
+
never untracked tooling such as `node_modules` or a virtualenv.
|
|
1123
|
+
|
|
1063
1124
|
## Configuration
|
|
1064
1125
|
|
|
1065
1126
|
Every mode is a mapping with a required `name` and an optional description.
|
|
@@ -2276,8 +2337,8 @@ with a `check` field naming the check.
|
|
|
2276
2337
|
### A check that cannot run
|
|
2277
2338
|
|
|
2278
2339
|
A check that cannot run here is **unavailable**, not failed: the script it
|
|
2279
|
-
runs is
|
|
2280
|
-
before anything runs), the `argv` program does not exist, or the shell
|
|
2340
|
+
runs is missing where ww reads its configuration (its `check` lists it under
|
|
2341
|
+
`files`, tested before anything runs), the `argv` program does not exist, or the shell
|
|
2281
2342
|
answered `command not found` or `not executable` (exit 127 or 126), as when
|
|
2282
2343
|
a check is written on a branch its tool has not reached yet. The worker is
|
|
2283
2344
|
not sent back for it, it counts toward no `max_fixes`, the rule statistics
|
|
@@ -2291,18 +2352,20 @@ ones as `check unavailable: <reason>`.
|
|
|
2291
2352
|
|
|
2292
2353
|
### Rules and checks in a worktree of an older branch
|
|
2293
2354
|
|
|
2294
|
-
ww's configuration, `ww.yaml`, `ww.json`,
|
|
2295
|
-
|
|
2296
|
-
|
|
2355
|
+
ww's configuration, `ww.yaml`, `ww.json`, the rule files and the check
|
|
2356
|
+
store, is never read from a task's worktree. In a Git project it comes from
|
|
2357
|
+
the task's [commit of `config_ref`](#configuration-read-from-a-commit);
|
|
2358
|
+
without Git it comes from the project root. A hotfix branched from a release
|
|
2297
2359
|
branch that predates the latest rules still gets them: rules and checks are
|
|
2298
|
-
defined
|
|
2299
|
-
the step's directory against its change set
|
|
2300
|
-
|
|
2301
|
-
`"$WW_ROOT/<path>"` in a `shell`
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
and
|
|
2305
|
-
from anywhere else, so an agent
|
|
2360
|
+
defined where ww reads its configuration and applied in the worktree. A
|
|
2361
|
+
check's command runs in the step's directory against its change set. The
|
|
2362
|
+
files the check declares are looked up where ww reads its configuration and
|
|
2363
|
+
reached as `{{ww.root}}/<path>` (or `"$WW_ROOT/<path>"` in a `shell`
|
|
2364
|
+
source); a check that declares files without naming that directory is
|
|
2365
|
+
refused. A page whose working directory differs from that directory names it
|
|
2366
|
+
and tells the agent to read ww's configuration there. `ww rules` shows rule
|
|
2367
|
+
files by their absolute path there when run from anywhere else, so an agent
|
|
2368
|
+
never opens a worktree's older copy.
|
|
2306
2369
|
|
|
2307
2370
|
### In the artifact
|
|
2308
2371
|
|
|
@@ -2332,7 +2395,7 @@ check may cover many rules, the usual case for an ecosystem tool such as
|
|
|
2332
2395
|
deptrac, PHPStan, import-linter, ruff, or eslint, whose one configuration
|
|
2333
2396
|
expresses several rules. When a step begins, each of its rules without a
|
|
2334
2397
|
command is settled once: `converted`, checked by its store check while the
|
|
2335
|
-
check's configuration files exist
|
|
2398
|
+
check's configuration files exist where ww reads its configuration, or `judged`. A store written by an earlier
|
|
2336
2399
|
ww may still hold the interim entries verifiers once wrote inside tasks, such
|
|
2337
2400
|
as an approach or a proposed check; ww reads them, and their rules are judged.
|
|
2338
2401
|
|
|
@@ -2443,11 +2506,14 @@ verification, by `ww-scriptize-rules` or by hand:
|
|
|
2443
2506
|
./ww rules decline docs/tone --reason "A matter of review."
|
|
2444
2507
|
```
|
|
2445
2508
|
|
|
2446
|
-
A check's `--config` files are read
|
|
2447
|
-
runs in the step's directory, which may be a worktree of an
|
|
2448
|
-
|
|
2449
|
-
in a `--check-shell` source), and a check with
|
|
2450
|
-
is refused.
|
|
2509
|
+
A check's `--config` files are read where ww reads its configuration, while
|
|
2510
|
+
its command runs in the step's directory, which may be a worktree of an
|
|
2511
|
+
older branch. The command reaches them as `{{ww.root}}/<path>` (or
|
|
2512
|
+
`"$WW_ROOT/<path>"` in a `--check-shell` source), and a check with
|
|
2513
|
+
`--config` that does neither is refused. In a Git project, tasks read
|
|
2514
|
+
configuration from a commit, so `--config` refuses a file that Git ignores.
|
|
2515
|
+
The check runs in tasks once it and its files are committed on `config_ref`;
|
|
2516
|
+
in a running task, it runs after `ww config refresh`.
|
|
2451
2517
|
|
|
2452
2518
|
`--check-argv -- <arg>...` goes last: everything after `--` is the check's
|
|
2453
2519
|
argv, so the tool's own options, such as `--configuration` or `--select E`,
|
|
@@ -2670,8 +2736,10 @@ it chose instead. `{{ww.project.name}}` is that project's name
|
|
|
2670
2736
|
and `{{ww.project.dir}}` its directory, both empty for a task in the root;
|
|
2671
2737
|
`{{ww.project.dir}}` keeps pointing at the project even after a worktree moves
|
|
2672
2738
|
the task workspace. `{{ww.project.names}}` lists every configured project name, joined
|
|
2673
|
-
by commas. `{{ww.root}}` is the
|
|
2674
|
-
|
|
2739
|
+
by commas. `{{ww.root}}` is the directory ww reads its configuration from:
|
|
2740
|
+
in a Git project, the read-only copy of the task's
|
|
2741
|
+
[commit of `config_ref`](#configuration-read-from-a-commit), otherwise the
|
|
2742
|
+
project root; never a task worktree. `{{ww.executable}}` is how the commands ww prints invoke ww, `./ww`
|
|
2675
2743
|
or the configured [`executable`](#choosing-the-ww-binary), so a step's text can
|
|
2676
2744
|
name a ww command as ww's own pages do: ``Run `{{ww.executable}} onboarding` ``.
|
|
2677
2745
|
Values under `{{ww.<namespace>.*}}` come from a configured extension, such
|
{ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/documentation/limitations.md
RENAMED
|
@@ -88,12 +88,18 @@ fails loudly rather than hanging.
|
|
|
88
88
|
|
|
89
89
|
## Configuration authority
|
|
90
90
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
91
|
+
A task never reads configuration from its git worktree. Its worktree's
|
|
92
|
+
`ww.yaml`, `ww.json`, or imports do not take effect, for itself or for the
|
|
93
|
+
child tasks it launches; a copy that differs is only flagged on the task's
|
|
94
|
+
instruction pages. In a Git project tasks read the configuration committed on
|
|
95
|
+
`config_ref` (the ww/git default base branch unless set), pinned to the
|
|
96
|
+
commit at which each run started: commit a configuration change there, then
|
|
97
|
+
run `ww config refresh <task>` for running tasks. Uncommitted edits in the
|
|
98
|
+
primary checkout reach only the commands that edit the configuration, and
|
|
99
|
+
the untracked `ww.local.*` files. Checks cannot use untracked tooling such
|
|
100
|
+
as `node_modules` or a virtualenv through `WW_ROOT`; they find tools on
|
|
101
|
+
`PATH` or in the step's directory. Without Git, configuration is read from
|
|
102
|
+
the primary checkout.
|
|
97
103
|
|
|
98
104
|
## Storage
|
|
99
105
|
|
{ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/documentation/specification.md
RENAMED
|
@@ -20,8 +20,10 @@ 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.root}}` (the
|
|
24
|
-
|
|
23
|
+
`{{ww.project.dir}}`, `{{ww.project.names}}`, `{{ww.root}}` (the directory
|
|
24
|
+
ww reads its configuration from: in a Git project the read-only copy of the
|
|
25
|
+
task's commit of `config_ref`, otherwise the project root; never a task
|
|
26
|
+
worktree),
|
|
25
27
|
`{{ww.executable}}` (how
|
|
26
28
|
printed commands invoke ww: `./ww` or the configured `executable`),
|
|
27
29
|
`{{ww.documents.<name>}}`,
|
|
@@ -167,6 +169,25 @@ Projects, the directories a task may work in, are configured in
|
|
|
167
169
|
`ww.json` rather than here because their locations differ per
|
|
168
170
|
machine; see the features guide.
|
|
169
171
|
|
|
172
|
+
### Configuration read from a commit
|
|
173
|
+
|
|
174
|
+
In a Git project the repo level is read from a commit rather than from the
|
|
175
|
+
checkout. The commit is the one `config_ref` in `ww.json` names, by default the ww/git
|
|
176
|
+
`base_branches.default`. ww copies `ww.yaml`, `ww.json`,
|
|
177
|
+
`ww-rule-automation.json`, their imports, the rule files and directories
|
|
178
|
+
they declare, and every committed file a check reaches as
|
|
179
|
+
`{{ww.root}}/<path>` or `$WW_ROOT/<path>` into the read-only directory
|
|
180
|
+
`.ww/config/<sha>/`, which `{{ww.root}}` and `WW_ROOT` then name. A run
|
|
181
|
+
records the commit it starts with and reads it until it ends; `ww config
|
|
182
|
+
refresh <task>` moves it to the ref's current commit. Commands outside a
|
|
183
|
+
task read the ref's current commit. Commands that edit the configuration
|
|
184
|
+
read the checkout. `config_ref` itself and the local level (`ww.local.yaml`,
|
|
185
|
+
`ww.local.json`) are always read from the checkout, and the local level
|
|
186
|
+
applies on top of the copy. Without Git, with `config_ref: false`, or when the
|
|
187
|
+
ref's commit has no `ww.yaml`, the repo level is read from the checkout. An
|
|
188
|
+
explicit `config_ref` that names no commit is an error. Files that a step's
|
|
189
|
+
text only mentions are not copied.
|
|
190
|
+
|
|
170
191
|
## Setup fragments
|
|
171
192
|
|
|
172
193
|
`ww setup apply <file> --for me|team` places configuration a setup skill
|
|
@@ -302,8 +323,11 @@ off by name; a same-named workflow in a YAML configuration replaces the bundled
|
|
|
302
323
|
one. `executable` selects the command printed for the project and run by the
|
|
303
324
|
`./ww` launcher. `runtime` defaults `start` when neither the command nor the
|
|
304
325
|
workflow sets one. `update_check` controls update notices. `debug` and
|
|
305
|
-
`feedback` enable the optional local run reports. `
|
|
306
|
-
|
|
326
|
+
`feedback` enable the optional local run reports. `config_ref` names the Git
|
|
327
|
+
ref whose committed configuration tasks read, defaulting to the ww/git default
|
|
328
|
+
base branch, or is `false` to read the checkout (see
|
|
329
|
+
[Configuration read from a commit](#configuration-read-from-a-commit)).
|
|
330
|
+
`task_format` controls generated task IDs, `rules` configures check guidance, `projects` lists
|
|
307
331
|
available project directories, and `extensions` holds extension settings.
|
|
308
332
|
Missing keys retain their defaults; the following example shows the complete
|
|
309
333
|
shape written by `init`:
|
|
@@ -1428,7 +1452,7 @@ Controllers must not instantiate services; inject them.
|
|
|
1428
1452
|
| `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>"`. |
|
|
1429
1453
|
| `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>"`. |
|
|
1430
1454
|
| `contains` | — | Refused: the error names `contains_in_file` and `contains_in_diff`. |
|
|
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
|
|
1455
|
+
| `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 where ww reads its configuration, the check is unavailable (see [Running checks](#running-checks)). A check with `files` must reach them there, 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. |
|
|
1432
1456
|
| `max_fixes` | positive integer | Rejections this check allows; defaults to `limits.fixes` in `ww.json` (3). |
|
|
1433
1457
|
| `agent`, `model`, `reasoning` | string | The worker that verifies the rule; see [Verifying rules without a command](#verifying-rules-without-a-command). |
|
|
1434
1458
|
|
|
@@ -1517,12 +1541,15 @@ the check's `paths`. A check fails on a non-zero exit or a failed assertion.
|
|
|
1517
1541
|
In a shell check, a bare `$WW_STEP_CHANGED_FILES` splits on whitespace, so a
|
|
1518
1542
|
path containing a space needs `printf '%s\n' "$WW_STEP_CHANGED_FILES" | xargs -d '\n'`;
|
|
1519
1543
|
an `argv` check receives the variable in its environment only. Each also sees
|
|
1520
|
-
`WW_ROOT`, the
|
|
1521
|
-
|
|
1522
|
-
|
|
1544
|
+
`WW_ROOT`, the directory ww reads its configuration from (see
|
|
1545
|
+
[Configuration read from a commit](#configuration-read-from-a-commit)): a
|
|
1546
|
+
check is defined there and applied in the step's directory, so its own files
|
|
1547
|
+
are read there even when the step works in a Git worktree of an older branch.
|
|
1548
|
+
A check gets its tools from `PATH` or the step's directory. `WW_ROOT` holds
|
|
1549
|
+
only committed files.
|
|
1523
1550
|
|
|
1524
1551
|
A check that cannot run is `unavailable`, never failed: a file its `files`
|
|
1525
|
-
lists is missing
|
|
1552
|
+
lists is missing where ww reads its configuration (tested before the command runs),
|
|
1526
1553
|
the command could not be launched (an `argv` program that does not exist),
|
|
1527
1554
|
or the shell exited 126 or 127 because the program was not found or not
|
|
1528
1555
|
executable. The result carries the reason. An unavailable check rejects no
|
|
@@ -1611,7 +1638,10 @@ written by an earlier ww may still hold `auto`.
|
|
|
1611
1638
|
checks and what is known about each rule wording. It is meant to be
|
|
1612
1639
|
committed; ww writes it under its own lock, only for the operator's `rules`
|
|
1613
1640
|
commands, and leaves it out of every change set. Verification never edits
|
|
1614
|
-
it, YAML, or rule files; only the operator's `rules` write commands do.
|
|
1641
|
+
it, YAML, or rule files; only the operator's `rules` write commands do. The
|
|
1642
|
+
operator's commands write it in the checkout. In a Git project, tasks read the
|
|
1643
|
+
copy committed on `config_ref`, so a recorded check reaches tasks once the
|
|
1644
|
+
store is committed there.
|
|
1615
1645
|
|
|
1616
1646
|
```json
|
|
1617
1647
|
{
|
|
@@ -1667,7 +1697,7 @@ or `schema_version` is an error.
|
|
|
1667
1697
|
| `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. |
|
|
1668
1698
|
| `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. |
|
|
1669
1699
|
| `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. |
|
|
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
|
|
1700
|
+
| `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, with a `..` part, or ignored by Git; 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. |
|
|
1671
1701
|
| `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`. |
|
|
1672
1702
|
| `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. |
|
|
1673
1703
|
| `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,8 +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`,
|
|
34
|
-
|
|
33
|
+
- Read ww's configuration (`ww.yaml`, `ww.json`, rule files, checks) only at the paths a page gives
|
|
34
|
+
or through `$WW_ROOT`; never in a task's worktree, which may hold another copy, or `.ww/config/`.
|
|
35
35
|
- For handler repair, fix the cause and complete with an artifact; ww retries it. In `auto`, the manager dispatches repairs with `next`.
|
|
36
36
|
- On an `interactive: true` step, converse in the operator session and finish on clear contextual
|
|
37
37
|
intent; ask if it is ambiguous ("done for today" means pause). Record both sides and end the
|
|
@@ -46,5 +46,4 @@ To continue a task, run `./ww instruction <task-id> --role manager` (a resuming
|
|
|
46
46
|
(dependency installation, formatting, retries) covers such stops; ask only for a material decision.
|
|
47
47
|
- In an items context, resolve and report each item explicitly; report only after its outcome was sent.
|
|
48
48
|
- Relay feedback-deduction suggestions after completion; rule approval and pruning are separate follow-ups.
|
|
49
|
-
- When a start page says ww collects debug or feedback info, tell the operator once
|
|
50
|
-
mention it again; never offer to send it.
|
|
49
|
+
- When a start page says ww collects debug or feedback info, tell the operator once; never mention it again or offer to send it.
|
|
@@ -417,8 +417,9 @@ workflows:
|
|
|
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
419
|
the main checkout's absolute path; a rule's check that declares
|
|
420
|
-
`files` reaches them
|
|
421
|
-
in `argv` or `"$WW_ROOT/<path>"` in a `shell`
|
|
420
|
+
`files` reaches them where ww reads its configuration, as
|
|
421
|
+
`{{ww.root}}/<path>` in `argv` or `"$WW_ROOT/<path>"` in a `shell`
|
|
422
|
+
source, and they must be committed, never ignored by Git. Write it as a setup fragment to
|
|
422
423
|
{{ww.documents.setup_proposal}} (the root keys `workflows`, `modes`,
|
|
423
424
|
`documents`, `handlers`, `hooks`, `rules` and `settings`; rules as
|
|
424
425
|
literal sentences in the `rules` lists of the steps they govern). A
|
|
@@ -7,9 +7,11 @@
|
|
|
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 while its configuration files exist
|
|
11
|
-
#
|
|
12
|
-
#
|
|
10
|
+
# only while its configuration files exist where ww reads its configuration,
|
|
11
|
+
# in a Git project the commit of its configured branch, so tasks pick it up
|
|
12
|
+
# once the branch is merged and the store committed there, also tasks in
|
|
13
|
+
# worktrees of older branches, since the command reaches its files as
|
|
14
|
+
# `{{ww.root}}/<path>`.
|
|
13
15
|
workflows:
|
|
14
16
|
- name: ww-scriptize-rules
|
|
15
17
|
description: >-
|
|
@@ -80,11 +82,15 @@ workflows:
|
|
|
80
82
|
every command follows the `check_guidance` and the project's
|
|
81
83
|
command convention. ww runs it in the step's directory, which
|
|
82
84
|
may be a worktree of an older branch without this run's files,
|
|
83
|
-
and reads its files
|
|
85
|
+
and reads its files where ww reads its configuration, a
|
|
86
|
+
read-only copy of the committed files: the command reaches
|
|
84
87
|
each of them, its script, its tool's configuration, its baseline,
|
|
85
88
|
as `{{ww.root}}/<path>` in `argv`, `args` or `env`, or as
|
|
86
89
|
`"$WW_ROOT/<path>"` in a `shell` source, and never by a path
|
|
87
|
-
relative to this directory.
|
|
90
|
+
relative to this directory. Only committed files are there:
|
|
91
|
+
the tool itself, installed under an ignored directory such as
|
|
92
|
+
`node_modules` or a virtual environment, runs from `PATH` or
|
|
93
|
+
this directory, never through `{{ww.root}}`. Every check reads the files the step changed
|
|
88
94
|
from `WW_STEP_CHANGED_FILES`, newline-separated, relative to
|
|
89
95
|
this directory and already narrowed to its rules' globs and
|
|
90
96
|
`contains_in_file` or `contains_in_diff` strings, and examines
|
|
@@ -153,7 +159,9 @@ workflows:
|
|
|
153
159
|
that file in the main checkout, on the integration branch,
|
|
154
160
|
together with or right after merging this run's branch: until
|
|
155
161
|
then `is-git-clean` refuses the next task's start. The checks
|
|
156
|
-
run in tasks once their config files
|
|
157
|
-
|
|
158
|
-
|
|
162
|
+
run in tasks once their config files and that file are
|
|
163
|
+
committed on the branch ww reads its configuration from, the
|
|
164
|
+
integration branch; from then on they apply in every task
|
|
165
|
+
started after, also one in a worktree of an older branch, and
|
|
166
|
+
in a running one after `ww config refresh`. The
|
|
159
167
|
artifact lists what was recorded.
|
|
@@ -26,9 +26,11 @@ 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 once their configuration files
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
checks run in tasks once their configuration files are committed on the
|
|
30
|
+
branch ww reads its configuration from, so once this run's branch is
|
|
31
|
+
merged there and `ww-rule-automation.json` committed, and then in every
|
|
32
|
+
task started after, also one in a worktree of an older branch such as a
|
|
33
|
+
hotfix (a running task after `./ww config refresh <task>`); and that `./ww rules convert` and
|
|
32
34
|
`./ww rules decline` wrote `ww-rule-automation.json` at the project root,
|
|
33
35
|
in the main checkout: they commit it there, on the integration branch,
|
|
34
36
|
together with or right after merging this run's branch. Until then the
|
{ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/assets/ww_skill.md
RENAMED
|
@@ -59,10 +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. ww's
|
|
63
|
-
(`ww.yaml`, `ww.json`,
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
`ww.yaml` or ww's source to work out what to do next. Read ww's
|
|
63
|
+
configuration (`ww.yaml`, `ww.json`, rule files, checks) only at the paths
|
|
64
|
+
a page gives or through `$WW_ROOT`, never in a task's worktree, whose
|
|
65
|
+
branch may hold another copy or none, and never browse `.ww/config/`. For a handler repair
|
|
66
66
|
assignment, fix the cause and complete with an artifact; ww retries the
|
|
67
67
|
command. In `auto`, the manager dispatches the repair with `next`. When
|
|
68
68
|
ww reports `awaiting_operator` (a failed handler or work, an interrupted
|
{ww_agentic_workflows-1.0.0.dev14 → ww_agentic_workflows-1.0.0.dev15}/src/ww/cli/discover.py
RENAMED
|
@@ -157,7 +157,7 @@ def discover(storage: Storage, extensions: ExtensionRegistry) -> dict[str, objec
|
|
|
157
157
|
"guidance": _onboarding_guidance(onboarding, on_request=config.on_request),
|
|
158
158
|
},
|
|
159
159
|
# Declared rules no check covers yet; never a reason not to start.
|
|
160
|
-
"rules_notice": _rules_notice(configuration, storage.
|
|
160
|
+
"rules_notice": _rules_notice(configuration, storage.config_root),
|
|
161
161
|
"projects": [
|
|
162
162
|
{
|
|
163
163
|
**project.to_dict(),
|