Skip to content

feat(skills): add verify-apache-steward skill for adopter tracker integration check - #28

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

feat(skills): add verify-apache-steward skill for adopter tracker integration check#28
potiuk merged 1 commit into
mainfrom
skills/verify-apache-steward

Conversation

@potiuk

@potiuk potiuk commented May 1, 2026

Copy link
Copy Markdown
Member

Summary

  • New skill: verify-apache-steward — sixth secure-config-adjacent skill, but unlike the other five it checks the adopter tracker integration layer rather than the secure-agent setup. Read-only checklist over .apache-steward/, <project-config>/project.md, .gitmodules, submodule init state, submodule pointer alignment, and the optional post-merge hook. Reports ✓/✗/⚠ with concrete remediation commands. Refuses to run from inside the framework checkout itself.
  • secure-agent-setup.md Quick start: list grows from 5 to 6 skills; new skill lands at position 2 (after opening Claude Code, before setup-secure-config) with a clear "if you consume the framework as a submodule" scope note.
  • upgrade-apache-steward: post-pull tracker-submodule branch now cross-references the new skill to confirm pointer alignment.

The new skill is the missing companion to the existing verify-secure-config. Both are read-only adopter-side checks; the two together cover (a) "is the framework integrated?" and (b) "is the secure-agent setup wired?". An adopter can have one without the other.

Test plan

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

…egration check

Adds a sixth skill that verifies the framework is correctly
integrated as a git submodule of the adopter's tracker
repository. The skill is the missing companion to the existing
`verify-secure-config` (which checks the secure-agent setup):
the two are independent layers of the adopter-side health check
and both should pass for a fully-wired tracker.

Checks (read-only, never modifies anything):

1. Pre-flight — refuses to run from inside the framework
   checkout itself; surfaces the framework remote and tells
   the user to invoke from the tracker root.
2. `.apache-steward/` directory present at tracker root.
3. `<project-config>/project.md` exists and required
   `TODO:` placeholders are filled — distinguishes runtime-
   blocking gaps (`tracker_repo`, `upstream_repo`,
   `tracker_default_branch`) from optional fields tied to
   specific skills (mailing-list addresses, CVE tooling URLs,
   Gmail/PonyMail flags).
4. `.gitmodules` carries the framework entry with a sane
   `url` (warns on a fork URL).
5. Submodule initialised + working tree present (catches the
   most common "fresh tracker clone, never ran
   `git submodule update --init`" failure).
6. Submodule pointer aligned with parent's index — surfaces
   the `+` "HEAD ahead of recorded SHA" / `U` "merge conflict"
   states that `git submodule status` reports.
7. Post-merge hook wired (⚠ if not — optional ergonomics).

Cross-references:

- `secure-agent-setup.md` Quick start: agent-guided list grows
  to six skills, with `verify-apache-steward` as step 2 (the
  prerequisite check before the secure-config flow makes
  sense for adopters consuming the framework as a submodule).
- `upgrade-apache-steward`: the post-pull "if you're consuming
  the framework as a tracker submodule" branch now suggests
  `verify-apache-steward` to confirm the parent tracker's
  pointer is still aligned (the skill catches the `+` state
  directly).

Generated-by: Claude Code (Opus 4.7)
@potiuk
potiuk merged commit 3fd921d into main May 1, 2026
7 checks passed
@potiuk
potiuk deleted the skills/verify-apache-steward branch May 1, 2026 23:08
@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