Skip to content

feat(skills): add upgrade-apache-steward skill + git submodule update guidance - #27

Merged
potiuk merged 1 commit into
mainfrom
skills/upgrade-apache-steward
May 1, 2026
Merged

feat(skills): add upgrade-apache-steward skill + git submodule update guidance#27
potiuk merged 1 commit into
mainfrom
skills/upgrade-apache-steward

Conversation

@potiuk

@potiuk potiuk commented May 1, 2026

Copy link
Copy Markdown
Member

Summary

  • New skill: upgrade-apache-steward — fifth secure-config skill. Pulls the user's local airflow-steward checkout to origin/main with --ff-only after pre-flight checks (clean working tree, on tracking branch, no commits ahead). Surfaces commits and per-file changes with secure-setup focus. Refuses to act on a dirty tree or diverged history. Hands off to update-secure-config for user-side drift.
  • AGENTS.md + README.md: added the missing post-pull guidance — git submodule update --init --recursive after every pull on the adopter tracker repo, since plain git pull only advances the framework submodule pointer in the tracker index without updating the framework's working tree (silent failure mode: skills run against the previous version of the framework). Both docs name a one-line .git/hooks/post-merge recipe for adopters who want this automatic.
  • secure-agent-setup.md Quick start: agent-guided list grows to five skills; explicitly names the upgrade / drift-report split.
  • update-secure-config: framework-behind follow-up bullet now points at the new skill instead of a bare git pull command.

Test plan

  • prek run --files <changed files> clean (markdownlint, typos, placeholder linter, doctoc TOC regen).
  • upgrade-apache-steward/SKILL.md frontmatter parses (name / description / when_to_use).
  • Cross-references resolve: upgrade-apache-stewardupdate-secure-config, upgrade-apache-stewardsecure-agent-setup.md, AGENTS.md → upgrade-apache-steward skill, README.md → skill.
  • Quick start in secure-agent-setup.md lists exactly 5 skills, in the order setup → verify → upgrade → update → sync.

… guidance in AGENTS.md / README.md

Adds a fifth secure-config skill plus the missing post-pull
submodule-update guidance for adopters who consume the framework
as a tracker submodule.

- `upgrade-apache-steward` skill: pulls the user's local
  `airflow-steward` checkout to `origin/main` with `--ff-only`
  after pre-flight checks. Refuses on a dirty working tree, on
  local commits ahead of upstream, and on a non-tracking branch.
  Surfaces the commits and the per-file change summary with
  explicit focus on the secure-setup blast radius
  (`.claude/settings.json`, `tools/agent-isolation/`, the two
  setup docs, `pinned-versions.toml`). Hands off to
  `update-secure-config` for the user-side drift report and
  reminds the user to handle the parent-tracker submodule
  pointer when the framework is consumed as a submodule.

- `update-secure-config`: framework-behind branch now
  cross-references `upgrade-apache-steward` instead of just
  printing the bare `git pull` command — the new skill wraps
  the same operation in the right pre-flight checks plus the
  submodule-pointer reminder.

- `secure-agent-setup.md` Quick start: agent-guided list grows
  from four to five skills and explicitly names the upgrade /
  drift-report split (run `/upgrade-apache-steward` to advance
  the framework, then `/update-secure-config` to see what that
  did to the user-side install).

- `AGENTS.md` Local setup: opens with the
  `git submodule update --init --recursive` rule for adopter
  trackers — plain `git pull` only advances the framework
  submodule pointer in the tracker's index, not the framework's
  working tree, and stale-submodule failures are silent. Names
  a one-line `.git/hooks/post-merge` so adopters can wire it
  in once.

- `README.md` Adopting the framework: same submodule-update
  rule with the explicit post-merge hook recipe, plus a
  cross-reference to the new skill for upgrading the framework
  itself.

Generated-by: Claude Code (Opus 4.7)
@potiuk
potiuk merged commit 81d985d into main May 1, 2026
6 checks passed
@potiuk
potiuk deleted the skills/upgrade-apache-steward branch May 1, 2026 15:45
@andreahlert andreahlert added the mode:platform Substrate / infra — not a mode (sandbox, CI, validators) label May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mode:platform Substrate / infra — not a mode (sandbox, CI, validators)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants