Skip to content

feat(setup-steward): richer Step 11 doc-update flow - #111

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:improve-adopt-doc-step
May 11, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
potiuk:improve-adopt-doc-step

Conversation

@potiuk

@potiuk potiuk commented May 11, 2026

Copy link
Copy Markdown
Member

Summary

  • setup-steward/adopt.md Step 11 (project doc updates) previously said only "add a brief paragraph to README.md or CONTRIBUTING.md noting three things", leaving every adopter to reinvent the wording. Replace it with:
    • copy-pasteable ## Agent-assisted contribution (apache-steward) template for README.md, with substitution guidance for the picked skill families and the flat-vs-double-symlinked path convention;
    • explicit note about PyPI sync markers (avoid leaking the adoption blurb into the published PyPI description on projects that round-trip README.md to PyPI);
    • separate AGENTS.md template that agent harnesses see first, with a cross-reference back to the README section;
    • "do not create AGENTS.md if it does not already exist" guardrail (empty file is noise);
    • doctoc/TOC-hook note so adopters expect a second commit touching auto-updated TOC;
    • CONTRIBUTING.md as a documented fallback for projects where README.md is off-limits.
  • setup-steward/verify.md check 9 updated in parallel: grep for both apache-steward and /setup-steward tokens in README.md (and the cross-reference link in AGENTS.md if it exists) rather than the previous "mentions the framework somewhere" hand-wave. Stays at ⚠ severity.

Motivated by the apache/airflow adoption PR (apache/airflow#66677) which added both files by hand; the templates here capture what landed there so the next adopter gets it from the skill rather than reverse-engineering the airflow diff.

Test plan


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Opus 4.7 (1M context)

Generated-by: Claude Opus 4.7 (1M context) following the framework's agent-authored-fixes pattern.

Step 11 (project doc updates) previously said only "add a brief
paragraph to README.md or CONTRIBUTING.md noting three things",
which left every adopter to reinvent the wording. Replace it with:

- a copy-pasteable `## Agent-assisted contribution
  (apache-steward)` section for README.md, with substitution
  guidance for the adopter's skill-family choices and the
  flat-vs-double-symlinked path convention;
- an explicit note about PyPI sync markers (avoid leaking the
  adoption blurb into the published PyPI description on
  projects that round-trip README.md to PyPI);
- a separate AGENTS.md template that agent harnesses see first,
  with a cross-reference back to the README section so the
  agent lands on the human-readable summary rather than
  duplicating the prose;
- a "do not create AGENTS.md if it does not already exist"
  guardrail (empty file is more noise than signal);
- a doctoc/TOC-hook note so adopters know to expect a second
  commit touching the auto-updated TOC block;
- CONTRIBUTING.md as a documented fallback when README.md is
  absent or strictly off-limits.

Update verify.md check 9 in parallel: grep for both
`apache-steward` and `/setup-steward` tokens in README.md (and
the cross-reference link in AGENTS.md if the file exists)
rather than the previous "mentions the framework somewhere"
hand-wave. Stay at ⚠ severity — these are nice-to-have, not
blocking.

Motivated by the apache/airflow adoption PR
(apache/airflow#66677) which added both files by hand; the
templates here capture what landed there so the next adopter
gets it from the skill rather than from the airflow PR diff.
@potiuk

potiuk commented May 11, 2026

Copy link
Copy Markdown
Member Author

I just removed stuff from our "security" repo and "airflow" repo - and adopted "steward" there very successfully - adoption is super easy :) .

apache/airflow#66677

This one adds nice description in README/CONTRIBUTING explaining the setup / adoption of steward. This will make it easy for contributors and maintainers to set it up.

@potiuk
potiuk merged commit a6d4a87 into apache:main May 11, 2026
12 checks passed
@potiuk potiuk added capability:platform Framework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap) family:setup setup-* skills labels Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capability:platform Framework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap) family:setup setup-* skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant