Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
920c220
chore: bump integration version to 0.6.2
github-actions[bot] Mar 24, 2026
174fffc
Merge Queue Detection Should Validate Workflow Has merge_group Trigge…
Trecek Mar 25, 2026
2674097
Rectify: Formatter Raw/Derived Field Duplication (#502)
Trecek Mar 25, 2026
41b0dc2
Implementation Plan: Add Configurable Label Whitelist to Dynaconf Con…
Trecek Mar 25, 2026
c55be55
Rectify: stdlib-only Contract for SKILL.md Python Blocks (#508)
Trecek Mar 25, 2026
c0a1275
Add --resume flag to cook and order CLI commands (#510)
Trecek Mar 26, 2026
a16a628
Rectify: Terminal Ownership Contract (#511)
Trecek Mar 26, 2026
6befbd2
Replace Reverse-Sync Version Bumping with Minor-Bump-on-Promote Strat…
Trecek Mar 27, 2026
e740e02
chore: bump version to 0.6.3
github-actions[bot] Mar 27, 2026
4ffaad1
update git ignore
Trecek Mar 27, 2026
4063165
Detect Stale Installs — Doctor Check, Auto-Detect Prompt, and Dev-Mod…
Trecek Mar 27, 2026
865b398
chore: bump version to 0.6.4
github-actions[bot] Mar 27, 2026
604a860
Rectify: TestRunner Protocol Returns Lossy Bare Tuple; Non-Pytest Run…
Trecek Mar 27, 2026
24aa2c5
Rectify: MergeQueueWatcher Terminal State via Negative Inference (#519)
Trecek Mar 27, 2026
ed2c03c
chore: bump version to 0.6.5
github-actions[bot] Mar 27, 2026
5c801b5
Implementation Plan: terminal_guard() Alternate Screen Buffer Envelop…
Trecek Mar 27, 2026
62f311d
chore: bump version to 0.6.6
github-actions[bot] Mar 27, 2026
5a9ef58
Add validate-audit skill: parallel post-audit finding validation (#528)
Trecek Mar 27, 2026
ae71b81
chore: bump version to 0.6.7
github-actions[bot] Mar 27, 2026
08bd716
Implementation Plan: Patch-Bump-Integration.yml Races When Merge Queu…
Trecek Mar 27, 2026
9408ffb
chore: bump version to 0.6.8
github-actions[bot] Mar 27, 2026
a69e923
Rectify: Session ID Resolution — Fragmented Sources, Late Merge, No W…
Trecek Mar 27, 2026
d8f70c2
chore: bump version to 0.6.9
github-actions[bot] Mar 27, 2026
82d9366
Rectify: Stale Hook Prompt Enters Infinite Loop When User Answers Y (…
Trecek Mar 27, 2026
fc6aa72
chore: bump version to 0.6.10
github-actions[bot] Mar 27, 2026
67776dd
Rectify: terminal_guard() Exit-Only Ownership Contract (#536)
Trecek Mar 27, 2026
2c754aa
chore: bump version to 0.6.11
github-actions[bot] Mar 27, 2026
9d5d1f8
Rectify: SkillResult.session_id Channel B Backfill & Prompt Contract …
Trecek Mar 27, 2026
cfb3056
chore: bump version to 0.6.12
github-actions[bot] Mar 27, 2026
a8167f2
Rectify: MCP Tool Name Prefix Non-Determinism in Orchestrator Prompts…
Trecek Mar 27, 2026
36068b9
chore: bump version to 0.6.13
github-actions[bot] Mar 27, 2026
52c3554
Rectify: push_to_remote Non-Fast-Forward Rejection After Rebase (#544)
Trecek Mar 27, 2026
55ddf4f
Rectify: Headless Editable Install Poison (#543)
Trecek Mar 27, 2026
1104a45
chore: bump version to 0.6.14
github-actions[bot] Mar 27, 2026
ae295e2
chore: bump version to 0.6.15
github-actions[bot] Mar 27, 2026
034362f
Rectify: Stale-Check Dismiss/Snooze State Split (#545)
Trecek Mar 27, 2026
096ad23
chore: bump version to 0.6.16
github-actions[bot] Mar 27, 2026
35279d7
Rectify: Pipeline Identity Layer (#546)
Trecek Mar 27, 2026
0df4626
chore: bump version to 0.6.17
github-actions[bot] Mar 27, 2026
000ff42
Fix `cook --resume <session-id>` UnusedCliTokensError (#548)
Trecek Mar 28, 2026
0aa652c
Implementation Plan: Skill Pack Registry and Configurable Visibility …
Trecek Mar 28, 2026
a515ffe
chore: bump version to 0.6.18
github-actions[bot] Mar 28, 2026
f2611dc
chore: bump version to 0.6.19
github-actions[bot] Mar 28, 2026
7242d86
Implementation Plan: token_summary_appender — Replace gh pr edit/view…
Trecek Mar 28, 2026
0ade1e1
chore: bump version to 0.6.20
github-actions[bot] Mar 28, 2026
3a2f1d9
Implementation Plan: Remove Tautological/Import-Only Tests — groupA (…
Trecek Mar 28, 2026
456e886
Implementation Plan: Fix xdist Isolation — Hardcoded /dev/shm and /tm…
Trecek Mar 28, 2026
ea363bc
Implementation Plan: Remove Over-Mocked Tests and Fix State Mutation …
Trecek Mar 28, 2026
8aafa5c
Implementation Plan: Strengthen Exception-Grade HIGH Findings (groupD…
Trecek Mar 28, 2026
3a43a0d
Implementation Plan: Consolidate and Remove Redundant/Duplicate Tests…
Trecek Mar 28, 2026
b7d72fd
chore: bump version to 0.6.21
github-actions[bot] Mar 28, 2026
a4002f2
chore: bump version to 0.6.22
github-actions[bot] Mar 28, 2026
6c3f9a5
Fix Test Placement, Organization, and Documentation (groupG) (#556)
Trecek Mar 28, 2026
0f31efb
chore: bump version to 0.6.23
github-actions[bot] Mar 28, 2026
86bf490
fix: resolve architectural audit findings across codebase (2026-03-28…
Trecek Mar 28, 2026
3d83c2c
Implementation Plan: Low-Severity Test Suite Fixes (groupH) (#561)
Trecek Mar 28, 2026
ac68932
chore: bump version to 0.6.24
github-actions[bot] Mar 28, 2026
7a2fd4f
Fix Misleading Test Names and Stale Logic (groupF) (#560)
Trecek Mar 28, 2026
efeffb2
chore: bump version to 0.6.25
github-actions[bot] Mar 28, 2026
2ce32f3
chore: bump version to 0.6.26
github-actions[bot] Mar 28, 2026
5e46614
Rectify: Session Adjudication False-Positive — Recovery/Channel-B Con…
Trecek Mar 29, 2026
7ad82cf
chore: bump version to 0.6.27
github-actions[bot] Mar 29, 2026
4a45bc8
[FIX] Rectify: Workspace Clean Does Not Discover or Remove Git Worktr…
Trecek Mar 29, 2026
9bd5578
chore: bump version to 0.6.28
github-actions[bot] Mar 29, 2026
084bd42
Cohesion audit: server fixes, hook registry, docs, and test coverage …
Trecek Mar 29, 2026
5f0e7cd
Reduce audit-arch false positives with pre-flight & self-validation g…
Trecek Mar 29, 2026
b775e25
chore: bump version to 0.6.29
github-actions[bot] Mar 29, 2026
f4cf796
chore: bump version to 0.6.30
github-actions[bot] Mar 29, 2026
b0f725c
Implementation Plan: Bug — prepare-issue Uses Summary Instead of Full…
Trecek Mar 30, 2026
6eb6bdd
Token Telemetry Cross-Contamination — order_id Scoping (#574)
Trecek Mar 30, 2026
db5cd46
chore: bump version to 0.6.31
github-actions[bot] Mar 30, 2026
4406735
chore: bump version to 0.6.32
github-actions[bot] Mar 30, 2026
47f7674
Split promote-to-main into Changelog PR Skill + Review-Promotion Skil…
Trecek Apr 2, 2026
1462023
chore: bump version to 0.6.33
github-actions[bot] Apr 2, 2026
68f4e51
Implementation Plan: Bug — promote-to-main / review-promotion Incorre…
Trecek Apr 3, 2026
0643b83
chore: bump version to 0.6.34
github-actions[bot] Apr 3, 2026
5cf8611
fix(review): add semver validation and emptiness guard to version-bum…
Trecek Apr 3, 2026
6d6dd09
fix(review): handle FileNotFoundError on stale git-registered worktre…
Trecek Apr 3, 2026
0bda795
fix(review): rename headless._resolve_session_id to _resolve_skill_se…
Trecek Apr 3, 2026
93e9c10
fix(review): warn when analyze-prs merge_queue_data_path is missing
Trecek Apr 3, 2026
217474c
fix(review): address test suite findings from PR review
Trecek Apr 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
558 changes: 62 additions & 496 deletions .claude/skills/promote-to-main/SKILL.md

Large diffs are not rendered by default.

422 changes: 422 additions & 0 deletions .claude/skills/review-promotion/SKILL.md

Large diffs are not rendered by default.

92 changes: 92 additions & 0 deletions .github/workflows/patch-bump-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: Auto Patch Version Bump on Integration PR

on:
pull_request:
types: [closed]
branches: [integration]

concurrency:
group: patch-bump-integration
cancel-in-progress: false

jobs:
bump-patch:
permissions:
contents: write
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
ref: integration
fetch-depth: 0
token: ${{ secrets.GH_PAT }}

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
uv-version: "0.9.21"

- name: Compute new patch version
id: version
run: |
set -euo pipefail
CURRENT=$(python3 -c "
import tomllib, pathlib
print(tomllib.loads(pathlib.Path('pyproject.toml').read_text())['project']['version'])
")
if ! echo "$CURRENT" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$'; then
echo "ERROR: version '$CURRENT' is not a valid semver (X.Y.Z) — cannot compute patch bump" >&2
exit 1
fi
IFS='.' read -r MAJOR MINOR PATCH <<< "$CURRENT"
NEW="$MAJOR.$MINOR.$((PATCH + 1))"
echo "old=$CURRENT" >> "$GITHUB_OUTPUT"
echo "new=$NEW" >> "$GITHUB_OUTPUT"

- name: Update pyproject.toml
run: |
python3 - <<'EOF'
import pathlib, os, sys
p = pathlib.Path("pyproject.toml")
old_ver = f'version = "{os.environ["OLD_VERSION"]}"'
new_ver = f'version = "{os.environ["NEW_VERSION"]}"'
old_content = p.read_text()
new_content = old_content.replace(old_ver, new_ver, 1)
if new_content == old_content:
print(f"ERROR: version pattern {old_ver!r} not found in pyproject.toml", file=sys.stderr)
sys.exit(1)
p.write_text(new_content)
EOF
env:
OLD_VERSION: ${{ steps.version.outputs.old }}
NEW_VERSION: ${{ steps.version.outputs.new }}

- name: Update plugin.json
run: |
python3 - <<'EOF'
import json, pathlib, os
p = pathlib.Path("src/autoskillit/.claude-plugin/plugin.json")
data = json.loads(p.read_text())
data["version"] = os.environ["NEW_VERSION"]
p.write_text(json.dumps(data, indent=2) + "\n")
EOF
env:
NEW_VERSION: ${{ steps.version.outputs.new }}

- name: Regenerate uv.lock
run: uv lock

- name: Commit and push version bump to integration
run: |
set -euo pipefail
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add pyproject.toml src/autoskillit/.claude-plugin/plugin.json uv.lock
if git diff --cached --quiet; then
echo "Nothing to commit"
else
git commit -m "chore: bump version to ${{ steps.version.outputs.new }}"
git push origin integration
fi
12 changes: 12 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,18 @@ jobs:
- name: Install dependencies
run: uv sync --locked --extra dev

- name: Generate hooks.json
run: |
uv run python -c "
from autoskillit.hooks import generate_hooks_json
from autoskillit.core.io import atomic_write
from autoskillit.core.paths import pkg_root
import json
path = pkg_root() / 'hooks' / 'hooks.json'
atomic_write(path, json.dumps(generate_hooks_json(), indent=2) + '\n')
print(f'Generated: {path}')
"

- name: Generate recipe diagrams
run: uv run autoskillit recipes render

Expand Down
133 changes: 31 additions & 102 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Auto Patch Version Bump
name: Auto Minor Version Bump on Promotion

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.

[critical] arch: version-bump.yml renamed from patch to minor bump. Fundamental versioning strategy change.

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.

Investigated — the test enforces that an inline annotation (exemption comment) in SINGLETON_ALLOWED_MODULES stays synchronized with the runtime constant _DISMISS_WINDOW. This is an intentional enforcement mechanism.


on:
pull_request:
types: [closed]
branches: [main]

jobs:
bump-and-sync:
minor-bump-on-promote:
permissions:
contents: write
if: >
Expand All @@ -26,20 +26,24 @@ jobs:
with:
uv-version: "0.9.21"

- name: Compute new patch version
- name: Compute new minor version
id: version
run: |
set -euo pipefail
CURRENT=$(python3 -c "
import tomllib, pathlib
print(tomllib.loads(pathlib.Path('pyproject.toml').read_text())['project']['version'])
")
[ -n "$CURRENT" ] || { echo "ERROR: version: CURRENT is empty — pyproject.toml may be absent or malformed" >&2; exit 1; }
echo "$CURRENT" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$' || { echo "ERROR: version: CURRENT='$CURRENT' is not valid semver" >&2; exit 1; }
IFS='.' read -r MAJOR MINOR PATCH <<< "$CURRENT"

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.

[warning] bugs: version step splits $CURRENT with IFS='.' without semver validation. New patch-bump-integration.yml adds this guard but this workflow does not.

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.

Investigated — this is intentional. promote-to-main is a PR creation skill whose primary artifact IS the PR body file. review-promotion produces an analytical report. Both correctly name the artifact they actually produce as report_path.

NEW="$MAJOR.$MINOR.$((PATCH + 1))"
NEW_MAIN="$MAJOR.$((MINOR + 1)).0"
NEW_INT="$MAJOR.$((MINOR + 1)).1"
echo "old=$CURRENT" >> "$GITHUB_OUTPUT"
echo "new=$NEW" >> "$GITHUB_OUTPUT"
echo "new_main=$NEW_MAIN" >> "$GITHUB_OUTPUT"
echo "new_int=$NEW_INT" >> "$GITHUB_OUTPUT"

- name: Update pyproject.toml
- name: Update pyproject.toml (main)
run: |
python3 - <<'EOF'
import pathlib, os
Expand All @@ -50,9 +54,9 @@ jobs:
EOF
env:
OLD_VERSION: ${{ steps.version.outputs.old }}
NEW_VERSION: ${{ steps.version.outputs.new }}
NEW_VERSION: ${{ steps.version.outputs.new_main }}

- name: Update plugin.json
- name: Update plugin.json (main)
run: |
python3 - <<'EOF'
import json, pathlib, os
Expand All @@ -62,9 +66,9 @@ jobs:
p.write_text(json.dumps(data, indent=2) + "\n")
EOF
env:
NEW_VERSION: ${{ steps.version.outputs.new }}
NEW_VERSION: ${{ steps.version.outputs.new_main }}

- name: Regenerate uv.lock
- name: Regenerate uv.lock (main)
run: uv lock

- name: Commit and push version bump to main
Expand All @@ -76,101 +80,41 @@ jobs:
if git diff --cached --quiet; then
echo "Nothing to commit"
else
git commit -m "chore: bump version to ${{ steps.version.outputs.new }}"
git commit -m "chore: bump version to ${{ steps.version.outputs.new_main }}"
git push origin main
fi

- name: Allow force-push on integration branch
id: allow-force-push
env:
GH_TOKEN: ${{ secrets.GH_PAT }}
run: |
set -euo pipefail
REPO="${{ github.repository }}"
BRANCH="integration"
# If integration branch is unprotected, force-push is already permitted
if ! PROTECTION=$(gh api "repos/$REPO/branches/$BRANCH/protection" 2>/dev/null); then
echo "Branch '$BRANCH' has no protection — force-push permitted by default"
exit 0
fi
# Rebuild protection payload with allow_force_pushes: true
PAYLOAD=$(echo "$PROTECTION" | jq '{
required_status_checks: (if .required_status_checks then {
strict: .required_status_checks.strict,
contexts: (.required_status_checks.contexts // [])
} else null end),
enforce_admins: (.enforce_admins.enabled // false),
required_pull_request_reviews: (if .required_pull_request_reviews then {
dismiss_stale_reviews: (.required_pull_request_reviews.dismiss_stale_reviews // false),
require_code_owner_reviews: (.required_pull_request_reviews.require_code_owner_reviews // false),
required_approving_review_count: (.required_pull_request_reviews.required_approving_review_count // 0)
} else null end),
restrictions: (if .restrictions then {
users: [.restrictions.users[].login],
teams: [.restrictions.teams[].slug],
apps: [.restrictions.apps[].slug]
} else null end),
allow_force_pushes: true,
allow_deletions: (.allow_deletions.enabled // false)
}')
echo "$PAYLOAD" | gh api "repos/$REPO/branches/$BRANCH/protection" \
--method PUT --input -
echo "INTEGRATION_PROTECTION_UPDATED=true" >> "$GITHUB_ENV"
# Save restore payload (allow_force_pushes: false) as step output
RESTORE_PAYLOAD=$(echo "$PROTECTION" | jq -c '{
required_status_checks: (if .required_status_checks then {
strict: .required_status_checks.strict,
contexts: (.required_status_checks.contexts // [])
} else null end),
enforce_admins: (.enforce_admins.enabled // false),
required_pull_request_reviews: (if .required_pull_request_reviews then {
dismiss_stale_reviews: (.required_pull_request_reviews.dismiss_stale_reviews // false),
require_code_owner_reviews: (.required_pull_request_reviews.require_code_owner_reviews // false),
required_approving_review_count: (.required_pull_request_reviews.required_approving_review_count // 0)
} else null end),
restrictions: (if .restrictions then {
users: [.restrictions.users[].login],
teams: [.restrictions.teams[].slug],
apps: [.restrictions.apps[].slug]
} else null end),
allow_force_pushes: false,
allow_deletions: (.allow_deletions.enabled // false)
}')
echo "restore_payload=$RESTORE_PAYLOAD" >> "$GITHUB_OUTPUT"
echo "Configured integration branch to allow force-push"

- name: Force-push integration to match main
run: |
set -euo pipefail
git fetch origin main
git push --force origin origin/main:refs/heads/integration

- name: Checkout integration branch

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.

[warning] arch: Force-push integration to match main removed. Integration no longer equals main after promotion.

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.

Investigated — the assertions are self-documenting through the test's docstring. Plain assert without messages is a stylistic preference, not a functional issue.

run: |
set -euo pipefail
git fetch origin integration
git checkout -B integration origin/integration

- name: Compute integration patch version
id: integration_version
- name: Read integration current version
id: int_version
run: |
set -euo pipefail
CURRENT=$(python3 -c "
import tomllib, pathlib
print(tomllib.loads(pathlib.Path('pyproject.toml').read_text())['project']['version'])
")
IFS='.' read -r MAJOR MINOR PATCH <<< "$CURRENT"
NEW="$MAJOR.$MINOR.$((PATCH + 1))"
[ -n "$CURRENT" ] || { echo "ERROR: int_version: CURRENT is empty — checkout may have failed or pyproject.toml is absent" >&2; exit 1; }
Comment thread
Trecek marked this conversation as resolved.
Resolved
echo "old=$CURRENT" >> "$GITHUB_OUTPUT"
echo "new=$NEW" >> "$GITHUB_OUTPUT"

- name: Update pyproject.toml (integration)
run: |
python3 - <<'EOF'
import pathlib, os, sys
p = pathlib.Path("pyproject.toml")
old_ver = f'version = "{os.environ["OLD_VERSION"]}"'
new_ver = f'version = "{os.environ["NEW_VERSION"]}"'
old_str = os.environ["OLD_VERSION"]
new_str = os.environ["NEW_VERSION"]
old_parts = tuple(int(x) for x in old_str.split("."))
new_parts = tuple(int(x) for x in new_str.split("."))
if new_parts <= old_parts:
print(f"ERROR: new_int {new_str!r} would downgrade integration from {old_str!r}", file=sys.stderr)
sys.exit(1)
old_ver = f'version = "{old_str}"'
new_ver = f'version = "{new_str}"'
old_content = p.read_text()
new_content = old_content.replace(old_ver, new_ver, 1)
if new_content == old_content:
Expand All @@ -179,8 +123,8 @@ jobs:
p.write_text(new_content)
EOF
env:
OLD_VERSION: ${{ steps.integration_version.outputs.old }}
NEW_VERSION: ${{ steps.integration_version.outputs.new }}
OLD_VERSION: ${{ steps.int_version.outputs.old }}
NEW_VERSION: ${{ steps.version.outputs.new_int }}

- name: Update plugin.json (integration)
run: |
Expand All @@ -192,7 +136,7 @@ jobs:
p.write_text(json.dumps(data, indent=2) + "\n")
EOF
env:
NEW_VERSION: ${{ steps.integration_version.outputs.new }}
NEW_VERSION: ${{ steps.version.outputs.new_int }}

- name: Regenerate uv.lock (integration)
run: uv lock
Expand All @@ -204,21 +148,6 @@ jobs:
if git diff --cached --quiet; then
echo "Nothing to commit"
else
git commit -m "chore: bump integration version to ${{ steps.integration_version.outputs.new }}"
git commit -m "chore: bump integration version to ${{ steps.version.outputs.new_int }}"
git push origin integration
fi

- name: Restore integration branch protection
if: always()
env:
GH_TOKEN: ${{ secrets.GH_PAT }}
run: |
set -euo pipefail
if [[ "${INTEGRATION_PROTECTION_UPDATED:-}" != "true" ]]; then
exit 0
fi
REPO="${{ github.repository }}"
echo '${{ steps.allow-force-push.outputs.restore_payload }}' | \
gh api "repos/$REPO/branches/integration/protection" \
--method PUT --input -
echo "Restored integration branch protection"
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ src/autoskillit/hooks/hooks.json

# Runtime sync state — generated on each install, not source
.autoskillit/sync_manifest.json
.secrets.yaml
.autoskillit/.secrets.yaml
Loading
Loading