Skip to content

docs: add AGENTS/CLAUDE — contributor orientation - #22

Draft
yazug wants to merge 6 commits into
openstack-k8s-operators:mainfrom
yazug:day-of-learning
Draft

docs: add AGENTS/CLAUDE — contributor orientation#22
yazug wants to merge 6 commits into
openstack-k8s-operators:mainfrom
yazug:day-of-learning

Conversation

@yazug

@yazug yazug commented Aug 7, 2026

Copy link
Copy Markdown

Adds agent-bootstrappable orientation for both human contributors and AI
agents loading this repo as context. Covers the S2I build model, repo
structure, RPM source rules, CI, and common anti-patterns.

Register is intentionally hybrid (prose for orientation, directive for
rules). A follow-on pass to tighten Anti-Patterns and RPM Source Rules
sections to imperative register would sharpen it.

CI Tooling Conventions section is a placeholder stub — a natural home
for CI/tooling code constraints as that work stabilizes.

Interesting experiment from day-of-learning efforts

Assisted-by: Claude Sonnet 4.6 (1M context) noreply@anthropic.com
Signed-off-by: Jon Schlueter jschluet@redhat.com

yazug added 2 commits August 7, 2026 11:57
Adds agent-bootstrappable orientation for both human contributors and AI
agents loading this repo as context. Covers the S2I build model, repo
structure, RPM source rules, CI, and common anti-patterns.

Register is intentionally hybrid (prose for orientation, directive for
rules). A follow-on pass to tighten Anti-Patterns and RPM Source Rules
sections to imperative register would sharpen it.

CI Tooling Conventions section is a placeholder stub — a natural home
for CI/tooling code constraints as that work stabilizes.

Interesting experiment from day-of-learning efforts

Assisted-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Jon Schlueter <jschluet@redhat.com>
Per working group feedback: skill links belong in README so agents
discover them through project docs rather than fetching URLs directly
from AGENTS.md. Also adds README pointer at top of AGENTS.md as the
authoritative technical reference.

Assisted-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@yazug

yazug commented Aug 7, 2026

Copy link
Copy Markdown
Author

Follow-on: README / AGENTS.md content distribution review

Now that both docs exist, a future pass should look at:

  • Whether the Background / history section (Kolla → tripleo-tcib → tcib → S2I) belongs in README rather than AGENTS.md — README is more human-facing and the history is relevant to anyone reading the technical reference
  • Whether any README technical detail would benefit from orienting context in AGENTS.md (e.g. the streams concept, the two-stage build model)

Not blocking for this draft — better done after initial contributor feedback clarifies where people get confused or find value in each doc.

@yazug
yazug requested review from amoralej and fmount August 7, 2026 16:22
yazug added 3 commits August 7, 2026 12:25
…ridge)

Use <image> consistently to match README. Note that component group
== project in README terminology; component framing comes from earlier
tooling (DLRN).

Assisted-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Standardize on 'pull request' throughout (was mixed PR/pull request).
Wrap bare containers/base/rpms.repo path references in link syntax.
Remaining skillsaw finding (actionability score 20/100) is expected
for an orientation doc — different target than a directive/runbook.

Assisted-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
openstack_image_builder is from Sean's [DNM] prototype (PR openstack-k8s-operators#14) and
not yet merged or widely known. Replaced with plain language; skill
reference and 'see open pull requests' are enough.

Assisted-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Comment thread AGENTS.md Outdated
each individual container, and populate it with the files described in
[Repo Structure](#repo-structure). Use an existing container as your template.

**Tooling:** `openstack_image_builder` (OIB) is being developed to assist with image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

openstack_image_builder is still wip and the scope and final location is tbd. I wouldn't mention it yet.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack, yea dropping that it crept in.

Comment thread CLAUDE.md Outdated
@@ -0,0 +1 @@
See [AGENTS.md](AGENTS.md) for project context and contributor guidance.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The convention in openstack-k8s-operators project is to only include AGENTS.md. I think claude already checks at it.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok cool, if that is the convention I am good with that and will trim this out.

Comment thread README.md

## Tooling

The `/generate-containerfiles` Claude Code skill is available in the

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding it.

Comment thread AGENTS.md
> is actively being worked out. See the open pull requests for current work in this area.
> Details will be added here as they stabilize.

## Repo Structure

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, my doubt about this section is how much of this should be here and how much should be in README.md. I'm in favor in improving README.md and potentially other docs files and making AGENTS.md as lean as possible.

@fmount has been actively adding AGENTS.md in other repos so he probably has a better criteria.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea that is something I was struggling with and I forgot to check what was actually in the README to start with. but some refinement is probably in order.

Comment thread AGENTS.md
```
containers/
base/ # shared base image — inherited by all service images
<component-group>/ # one directory per upstream service group (called "project" in README)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd try to keep consistent to terms accross docs. Although it explicitely mentions that README calls it project, i'd try to keep it simple and use consistent terminology. I used project because i think the natural criteria for that level is per openstack project because all the images on it will install the same service project although more elaborated organizations may be done.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea consistency is probably better to have across the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants