Skip to content

docs: write down the project premises, add AGENTS.md and the AI-assisted contribution policy - #8717

Merged
leandrodamascena merged 7 commits into
developfrom
chore/project-premises-adr-agents
Oct 30, 2026
Merged

leandrodamascena merged 7 commits into
developfrom
chore/project-premises-adr-agents

Conversation

@leandrodamascena

Copy link
Copy Markdown
Contributor

Issue number: closes #8716

Summary

Changes

  • docs/adr/ with seven one-page ADRs for the premises I kept re-explaining in reviews this month: Lambda first, every millisecond counts, Python versions follow the Lambda runtimes, layer and packaging, tests are a contract, zero regression and backwards compatibility, lean dependencies. Plus an index with the rule for adding more: one record every time a maintainer explains the same decision twice.
  • AGENTS.md at the root, pointer-style: commands, what a PR needs to pass CI, the things we do not do, and how to verify a change. CLAUDE.md is one line importing it.
  • README.md and CONTRIBUTING.md: AI-assisted issues and PRs are welcome, say so, and tell us how you verified the change.
  • PR template gets a Verification section; the bug report template asks whether the reproduction was actually run.
  • mkdocs.yml excludes docs/adr/ from the published site. The records live in the repository only for now.

No code or public API changes.

User experience

Someone opening a PR today has to find our rules in old PR threads or hear them in review. After this they are in the repository: a short file for the rules, a page per premise for the why, and the templates ask for the two things that make a review fast, how it was verified and whether an assistant was involved.

Verification

Docs build with zensical build passes and no adr/ pages end up in site/. markdownlint on docs, AGENTS.md, README.md, CONTRIBUTING.md and the PR template passes. Pre-commit hooks pass except the docker-based ones, which I ran by hand. Written by me with an AI assistant; every statement in the ADRs comes from a decision made in an issue or PR this year, and I re-read each one against the code.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…AI-assisted contribution policy

Seven one-page ADRs under docs/adr for the premises we keep explaining in
reviews, an AGENTS.md at the root pointing to commands, PR rules and the
things we do not do, and a disclaimer in README, CONTRIBUTING and the PR and
bug report templates: AI-assisted contributions are welcome when declared
and verified by the author. ADRs stay out of the published site.
@leandrodamascena leandrodamascena added this to the 3.40.0 milestone Oct 30, 2026
@leandrodamascena leandrodamascena added documentation Improvements or additions to documentation internal Maintenance changes labels Oct 30, 2026
@leandrodamascena
leandrodamascena requested a review from a team as a code owner October 30, 2026 17:37
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation Bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 30, 2026
@sonarqubecloud

Copy link
Copy Markdown

@leandrodamascena
leandrodamascena merged commit 4c43e9c into develop Oct 30, 2026
7 checks passed
@leandrodamascena
leandrodamascena deleted the chore/project-premises-adr-agents branch October 30, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation github-templates internal Maintenance changes size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maintenance: write down the project premises so people and agents can follow them

1 participant