Skip to content

Remove autoskillit_version from Bundled Recipes#1950

Merged
Trecek merged 8 commits into
developfrom
remove-autoskillit-version-from-bundled-recipes/1943
May 5, 2026
Merged

Remove autoskillit_version from Bundled Recipes#1950
Trecek merged 8 commits into
developfrom
remove-autoskillit-version-from-bundled-recipes/1943

Conversation

@Trecek
Copy link
Copy Markdown
Collaborator

@Trecek Trecek commented May 5, 2026

Summary

Remove the autoskillit_version field from all 13 bundled recipe YAML files under src/autoskillit/recipes/, eliminate the recipe-sync logic from scripts/sync_versions.py, remove the dead stale_recipes/recipe_versions_match computation from version.py, delete the contract test enforcing version field presence, and guard the outdated-recipe-version semantic rule so it no longer fires on recipes with version=None (which bundled recipes will now have).

Closes #1943

Implementation Plan

Plan file: /home/talon/projects/autoskillit-runs/impl-20260505-145554-493622/.autoskillit/temp/make-plan/remove_autoskillit_version_from_bundled_recipes_plan_2026-05-05_150300.md

🤖 Generated with Claude Code via AutoSkillit

Token Usage Summary

Step count uncached output cache_read peak_ctx turns cache_write time
plan 1 802 10.7k 1.3M 73.3k 122 64.1k 9m 25s
verify 1 2.2k 11.0k 1.3M 61.2k 83 48.1k 5m 16s
implement 1 83.0k 17.9k 3.2M 0 156 0 4m 16s
prepare_pr 1 33 5.3k 153.1k 32.4k 17 22.8k 1m 35s
compose_pr 1 23 1.4k 134.6k 25.8k 10 12.6k 40s
review_pr 1 31 26.6k 710.4k 82.7k 30 69.7k 7m 18s
ci_conflict_fix 1 38 4.6k 751.3k 49.2k 34 35.9k 2m 23s
Total 86.1k 77.5k 7.5M 82.7k 253.3k 30m 56s

Token Efficiency

Step LoC Changed cache_read/LoC cache_write/LoC output/LoC
plan 0
verify 0
implement 218 14461.1 0.0 82.0
prepare_pr 0
compose_pr 0
review_pr 0
ci_conflict_fix 385 1951.5 93.3 12.0
Total 603 12410.9 420.0 128.6

Copy link
Copy Markdown
Collaborator Author

@Trecek Trecek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AutoSkillit PR Review — Verdict: approved. Clean removal of autoskillit_version from bundled recipes with consistent updates across CI workflows, sync script, migration loader, rules, version utilities, and tests.

Comment thread tests/test_version.py
"match",
"recipe_versions_match",
"stale_recipes",
}
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[info] tests: The set assertion now excludes recipe_versions_match and stale_recipes fields. Confirm these keys are fully removed from the version_info return value (they are — verified in the src/autoskillit/version.py diff).

findings = [f for f in run_semantic_rules(wf) if f.rule == "outdated-recipe-version"]
assert findings[0].severity == Severity.WARNING

def test_none_version_does_not_fire(self, monkeypatch: pytest.MonkeyPatch) -> None:
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[info] tests: test_none_version_does_not_fire duplicates the parametrized case MSR3 at line 18 (None, "0.2.0", 0). Both assert the same behavior. The explicit test adds coverage clarity for the version=None contract, so this is acceptable redundancy.

Trecek and others added 8 commits May 5, 2026 15:54
…ion tests

applicable_migrations now returns [] when script_version is None (bundled
recipes without a version field are not subject to migration). Server tests
for outdated-recipe-version rule now supply an explicit old version since
the rule correctly skips version=None recipes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Tests that exercise the migration engine now supply explicit
autoskillit_version: "0.0.0" to trigger migrations. The loader test
for None version asserts the new behavior (not migratable).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Trecek Trecek force-pushed the remove-autoskillit-version-from-bundled-recipes/1943 branch from aa5915e to ef690c8 Compare May 5, 2026 22:55
@Trecek Trecek added this pull request to the merge queue May 5, 2026
Merged via the queue into develop with commit 90ab9e0 May 5, 2026
2 checks passed
@Trecek Trecek deleted the remove-autoskillit-version-from-bundled-recipes/1943 branch May 5, 2026 23:11
Trecek added a commit that referenced this pull request May 8, 2026
## Summary

Remove the `autoskillit_version` field from all 13 bundled recipe YAML
files under `src/autoskillit/recipes/`, eliminate the recipe-sync logic
from `scripts/sync_versions.py`, remove the dead
`stale_recipes`/`recipe_versions_match` computation from `version.py`,
delete the contract test enforcing version field presence, and guard the
`outdated-recipe-version` semantic rule so it no longer fires on recipes
with `version=None` (which bundled recipes will now have).

Closes #1943

## Implementation Plan

Plan file:
`/home/talon/projects/autoskillit-runs/impl-20260505-145554-493622/.autoskillit/temp/make-plan/remove_autoskillit_version_from_bundled_recipes_plan_2026-05-05_150300.md`

🤖 Generated with [Claude Code](https://claude.com/claude-code) via
AutoSkillit
<!-- autoskillit:pipeline-signature
steps=prepare_pr,run_arch_lenses,compose_pr,annotate_pr_diff,review_pr
-->

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Trecek added a commit that referenced this pull request May 8, 2026
…1979)

## Summary

Create `src/autoskillit/recipes/research-archive.yaml` as a standalone
sub-recipe that extracts the 9-step archival phase from `research.yaml`
(lines 855–963). The critical change from the parent recipe: all
ingredient-sourced values (`pr_url`, `worktree_path`, `research_dir`,
`base_branch`) use `inputs.X` references instead of `context.X`, since
these are declared ingredients in the standalone recipe rather than
step-captured context variables. Step-captured values
(`experiment_branch`, `artifact_branch`, `artifact_pr_url`,
`archive_tag`) correctly remain as `context.X`. Pack declarations are
`[github, ci]` (the archival phase only needs GitHub CLI and CI tools,
not the full `research` pack). No `autoskillit_version` field —
consistent with bundled recipe policy (removed in #1950). Only 4
ingredients: 3 campaign-sourced hidden (`worktree_path`, `research_dir`,
`pr_url`) and 1 user-input (`base_branch`). The
`report_path_after_finalize` and `source_dir` ingredients from the
parent recipe are omitted because no archival step references them.

Closes #1703

## Implementation Plan

Plan file:
`/home/talon/projects/autoskillit-runs/impl-20260505-213323-163152/.autoskillit/temp/make-plan/p2_wp4_create_research_archive_yaml_sub_recipe_plan_2026-05-05_213600.md`

🤖 Generated with [Claude Code](https://claude.com/claude-code) via
AutoSkillit
<!-- autoskillit:pipeline-signature
steps=prepare_pr,run_arch_lenses,compose_pr,annotate_pr_diff,review_pr
-->

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant