yaga-cli 0.6.0__tar.gz → 0.7.0__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.
- yaga_cli-0.7.0/.github/dependabot.yml +48 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.github/workflows/ci.yml +60 -22
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.github/workflows/commit-adoption-qualification.yml +6 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.github/workflows/commit-policy.yml +10 -9
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.github/workflows/native-action-distribution.yml +1 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.github/workflows/pr-review.yml +1 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.github/workflows/release.yml +11 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.yaga/tree-policy.toml +4 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/CONTRIBUTING.md +77 -61
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/Cargo.lock +45 -192
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/Cargo.toml +2 -2
- yaga_cli-0.7.0/Makefile +47 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/PKG-INFO +1 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/SECURITY.md +3 -2
- yaga_cli-0.7.0/_typos.toml +2 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/action.yml +8 -8
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/Cargo.toml +1 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/assets/install.ps1 +12 -6
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/action.rs +61 -9
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/completion/runtime/tests.rs +3 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/completion/runtime.rs +16 -9
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/gate.rs +8 -13
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/main.rs +2 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/policy/selector.rs +4 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/presentation/catalog.rs +63 -14
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/presentation/help.json +2 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/presentation/usage_error.rs +68 -12
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/repo/reports.rs +33 -4
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/self_manage/release.rs +5 -3
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/self_manage.rs +32 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/triage.rs +4 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/tests/cli_presentation.rs +92 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/tests/commit_and_config.rs +81 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/tests/pr_review_triage_and_desc.rs +38 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/tests/test_planning_and_action.rs +251 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/Cargo.toml +31 -16
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/README.md +18 -5
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/github/boundary.rs +1 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/github/gate.rs +150 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/github/publication_tests.rs +7 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/github/runtime.rs +33 -22
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/github/tests.rs +20 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/mod.rs +1 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/branch/mod.rs +19 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/branch/policy.rs +9 -15
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/branch/tests.rs +1 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/config.rs +9 -12
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/mod.rs +6 -5
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/starter.rs +7 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/tests.rs +2 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/descriptions/checker.rs +1 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/descriptions/mod.rs +1 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/descriptions/policy.rs +6 -6
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/fs.rs +13 -3
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/gh.rs +106 -17
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/git/process.rs +36 -3
- yaga_cli-0.7.0/crates/yaga-core/src/git/tests.rs +432 -0
- yaga_cli-0.7.0/crates/yaga-core/src/git/unix.rs +83 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/git/windows.rs +1 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/lib.rs +9 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/paths/changes.rs +3 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/paths/modes.rs +3 -3
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/paths/portability.rs +7 -3
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/paths/records.rs +4 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/paths/sizes.rs +3 -3
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/paths/tree.rs +1 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/audit.rs +96 -59
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/init.rs +2 -59
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/mod.rs +72 -4
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/testing.rs +46 -4
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/tests.rs +128 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/quality/bedrock.rs +133 -8
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/repository/mod.rs +6 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/repository/plan.rs +46 -7
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/repository/tests.rs +61 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/review/mod.rs +3 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/review/service.rs +2 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/review/snapshot.rs +13 -4
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/review/tests.rs +24 -5
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/test_planning/decode.rs +40 -8
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/test_planning/diagnostics.rs +4 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/test_planning/mod.rs +15 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/test_planning/report.rs +3 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/test_planning/selection.rs +93 -28
- yaga_cli-0.7.0/crates/yaga-core/src/test_planning/tests.rs +663 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/timestamp.rs +3 -7
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/triage/mod.rs +4 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/triage/remote.rs +3 -3
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/typos.rs +9 -30
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/workflows/mod.rs +15 -4
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/workflows/tests.rs +1 -0
- yaga_cli-0.7.0/crates/yaga-core/tests/core_api.rs +336 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/agent-review-gate.md +6 -4
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/branch-policy.md +6 -5
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/change-policy.md +4 -4
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/changelog.md +71 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/ci-adoption.md +9 -5
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/commands.md +9 -7
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/commit-policy.md +6 -5
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/commit-quality.md +2 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/configuration.md +29 -18
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/contributing.md +4 -3
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/designs/examples/test-planning/django-ray.toml +1 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/designs/examples/test-planning/polyglot.toml +1 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/designs/experiments/django-ray-shadow-replay.md +16 -13
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/designs/staged-checks.md +2 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/designs/test-planning.md +70 -63
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/getting-started.md +17 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/github-actions.md +5 -5
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/github-review-adapter.md +1 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/install.ps1 +12 -6
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/mode-policy.md +5 -3
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/path-policy.md +5 -4
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/pull-request-triage.md +4 -4
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/recipes.md +10 -10
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/releasing.md +6 -4
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/size-policy.md +5 -4
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/test-planning-handoff.md +95 -89
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/test-planning.md +27 -16
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/tree-policy.md +6 -3
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/usage.md +15 -11
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/pyproject.toml +1 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/scripts/check_build.py +54 -7
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/scripts/check_description.py +21 -3
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/scripts/check_native.py +12 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/scripts/check_release.py +18 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/scripts/native_wheel.py +8 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/scripts/release_wheels.py +56 -43
- yaga_cli-0.7.0/tests/test_action_runtime.py +308 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/tests/test_description.py +21 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/tests/test_launcher.py +61 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/tests/test_macos_release_wheels.py +39 -37
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/tests/test_native_installers.py +49 -6
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/tests/test_release.py +33 -2
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/tests/test_release_wheel_images.py +75 -52
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/uv.lock +1 -1
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/zensical.toml +1 -0
- yaga_cli-0.6.0/.github/dependabot.yml +0 -11
- yaga_cli-0.6.0/Makefile +0 -43
- yaga_cli-0.6.0/_typos.toml +0 -6
- yaga_cli-0.6.0/crates/yaga-core/src/git/tests.rs +0 -214
- yaga_cli-0.6.0/crates/yaga-core/src/git/unix.rs +0 -55
- yaga_cli-0.6.0/crates/yaga-core/src/test_planning/tests.rs +0 -257
- yaga_cli-0.6.0/crates/yaga-core/tests/core_api.rs +0 -190
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.gitattributes +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.github/workflows/docs.yml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.github/workflows/pr-review-wake.yml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.gitignore +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.pre-commit-hooks.yaml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.yaga/agent-review-policy.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.yaga/branch-policy.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.yaga/change-policy.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.yaga/checks/ci.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.yaga/description-policy.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.yaga/mode-policy.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.yaga/path-policy.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.yaga/size-policy.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/.yaga/triage-policy.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/AGENTS.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/CHANGELOG.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/LICENSE +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/README.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/README.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/LICENSE +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/README.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/assets/install.sh +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/action/cli.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/action/summary.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/change.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/commit/quality.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/commit.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/commit_report.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/completion.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/config.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/description.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/github_commit.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/policy.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/presentation/arguments.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/presentation/completion.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/presentation/mod.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/repo/inspect.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/repo.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/review.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/self_update_worker.ps1 +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/test.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/trees/reports.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/trees.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/src/workflow.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/tests/commit_policy_errors.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/tests/committed_tree_and_change.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/tests/common/mod.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/tests/repository_inspect.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-cli/tests/workflow_and_repo.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/LICENSE +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/build.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/actionlint/cleanup/tests.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/actionlint/cleanup.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/actionlint/embedded/tests.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/actionlint/embedded.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/actionlint/mod.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/actionlint/runtime.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/actionlint/snapshot.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/actionlint/tests.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/github/api.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/github/candidate.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/github/events.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/github/evidence.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/github/mod.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/github/publication.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/github/requests.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/github/runs.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/agent_review/results.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/branch/patterns.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/branch/reporting.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/cli_action.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commit_source.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/authoring.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/checker.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/content.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/glob.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/parser.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/policy.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/reporting.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/starters/complete-message-v1.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/starters/plain-v1.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/starters/recommended-v1.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/starters/title-v1.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/unicode.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/commits/validate.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/completion/yaga.bash +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/completion/yaga.fish +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/completion/yaga.ps1 +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/completion/yaga.zsh +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/completion.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/descriptions/markdown.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/descriptions/sources.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/fs/user_path.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/git/metadata.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/git/mod.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/git/selection.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/github_commit/dependabot.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/github_commit/event.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/github_commit/github-keyring.gpg +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/github_commit/mod.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/github_commit/signature.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/github_commit/tests.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/json.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/paths/mod.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/paths/policy.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/paths/tests.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/catalog.tsv +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/selector.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/starters/agent-review.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/starters/branch.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/starters/change.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/starters/description.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/starters/mode.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/starters/path.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/starters/size.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/starters/test.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/starters/tree.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/starters/triage.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/policies/triage.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/quality/hosted/tests.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/quality/hosted.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/quality/mod.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/quality/report.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/repository/inspection.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/review/evaluate.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/review/evidence.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/review/markers.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/review/remote.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/test_planning/evaluation.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/test_planning/handoff.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/text.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/triage/publication.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/triage/snapshot.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/triage/tests.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/version.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/workflows/facts.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/workflows/inputs.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/workflows/inspect.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/workflows/references.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/workflows/security.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/workflows/tags.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/src/workflows/yaml.rs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/tests/fixtures/actionlint_client.sh +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/tests/fixtures/commit_consumer_parity.json +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/crates/yaga-core/tests/fixtures/github-signatures/dependabot-urllib3.commit +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/assets/branding/isometric_terminal_y_logo.png +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/assets/branding/isometric_terminal_y_logo_transparent.png +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/assets/branding/yaga_cli_brand_concept_board.png +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/commit-policy-direction.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/designs/experiments/django-ray-full-shadow-result.json +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/designs/experiments/django-ray-shadow-replay/cohort.json +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/designs/experiments/django-ray-shadow-replay/observations-01.json +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/designs/experiments/django-ray-shadow-replay/observations-02.json +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/designs/experiments/django-ray-shadow-replay/observations-03.json +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/designs/experiments/django-ray-shadow-replay/observations-04.json +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/designs/experiments/django-ray-shadow-replay/observations-05.json +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/designs/experiments/django-ray-shadow-replay/observations-06.json +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/designs/experiments/django-ray-shadow-replay/report.json +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/index.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/install.sh +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/minimum-runtime.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/pull-request-descriptions.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/repository-checks.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/repository-plans.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/security.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/stylesheets/extra.css +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/troubleshooting.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/docs/workflow-checks.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/examples/agent-review-policy.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/examples/agent-review-results.json +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/examples/agent-review.yml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/examples/commit-policy.yml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/examples/description-policy.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/examples/pr-review.yml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/examples/pull-request-template.md +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/examples/review-policy.yml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/examples/triage-policy.toml +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/hatch_build.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/overrides/404.html +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/scripts/action-runtime.cjs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/scripts/check_action_distribution.cjs +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/scripts/check_docs.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/scripts/native_release.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/scripts/prepare_commit_action_control.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/scripts/release_images.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/src/yaga/__init__.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/src/yaga/__main__.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/src/yaga/_update_worker.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/src/yaga/entrypoint.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/src/yaga/self_update.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/tests/__init__.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/tests/conftest.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/tests/test_build_git_isolation.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/tests/test_commit_action_controls.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/tests/test_docs_links.py +0 -0
- {yaga_cli-0.6.0 → yaga_cli-0.7.0}/tests/test_standalone_images.py +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
- package-ecosystem: github-actions
|
|
4
|
+
directory: /
|
|
5
|
+
schedule:
|
|
6
|
+
interval: weekly
|
|
7
|
+
cooldown:
|
|
8
|
+
default-days: 7
|
|
9
|
+
commit-message:
|
|
10
|
+
prefix: ci
|
|
11
|
+
include: scope
|
|
12
|
+
|
|
13
|
+
- package-ecosystem: cargo
|
|
14
|
+
directory: /
|
|
15
|
+
schedule:
|
|
16
|
+
interval: weekly
|
|
17
|
+
versioning-strategy: increase-if-necessary
|
|
18
|
+
open-pull-requests-limit: 5
|
|
19
|
+
cooldown:
|
|
20
|
+
default-days: 7
|
|
21
|
+
commit-message:
|
|
22
|
+
prefix: build
|
|
23
|
+
include: scope
|
|
24
|
+
groups:
|
|
25
|
+
aws-sdk:
|
|
26
|
+
patterns:
|
|
27
|
+
- "aws-*"
|
|
28
|
+
rust-dependencies:
|
|
29
|
+
update-types:
|
|
30
|
+
- minor
|
|
31
|
+
- patch
|
|
32
|
+
exclude-patterns:
|
|
33
|
+
- "aws-*"
|
|
34
|
+
|
|
35
|
+
- package-ecosystem: uv
|
|
36
|
+
directory: /
|
|
37
|
+
schedule:
|
|
38
|
+
interval: weekly
|
|
39
|
+
versioning-strategy: increase-if-necessary
|
|
40
|
+
open-pull-requests-limit: 5
|
|
41
|
+
cooldown:
|
|
42
|
+
default-days: 7
|
|
43
|
+
commit-message:
|
|
44
|
+
prefix: build
|
|
45
|
+
include: scope
|
|
46
|
+
groups:
|
|
47
|
+
python-dev-dependencies:
|
|
48
|
+
dependency-type: development
|
|
@@ -18,21 +18,22 @@ jobs:
|
|
|
18
18
|
yaga-checks:
|
|
19
19
|
name: YAGA Checks (branch, change, policy, repo)
|
|
20
20
|
runs-on: ubuntu-latest
|
|
21
|
-
timeout-minutes:
|
|
21
|
+
timeout-minutes: 20
|
|
22
22
|
steps:
|
|
23
23
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
24
24
|
with:
|
|
25
25
|
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
|
|
26
26
|
fetch-depth: 0
|
|
27
27
|
persist-credentials: false
|
|
28
|
-
- name:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
- name: Install pinned Typos CLI
|
|
29
|
+
run: |
|
|
30
|
+
curl --fail --silent --show-error --location \
|
|
31
|
+
https://github.com/crate-ci/typos/releases/download/v1.50.2/typos-v1.50.2-x86_64-unknown-linux-musl.tar.gz \
|
|
32
|
+
--output "$RUNNER_TEMP/typos.tar.gz"
|
|
33
|
+
echo "abcb3e257c7c2abeff4d903f7fe68071357637605bdb283ce2251f44bc70dc09 $RUNNER_TEMP/typos.tar.gz" | sha256sum --check
|
|
34
|
+
mkdir -p "$RUNNER_TEMP/typos-bin"
|
|
35
|
+
tar -xzf "$RUNNER_TEMP/typos.tar.gz" -C "$RUNNER_TEMP/typos-bin" ./typos
|
|
36
|
+
echo "$RUNNER_TEMP/typos-bin" >> "$GITHUB_PATH"
|
|
36
37
|
- name: Check pull-request branch name
|
|
37
38
|
if: github.event_name == 'pull_request'
|
|
38
39
|
uses: ./
|
|
@@ -84,16 +85,17 @@ jobs:
|
|
|
84
85
|
with:
|
|
85
86
|
enable-cache: true
|
|
86
87
|
version: "0.13.0"
|
|
87
|
-
- name: Cache Typos registry
|
|
88
|
-
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
89
|
-
with:
|
|
90
|
-
path: ~/.cargo/registry
|
|
91
|
-
key: yaga-typos-${{ runner.os }}-1.49.0
|
|
92
|
-
restore-keys: yaga-typos-${{ runner.os }}-
|
|
93
88
|
- name: Install the wheel build toolchain
|
|
94
89
|
run: rustup toolchain install "$RUSTUP_TOOLCHAIN" --profile minimal
|
|
95
|
-
- name: Install Typos CLI
|
|
96
|
-
run:
|
|
90
|
+
- name: Install pinned Typos CLI
|
|
91
|
+
run: |
|
|
92
|
+
curl --fail --silent --show-error --location \
|
|
93
|
+
https://github.com/crate-ci/typos/releases/download/v1.50.2/typos-v1.50.2-x86_64-unknown-linux-musl.tar.gz \
|
|
94
|
+
--output "$RUNNER_TEMP/typos.tar.gz"
|
|
95
|
+
echo "abcb3e257c7c2abeff4d903f7fe68071357637605bdb283ce2251f44bc70dc09 $RUNNER_TEMP/typos.tar.gz" | sha256sum --check
|
|
96
|
+
mkdir -p "$RUNNER_TEMP/typos-bin"
|
|
97
|
+
tar -xzf "$RUNNER_TEMP/typos.tar.gz" -C "$RUNNER_TEMP/typos-bin" ./typos
|
|
98
|
+
echo "$RUNNER_TEMP/typos-bin" >> "$GITHUB_PATH"
|
|
97
99
|
- run: uv sync --frozen --group dev --python 3.12
|
|
98
100
|
- run: uv run --frozen --python 3.12 ruff check .
|
|
99
101
|
- run: uv run --frozen --python 3.12 ruff format --check .
|
|
@@ -151,14 +153,47 @@ jobs:
|
|
|
151
153
|
shell: bash
|
|
152
154
|
run: |
|
|
153
155
|
rustup toolchain install "$RUSTUP_TOOLCHAIN" --profile minimal --component clippy --component rustfmt
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
- name: Install pinned Typos CLI (Linux)
|
|
157
|
+
if: runner.os == 'Linux'
|
|
158
|
+
shell: bash
|
|
159
|
+
run: |
|
|
160
|
+
curl --fail --silent --show-error --location \
|
|
161
|
+
https://github.com/crate-ci/typos/releases/download/v1.50.2/typos-v1.50.2-x86_64-unknown-linux-musl.tar.gz \
|
|
162
|
+
--output "$RUNNER_TEMP/typos.tar.gz"
|
|
163
|
+
echo "abcb3e257c7c2abeff4d903f7fe68071357637605bdb283ce2251f44bc70dc09 $RUNNER_TEMP/typos.tar.gz" | sha256sum --check
|
|
164
|
+
mkdir -p "$RUNNER_TEMP/typos-bin"
|
|
165
|
+
tar -xzf "$RUNNER_TEMP/typos.tar.gz" -C "$RUNNER_TEMP/typos-bin" ./typos
|
|
166
|
+
echo "$RUNNER_TEMP/typos-bin" >> "$GITHUB_PATH"
|
|
167
|
+
- name: Install pinned Typos CLI (Windows)
|
|
168
|
+
if: runner.os == 'Windows'
|
|
169
|
+
shell: pwsh
|
|
170
|
+
run: |
|
|
171
|
+
$ErrorActionPreference = 'Stop'
|
|
172
|
+
$archive = Join-Path $env:RUNNER_TEMP 'typos.zip'
|
|
173
|
+
$dest = Join-Path $env:RUNNER_TEMP 'typos-bin'
|
|
174
|
+
Invoke-WebRequest -UseBasicParsing `
|
|
175
|
+
-Uri 'https://github.com/crate-ci/typos/releases/download/v1.50.2/typos-v1.50.2-x86_64-pc-windows-msvc.zip' `
|
|
176
|
+
-OutFile $archive
|
|
177
|
+
$hash = (Get-FileHash -LiteralPath $archive -Algorithm SHA256).Hash.ToLowerInvariant()
|
|
178
|
+
if ($hash -cne '8474ca8bd72df497b7dee2272345bdea0d4926b18b708faea492fc9bcfd0b0e9') {
|
|
179
|
+
throw "typos archive checksum mismatch: $hash"
|
|
180
|
+
}
|
|
181
|
+
Expand-Archive -LiteralPath $archive -DestinationPath $dest -Force
|
|
182
|
+
if (-not (Test-Path -LiteralPath (Join-Path $dest 'typos.exe') -PathType Leaf)) {
|
|
183
|
+
throw 'typos.exe missing from archive'
|
|
184
|
+
}
|
|
185
|
+
Add-Content -LiteralPath $env:GITHUB_PATH -Value $dest
|
|
159
186
|
- run: uv sync --frozen --group dev --python 3.12
|
|
160
187
|
- name: Qualify the Rust library, standalone CLI, platform wheel, and packaging tests
|
|
161
188
|
run: uv run --frozen --python 3.12 python scripts/check_native.py
|
|
189
|
+
- name: Verify Windows MSRV 1.99.0 fallback compilation
|
|
190
|
+
if: matrix.os == 'windows-latest'
|
|
191
|
+
shell: bash
|
|
192
|
+
env:
|
|
193
|
+
RUSTUP_TOOLCHAIN: "1.99.0"
|
|
194
|
+
run: |
|
|
195
|
+
rustup toolchain install 1.99.0 --profile minimal
|
|
196
|
+
cargo check -p yaga-core --locked
|
|
162
197
|
- name: Verify crates.io workspace packages
|
|
163
198
|
if: matrix.os == 'ubuntu-latest'
|
|
164
199
|
run: cargo package --workspace --locked
|
|
@@ -185,6 +220,8 @@ jobs:
|
|
|
185
220
|
cargo test --workspace --locked
|
|
186
221
|
uv sync --frozen --group dev --no-install-project --python 3.12
|
|
187
222
|
uv run --no-sync --python 3.12 python scripts/release_wheels.py build aarch64-apple-darwin native-wheel
|
|
223
|
+
YAGA_TEST_NATIVE_BINARY="$PWD/target/aarch64-apple-darwin/release/yaga" \
|
|
224
|
+
uv run --no-sync --python 3.12 pytest -n 0 tests/test_native_installers.py
|
|
188
225
|
|
|
189
226
|
test:
|
|
190
227
|
name: Python ${{ matrix.python-version }} wheel on ${{ matrix.os }}
|
|
@@ -205,6 +242,7 @@ jobs:
|
|
|
205
242
|
steps:
|
|
206
243
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
207
244
|
with:
|
|
245
|
+
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
|
|
208
246
|
persist-credentials: false
|
|
209
247
|
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
|
|
210
248
|
with:
|
|
@@ -7,11 +7,15 @@ on:
|
|
|
7
7
|
permissions:
|
|
8
8
|
contents: read
|
|
9
9
|
|
|
10
|
+
concurrency:
|
|
11
|
+
group: yaga-action-e2e-${{ github.event.pull_request.number }}
|
|
12
|
+
cancel-in-progress: true
|
|
13
|
+
|
|
10
14
|
jobs:
|
|
11
15
|
controls:
|
|
12
16
|
name: Action E2E Fixture (${{ matrix.scenario }})
|
|
13
17
|
runs-on: ubuntu-latest
|
|
14
|
-
timeout-minutes:
|
|
18
|
+
timeout-minutes: 15
|
|
15
19
|
strategy:
|
|
16
20
|
fail-fast: false
|
|
17
21
|
matrix:
|
|
@@ -19,6 +23,7 @@ jobs:
|
|
|
19
23
|
steps:
|
|
20
24
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
21
25
|
with:
|
|
26
|
+
ref: ${{ github.event.pull_request.head.sha }}
|
|
22
27
|
persist-credentials: false
|
|
23
28
|
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
24
29
|
with:
|
|
@@ -17,21 +17,22 @@ jobs:
|
|
|
17
17
|
commit-policy:
|
|
18
18
|
name: Commit Messages
|
|
19
19
|
runs-on: ubuntu-latest
|
|
20
|
-
timeout-minutes:
|
|
20
|
+
timeout-minutes: 15
|
|
21
21
|
steps:
|
|
22
22
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
23
23
|
with:
|
|
24
24
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
25
25
|
fetch-depth: 0
|
|
26
26
|
persist-credentials: false
|
|
27
|
-
- name:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
- name: Install pinned Typos CLI
|
|
28
|
+
run: |
|
|
29
|
+
curl --fail --silent --show-error --location \
|
|
30
|
+
https://github.com/crate-ci/typos/releases/download/v1.50.2/typos-v1.50.2-x86_64-unknown-linux-musl.tar.gz \
|
|
31
|
+
--output "$RUNNER_TEMP/typos.tar.gz"
|
|
32
|
+
echo "abcb3e257c7c2abeff4d903f7fe68071357637605bdb283ce2251f44bc70dc09 $RUNNER_TEMP/typos.tar.gz" | sha256sum --check
|
|
33
|
+
mkdir -p "$RUNNER_TEMP/typos-bin"
|
|
34
|
+
tar -xzf "$RUNNER_TEMP/typos.tar.gz" -C "$RUNNER_TEMP/typos-bin" ./typos
|
|
35
|
+
echo "$RUNNER_TEMP/typos-bin" >> "$GITHUB_PATH"
|
|
35
36
|
- name: Check pull-request commit policy
|
|
36
37
|
uses: ./
|
|
37
38
|
- name: Check pull-request description
|
|
@@ -129,7 +129,7 @@ jobs:
|
|
|
129
129
|
group: yaga-pr-review-${{ needs.resolve.outputs.pull_request_number }}
|
|
130
130
|
cancel-in-progress: ${{ github.event_name == 'pull_request_target' }}
|
|
131
131
|
runs-on: ubuntu-latest
|
|
132
|
-
timeout-minutes:
|
|
132
|
+
timeout-minutes: 25
|
|
133
133
|
permissions:
|
|
134
134
|
contents: read
|
|
135
135
|
pull-requests: write
|
|
@@ -51,9 +51,18 @@ jobs:
|
|
|
51
51
|
uv run --frozen python scripts/check_release.py --notes-file release-notes.md
|
|
52
52
|
fi
|
|
53
53
|
- name: Install pinned Typos CLI
|
|
54
|
-
run:
|
|
54
|
+
run: |
|
|
55
|
+
curl --fail --silent --show-error --location \
|
|
56
|
+
https://github.com/crate-ci/typos/releases/download/v1.50.2/typos-v1.50.2-x86_64-unknown-linux-musl.tar.gz \
|
|
57
|
+
--output "$RUNNER_TEMP/typos.tar.gz"
|
|
58
|
+
echo "abcb3e257c7c2abeff4d903f7fe68071357637605bdb283ce2251f44bc70dc09 $RUNNER_TEMP/typos.tar.gz" | sha256sum --check
|
|
59
|
+
mkdir -p "$RUNNER_TEMP/typos-bin"
|
|
60
|
+
tar -xzf "$RUNNER_TEMP/typos.tar.gz" -C "$RUNNER_TEMP/typos-bin" ./typos
|
|
61
|
+
echo "$RUNNER_TEMP/typos-bin" >> "$GITHUB_PATH"
|
|
55
62
|
- name: Run the full gate and retain its validated distributions
|
|
56
|
-
|
|
63
|
+
env:
|
|
64
|
+
UV_FROZEN: "1"
|
|
65
|
+
run: uv run --frozen make ci BUILD_ARGS="--output-dir dist" CHANGE_RANGE=""
|
|
57
66
|
- name: Verify crates.io workspace packages
|
|
58
67
|
run: cargo package --workspace --locked
|
|
59
68
|
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
@@ -9,6 +9,9 @@ required-paths = [
|
|
|
9
9
|
".yaga/path-policy.toml",
|
|
10
10
|
".yaga/size-policy.toml",
|
|
11
11
|
".yaga/tree-policy.toml",
|
|
12
|
+
".yaga/triage-policy.toml",
|
|
13
|
+
"Cargo.lock",
|
|
14
|
+
"Cargo.toml",
|
|
12
15
|
"LICENSE",
|
|
13
16
|
"README.md",
|
|
14
17
|
"SECURITY.md",
|
|
@@ -29,5 +32,6 @@ forbidden-patterns = [
|
|
|
29
32
|
"build/**",
|
|
30
33
|
"dist/**",
|
|
31
34
|
"htmlcov/**",
|
|
35
|
+
"target/**",
|
|
32
36
|
"**/.coverage",
|
|
33
37
|
]
|
|
@@ -8,8 +8,10 @@ gate is `agent-review`.
|
|
|
8
8
|
## Development
|
|
9
9
|
|
|
10
10
|
GitHub Actions qualifies native changes on its platform runners. To reproduce those checks
|
|
11
|
-
locally, `uv run make native-ci` exercises the Cargo consumer,
|
|
12
|
-
executable and Action together. Use
|
|
11
|
+
locally, `uv run make native-ci` exercises the Cargo consumer, pure `yaga-core` build
|
|
12
|
+
(`--no-default-features`), installed wheel, standalone executable, and Action together. Use
|
|
13
|
+
`cargo test --locked -p yaga-core` and `cargo test --locked -p yaga-core --no-default-features`
|
|
14
|
+
for the library alone.
|
|
13
15
|
|
|
14
16
|
Python 3.12 or newer and [uv](https://docs.astral.sh/uv/) 0.12.7 or newer are required
|
|
15
17
|
for the development workflow. CI pins uv separately for reproducibility; contributors may use
|
|
@@ -32,27 +34,28 @@ The full gate invokes
|
|
|
32
34
|
versioned plan selects the same providers, workflow paths, and committed-tree policies locally and
|
|
33
35
|
in CI, including the Docker-backed `workflow-lint` provider. The composite Action executes the trusted Rust binary for commit,
|
|
34
36
|
CLI-provider and gate modes. Its closed dispatcher preserves the tokenless commit boundary,
|
|
35
|
-
the exact provider allowlists and the six write-capable gate operations. Keep the
|
|
36
|
-
|
|
37
|
+
the exact provider allowlists and the six write-capable gate operations. Keep the thin
|
|
38
|
+
zero-dependency Python package under `src/yaga/` strictly limited to locating and executing the
|
|
39
|
+
bundled Rust `yaga` binary (`yaga.find_yaga_bin()`) and delegating `yaga self update` for
|
|
40
|
+
`uv tool` installations.
|
|
37
41
|
|
|
38
|
-
Declare new commands in the Rust CLI. Its help renderer reads Clap command
|
|
39
|
-
uses fast-rich for terminal layout. Keep
|
|
40
|
-
|
|
41
|
-
redirected text, exit codes, wrapping and terminal styles across the Python reference,
|
|
42
|
-
platform wheel and standalone executable.
|
|
42
|
+
Declare new commands in the Rust CLI (`crates/yaga-cli`). Its help renderer reads Clap command
|
|
43
|
+
metadata and uses `fast-rich` for terminal layout. Keep CLI terminal presentation, help panels,
|
|
44
|
+
exit codes, wrapping, and color-precedence regression tests under `crates/yaga-cli/tests/`.
|
|
43
45
|
|
|
44
|
-
The package build gate must execute the fresh wheel outside the
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
The package build gate (`scripts/check_build.py`) must execute the fresh wheel outside the
|
|
47
|
+
checkout: build the platform wheel and source archive, install the wheel with
|
|
48
|
+
`uv pip install --no-deps`, verify `importlib.metadata` contains only `yaga-cli` and
|
|
49
|
+
`yaga.find_yaga_bin()` resolves inside the installed environment, and execute both the `yaga`
|
|
50
|
+
console script and `python -m yaga` with project and Python environment leakage removed.
|
|
48
51
|
|
|
49
52
|
The source archive includes the top-level source paths listed under
|
|
50
53
|
`tool.hatch.build.targets.sdist` in `pyproject.toml`. Add any new distributable top-level
|
|
51
54
|
directory or file there. The release build check compares the inventory with Git when run from a
|
|
52
55
|
checkout. The extracted archive can rebuild wheels without Git metadata.
|
|
53
56
|
|
|
54
|
-
That strict build gate runs on Python 3.12.
|
|
55
|
-
|
|
57
|
+
That strict build gate runs on Python 3.12. Installed workflow checks use the Rust YAML parser in
|
|
58
|
+
`crates/yaga-core/src/workflows/`; the zero-dependency Python wheel has no runtime dependencies.
|
|
56
59
|
|
|
57
60
|
The default `make ci` changed-path check covers only `HEAD^..HEAD`. To qualify a complete pull
|
|
58
61
|
request, use exact base/head SHAs that are already available in complete local history, and run
|
|
@@ -69,20 +72,19 @@ branch. The range override does not change workflow, formatting, or test inputs:
|
|
|
69
72
|
the current checkout. A final docs-only commit must not hide an earlier source change from the
|
|
70
73
|
complete PR check.
|
|
71
74
|
|
|
72
|
-
|
|
73
|
-
|
|
75
|
+
Zero-dependency wheel and packaging qualification runs on Linux, macOS, and Windows across the
|
|
76
|
+
supported Python matrix. Run the strict build and launcher checks locally with:
|
|
74
77
|
|
|
75
78
|
```bash
|
|
76
|
-
uv run --locked --python 3.12 python scripts/
|
|
79
|
+
uv run --locked --python 3.12 python scripts/check_build.py
|
|
77
80
|
```
|
|
78
81
|
|
|
79
|
-
It builds a fresh
|
|
80
|
-
checks installed provenance
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
[minimum runtime qualification](docs/minimum-runtime.md) for scope and retained evidence
|
|
85
|
-
complements the frozen-lock `make ci` and strict package build gates.
|
|
82
|
+
It builds a fresh wheel and source archive, installs the wheel with `--no-deps` outside the
|
|
83
|
+
checkout, checks installed provenance (`yaga-cli` only in `importlib.metadata` and
|
|
84
|
+
`yaga.find_yaga_bin()` inside the environment), and exercises the console script and
|
|
85
|
+
`python -m yaga`. The release workflow verifies all six platform wheels and standalone
|
|
86
|
+
executables (`scripts/release_wheels.py`) before allowing publication. See
|
|
87
|
+
[minimum runtime qualification](docs/minimum-runtime.md) for scope and retained evidence.
|
|
86
88
|
|
|
87
89
|
## Repository policies and GitHub Actions map
|
|
88
90
|
|
|
@@ -127,11 +129,15 @@ and environment access outside pure selection. Range plans
|
|
|
127
129
|
require complete history and exact endpoint/comparison/execution identities; revision plans need
|
|
128
130
|
their selected commit and tree only. Both reject graft overlays and never fetch. Preserve exact
|
|
129
131
|
policy-byte identity, optional binding SHA-256, canonical version-one plan digests, complete JSON
|
|
130
|
-
within 4 MiB, and at most 256 human reasons with exact omitted counts.
|
|
132
|
+
within 4 MiB, and at most 256 human reasons with exact omitted counts. Selective rules and profiles
|
|
133
|
+
may optionally target specific declared variants via `select-variants` and `always-variants`
|
|
134
|
+
(recording optional sorted nonempty `variants` on those `test.rule`/`test.always` reasons while
|
|
135
|
+
keeping whole-suite v1 plans byte-identical). Emit successful output on
|
|
131
136
|
stdout and bounded error envelopes on stderr, with exits 0/2 only. Planning never executes bindings
|
|
132
|
-
or claims tests passed. Keep both commands outside repository plans and
|
|
137
|
+
or claims tests passed. Keep both commands outside repository plans and the unified composite Action.
|
|
133
138
|
|
|
134
|
-
Keep executor handoff pure and
|
|
139
|
+
Keep executor handoff pure and library-callable. `yaga_core::test_planning::handoff::Registry` must
|
|
140
|
+
map the complete catalog
|
|
135
141
|
exactly once to fixed dispatch IDs, preserve every variant, satisfy declared capabilities, and
|
|
136
142
|
bind immutable executor-definition hashes. `create_handoff` requires a non-preview plan plus
|
|
137
143
|
independent expected policy/commit/tree identities; keep the version-one manifest/handoff shapes
|
|
@@ -158,8 +164,7 @@ diagnostics to 256 with exact omitted counts. Adapters own provenance, custom ac
|
|
|
158
164
|
and retry lineage; an artifact hash or green job alone cannot prove these. No execution, discovery,
|
|
159
165
|
Git access, provider API, required-CI changes, or selective activation belongs in evaluation.
|
|
160
166
|
|
|
161
|
-
Revision-bound Rust providers share `crates/yaga-core/src/git/`.
|
|
162
|
-
uses `src/yaga/git/` with the same process and repository boundaries. Keep repository
|
|
167
|
+
Revision-bound Rust providers share `crates/yaga-core/src/git/`. Keep repository
|
|
163
168
|
and executable discovery, metadata and alternate-object-store boundaries, process execution,
|
|
164
169
|
environment isolation, time and output limits, object identity parsing, and complete-history checks
|
|
165
170
|
centralized there. Its hard wall-time boundary includes platform-native process-tree containment and
|
|
@@ -275,7 +280,9 @@ rewrite descriptions, or claim complete Markdown rendering or HTML sanitization.
|
|
|
275
280
|
Preserve 64 KiB policy/body/template bounds, the 1 MiB event bound, 64 template headings, exact
|
|
276
281
|
finding counts with 256 stored diagnostics, schema-v1 reports, and exits 0/1/2. The GitHub body
|
|
277
282
|
adapter validates supported open-PR events without claiming authenticated identity or requiring
|
|
278
|
-
commit metadata. Keep both commands outside repository plans
|
|
283
|
+
commit metadata. Keep both commands outside repository plans; the unified composite Action exposes
|
|
284
|
+
pull-request description checks only through explicit `check: pr-description` mode, isolated from
|
|
285
|
+
default `check: commit` and `check: gate`.
|
|
279
286
|
See [pull-request descriptions](docs/pull-request-descriptions.md) for the complete public contract.
|
|
280
287
|
|
|
281
288
|
Branch-name policy lives under `crates/yaga-core/src/branch/` and remains installed-only. `branch check`
|
|
@@ -288,7 +295,8 @@ Preserve first-match reporting, stable `branch.syntax` and `branch.allowed` find
|
|
|
288
295
|
for a match, `1` for findings, and `2` for input/policy errors. The 244-byte limit is a deliberate
|
|
289
296
|
YAGA portability boundary. CI adapters must select `github.head_ref` for pull requests or guarded
|
|
290
297
|
branch-only `github.ref_name` for pushes, copy it through an environment variable, and quote it as
|
|
291
|
-
one argument.
|
|
298
|
+
one argument. The unified composite Action exposes branch checks only through explicit
|
|
299
|
+
`check: branch` mode, isolated from default `check: commit` and `check: gate`.
|
|
292
300
|
|
|
293
301
|
Changed-path coupling lives in `crates/yaga-core/src/paths/changes.rs` and remains installed-only. Require one
|
|
294
302
|
explicit versioned policy and one explicit two-dot or three-dot Git range; never infer staged,
|
|
@@ -302,8 +310,8 @@ stay visible, and strictly parse bounded NUL-delimited UTF-8 paths. Treat every
|
|
|
302
310
|
response, path, and rule value as untrusted.
|
|
303
311
|
Compile and cache each unique pattern once and preserve the shared 10,000,000-unit matcher-work
|
|
304
312
|
ceiling. Keep exits `0` for pass, `1` for coupling findings, and `2` for
|
|
305
|
-
policy/Git/operational failure.
|
|
306
|
-
|
|
313
|
+
policy/Git/operational failure. The unified composite Action exposes changed-path checks only
|
|
314
|
+
through explicit `check: change` mode, isolated from default `check: commit` and `check: gate`.
|
|
307
315
|
|
|
308
316
|
Committed-tree policy lives in `crates/yaga-core/src/paths/tree.rs` and remains installed-only. `tree check`
|
|
309
317
|
requires one explicit versioned policy and one explicit commit-ish; the CLI may default only the
|
|
@@ -327,14 +335,15 @@ directories plus cycle-safe local alternate chains into that trust boundary; all
|
|
|
327
335
|
object directories. Reject legacy graft overlays before revision resolution and recheck after tree
|
|
328
336
|
enumeration. Shallow history is valid when the selected objects are present. The policy path is a
|
|
329
337
|
runtime input and carries no provenance claim. Bound JSON/text/GitHub diagnostics without
|
|
330
|
-
weakening exact aggregate counts, and keep this provider outside
|
|
331
|
-
|
|
338
|
+
weakening exact aggregate counts, and keep this provider outside frozen repository-plan v1
|
|
339
|
+
(supported in `plan-version = 2` and in the unified composite Action via `check: tree` or
|
|
340
|
+
`check: repo`).
|
|
332
341
|
|
|
333
342
|
Committed blob-size policy lives in `crates/yaga-core/src/paths/sizes.rs` and remains installed-only. `size check`
|
|
334
343
|
requires one explicit versioned policy and one explicit commit-ish; only `--repo` may default to
|
|
335
344
|
`.`. Never infer `HEAD`, discover policy, fetch, parse events, read the worktree/index/untracked
|
|
336
345
|
set, or recurse into gitlinks. Schema v1 requires a nonnegative default blob limit, permits one
|
|
337
|
-
optional total limit, and accepts up to 128 ordered first-match path overrides. Preserve canonical
|
|
346
|
+
optional total limit, and accepts up to 128 ordered first-match `[[path-limits]]` overrides. Preserve canonical
|
|
338
347
|
anchored case-sensitive literal/component-`*`/whole-component-`**` matching, one shared
|
|
339
348
|
10,000,000-unit work ceiling, a 2^53 - 1 portable-integer ceiling for every emitted byte count, and
|
|
340
349
|
stable `size.blob` then `size.total` diagnostic order.
|
|
@@ -345,7 +354,8 @@ gitlinks; count duplicate blob identities once per path; and treat Git LFS point
|
|
|
345
354
|
stored blobs. Keep strict mode/type/identity/size/path parsing, 50,000-entry and 64 MiB output caps,
|
|
346
355
|
and shallow-checkout support only when selected objects are present. Reject legacy graft overlays
|
|
347
356
|
before revision resolution and recheck after blob enumeration. Bound displayed findings while
|
|
348
|
-
retaining exact totals, and keep the provider outside
|
|
357
|
+
retaining exact totals, and keep the provider outside frozen repository-plan v1 (supported in
|
|
358
|
+
`plan-version = 2` and in the unified composite Action via `check: size` or `check: repo`).
|
|
349
359
|
|
|
350
360
|
Committed-path portability policy lives in `crates/yaga-core/src/paths/portability.rs` and remains installed-only.
|
|
351
361
|
`path check` requires one explicit versioned policy and one explicit commit-ish; only `--repo` may
|
|
@@ -366,8 +376,9 @@ gitlinks are all named leaves, and gitlinks are never traversed. Preserve the 4,
|
|
|
366
376
|
64-component, 50,000-entry, 64 MiB, 30-second, and shared 10,000,000-work-unit ceilings. Store at
|
|
367
377
|
most the first 256 canonical diagnostics while keeping exact totals and per-code counts. Reject
|
|
368
378
|
legacy graft overlays before revision resolution and recheck after enumeration; shallow history is
|
|
369
|
-
allowed when the selected objects exist. Keep this provider outside
|
|
370
|
-
|
|
379
|
+
allowed when the selected objects exist. Keep this provider outside frozen repository-plan v1
|
|
380
|
+
(supported in `plan-version = 2` and in the unified composite Action via `check: path` or
|
|
381
|
+
`check: repo`).
|
|
371
382
|
|
|
372
383
|
Committed entry-mode policy lives in `crates/yaga-core/src/paths/modes.rs` and remains installed-only. `mode check`
|
|
373
384
|
requires one explicit versioned policy and one explicit commit-ish; only `--repo` may default to
|
|
@@ -389,14 +400,15 @@ and inconsistent topology. Preserve the 4,096-byte, 64-component, 50,000-entry,
|
|
|
389
400
|
resolution and recheck after enumeration; shallow history is allowed when the selected objects
|
|
390
401
|
exist. A permitted mode says nothing about shebangs, file content, ACLs, ownership, symlink-target
|
|
391
402
|
safety, `.gitmodules` consistency, submodule provenance, or object availability. Keep this
|
|
392
|
-
provider outside
|
|
403
|
+
provider outside frozen repository-plan v1 (supported in `plan-version = 2` and in the unified
|
|
404
|
+
composite Action via `check: mode` or `check: repo`).
|
|
393
405
|
|
|
394
406
|
Workflow reference policy lives under `crates/yaga-core/src/workflows/`. Its bounded YAML
|
|
395
|
-
event parser preserves mapping pairs
|
|
396
|
-
native extension. Preserve source marks and duplicate keys. Bound files, bytes, documents,
|
|
407
|
+
event parser preserves mapping pairs, source marks, and duplicate keys. Bound files, bytes, documents,
|
|
397
408
|
nodes, depth, anchors, aliases, scalar sizes, expanded visits,
|
|
398
409
|
references, diagnostics, and displayed values. Keep immutable-reference checking separate from
|
|
399
|
-
actionlint and
|
|
410
|
+
actionlint and isolated from default `check: commit` and `check: gate` in the unified composite
|
|
411
|
+
Action (available via `check: workflow` or `check: repo`). Treat `$/` local
|
|
400
412
|
references as commit-bound; `./` is a compatibility path whose integrity depends on the caller's
|
|
401
413
|
trusted checkout and must not imply an immutable-reference guarantee. Apply the same literal
|
|
402
414
|
lowercase SHA-256 digest policy to Docker Actions, job-container images, and service-container
|
|
@@ -422,7 +434,8 @@ or expressions.
|
|
|
422
434
|
Future defaults require another versioned profile. Exact custom rules are closed, unique, and
|
|
423
435
|
canonical.
|
|
424
436
|
Do not duplicate actionlint's script injection or schema checks, infer arbitrary job permissions,
|
|
425
|
-
expose raw facts, or
|
|
437
|
+
expose raw facts, or mix this provider into default `check: commit` or `check: gate` (available
|
|
438
|
+
via `check: workflow-security` or `check: repo`).
|
|
426
439
|
The privileged-checkout rule deliberately rejects dynamic `ref` or `repository` expressions and
|
|
427
440
|
any non-false `allow-unsafe-pr-checkout` value instead of approximating GitHub's expression parser.
|
|
428
441
|
The persisted-credentials rule likewise rejects missing, dynamic, non-scalar, or ambiguous inputs
|
|
@@ -447,10 +460,12 @@ entries and bytes, process trees, time, stdout, stderr, diagnostics, and decoded
|
|
|
447
460
|
the closed actionlint result, while accepting only its documented optional diagnostic fields.
|
|
448
461
|
Force-remove and verify labeled containers and the private volume on every catchable terminal path;
|
|
449
462
|
an uncertain late Docker create or unconfirmed cleanup is an operational failure. Preserve exits `0`
|
|
450
|
-
for success, `1` for lint findings, and `2` for operational failure.
|
|
451
|
-
|
|
463
|
+
for success, `1` for lint findings, and `2` for operational failure. Keep the lint command isolated
|
|
464
|
+
from default `check: commit` and `check: gate` in the unified composite Action (available via
|
|
465
|
+
`check: workflow-lint` or `check: repo`).
|
|
452
466
|
|
|
453
|
-
The installed `repo check` aggregate lives
|
|
467
|
+
The installed `repo check` aggregate lives in `crates/yaga-cli/src/repo.rs` (and
|
|
468
|
+
`crates/yaga-cli/src/repo/`). It requires an
|
|
454
469
|
explicit, unique provider list closed to `commit`, `workflow`, `workflow-security`,
|
|
455
470
|
`workflow-lint`, `mode`, `path`, `size`, and `tree`; never add an implicit `all` path that changes
|
|
456
471
|
when a provider is introduced. Execute in that canonical order, load workflow inputs once, share
|
|
@@ -461,8 +476,9 @@ committed-tree providers, require one exact runtime `--revision`, resolve its co
|
|
|
461
476
|
once, and retain each provider's independent enumeration and parsing contract. Never infer `HEAD`
|
|
462
477
|
or reuse the commit provider source as that revision. Preserve one global GitHub annotation budget
|
|
463
478
|
and exits `0` for all passed, `1` for findings only, and `2` when any provider errors. Provider-
|
|
464
|
-
specific arguments must fail when their provider is absent. The aggregate
|
|
465
|
-
Action
|
|
479
|
+
specific arguments must fail when their provider is absent. The aggregate is exposed in the unified
|
|
480
|
+
composite Action only via `check: repo` and does not replace the event-bound default `check: commit`
|
|
481
|
+
mode.
|
|
466
482
|
|
|
467
483
|
Repository check plans are explicit saved provider selections, never implicit configuration. Keep
|
|
468
484
|
their TOML schema versioned, closed, portable, and strictly bounded; reject unknown keys and
|
|
@@ -492,7 +508,8 @@ in setup in the gate deadline. Keep tokens out of setup, argv, diagnostics and o
|
|
|
492
508
|
Default `check: commit` runs the native event-bound checker without credentials. Installed CLI
|
|
493
509
|
modes reject unused inputs before launching the verified executable from the consumer workspace.
|
|
494
510
|
Only live PR modes receive `GH_TOKEN`. Gate operations use their own closed native dispatcher.
|
|
495
|
-
The
|
|
511
|
+
The zero-dependency Python package under `src/yaga/` delegates directly to the bundled Rust
|
|
512
|
+
executable.
|
|
496
513
|
|
|
497
514
|
## Action contract
|
|
498
515
|
|
|
@@ -603,16 +620,15 @@ same-head transition.
|
|
|
603
620
|
## Testing and pull requests
|
|
604
621
|
|
|
605
622
|
Add parser/checker tests for every new commit rule, strict configuration tests for every key,
|
|
606
|
-
shell-free Git integration tests for selection behavior, and
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
Keep native gate policy in `crates/yaga-core/src/agent_review/github
|
|
614
|
-
|
|
615
|
-
direct/protected routing, unsolicited
|
|
623
|
+
shell-free Git integration tests for selection behavior, and CLI integration tests under
|
|
624
|
+
`crates/yaga-cli/tests/` for command output, terminal formatting, and exits. Verify the Rust
|
|
625
|
+
workspace with `cargo fmt --all --check`, `cargo clippy --workspace --all-targets --locked -- -D warnings`,
|
|
626
|
+
`cargo test --workspace --locked`, and `cargo test -p yaga-core --no-default-features --locked`.
|
|
627
|
+
Python tests under `tests/` (such as `tests/test_launcher.py`) cover the thin zero-dependency
|
|
628
|
+
wheel launcher, packaging/release scripts, standalone installers, docs links, and Action fixtures.
|
|
629
|
+
|
|
630
|
+
Keep native gate policy solely in `crates/yaga-core/src/agent_review/github/`. Add focused tests
|
|
631
|
+
for success, failed CI, direct/protected routing, unsolicited
|
|
616
632
|
external outcomes, exact request idempotency, malformed/incomplete APIs, deadline reserves,
|
|
617
633
|
draft/ready/base/close races, same-head ambiguity, run supersession, status lineage, and
|
|
618
634
|
case-insensitive collisions. Repository-contract tests pin public inputs, outputs, permissions,
|