Skip to content

Agentic-docs: Part-1: Add agentic documentation foundation and domain knowledge#2026

Open
Prashanth684 wants to merge 1 commit into
openshift:masterfrom
Prashanth684:agentic-docs-foundation-domain
Open

Agentic-docs: Part-1: Add agentic documentation foundation and domain knowledge#2026
Prashanth684 wants to merge 1 commit into
openshift:masterfrom
Prashanth684:agentic-docs-foundation-domain

Conversation

@Prashanth684
Copy link
Copy Markdown
Contributor

Introduce ai-docs/ directory with foundational navigation and core platform concepts to enable AI-assisted development workflows.

Foundation (Navigation & Principles):

  • AGENTS.md: Navigation index with task-based flows
  • CLAUDE.md: Symlink for AI agent compatibility
  • ai-docs/DESIGN_PHILOSOPHY.md: Core principles and patterns
  • ai-docs/KNOWLEDGE_GRAPH.md: Visual concept map
  • ai-docs/references/: Glossary and reference index

Domain Knowledge (Platform Concepts):

  • ai-docs/domain/kubernetes/: Pod, Service, CRD patterns
  • ai-docs/domain/openshift/: ClusterOperator, ClusterVersion APIs
  • ai-docs/platform/operator-patterns/status-conditions.md: Condition patterns
  • ai-docs/platform/openshift-specifics/upgrade-strategies.md: Upgrade safety

Workflows:

  • ai-docs/workflows/topology-considerations-guide.md: SNO, MicroShift, Hypershift

This establishes the framework for subsequent operator patterns, workflows, and practices documentation.

Related: #1992

Introduce ai-docs/ directory with foundational navigation and core
platform concepts to enable AI-assisted development workflows.

Foundation (Navigation & Principles):
- AGENTS.md: Navigation index with task-based flows
- CLAUDE.md: Symlink for AI agent compatibility
- ai-docs/DESIGN_PHILOSOPHY.md: Core principles and patterns
- ai-docs/KNOWLEDGE_GRAPH.md: Visual concept map
- ai-docs/references/: Glossary and reference index

Domain Knowledge (Platform Concepts):
- ai-docs/domain/kubernetes/: Pod, Service, CRD patterns
- ai-docs/domain/openshift/: ClusterOperator, ClusterVersion APIs
- ai-docs/platform/operator-patterns/status-conditions.md: Condition patterns
- ai-docs/platform/openshift-specifics/upgrade-strategies.md: Upgrade safety

Workflows:
- ai-docs/workflows/topology-considerations-guide.md: SNO, MicroShift, Hypershift

This establishes the framework for subsequent operator patterns,
workflows, and practices documentation.

Related: openshift#1992
@openshift-ci-robot
Copy link
Copy Markdown

@Prashanth684: No Jira issue with key Part-1 exists in the tracker at https://redhat.atlassian.net.
Once a valid jira issue is referenced in the title of this pull request, request a refresh with /jira refresh.

Details

In response to this:

Introduce ai-docs/ directory with foundational navigation and core platform concepts to enable AI-assisted development workflows.

Foundation (Navigation & Principles):

  • AGENTS.md: Navigation index with task-based flows
  • CLAUDE.md: Symlink for AI agent compatibility
  • ai-docs/DESIGN_PHILOSOPHY.md: Core principles and patterns
  • ai-docs/KNOWLEDGE_GRAPH.md: Visual concept map
  • ai-docs/references/: Glossary and reference index

Domain Knowledge (Platform Concepts):

  • ai-docs/domain/kubernetes/: Pod, Service, CRD patterns
  • ai-docs/domain/openshift/: ClusterOperator, ClusterVersion APIs
  • ai-docs/platform/operator-patterns/status-conditions.md: Condition patterns
  • ai-docs/platform/openshift-specifics/upgrade-strategies.md: Upgrade safety

Workflows:

  • ai-docs/workflows/topology-considerations-guide.md: SNO, MicroShift, Hypershift

This establishes the framework for subsequent operator patterns, workflows, and practices documentation.

Related: #1992

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci Bot requested review from dhellmann and syed May 28, 2026 17:57
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 28, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign bn222 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 28, 2026

@Prashanth684: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@dhellmann dhellmann removed their request for review May 28, 2026 20:47

- name: v1beta1
served: true
storage: false # Deprecated but still served
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.

Deprecated is an actual field which isn't demonstrated in this example, so this comment feels inaccurate to me

openAPIV3Schema: {...}
```

### Conversion Webhook
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.

Should we note that in openshift we typically do not serve multiple versions and therefore do not need conversion webhooks?

Comment on lines +142 to +145
**Benefits**:
- Separate RBAC for spec vs status
- Update status without triggering validation webhooks on spec
- ObservedGeneration pattern
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.

Cannot update spec from status endpoint, cannot update status from primary endpoint


1. **Schema Validation**: Define comprehensive OpenAPI schema
- Prevent invalid objects from being created
- Better than validating in controller
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.

Mention that we aim for synchronous validation at admission time?

Comment on lines +206 to +209
5. **Short Names**: Provide kubectl shortcuts
```yaml
shortNames: [co] # kubectl get co
```
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.

We don't normally recommend short names. We only allow them on objects we expect to be used frequently by the majority of cluster users, which precludes most openshift APIs

Comment on lines +35 to +53
### By Keyword

```bash
# Search GitHub org
https://github.com/orgs/openshift/repositories?q=<keyword>

# Example: storage-related repos
https://github.com/orgs/openshift/repositories?q=storage
```

### By Topic

```bash
# Operator repos
https://github.com/orgs/openshift/repositories?q=operator

# API repos
https://github.com/orgs/openshift/repositories?q=api
```
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.

These are the same?

Comment on lines +66 to +67
| `cluster-<component>-operator` | `cluster-etcd-operator` | Core platform |
| `<component>-operator` | `machine-api-operator` | Platform feature |
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.

Not really... All operators should have had the cluster prefix, but it doesn't really mean anything, it was just so that the operators were grouped together in a dir structure. There's no semantic meaning that can be gleaned from whether an operator has or has not the cluster prefix


```bash
# View owners
curl https://raw.githubusercontent.com/openshift/<repo>/master/OWNERS
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.

Majority of repos now use main not master

status-conditions.md (how to report health)
clusteroperator.md (how CVO sees your operator)
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.

Will we eventually have a path for non core operators?

Comment on lines +123 to +125
1. **Foundation** (5 min): DESIGN_PHILOSOPHY.md
2. **Your task** (10 min): 2-3 docs from task path above
3. **Details** (20 min): Related patterns/concepts as needed
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.

Where did these time estimates come from? Are they for AI or humans?

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.

3 participants