yaga-cli 0.5.0__tar.gz → 0.6.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.6.0/.gitattributes +10 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.github/workflows/ci.yml +77 -66
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.github/workflows/docs.yml +4 -4
- yaga_cli-0.6.0/.github/workflows/native-action-distribution.yml +111 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.github/workflows/pr-review-wake.yml +13 -2
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.github/workflows/pr-review.yml +16 -5
- yaga_cli-0.6.0/.github/workflows/release.yml +294 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.gitignore +1 -0
- yaga_cli-0.6.0/.yaga/change-policy.toml +11 -0
- yaga_cli-0.6.0/.yaga/size-policy.toml +13 -0
- yaga_cli-0.6.0/.yaga/triage-policy.toml +7 -0
- yaga_cli-0.6.0/AGENTS.md +96 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/CONTRIBUTING.md +85 -69
- yaga_cli-0.6.0/Cargo.lock +3240 -0
- yaga_cli-0.6.0/Cargo.toml +21 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/Makefile +10 -1
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/PKG-INFO +21 -16
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/README.md +20 -6
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/SECURITY.md +22 -23
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/_typos.toml +3 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/action.yml +68 -65
- yaga_cli-0.6.0/crates/README.md +45 -0
- yaga_cli-0.6.0/crates/yaga-cli/Cargo.toml +45 -0
- yaga_cli-0.6.0/crates/yaga-cli/LICENSE +29 -0
- yaga_cli-0.6.0/crates/yaga-cli/README.md +53 -0
- yaga_cli-0.6.0/crates/yaga-cli/assets/install.ps1 +238 -0
- yaga_cli-0.6.0/crates/yaga-cli/assets/install.sh +313 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/action/cli.rs +33 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/action/summary.rs +349 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/action.rs +115 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/change.rs +178 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/commit/quality.rs +172 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/commit.rs +231 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/commit_report.rs +296 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/completion/runtime/tests.rs +108 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/completion/runtime.rs +385 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/completion.rs +180 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/config.rs +157 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/description.rs +257 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/gate.rs +266 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/github_commit.rs +55 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/main.rs +228 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/policy/selector.rs +114 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/policy.rs +149 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/presentation/arguments.rs +138 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/presentation/catalog.rs +187 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/presentation/completion.rs +219 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/presentation/help.json +63 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/presentation/mod.rs +447 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/presentation/usage_error.rs +358 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/repo/inspect.rs +69 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/repo/reports.rs +195 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/repo.rs +244 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/review.rs +234 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/self_manage/release.rs +92 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/self_manage.rs +365 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/self_update_worker.ps1 +30 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/test.rs +180 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/trees/reports.rs +231 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/trees.rs +397 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/triage.rs +120 -0
- yaga_cli-0.6.0/crates/yaga-cli/src/workflow.rs +318 -0
- yaga_cli-0.6.0/crates/yaga-cli/tests/cli_presentation.rs +231 -0
- yaga_cli-0.6.0/crates/yaga-cli/tests/commit_and_config.rs +367 -0
- yaga_cli-0.6.0/crates/yaga-cli/tests/commit_policy_errors.rs +40 -0
- yaga_cli-0.6.0/crates/yaga-cli/tests/committed_tree_and_change.rs +345 -0
- yaga_cli-0.6.0/crates/yaga-cli/tests/common/mod.rs +111 -0
- yaga_cli-0.6.0/crates/yaga-cli/tests/pr_review_triage_and_desc.rs +417 -0
- yaga_cli-0.6.0/crates/yaga-cli/tests/repository_inspect.rs +112 -0
- yaga_cli-0.6.0/crates/yaga-cli/tests/test_planning_and_action.rs +378 -0
- yaga_cli-0.6.0/crates/yaga-cli/tests/workflow_and_repo.rs +407 -0
- yaga_cli-0.6.0/crates/yaga-core/Cargo.toml +54 -0
- yaga_cli-0.6.0/crates/yaga-core/LICENSE +29 -0
- yaga_cli-0.6.0/crates/yaga-core/README.md +40 -0
- yaga_cli-0.6.0/crates/yaga-core/build.rs +44 -0
- yaga_cli-0.6.0/crates/yaga-core/src/actionlint/cleanup/tests.rs +258 -0
- yaga_cli-0.6.0/crates/yaga-core/src/actionlint/cleanup.rs +297 -0
- yaga_cli-0.6.0/crates/yaga-core/src/actionlint/embedded/tests.rs +301 -0
- yaga_cli-0.6.0/crates/yaga-core/src/actionlint/embedded.rs +223 -0
- yaga_cli-0.6.0/crates/yaga-core/src/actionlint/mod.rs +150 -0
- yaga_cli-0.6.0/crates/yaga-core/src/actionlint/runtime.rs +834 -0
- yaga_cli-0.6.0/crates/yaga-core/src/actionlint/snapshot.rs +526 -0
- yaga_cli-0.6.0/crates/yaga-core/src/actionlint/tests.rs +143 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/github/api.rs +226 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/github/boundary.rs +220 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/github/candidate.rs +108 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/github/events.rs +171 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/github/evidence.rs +337 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/github/gate.rs +765 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/github/mod.rs +177 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/github/publication.rs +421 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/github/publication_tests.rs +125 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/github/requests.rs +257 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/github/runs.rs +280 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/github/runtime.rs +225 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/github/tests.rs +119 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/mod.rs +319 -0
- yaga_cli-0.6.0/crates/yaga-core/src/agent_review/results.rs +199 -0
- yaga_cli-0.6.0/crates/yaga-core/src/branch/mod.rs +162 -0
- yaga_cli-0.6.0/crates/yaga-core/src/branch/patterns.rs +102 -0
- yaga_cli-0.6.0/crates/yaga-core/src/branch/policy.rs +139 -0
- yaga_cli-0.6.0/crates/yaga-core/src/branch/reporting.rs +154 -0
- yaga_cli-0.6.0/crates/yaga-core/src/branch/tests.rs +212 -0
- yaga_cli-0.6.0/crates/yaga-core/src/cli_action.rs +469 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commit_source.rs +260 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/authoring.rs +203 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/checker.rs +487 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/config.rs +575 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/content.rs +158 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/glob.rs +89 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/mod.rs +31 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/parser.rs +226 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/policy.rs +120 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/reporting.rs +129 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/starter.rs +106 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/starters/complete-message-v1.toml +12 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/starters/plain-v1.toml +9 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/starters/recommended-v1.toml +28 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/starters/title-v1.toml +10 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/tests.rs +507 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/unicode.rs +86 -0
- yaga_cli-0.6.0/crates/yaga-core/src/commits/validate.rs +328 -0
- yaga_cli-0.6.0/crates/yaga-core/src/completion/yaga.bash +9 -0
- yaga_cli-0.6.0/crates/yaga-core/src/completion/yaga.fish +1 -0
- yaga_cli-0.6.0/crates/yaga-core/src/completion/yaga.ps1 +17 -0
- yaga_cli-0.6.0/crates/yaga-core/src/completion/yaga.zsh +7 -0
- yaga_cli-0.6.0/crates/yaga-core/src/completion.rs +274 -0
- yaga_cli-0.6.0/crates/yaga-core/src/descriptions/checker.rs +380 -0
- yaga_cli-0.6.0/crates/yaga-core/src/descriptions/markdown.rs +453 -0
- yaga_cli-0.6.0/crates/yaga-core/src/descriptions/mod.rs +52 -0
- yaga_cli-0.6.0/crates/yaga-core/src/descriptions/policy.rs +192 -0
- yaga_cli-0.6.0/crates/yaga-core/src/descriptions/sources.rs +173 -0
- yaga_cli-0.6.0/crates/yaga-core/src/fs/user_path.rs +169 -0
- yaga_cli-0.6.0/crates/yaga-core/src/fs.rs +124 -0
- yaga_cli-0.6.0/crates/yaga-core/src/gh.rs +257 -0
- yaga_cli-0.6.0/crates/yaga-core/src/git/metadata.rs +317 -0
- yaga_cli-0.6.0/crates/yaga-core/src/git/mod.rs +334 -0
- yaga_cli-0.6.0/crates/yaga-core/src/git/process.rs +277 -0
- yaga_cli-0.6.0/crates/yaga-core/src/git/selection.rs +380 -0
- yaga_cli-0.6.0/crates/yaga-core/src/git/tests.rs +214 -0
- yaga_cli-0.6.0/crates/yaga-core/src/git/unix.rs +55 -0
- yaga_cli-0.6.0/crates/yaga-core/src/git/windows.rs +144 -0
- yaga_cli-0.6.0/crates/yaga-core/src/github_commit/dependabot.rs +134 -0
- yaga_cli-0.6.0/crates/yaga-core/src/github_commit/event.rs +326 -0
- yaga_cli-0.6.0/crates/yaga-core/src/github_commit/github-keyring.gpg +0 -0
- yaga_cli-0.6.0/crates/yaga-core/src/github_commit/mod.rs +280 -0
- yaga_cli-0.6.0/crates/yaga-core/src/github_commit/signature.rs +303 -0
- yaga_cli-0.6.0/crates/yaga-core/src/github_commit/tests.rs +141 -0
- yaga_cli-0.6.0/crates/yaga-core/src/json.rs +79 -0
- yaga_cli-0.6.0/crates/yaga-core/src/lib.rs +29 -0
- yaga_cli-0.6.0/crates/yaga-core/src/paths/changes.rs +214 -0
- yaga_cli-0.6.0/crates/yaga-core/src/paths/mod.rs +501 -0
- yaga_cli-0.6.0/crates/yaga-core/src/paths/modes.rs +121 -0
- yaga_cli-0.6.0/crates/yaga-core/src/paths/policy.rs +492 -0
- yaga_cli-0.6.0/crates/yaga-core/src/paths/portability.rs +251 -0
- yaga_cli-0.6.0/crates/yaga-core/src/paths/records.rs +340 -0
- yaga_cli-0.6.0/crates/yaga-core/src/paths/sizes.rs +138 -0
- yaga_cli-0.6.0/crates/yaga-core/src/paths/tests.rs +321 -0
- yaga_cli-0.6.0/crates/yaga-core/src/paths/tree.rs +106 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/audit.rs +467 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/catalog.tsv +13 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/init.rs +472 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/mod.rs +160 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/selector.rs +144 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/starters/agent-review.toml +10 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/starters/branch.toml +15 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/starters/change.toml +7 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/starters/description.toml +9 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/starters/mode.toml +7 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/starters/path.toml +3 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/starters/size.toml +4 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/starters/test.toml +18 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/starters/tree.toml +10 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/starters/triage.toml +7 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/testing.rs +244 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/tests.rs +192 -0
- yaga_cli-0.6.0/crates/yaga-core/src/policies/triage.rs +140 -0
- yaga_cli-0.6.0/crates/yaga-core/src/quality/bedrock.rs +134 -0
- yaga_cli-0.6.0/crates/yaga-core/src/quality/hosted/tests.rs +540 -0
- yaga_cli-0.6.0/crates/yaga-core/src/quality/hosted.rs +506 -0
- yaga_cli-0.6.0/crates/yaga-core/src/quality/mod.rs +396 -0
- yaga_cli-0.6.0/crates/yaga-core/src/quality/report.rs +282 -0
- yaga_cli-0.6.0/crates/yaga-core/src/repository/inspection.rs +71 -0
- yaga_cli-0.6.0/crates/yaga-core/src/repository/mod.rs +212 -0
- yaga_cli-0.6.0/crates/yaga-core/src/repository/plan.rs +312 -0
- yaga_cli-0.6.0/crates/yaga-core/src/repository/tests.rs +86 -0
- yaga_cli-0.6.0/crates/yaga-core/src/review/evaluate.rs +260 -0
- yaga_cli-0.6.0/crates/yaga-core/src/review/evidence.rs +232 -0
- yaga_cli-0.6.0/crates/yaga-core/src/review/markers.rs +141 -0
- yaga_cli-0.6.0/crates/yaga-core/src/review/mod.rs +181 -0
- yaga_cli-0.6.0/crates/yaga-core/src/review/remote.rs +307 -0
- yaga_cli-0.6.0/crates/yaga-core/src/review/service.rs +155 -0
- yaga_cli-0.6.0/crates/yaga-core/src/review/snapshot.rs +548 -0
- yaga_cli-0.6.0/crates/yaga-core/src/review/tests.rs +143 -0
- yaga_cli-0.6.0/crates/yaga-core/src/test_planning/decode.rs +322 -0
- yaga_cli-0.6.0/crates/yaga-core/src/test_planning/diagnostics.rs +67 -0
- yaga_cli-0.6.0/crates/yaga-core/src/test_planning/evaluation.rs +403 -0
- yaga_cli-0.6.0/crates/yaga-core/src/test_planning/handoff.rs +180 -0
- yaga_cli-0.6.0/crates/yaga-core/src/test_planning/mod.rs +273 -0
- yaga_cli-0.6.0/crates/yaga-core/src/test_planning/report.rs +97 -0
- yaga_cli-0.6.0/crates/yaga-core/src/test_planning/selection.rs +329 -0
- yaga_cli-0.6.0/crates/yaga-core/src/test_planning/tests.rs +257 -0
- yaga_cli-0.6.0/crates/yaga-core/src/text.rs +134 -0
- yaga_cli-0.6.0/crates/yaga-core/src/timestamp.rs +92 -0
- yaga_cli-0.6.0/crates/yaga-core/src/triage/mod.rs +215 -0
- yaga_cli-0.6.0/crates/yaga-core/src/triage/publication.rs +173 -0
- yaga_cli-0.6.0/crates/yaga-core/src/triage/remote.rs +303 -0
- yaga_cli-0.6.0/crates/yaga-core/src/triage/snapshot.rs +252 -0
- yaga_cli-0.6.0/crates/yaga-core/src/triage/tests.rs +91 -0
- yaga_cli-0.6.0/crates/yaga-core/src/typos.rs +150 -0
- yaga_cli-0.6.0/crates/yaga-core/src/version.rs +93 -0
- yaga_cli-0.6.0/crates/yaga-core/src/workflows/facts.rs +276 -0
- yaga_cli-0.6.0/crates/yaga-core/src/workflows/inputs.rs +202 -0
- yaga_cli-0.6.0/crates/yaga-core/src/workflows/inspect.rs +243 -0
- yaga_cli-0.6.0/crates/yaga-core/src/workflows/mod.rs +335 -0
- yaga_cli-0.6.0/crates/yaga-core/src/workflows/references.rs +201 -0
- yaga_cli-0.6.0/crates/yaga-core/src/workflows/security.rs +185 -0
- yaga_cli-0.6.0/crates/yaga-core/src/workflows/tags.rs +64 -0
- yaga_cli-0.6.0/crates/yaga-core/src/workflows/tests.rs +165 -0
- yaga_cli-0.6.0/crates/yaga-core/src/workflows/yaml.rs +443 -0
- yaga_cli-0.6.0/crates/yaga-core/tests/core_api.rs +190 -0
- yaga_cli-0.6.0/crates/yaga-core/tests/fixtures/actionlint_client.sh +62 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/agent-review-gate.md +8 -3
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/changelog.md +73 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/commands.md +10 -5
- yaga_cli-0.6.0/docs/commit-quality.md +100 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/configuration.md +25 -46
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/contributing.md +23 -20
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/getting-started.md +122 -66
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/github-actions.md +81 -28
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/github-review-adapter.md +7 -6
- yaga_cli-0.6.0/docs/install.ps1 +238 -0
- yaga_cli-0.6.0/docs/install.sh +313 -0
- yaga_cli-0.6.0/docs/minimum-runtime.md +23 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/pull-request-descriptions.md +6 -3
- yaga_cli-0.6.0/docs/pull-request-triage.md +197 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/recipes.md +3 -3
- yaga_cli-0.6.0/docs/releasing.md +166 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/repository-plans.md +32 -4
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/security.md +4 -3
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/test-planning-handoff.md +11 -15
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/troubleshooting.md +9 -44
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/usage.md +1 -1
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/workflow-checks.md +18 -17
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/examples/pr-review.yml +12 -2
- yaga_cli-0.6.0/examples/triage-policy.toml +17 -0
- yaga_cli-0.6.0/hatch_build.py +64 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/pyproject.toml +32 -29
- yaga_cli-0.6.0/scripts/action-runtime.cjs +326 -0
- yaga_cli-0.6.0/scripts/check_action_distribution.cjs +75 -0
- yaga_cli-0.6.0/scripts/check_build.py +238 -0
- yaga_cli-0.6.0/scripts/check_native.py +111 -0
- yaga_cli-0.6.0/scripts/check_release.py +105 -0
- yaga_cli-0.6.0/scripts/native_release.py +112 -0
- yaga_cli-0.6.0/scripts/native_wheel.py +98 -0
- yaga_cli-0.6.0/scripts/release_images.py +155 -0
- yaga_cli-0.6.0/scripts/release_wheels.py +319 -0
- yaga_cli-0.6.0/src/yaga/__init__.py +7 -0
- yaga_cli-0.6.0/src/yaga/__main__.py +8 -0
- yaga_cli-0.6.0/src/yaga/entrypoint.py +82 -0
- yaga_cli-0.6.0/src/yaga/self_update.py +179 -0
- yaga_cli-0.6.0/tests/conftest.py +31 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/tests/test_commit_action_controls.py +4 -4
- yaga_cli-0.6.0/tests/test_launcher.py +170 -0
- yaga_cli-0.6.0/tests/test_macos_release_wheels.py +196 -0
- yaga_cli-0.6.0/tests/test_native_installers.py +773 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/tests/test_release.py +87 -60
- yaga_cli-0.6.0/tests/test_release_wheel_images.py +178 -0
- yaga_cli-0.6.0/tests/test_standalone_images.py +88 -0
- yaga_cli-0.6.0/uv.lock +652 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/zensical.toml +1 -0
- yaga_cli-0.5.0/.gitattributes +0 -2
- yaga_cli-0.5.0/.github/workflows/commit-quality.yml +0 -98
- yaga_cli-0.5.0/.github/workflows/release.yml +0 -150
- yaga_cli-0.5.0/.yaga/change-policy.toml +0 -6
- yaga_cli-0.5.0/.yaga/size-policy.toml +0 -12
- yaga_cli-0.5.0/AGENTS.md +0 -332
- yaga_cli-0.5.0/docs/commit-quality.md +0 -246
- yaga_cli-0.5.0/docs/install.ps1 +0 -38
- yaga_cli-0.5.0/docs/install.sh +0 -60
- yaga_cli-0.5.0/docs/minimum-runtime.md +0 -87
- yaga_cli-0.5.0/docs/releasing.md +0 -86
- yaga_cli-0.5.0/examples/test-planning/fixed_handoff.py +0 -152
- yaga_cli-0.5.0/examples/test-planning/replay_django_ray.py +0 -431
- yaga_cli-0.5.0/release-notes.md +0 -51
- yaga_cli-0.5.0/scripts/check_build.py +0 -1852
- yaga_cli-0.5.0/scripts/check_dependency_audit.py +0 -316
- yaga_cli-0.5.0/scripts/check_minimum_runtime.py +0 -317
- yaga_cli-0.5.0/scripts/check_release.py +0 -74
- yaga_cli-0.5.0/scripts/composite_smoke_python +0 -18
- yaga_cli-0.5.0/src/yaga/__init__.py +0 -1
- yaga_cli-0.5.0/src/yaga/__main__.py +0 -27
- yaga_cli-0.5.0/src/yaga/action.py +0 -24
- yaga_cli-0.5.0/src/yaga/action_cli.py +0 -25
- yaga_cli-0.5.0/src/yaga/agent_review/__init__.py +0 -107
- yaga_cli-0.5.0/src/yaga/agent_review/evaluation.py +0 -93
- yaga_cli-0.5.0/src/yaga/agent_review/github/__init__.py +0 -1
- yaga_cli-0.5.0/src/yaga/agent_review/github/boundary.py +0 -292
- yaga_cli-0.5.0/src/yaga/agent_review/github/candidate.py +0 -193
- yaga_cli-0.5.0/src/yaga/agent_review/github/constants.py +0 -59
- yaga_cli-0.5.0/src/yaga/agent_review/github/events.py +0 -195
- yaga_cli-0.5.0/src/yaga/agent_review/github/evidence.py +0 -450
- yaga_cli-0.5.0/src/yaga/agent_review/github/gate.py +0 -1486
- yaga_cli-0.5.0/src/yaga/agent_review/github/publication.py +0 -570
- yaga_cli-0.5.0/src/yaga/agent_review/github/requests.py +0 -371
- yaga_cli-0.5.0/src/yaga/agent_review/github/runs.py +0 -412
- yaga_cli-0.5.0/src/yaga/agent_review/github/runtime.py +0 -303
- yaga_cli-0.5.0/src/yaga/agent_review/plan.py +0 -155
- yaga_cli-0.5.0/src/yaga/agent_review/policy.py +0 -467
- yaga_cli-0.5.0/src/yaga/agent_review/remote.py +0 -742
- yaga_cli-0.5.0/src/yaga/agent_review/results.py +0 -306
- yaga_cli-0.5.0/src/yaga/agent_review/runtime.py +0 -7
- yaga_cli-0.5.0/src/yaga/agent_review/service.py +0 -280
- yaga_cli-0.5.0/src/yaga/agent_review/snapshot.py +0 -1453
- yaga_cli-0.5.0/src/yaga/branches/__init__.py +0 -25
- yaga_cli-0.5.0/src/yaga/branches/checker.py +0 -61
- yaga_cli-0.5.0/src/yaga/branches/models.py +0 -180
- yaga_cli-0.5.0/src/yaga/branches/patterns.py +0 -157
- yaga_cli-0.5.0/src/yaga/branches/policy.py +0 -105
- yaga_cli-0.5.0/src/yaga/branches/reporting.py +0 -189
- yaga_cli-0.5.0/src/yaga/branches/service.py +0 -25
- yaga_cli-0.5.0/src/yaga/changes/__init__.py +0 -30
- yaga_cli-0.5.0/src/yaga/changes/checker.py +0 -158
- yaga_cli-0.5.0/src/yaga/changes/git.py +0 -20
- yaga_cli-0.5.0/src/yaga/changes/models.py +0 -261
- yaga_cli-0.5.0/src/yaga/changes/patterns.py +0 -57
- yaga_cli-0.5.0/src/yaga/changes/policy.py +0 -171
- yaga_cli-0.5.0/src/yaga/changes/reporting.py +0 -260
- yaga_cli-0.5.0/src/yaga/changes/service.py +0 -32
- yaga_cli-0.5.0/src/yaga/cli.py +0 -121
- yaga_cli-0.5.0/src/yaga/cli_action.py +0 -469
- yaga_cli-0.5.0/src/yaga/commands/__init__.py +0 -1
- yaga_cli-0.5.0/src/yaga/commands/branch.py +0 -50
- yaga_cli-0.5.0/src/yaga/commands/change.py +0 -58
- yaga_cli-0.5.0/src/yaga/commands/commit.py +0 -251
- yaga_cli-0.5.0/src/yaga/commands/config.py +0 -78
- yaga_cli-0.5.0/src/yaga/commands/gate.py +0 -174
- yaga_cli-0.5.0/src/yaga/commands/github.py +0 -58
- yaga_cli-0.5.0/src/yaga/commands/mode.py +0 -54
- yaga_cli-0.5.0/src/yaga/commands/path.py +0 -54
- yaga_cli-0.5.0/src/yaga/commands/policy.py +0 -149
- yaga_cli-0.5.0/src/yaga/commands/pull_request.py +0 -196
- yaga_cli-0.5.0/src/yaga/commands/repo.py +0 -196
- yaga_cli-0.5.0/src/yaga/commands/self_manage.py +0 -53
- yaga_cli-0.5.0/src/yaga/commands/size.py +0 -54
- yaga_cli-0.5.0/src/yaga/commands/test.py +0 -220
- yaga_cli-0.5.0/src/yaga/commands/tree.py +0 -54
- yaga_cli-0.5.0/src/yaga/commands/workflow.py +0 -132
- yaga_cli-0.5.0/src/yaga/commit_action_cli.py +0 -71
- yaga_cli-0.5.0/src/yaga/commit_action_runtime.py +0 -48
- yaga_cli-0.5.0/src/yaga/commits/__init__.py +0 -21
- yaga_cli-0.5.0/src/yaga/commits/checker.py +0 -490
- yaga_cli-0.5.0/src/yaga/commits/config.py +0 -875
- yaga_cli-0.5.0/src/yaga/commits/config_explain.py +0 -35
- yaga_cli-0.5.0/src/yaga/commits/config_init.py +0 -213
- yaga_cli-0.5.0/src/yaga/commits/content_policy.py +0 -81
- yaga_cli-0.5.0/src/yaga/commits/dependabot.py +0 -119
- yaga_cli-0.5.0/src/yaga/commits/git.py +0 -212
- yaga_cli-0.5.0/src/yaga/commits/github_event.py +0 -503
- yaga_cli-0.5.0/src/yaga/commits/github_reporting.py +0 -270
- yaga_cli-0.5.0/src/yaga/commits/github_signature.py +0 -268
- yaga_cli-0.5.0/src/yaga/commits/models.py +0 -345
- yaga_cli-0.5.0/src/yaga/commits/parser.py +0 -194
- yaga_cli-0.5.0/src/yaga/commits/policy.py +0 -16
- yaga_cli-0.5.0/src/yaga/commits/quality.py +0 -542
- yaga_cli-0.5.0/src/yaga/commits/reporting.py +0 -513
- yaga_cli-0.5.0/src/yaga/commits/service.py +0 -241
- yaga_cli-0.5.0/src/yaga/commits/severity.py +0 -54
- yaga_cli-0.5.0/src/yaga/commits/sources.py +0 -102
- yaga_cli-0.5.0/src/yaga/commits/template.py +0 -96
- yaga_cli-0.5.0/src/yaga/commits/trusted_policy.py +0 -40
- yaga_cli-0.5.0/src/yaga/commits/typos.py +0 -186
- yaga_cli-0.5.0/src/yaga/completion.py +0 -394
- yaga_cli-0.5.0/src/yaga/config_scope.py +0 -28
- yaga_cli-0.5.0/src/yaga/descriptions/__init__.py +0 -1
- yaga_cli-0.5.0/src/yaga/descriptions/checker.py +0 -213
- yaga_cli-0.5.0/src/yaga/descriptions/github.py +0 -294
- yaga_cli-0.5.0/src/yaga/descriptions/hygiene.py +0 -70
- yaga_cli-0.5.0/src/yaga/descriptions/markdown.py +0 -428
- yaga_cli-0.5.0/src/yaga/descriptions/models.py +0 -177
- yaga_cli-0.5.0/src/yaga/descriptions/policy.py +0 -83
- yaga_cli-0.5.0/src/yaga/descriptions/reporting.py +0 -117
- yaga_cli-0.5.0/src/yaga/descriptions/service.py +0 -104
- yaga_cli-0.5.0/src/yaga/descriptions/sources.py +0 -137
- yaga_cli-0.5.0/src/yaga/errors.py +0 -47
- yaga_cli-0.5.0/src/yaga/files.py +0 -48
- yaga_cli-0.5.0/src/yaga/git/__init__.py +0 -28
- yaga_cli-0.5.0/src/yaga/git/changes.py +0 -245
- yaga_cli-0.5.0/src/yaga/git/process.py +0 -303
- yaga_cli-0.5.0/src/yaga/git/runtime.py +0 -843
- yaga_cli-0.5.0/src/yaga/git/tree.py +0 -182
- yaga_cli-0.5.0/src/yaga/github.py +0 -320
- yaga_cli-0.5.0/src/yaga/models.py +0 -175
- yaga_cli-0.5.0/src/yaga/modes/__init__.py +0 -35
- yaga_cli-0.5.0/src/yaga/modes/checker.py +0 -31
- yaga_cli-0.5.0/src/yaga/modes/git.py +0 -179
- yaga_cli-0.5.0/src/yaga/modes/models.py +0 -504
- yaga_cli-0.5.0/src/yaga/modes/patterns.py +0 -207
- yaga_cli-0.5.0/src/yaga/modes/policy.py +0 -178
- yaga_cli-0.5.0/src/yaga/modes/reporting.py +0 -250
- yaga_cli-0.5.0/src/yaga/modes/service.py +0 -44
- yaga_cli-0.5.0/src/yaga/path_patterns.py +0 -224
- yaga_cli-0.5.0/src/yaga/paths/__init__.py +0 -1
- yaga_cli-0.5.0/src/yaga/paths/checker.py +0 -302
- yaga_cli-0.5.0/src/yaga/paths/git.py +0 -133
- yaga_cli-0.5.0/src/yaga/paths/models.py +0 -357
- yaga_cli-0.5.0/src/yaga/paths/policy.py +0 -135
- yaga_cli-0.5.0/src/yaga/paths/reporting.py +0 -225
- yaga_cli-0.5.0/src/yaga/paths/service.py +0 -44
- yaga_cli-0.5.0/src/yaga/policies/__init__.py +0 -55
- yaga_cli-0.5.0/src/yaga/policies/audit.py +0 -520
- yaga_cli-0.5.0/src/yaga/policies/init_templates.py +0 -556
- yaga_cli-0.5.0/src/yaga/policies/reporting.py +0 -174
- yaga_cli-0.5.0/src/yaga/policies/schemas.py +0 -600
- yaga_cli-0.5.0/src/yaga/policies/selector.py +0 -253
- yaga_cli-0.5.0/src/yaga/repository/__init__.py +0 -1
- yaga_cli-0.5.0/src/yaga/repository/checker.py +0 -265
- yaga_cli-0.5.0/src/yaga/repository/models.py +0 -262
- yaga_cli-0.5.0/src/yaga/repository/plan.py +0 -403
- yaga_cli-0.5.0/src/yaga/repository/reporting.py +0 -389
- yaga_cli-0.5.0/src/yaga/self_update.py +0 -113
- yaga_cli-0.5.0/src/yaga/sizes/__init__.py +0 -33
- yaga_cli-0.5.0/src/yaga/sizes/checker.py +0 -39
- yaga_cli-0.5.0/src/yaga/sizes/git.py +0 -204
- yaga_cli-0.5.0/src/yaga/sizes/models.py +0 -506
- yaga_cli-0.5.0/src/yaga/sizes/patterns.py +0 -213
- yaga_cli-0.5.0/src/yaga/sizes/policy.py +0 -174
- yaga_cli-0.5.0/src/yaga/sizes/reporting.py +0 -323
- yaga_cli-0.5.0/src/yaga/sizes/service.py +0 -44
- yaga_cli-0.5.0/src/yaga/status.py +0 -63
- yaga_cli-0.5.0/src/yaga/step_summary.py +0 -427
- yaga_cli-0.5.0/src/yaga/test_planning/__init__.py +0 -1
- yaga_cli-0.5.0/src/yaga/test_planning/diagnostics.py +0 -366
- yaga_cli-0.5.0/src/yaga/test_planning/evaluation.py +0 -349
- yaga_cli-0.5.0/src/yaga/test_planning/evaluation_service.py +0 -95
- yaga_cli-0.5.0/src/yaga/test_planning/git.py +0 -55
- yaga_cli-0.5.0/src/yaga/test_planning/handoff.py +0 -208
- yaga_cli-0.5.0/src/yaga/test_planning/limits.py +0 -21
- yaga_cli-0.5.0/src/yaga/test_planning/models.py +0 -228
- yaga_cli-0.5.0/src/yaga/test_planning/planner.py +0 -281
- yaga_cli-0.5.0/src/yaga/test_planning/policy.py +0 -188
- yaga_cli-0.5.0/src/yaga/test_planning/reporting.py +0 -172
- yaga_cli-0.5.0/src/yaga/test_planning/reports.py +0 -150
- yaga_cli-0.5.0/src/yaga/test_planning/results.py +0 -269
- yaga_cli-0.5.0/src/yaga/test_planning/selection.py +0 -49
- yaga_cli-0.5.0/src/yaga/test_planning/service.py +0 -45
- yaga_cli-0.5.0/src/yaga/test_planning/source.py +0 -73
- yaga_cli-0.5.0/src/yaga/trees/__init__.py +0 -27
- yaga_cli-0.5.0/src/yaga/trees/checker.py +0 -77
- yaga_cli-0.5.0/src/yaga/trees/git.py +0 -127
- yaga_cli-0.5.0/src/yaga/trees/models.py +0 -271
- yaga_cli-0.5.0/src/yaga/trees/patterns.py +0 -227
- yaga_cli-0.5.0/src/yaga/trees/policy.py +0 -133
- yaga_cli-0.5.0/src/yaga/trees/reporting.py +0 -252
- yaga_cli-0.5.0/src/yaga/trees/service.py +0 -38
- yaga_cli-0.5.0/src/yaga/version_requirement.py +0 -49
- yaga_cli-0.5.0/src/yaga/workflows/__init__.py +0 -1
- yaga_cli-0.5.0/src/yaga/workflows/actionlint_runtime.py +0 -985
- yaga_cli-0.5.0/src/yaga/workflows/actionlint_snapshot.py +0 -409
- yaga_cli-0.5.0/src/yaga/workflows/checker.py +0 -98
- yaga_cli-0.5.0/src/yaga/workflows/inputs.py +0 -260
- yaga_cli-0.5.0/src/yaga/workflows/lint.py +0 -400
- yaga_cli-0.5.0/src/yaga/workflows/models.py +0 -189
- yaga_cli-0.5.0/src/yaga/workflows/parser.py +0 -41
- yaga_cli-0.5.0/src/yaga/workflows/references.py +0 -304
- yaga_cli-0.5.0/src/yaga/workflows/reporting.py +0 -280
- yaga_cli-0.5.0/src/yaga/workflows/security.py +0 -125
- yaga_cli-0.5.0/src/yaga/workflows/security_facts.py +0 -109
- yaga_cli-0.5.0/src/yaga/workflows/security_models.py +0 -131
- yaga_cli-0.5.0/src/yaga/workflows/security_reporting.py +0 -193
- yaga_cli-0.5.0/src/yaga/workflows/security_rules.py +0 -396
- yaga_cli-0.5.0/src/yaga/workflows/yaml.py +0 -1056
- yaga_cli-0.5.0/tests/codex_support.py +0 -391
- yaga_cli-0.5.0/tests/conftest.py +0 -20
- yaga_cli-0.5.0/tests/fixtures/github-signatures/.gitattributes +0 -4
- yaga_cli-0.5.0/tests/fixtures/github-signatures/.typos.toml +0 -3
- yaga_cli-0.5.0/tests/fixtures/github-signatures/README.md +0 -45
- yaga_cli-0.5.0/tests/fixtures/github-signatures/dependabot-setup-uv.commit +0 -37
- yaga_cli-0.5.0/tests/fixtures/github-signatures/dependabot-urllib3-parent.commit +0 -20
- yaga_cli-0.5.0/tests/fixtures/github-signatures/web-flow.asc +0 -41
- yaga_cli-0.5.0/tests/test_action.py +0 -117
- yaga_cli-0.5.0/tests/test_agent_review_cli.py +0 -1265
- yaga_cli-0.5.0/tests/test_agent_review_evaluation.py +0 -81
- yaga_cli-0.5.0/tests/test_agent_review_plan.py +0 -105
- yaga_cli-0.5.0/tests/test_agent_review_policy.py +0 -262
- yaga_cli-0.5.0/tests/test_agent_review_results.py +0 -325
- yaga_cli-0.5.0/tests/test_agent_review_snapshot.py +0 -1134
- yaga_cli-0.5.0/tests/test_branch_checker.py +0 -153
- yaga_cli-0.5.0/tests/test_branch_cli.py +0 -210
- yaga_cli-0.5.0/tests/test_branch_models.py +0 -129
- yaga_cli-0.5.0/tests/test_branch_patterns.py +0 -172
- yaga_cli-0.5.0/tests/test_branch_policy.py +0 -133
- yaga_cli-0.5.0/tests/test_branch_reporting.py +0 -176
- yaga_cli-0.5.0/tests/test_branch_service.py +0 -69
- yaga_cli-0.5.0/tests/test_change_checker.py +0 -320
- yaga_cli-0.5.0/tests/test_change_cli.py +0 -306
- yaga_cli-0.5.0/tests/test_change_git.py +0 -532
- yaga_cli-0.5.0/tests/test_change_patterns.py +0 -131
- yaga_cli-0.5.0/tests/test_change_policy.py +0 -284
- yaga_cli-0.5.0/tests/test_change_reporting.py +0 -243
- yaga_cli-0.5.0/tests/test_cli.py +0 -1214
- yaga_cli-0.5.0/tests/test_cli_action.py +0 -541
- yaga_cli-0.5.0/tests/test_codex_events.py +0 -163
- yaga_cli-0.5.0/tests/test_codex_evidence.py +0 -226
- yaga_cli-0.5.0/tests/test_codex_evidence_literals.py +0 -143
- yaga_cli-0.5.0/tests/test_codex_gate.py +0 -1629
- yaga_cli-0.5.0/tests/test_codex_publication.py +0 -557
- yaga_cli-0.5.0/tests/test_codex_requests.py +0 -452
- yaga_cli-0.5.0/tests/test_codex_runs.py +0 -210
- yaga_cli-0.5.0/tests/test_codex_runtime.py +0 -320
- yaga_cli-0.5.0/tests/test_command_guide.py +0 -132
- yaga_cli-0.5.0/tests/test_commit_action.py +0 -570
- yaga_cli-0.5.0/tests/test_commit_body_customization.py +0 -123
- yaga_cli-0.5.0/tests/test_commit_checker.py +0 -616
- yaga_cli-0.5.0/tests/test_commit_config.py +0 -794
- yaga_cli-0.5.0/tests/test_commit_consumer_policy.py +0 -141
- yaga_cli-0.5.0/tests/test_commit_content_policy.py +0 -148
- yaga_cli-0.5.0/tests/test_commit_explicit_inputs.py +0 -131
- yaga_cli-0.5.0/tests/test_commit_git.py +0 -426
- yaga_cli-0.5.0/tests/test_commit_parser.py +0 -303
- yaga_cli-0.5.0/tests/test_commit_quality.py +0 -604
- yaga_cli-0.5.0/tests/test_commit_quality_workflow.py +0 -163
- yaga_cli-0.5.0/tests/test_commit_reporting.py +0 -273
- yaga_cli-0.5.0/tests/test_commit_service.py +0 -390
- yaga_cli-0.5.0/tests/test_commit_sources.py +0 -75
- yaga_cli-0.5.0/tests/test_commit_template.py +0 -78
- yaga_cli-0.5.0/tests/test_commit_trusted_policy.py +0 -159
- yaga_cli-0.5.0/tests/test_commit_typos.py +0 -341
- yaga_cli-0.5.0/tests/test_commit_warnings.py +0 -247
- yaga_cli-0.5.0/tests/test_completion.py +0 -183
- yaga_cli-0.5.0/tests/test_config_init.py +0 -281
- yaga_cli-0.5.0/tests/test_config_workflows.py +0 -111
- yaga_cli-0.5.0/tests/test_consumer_policy_entrypoints.py +0 -145
- yaga_cli-0.5.0/tests/test_dependabot_commit_filter.py +0 -383
- yaga_cli-0.5.0/tests/test_dependency_audit.py +0 -280
- yaga_cli-0.5.0/tests/test_description_checker.py +0 -297
- yaga_cli-0.5.0/tests/test_description_cli.py +0 -664
- yaga_cli-0.5.0/tests/test_description_github.py +0 -407
- yaga_cli-0.5.0/tests/test_description_hygiene.py +0 -301
- yaga_cli-0.5.0/tests/test_description_markdown.py +0 -181
- yaga_cli-0.5.0/tests/test_description_policy.py +0 -138
- yaga_cli-0.5.0/tests/test_description_remote_cli.py +0 -317
- yaga_cli-0.5.0/tests/test_description_sources.py +0 -296
- yaga_cli-0.5.0/tests/test_description_structure.py +0 -222
- yaga_cli-0.5.0/tests/test_files.py +0 -47
- yaga_cli-0.5.0/tests/test_git_runtime.py +0 -1193
- yaga_cli-0.5.0/tests/test_git_tree.py +0 -323
- yaga_cli-0.5.0/tests/test_github.py +0 -315
- yaga_cli-0.5.0/tests/test_github_commit_signature.py +0 -373
- yaga_cli-0.5.0/tests/test_github_pull_request.py +0 -604
- yaga_cli-0.5.0/tests/test_github_reporting.py +0 -227
- yaga_cli-0.5.0/tests/test_installation.py +0 -197
- yaga_cli-0.5.0/tests/test_installers.py +0 -210
- yaga_cli-0.5.0/tests/test_minimum_runtime.py +0 -234
- yaga_cli-0.5.0/tests/test_mode_checker.py +0 -200
- yaga_cli-0.5.0/tests/test_mode_cli.py +0 -368
- yaga_cli-0.5.0/tests/test_mode_git.py +0 -442
- yaga_cli-0.5.0/tests/test_mode_models.py +0 -278
- yaga_cli-0.5.0/tests/test_mode_patterns.py +0 -81
- yaga_cli-0.5.0/tests/test_mode_policy.py +0 -121
- yaga_cli-0.5.0/tests/test_mode_reporting.py +0 -357
- yaga_cli-0.5.0/tests/test_mode_service.py +0 -116
- yaga_cli-0.5.0/tests/test_models.py +0 -119
- yaga_cli-0.5.0/tests/test_path_checker.py +0 -341
- yaga_cli-0.5.0/tests/test_path_cli.py +0 -348
- yaga_cli-0.5.0/tests/test_path_git.py +0 -408
- yaga_cli-0.5.0/tests/test_path_models.py +0 -335
- yaga_cli-0.5.0/tests/test_path_patterns.py +0 -180
- yaga_cli-0.5.0/tests/test_path_policy.py +0 -101
- yaga_cli-0.5.0/tests/test_path_reporting.py +0 -343
- yaga_cli-0.5.0/tests/test_path_service.py +0 -118
- yaga_cli-0.5.0/tests/test_plain_messages.py +0 -103
- yaga_cli-0.5.0/tests/test_policy_cli.py +0 -527
- yaga_cli-0.5.0/tests/test_pr_proposed_message.py +0 -183
- yaga_cli-0.5.0/tests/test_regular_file_prefix.py +0 -115
- yaga_cli-0.5.0/tests/test_repo_cli.py +0 -805
- yaga_cli-0.5.0/tests/test_repository_checker.py +0 -792
- yaga_cli-0.5.0/tests/test_repository_contract.py +0 -818
- yaga_cli-0.5.0/tests/test_repository_models.py +0 -185
- yaga_cli-0.5.0/tests/test_repository_plan.py +0 -710
- yaga_cli-0.5.0/tests/test_repository_reporting.py +0 -522
- yaga_cli-0.5.0/tests/test_size_checker.py +0 -164
- yaga_cli-0.5.0/tests/test_size_cli.py +0 -323
- yaga_cli-0.5.0/tests/test_size_git.py +0 -540
- yaga_cli-0.5.0/tests/test_size_models.py +0 -231
- yaga_cli-0.5.0/tests/test_size_patterns.py +0 -64
- yaga_cli-0.5.0/tests/test_size_policy.py +0 -107
- yaga_cli-0.5.0/tests/test_size_reporting.py +0 -293
- yaga_cli-0.5.0/tests/test_size_service.py +0 -91
- yaga_cli-0.5.0/tests/test_status.py +0 -60
- yaga_cli-0.5.0/tests/test_step_summary.py +0 -185
- yaga_cli-0.5.0/tests/test_test_planning_cli.py +0 -450
- yaga_cli-0.5.0/tests/test_test_planning_diagnostics.py +0 -494
- yaga_cli-0.5.0/tests/test_test_planning_evaluate_cli.py +0 -475
- yaga_cli-0.5.0/tests/test_test_planning_evaluation.py +0 -471
- yaga_cli-0.5.0/tests/test_test_planning_examples.py +0 -665
- yaga_cli-0.5.0/tests/test_test_planning_git.py +0 -283
- yaga_cli-0.5.0/tests/test_test_planning_handoff.py +0 -545
- yaga_cli-0.5.0/tests/test_test_planning_handoff_example.py +0 -106
- yaga_cli-0.5.0/tests/test_test_planning_planner.py +0 -350
- yaga_cli-0.5.0/tests/test_test_planning_policy.py +0 -532
- yaga_cli-0.5.0/tests/test_test_planning_replay.py +0 -563
- yaga_cli-0.5.0/tests/test_test_planning_reporting.py +0 -490
- yaga_cli-0.5.0/tests/test_test_planning_results.py +0 -277
- yaga_cli-0.5.0/tests/test_tooling.py +0 -967
- yaga_cli-0.5.0/tests/test_tree_checker.py +0 -101
- yaga_cli-0.5.0/tests/test_tree_cli.py +0 -327
- yaga_cli-0.5.0/tests/test_tree_git.py +0 -366
- yaga_cli-0.5.0/tests/test_tree_models.py +0 -233
- yaga_cli-0.5.0/tests/test_tree_patterns.py +0 -126
- yaga_cli-0.5.0/tests/test_tree_policy.py +0 -106
- yaga_cli-0.5.0/tests/test_tree_reporting.py +0 -256
- yaga_cli-0.5.0/tests/test_tree_service.py +0 -106
- yaga_cli-0.5.0/tests/test_workflow_checker.py +0 -220
- yaga_cli-0.5.0/tests/test_workflow_inputs.py +0 -204
- yaga_cli-0.5.0/tests/test_workflow_lint.py +0 -545
- yaga_cli-0.5.0/tests/test_workflow_lint_hardening.py +0 -1466
- yaga_cli-0.5.0/tests/test_workflow_lint_reporting.py +0 -229
- yaga_cli-0.5.0/tests/test_workflow_provider_inputs.py +0 -346
- yaga_cli-0.5.0/tests/test_workflow_references.py +0 -332
- yaga_cli-0.5.0/tests/test_workflow_reporting.py +0 -285
- yaga_cli-0.5.0/tests/test_workflow_security_cli.py +0 -362
- yaga_cli-0.5.0/tests/test_workflow_security_facts.py +0 -263
- yaga_cli-0.5.0/tests/test_workflow_security_models.py +0 -134
- yaga_cli-0.5.0/tests/test_workflow_security_reporting.py +0 -339
- yaga_cli-0.5.0/tests/test_workflow_security_rules.py +0 -639
- yaga_cli-0.5.0/tests/test_workflow_security_selection.py +0 -93
- yaga_cli-0.5.0/tests/test_workflow_security_service.py +0 -257
- yaga_cli-0.5.0/tests/test_workflow_yaml.py +0 -563
- yaga_cli-0.5.0/uv.lock +0 -1865
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.github/dependabot.yml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.github/workflows/commit-adoption-qualification.yml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.github/workflows/commit-policy.yml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.pre-commit-hooks.yaml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.yaga/agent-review-policy.toml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.yaga/branch-policy.toml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.yaga/checks/ci.toml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.yaga/description-policy.toml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.yaga/mode-policy.toml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.yaga/path-policy.toml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/.yaga/tree-policy.toml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/CHANGELOG.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/LICENSE +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0/crates/yaga-core}/tests/fixtures/commit_consumer_parity.json +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0/crates/yaga-core}/tests/fixtures/github-signatures/dependabot-urllib3.commit +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/assets/branding/isometric_terminal_y_logo.png +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/assets/branding/isometric_terminal_y_logo_transparent.png +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/assets/branding/yaga_cli_brand_concept_board.png +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/branch-policy.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/change-policy.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/ci-adoption.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/commit-policy-direction.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/commit-policy.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/designs/examples/test-planning/django-ray.toml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/designs/examples/test-planning/polyglot.toml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/designs/experiments/django-ray-full-shadow-result.json +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/designs/experiments/django-ray-shadow-replay/cohort.json +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/designs/experiments/django-ray-shadow-replay/observations-01.json +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/designs/experiments/django-ray-shadow-replay/observations-02.json +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/designs/experiments/django-ray-shadow-replay/observations-03.json +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/designs/experiments/django-ray-shadow-replay/observations-04.json +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/designs/experiments/django-ray-shadow-replay/observations-05.json +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/designs/experiments/django-ray-shadow-replay/observations-06.json +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/designs/experiments/django-ray-shadow-replay/report.json +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/designs/experiments/django-ray-shadow-replay.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/designs/staged-checks.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/designs/test-planning.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/index.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/mode-policy.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/path-policy.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/repository-checks.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/size-policy.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/stylesheets/extra.css +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/test-planning.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/docs/tree-policy.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/examples/agent-review-policy.toml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/examples/agent-review-results.json +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/examples/agent-review.yml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/examples/commit-policy.yml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/examples/description-policy.toml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/examples/pull-request-template.md +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/examples/review-policy.yml +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/overrides/404.html +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/scripts/check_description.py +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/scripts/check_docs.py +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/scripts/prepare_commit_action_control.py +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/src/yaga/_update_worker.py +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/tests/__init__.py +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/tests/test_build_git_isolation.py +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/tests/test_description.py +0 -0
- {yaga_cli-0.5.0 → yaga_cli-0.6.0}/tests/test_docs_links.py +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Downloaded shell scripts must remain executable by POSIX shells from any checkout.
|
|
2
|
+
docs/install.sh text eol=lf
|
|
3
|
+
crates/yaga-cli/assets/install.sh text eol=lf
|
|
4
|
+
# These files are embedded verbatim in the standalone Rust binary.
|
|
5
|
+
crates/yaga-core/src/commits/starters/*.toml text eol=lf
|
|
6
|
+
crates/yaga-core/src/policies/starters/*.toml text eol=lf
|
|
7
|
+
crates/yaga-core/src/policies/catalog.tsv text eol=lf
|
|
8
|
+
crates/yaga-core/src/completion/* text eol=lf
|
|
9
|
+
# Signed Git object and shell test fixtures must retain exact bytes across checkouts.
|
|
10
|
+
crates/yaga-core/tests/fixtures/** -text
|
|
@@ -71,14 +71,16 @@ jobs:
|
|
|
71
71
|
lint-and-build:
|
|
72
72
|
name: Lint, Package Build & Docs
|
|
73
73
|
runs-on: ubuntu-latest
|
|
74
|
-
timeout-minutes:
|
|
74
|
+
timeout-minutes: 45
|
|
75
|
+
env:
|
|
76
|
+
RUSTUP_TOOLCHAIN: "1.99.0"
|
|
75
77
|
steps:
|
|
76
78
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
77
79
|
with:
|
|
78
80
|
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
|
|
79
81
|
fetch-depth: 0
|
|
80
82
|
persist-credentials: false
|
|
81
|
-
- uses: astral-sh/setup-uv@
|
|
83
|
+
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
|
|
82
84
|
with:
|
|
83
85
|
enable-cache: true
|
|
84
86
|
version: "0.13.0"
|
|
@@ -88,6 +90,8 @@ jobs:
|
|
|
88
90
|
path: ~/.cargo/registry
|
|
89
91
|
key: yaga-typos-${{ runner.os }}-1.49.0
|
|
90
92
|
restore-keys: yaga-typos-${{ runner.os }}-
|
|
93
|
+
- name: Install the wheel build toolchain
|
|
94
|
+
run: rustup toolchain install "$RUSTUP_TOOLCHAIN" --profile minimal
|
|
91
95
|
- name: Install Typos CLI
|
|
92
96
|
run: cargo install typos-cli --version 1.49.0 --locked
|
|
93
97
|
- run: uv sync --frozen --group dev --python 3.12
|
|
@@ -114,41 +118,76 @@ jobs:
|
|
|
114
118
|
grep -F -- 'hook id: yaga-commit-check' "$RUNNER_TEMP/yaga-pre-commit.log"
|
|
115
119
|
grep -F -- 'exit code: 1' "$RUNNER_TEMP/yaga-pre-commit.log"
|
|
116
120
|
grep -F -- '[syntax.header]' "$RUNNER_TEMP/yaga-pre-commit.log"
|
|
117
|
-
- name: Exercise the cached actionlint integration
|
|
118
|
-
run: >-
|
|
119
|
-
uv run --frozen --python 3.12 pytest -q -n 0
|
|
120
|
-
tests/test_workflow_lint.py tests/test_workflow_lint_hardening.py
|
|
121
|
-
- run: bash -n scripts/composite_smoke_python
|
|
122
121
|
- run: uv run --frozen --python 3.12 python scripts/check_build.py
|
|
123
122
|
- name: Build documentation
|
|
124
123
|
run: |
|
|
125
124
|
uv run --frozen --python 3.12 zensical build --strict --clean
|
|
126
125
|
uv run --frozen --python 3.12 python scripts/check_docs.py
|
|
127
126
|
uv run --frozen --python 3.12 python scripts/check_description.py
|
|
128
|
-
|
|
127
|
+
|
|
128
|
+
native:
|
|
129
|
+
name: Rust CLI, tests, and wheel on ${{ matrix.os }}
|
|
130
|
+
runs-on: ${{ matrix.os }}
|
|
131
|
+
timeout-minutes: 45
|
|
132
|
+
strategy:
|
|
133
|
+
fail-fast: false
|
|
134
|
+
matrix:
|
|
135
|
+
include:
|
|
136
|
+
- {os: ubuntu-latest, toolchain: "1.99.0"}
|
|
137
|
+
- {os: windows-latest, toolchain: "1.100.0"}
|
|
138
|
+
env:
|
|
139
|
+
RUSTUP_TOOLCHAIN: ${{ matrix.toolchain }}
|
|
140
|
+
steps:
|
|
141
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
142
|
+
with:
|
|
143
|
+
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
|
|
144
|
+
fetch-depth: 0
|
|
145
|
+
persist-credentials: false
|
|
146
|
+
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
|
|
147
|
+
with:
|
|
148
|
+
version: "0.13.0"
|
|
149
|
+
enable-cache: false
|
|
150
|
+
- name: Install the native qualification toolchain
|
|
151
|
+
shell: bash
|
|
129
152
|
run: |
|
|
130
|
-
install
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
153
|
+
rustup toolchain install "$RUSTUP_TOOLCHAIN" --profile minimal --component clippy --component rustfmt
|
|
154
|
+
if [[ "$RUSTUP_TOOLCHAIN" != "1.100.0" ]]; then
|
|
155
|
+
# The unpublished Action builds its trusted sources with this exact compiler.
|
|
156
|
+
rustup toolchain install 1.100.0 --profile minimal
|
|
157
|
+
fi
|
|
158
|
+
cargo install typos-cli --version 1.49.0 --locked
|
|
159
|
+
- run: uv sync --frozen --group dev --python 3.12
|
|
160
|
+
- name: Qualify the Rust library, standalone CLI, platform wheel, and packaging tests
|
|
161
|
+
run: uv run --frozen --python 3.12 python scripts/check_native.py
|
|
162
|
+
- name: Verify crates.io workspace packages
|
|
163
|
+
if: matrix.os == 'ubuntu-latest'
|
|
164
|
+
run: cargo package --workspace --locked
|
|
165
|
+
|
|
166
|
+
macos-wheel:
|
|
167
|
+
name: macOS ARM64 Rust tests and wheel
|
|
168
|
+
runs-on: macos-15
|
|
169
|
+
timeout-minutes: 30
|
|
170
|
+
env:
|
|
171
|
+
RUSTUP_TOOLCHAIN: "1.99.0-aarch64-apple-darwin"
|
|
172
|
+
steps:
|
|
173
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
137
174
|
with:
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
- name:
|
|
145
|
-
env:
|
|
146
|
-
ACTION_OUTCOME: ${{ steps.action_smoke.outcome }}
|
|
175
|
+
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
|
|
176
|
+
persist-credentials: false
|
|
177
|
+
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
|
|
178
|
+
with:
|
|
179
|
+
version: "0.13.0"
|
|
180
|
+
enable-cache: true
|
|
181
|
+
- name: Run Rust tests and build the macOS ARM64 wheel
|
|
147
182
|
run: |
|
|
148
|
-
|
|
183
|
+
set -euo pipefail
|
|
184
|
+
rustup toolchain install "$RUSTUP_TOOLCHAIN" --profile minimal
|
|
185
|
+
cargo test --workspace --locked
|
|
186
|
+
uv sync --frozen --group dev --no-install-project --python 3.12
|
|
187
|
+
uv run --no-sync --python 3.12 python scripts/release_wheels.py build aarch64-apple-darwin native-wheel
|
|
149
188
|
|
|
150
189
|
test:
|
|
151
|
-
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
|
|
190
|
+
name: Python ${{ matrix.python-version }} wheel on ${{ matrix.os }}
|
|
152
191
|
strategy:
|
|
153
192
|
fail-fast: false
|
|
154
193
|
matrix:
|
|
@@ -160,57 +199,27 @@ jobs:
|
|
|
160
199
|
- python-version: "3.15"
|
|
161
200
|
os: windows-latest
|
|
162
201
|
runs-on: ${{ matrix.os }}
|
|
163
|
-
|
|
164
|
-
|
|
202
|
+
timeout-minutes: 30
|
|
203
|
+
env:
|
|
204
|
+
RUSTUP_TOOLCHAIN: ${{ matrix.os == 'windows-latest' && '1.100.0' || '1.99.0' }}
|
|
165
205
|
steps:
|
|
166
206
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
167
207
|
with:
|
|
168
208
|
persist-credentials: false
|
|
169
|
-
- uses: astral-sh/setup-uv@
|
|
209
|
+
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
|
|
170
210
|
with:
|
|
171
211
|
enable-cache: true
|
|
172
212
|
version: "0.13.0"
|
|
213
|
+
- name: Install the wheel build toolchain
|
|
214
|
+
shell: bash
|
|
215
|
+
run: rustup toolchain install "$RUSTUP_TOOLCHAIN" --profile minimal
|
|
173
216
|
- run: uv sync --frozen --group dev --no-editable --python ${{ matrix.python-version }}
|
|
174
217
|
- run: uv run --frozen --no-editable --python ${{ matrix.python-version }} pytest
|
|
175
218
|
|
|
176
|
-
minimum-runtime:
|
|
177
|
-
name: Minimum dependency security on ${{ matrix.os }}
|
|
178
|
-
strategy:
|
|
179
|
-
fail-fast: false
|
|
180
|
-
matrix:
|
|
181
|
-
os: [ubuntu-latest, windows-latest]
|
|
182
|
-
runs-on: ${{ matrix.os }}
|
|
183
|
-
timeout-minutes: 10
|
|
184
|
-
steps:
|
|
185
|
-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
186
|
-
with:
|
|
187
|
-
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
|
|
188
|
-
persist-credentials: false
|
|
189
|
-
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
|
|
190
|
-
with:
|
|
191
|
-
enable-cache: false
|
|
192
|
-
version: "0.13.0"
|
|
193
|
-
- run: uv sync --frozen --group dev --python 3.12
|
|
194
|
-
- name: Qualify and audit the lowest base dependencies
|
|
195
|
-
shell: bash
|
|
196
|
-
env:
|
|
197
|
-
YAGA_MINIMUM_REPORT: ${{ runner.temp }}/minimum-runtime.json
|
|
198
|
-
run: >-
|
|
199
|
-
uv run --frozen --python 3.12 python scripts/check_minimum_runtime.py
|
|
200
|
-
--report "$YAGA_MINIMUM_REPORT"
|
|
201
|
-
- name: Retain minimum dependency evidence
|
|
202
|
-
if: always()
|
|
203
|
-
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
204
|
-
with:
|
|
205
|
-
name: minimum-runtime-${{ matrix.os }}
|
|
206
|
-
path: ${{ runner.temp }}/minimum-runtime.json
|
|
207
|
-
if-no-files-found: error
|
|
208
|
-
retention-days: 7
|
|
209
|
-
|
|
210
219
|
gate:
|
|
211
220
|
name: CI Prerequisites
|
|
212
221
|
if: always()
|
|
213
|
-
needs: [yaga-checks, lint-and-build,
|
|
222
|
+
needs: [yaga-checks, lint-and-build, native, macos-wheel, test]
|
|
214
223
|
runs-on: ubuntu-latest
|
|
215
224
|
timeout-minutes: 1
|
|
216
225
|
steps:
|
|
@@ -218,11 +227,13 @@ jobs:
|
|
|
218
227
|
env:
|
|
219
228
|
YAGA_CHECKS_RESULT: ${{ needs.yaga-checks.result }}
|
|
220
229
|
LINT_AND_BUILD_RESULT: ${{ needs.lint-and-build.result }}
|
|
230
|
+
NATIVE_RESULT: ${{ needs.native.result }}
|
|
231
|
+
MACOS_WHEEL_RESULT: ${{ needs.macos-wheel.result }}
|
|
221
232
|
TEST_RESULT: ${{ needs.test.result }}
|
|
222
|
-
MINIMUM_RUNTIME_RESULT: ${{ needs.minimum-runtime.result }}
|
|
223
233
|
run: |
|
|
224
234
|
set -euo pipefail
|
|
225
235
|
[[ "$YAGA_CHECKS_RESULT" == success ]]
|
|
226
236
|
[[ "$LINT_AND_BUILD_RESULT" == success ]]
|
|
237
|
+
[[ "$NATIVE_RESULT" == success ]]
|
|
238
|
+
[[ "$MACOS_WHEEL_RESULT" == success ]]
|
|
227
239
|
[[ "$TEST_RESULT" == success ]]
|
|
228
|
-
[[ "$MINIMUM_RUNTIME_RESULT" == success ]]
|
|
@@ -30,12 +30,12 @@ jobs:
|
|
|
30
30
|
with:
|
|
31
31
|
persist-credentials: false
|
|
32
32
|
- uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6
|
|
33
|
-
- uses: astral-sh/setup-uv@
|
|
33
|
+
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
|
|
34
34
|
with:
|
|
35
35
|
version: "0.13.0"
|
|
36
|
-
- run: uv sync --frozen --group dev --python 3.12
|
|
37
|
-
- run: uv run --
|
|
38
|
-
- run: uv run --
|
|
36
|
+
- run: uv sync --frozen --group dev --no-install-project --python 3.12
|
|
37
|
+
- run: uv run --no-sync --python 3.12 zensical build --strict --clean
|
|
38
|
+
- run: uv run --no-sync --python 3.12 python scripts/check_docs.py
|
|
39
39
|
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5
|
|
40
40
|
with:
|
|
41
41
|
path: site
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
name: Stage pinned native Action
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
release-run:
|
|
7
|
+
description: Successful trusted Release workflow run containing native-release
|
|
8
|
+
required: true
|
|
9
|
+
type: string
|
|
10
|
+
source-sha:
|
|
11
|
+
description: Reviewed full default-branch source commit used by that Release run
|
|
12
|
+
required: true
|
|
13
|
+
type: string
|
|
14
|
+
manifest-sha256:
|
|
15
|
+
description: Independently reviewed SHA-256 of yaga-native-sha256.txt for all six assets
|
|
16
|
+
required: true
|
|
17
|
+
type: string
|
|
18
|
+
|
|
19
|
+
permissions:
|
|
20
|
+
actions: read
|
|
21
|
+
contents: read
|
|
22
|
+
|
|
23
|
+
jobs:
|
|
24
|
+
stage:
|
|
25
|
+
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
timeout-minutes: 10
|
|
28
|
+
outputs:
|
|
29
|
+
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
|
30
|
+
source-files-sha256: ${{ steps.assemble.outputs.source-files-sha256 }}
|
|
31
|
+
steps:
|
|
32
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
33
|
+
with:
|
|
34
|
+
fetch-depth: 0
|
|
35
|
+
persist-credentials: false
|
|
36
|
+
- name: Bind the approved release artifact to trusted source
|
|
37
|
+
shell: bash
|
|
38
|
+
env:
|
|
39
|
+
GH_TOKEN: ${{ github.token }}
|
|
40
|
+
RUN: ${{ inputs.release-run }}
|
|
41
|
+
SOURCE: ${{ inputs.source-sha }}
|
|
42
|
+
DIGEST: ${{ inputs.manifest-sha256 }}
|
|
43
|
+
run: |
|
|
44
|
+
set -euo pipefail
|
|
45
|
+
[[ "$RUN" =~ ^[1-9][0-9]{0,18}$ && "$SOURCE" =~ ^[0-9a-f]{40}$ && "$DIGEST" =~ ^[0-9a-f]{64}$ ]]
|
|
46
|
+
git merge-base --is-ancestor "$SOURCE" "$GITHUB_SHA"
|
|
47
|
+
gh api "repos/$GITHUB_REPOSITORY/actions/runs/$RUN" |
|
|
48
|
+
jq -e --arg src "$SOURCE" --arg repo "$GITHUB_REPOSITORY" '
|
|
49
|
+
.status == "completed" and .conclusion == "success"
|
|
50
|
+
and (.event == "workflow_dispatch" or .event == "push")
|
|
51
|
+
and .path == ".github/workflows/release.yml"
|
|
52
|
+
and .head_sha == $src and .head_repository.full_name == $repo' >/dev/null
|
|
53
|
+
unset GH_TOKEN
|
|
54
|
+
git -c core.hooksPath=/dev/null checkout --quiet --detach "$SOURCE"
|
|
55
|
+
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
56
|
+
with:
|
|
57
|
+
github-token: ${{ github.token }}
|
|
58
|
+
run-id: ${{ inputs.release-run }}
|
|
59
|
+
name: native-release
|
|
60
|
+
path: ${{ runner.temp }}/yaga-native-release
|
|
61
|
+
- name: Stage the verified Action from the exact release source
|
|
62
|
+
id: assemble
|
|
63
|
+
shell: bash
|
|
64
|
+
env:
|
|
65
|
+
DIGEST: ${{ inputs.manifest-sha256 }}
|
|
66
|
+
run: |
|
|
67
|
+
set -euo pipefail
|
|
68
|
+
node scripts/action-runtime.cjs distribution "$RUNNER_TEMP/yaga-native-release" "$RUNNER_TEMP/yaga-action-dist" "$DIGEST"
|
|
69
|
+
source_files=$(sha256sum action.yml LICENSE scripts/action-runtime.cjs | sha256sum)
|
|
70
|
+
printf 'source-files-sha256=%s\n' "${source_files%% *}" >> "$GITHUB_OUTPUT"
|
|
71
|
+
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
72
|
+
id: upload
|
|
73
|
+
with:
|
|
74
|
+
name: native-action-distribution
|
|
75
|
+
path: ${{ runner.temp }}/yaga-action-dist/
|
|
76
|
+
include-hidden-files: true # Retain the generated action-native/.gitattributes.
|
|
77
|
+
if-no-files-found: error
|
|
78
|
+
|
|
79
|
+
verify:
|
|
80
|
+
name: Run staged Action on ${{ matrix.target }}
|
|
81
|
+
needs: stage
|
|
82
|
+
runs-on: ${{ matrix.os }}
|
|
83
|
+
timeout-minutes: 10
|
|
84
|
+
strategy:
|
|
85
|
+
fail-fast: false
|
|
86
|
+
matrix:
|
|
87
|
+
include:
|
|
88
|
+
- {os: ubuntu-24.04, target: x86_64-unknown-linux-musl}
|
|
89
|
+
- {os: ubuntu-24.04-arm, target: aarch64-unknown-linux-musl}
|
|
90
|
+
- {os: macos-15-intel, target: x86_64-apple-darwin}
|
|
91
|
+
- {os: macos-15, target: aarch64-apple-darwin}
|
|
92
|
+
- {os: windows-latest, target: x86_64-pc-windows-msvc}
|
|
93
|
+
- {os: windows-11-arm, target: aarch64-pc-windows-msvc}
|
|
94
|
+
steps:
|
|
95
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
96
|
+
with:
|
|
97
|
+
ref: ${{ github.sha }}
|
|
98
|
+
persist-credentials: false
|
|
99
|
+
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
100
|
+
with:
|
|
101
|
+
artifact-ids: ${{ needs.stage.outputs.artifact-id }}
|
|
102
|
+
merge-multiple: true
|
|
103
|
+
path: ${{ runner.temp }}/staged-action
|
|
104
|
+
- name: Check native image selection and tokenless policy outcomes
|
|
105
|
+
shell: bash
|
|
106
|
+
env:
|
|
107
|
+
TARGET: ${{ matrix.target }}
|
|
108
|
+
SOURCE: ${{ inputs.source-sha }}
|
|
109
|
+
MANIFEST: ${{ inputs.manifest-sha256 }}
|
|
110
|
+
SOURCE_FILES: ${{ needs.stage.outputs.source-files-sha256 }}
|
|
111
|
+
run: node scripts/check_action_distribution.cjs "$RUNNER_TEMP/staged-action" "$TARGET" "$SOURCE" "$MANIFEST" "$SOURCE_FILES"
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
name: Pull Request Review Wake
|
|
2
2
|
run-name: >-
|
|
3
|
-
YAGA review wake for #${{ github.event.issue.number || inputs.pull_request || '0' }}
|
|
3
|
+
YAGA review wake for #${{ github.event.issue.number || github.event.pull_request.number || inputs.pull_request || '0' }}
|
|
4
4
|
|
|
5
5
|
on:
|
|
6
6
|
issue_comment:
|
|
7
7
|
types: [created, edited]
|
|
8
|
+
pull_request_review:
|
|
9
|
+
types: [submitted, edited, dismissed]
|
|
8
10
|
workflow_dispatch:
|
|
9
11
|
inputs:
|
|
10
12
|
pull_request:
|
|
@@ -32,6 +34,15 @@ jobs:
|
|
|
32
34
|
github.event.comment.user.login != 'github-actions[bot]' &&
|
|
33
35
|
!contains(github.event.comment.body, '"status":"running"') &&
|
|
34
36
|
!contains(github.event.comment.body, '"status": "running"')
|
|
37
|
+
) ||
|
|
38
|
+
(
|
|
39
|
+
github.event_name == 'pull_request_review' &&
|
|
40
|
+
github.event.pull_request.base.ref == github.event.repository.default_branch &&
|
|
41
|
+
github.event.pull_request.state == 'open' &&
|
|
42
|
+
github.event.pull_request.draft == false &&
|
|
43
|
+
github.event.pull_request.user.login != 'github-actions[bot]' &&
|
|
44
|
+
(github.event.review.user.type == 'Bot' || github.event.review.user.type == 'User') &&
|
|
45
|
+
github.event.review.user.login != 'github-actions[bot]'
|
|
35
46
|
)
|
|
36
47
|
runs-on: ubuntu-latest
|
|
37
48
|
timeout-minutes: 1
|
|
@@ -39,7 +50,7 @@ jobs:
|
|
|
39
50
|
steps:
|
|
40
51
|
- name: Validate pull-request wake target
|
|
41
52
|
env:
|
|
42
|
-
YAGA_PR_NUMBER: ${{ github.event.issue.number || inputs.pull_request }}
|
|
53
|
+
YAGA_PR_NUMBER: ${{ github.event.issue.number || github.event.pull_request.number || inputs.pull_request }}
|
|
43
54
|
run: |
|
|
44
55
|
set -euo pipefail
|
|
45
56
|
[[ "$YAGA_PR_NUMBER" =~ ^[1-9][0-9]{0,18}$ ]]
|
|
@@ -6,7 +6,7 @@ run-name: >-
|
|
|
6
6
|
|
|
7
7
|
on:
|
|
8
8
|
pull_request_target:
|
|
9
|
-
types: [opened, synchronize, reopened, ready_for_review]
|
|
9
|
+
types: [opened, synchronize, reopened, ready_for_review, edited]
|
|
10
10
|
workflow_run:
|
|
11
11
|
workflows: [CI, "Pull Request Review Wake"]
|
|
12
12
|
types: [completed]
|
|
@@ -81,7 +81,7 @@ jobs:
|
|
|
81
81
|
and 1 <= number <= 10**18
|
|
82
82
|
):
|
|
83
83
|
pr_number = number
|
|
84
|
-
wait_seconds =
|
|
84
|
+
wait_seconds = 600
|
|
85
85
|
elif event_name == "workflow_run":
|
|
86
86
|
run = payload.get("workflow_run") or {}
|
|
87
87
|
repo = run.get("repository") or {}
|
|
@@ -107,7 +107,8 @@ jobs:
|
|
|
107
107
|
elif (
|
|
108
108
|
path == ".github/workflows/pr-review-wake.yml"
|
|
109
109
|
and run.get("conclusion") == "success"
|
|
110
|
-
and run.get("event")
|
|
110
|
+
and run.get("event")
|
|
111
|
+
in {"issue_comment", "pull_request_review", "workflow_dispatch"}
|
|
111
112
|
):
|
|
112
113
|
match = re.fullmatch(r"YAGA review wake for #([1-9][0-9]{0,18})", title)
|
|
113
114
|
if match is not None:
|
|
@@ -128,21 +129,31 @@ jobs:
|
|
|
128
129
|
group: yaga-pr-review-${{ needs.resolve.outputs.pull_request_number }}
|
|
129
130
|
cancel-in-progress: ${{ github.event_name == 'pull_request_target' }}
|
|
130
131
|
runs-on: ubuntu-latest
|
|
131
|
-
timeout-minutes:
|
|
132
|
+
timeout-minutes: 15
|
|
132
133
|
permissions:
|
|
133
134
|
contents: read
|
|
134
135
|
pull-requests: write
|
|
135
|
-
issues:
|
|
136
|
+
issues: write
|
|
136
137
|
checks: read
|
|
137
138
|
steps:
|
|
138
139
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
139
140
|
with:
|
|
140
141
|
persist-credentials: false
|
|
142
|
+
- name: Triage admission and publish review surfaces
|
|
143
|
+
uses: ./
|
|
144
|
+
with:
|
|
145
|
+
check: pr-triage
|
|
146
|
+
policy: .yaga/triage-policy.toml
|
|
147
|
+
pr: ${{ needs.resolve.outputs.pull_request_number }}
|
|
148
|
+
repo: ${{ github.repository }}
|
|
149
|
+
publish-comment: "true"
|
|
150
|
+
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
141
151
|
- name: Evaluate and submit pull-request review
|
|
142
152
|
uses: ./
|
|
143
153
|
with:
|
|
144
154
|
check: pr-review
|
|
145
155
|
policy: .yaga/agent-review-policy.toml
|
|
156
|
+
triage-policy: .yaga/triage-policy.toml
|
|
146
157
|
pr: ${{ needs.resolve.outputs.pull_request_number }}
|
|
147
158
|
repo: ${{ github.repository }}
|
|
148
159
|
wait-seconds: ${{ needs.resolve.outputs.wait_seconds }}
|