Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Red Hat OpenShift Logging Workspace

Cross-repo workspace for Red Hat OpenShift Logging — shared specs, routing, and AI conventions.

Repositories

Repo Purpose
vector Vector collector
cluster-logging-operator Cluster logging operator that deploys vector, Viaq data model
data-model-docs Data model docs
loki Loki backend with Kubernetes operator
redhat-openshift-logging-docs Documentation for the Red Hat OpenShift Logging
eventrouter Kubernetes event log exporter
log-file-metric-exporter Prometheus exporter for pod log file byte volume; deployed by CLO as a DaemonSet
logging-ui-plugin Logging OpenShift UI plugin
openshift-logging-e2e-tests E2E tests for OpenShift Logging
release OpenShift CI jobs for the logging repos in ci-operator/config/openshift/cluster-logging-operator, openshift/loki, openshift-eng/openshift-logging-e2e-tests, viaq/vector, viaq/log-file-metric-exporter, openshift/logging-view-plugin, openshift/eventrouter
ocp-build-data Product release (ART) configuration. Each product stream lives on its own branch named logging-<X.Y> (e.g. logging-6.7); a stream branch contains releases.yml, streams.yml, group.yml, and images/<component>.yml

Setup

Clone all repos into this directory:

make clone-repos

Repos are cloned over SSH (git@github.com:), so a GitHub SSH key must be configured.

ocp-build-data is cloned on its default branch; check out the product stream branch you need (e.g. git -C ocp-build-data checkout logging-6.7).

Pull latest changes in all repos:

make pull-repos

Remove all cloned repos to start fresh (re-clone with make clone-repos):

make remove-repos

AI assistants

This workspace supports both Claude Code and Codex when they are started from the workspace root. Shared workspace guidance lives in AGENTS.md; CLAUDE.md imports that file so Claude Code receives the same guidance. Shared skills live in .claude/skills and are exposed to Codex through .agents/skills.

Action Claude Code Codex
Invoke a workspace skill /skill-name ... $skill-name ...
Inspect loaded project guidance /memory Ask Codex to summarize the loaded project instructions.
Inspect available skills /skills /skills

Run either assistant from this workspace when work spans repositories. When opening a component repository directly, follow that repository's local instructions if it provides them; component-level parity is intentionally separate work.

Specs

All specifications live in .ai/spec/. Start with .ai/spec/README.md for the product overview and reading guide. Use .ai/spec/how/repo-map.md to find which repo and spec file to update for a given concern.

  1. Create spec: new spec files should be created with the superpowers:brainstorming skill.

    Claude Code: /superpowers:brainstorming create or update specs for https://redhat.atlassian.net/browse/LOG-123.

    Codex: $superpowers:brainstorming create or update specs for https://redhat.atlassian.net/browse/LOG-123.

    As an input use product requirements or design ideas. The output should be a set of spec files in .ai/spec/.

  2. Create Jira tickets: in the same session invoke make-jira-from-spec to create Jira tickets from the spec files. Use /make-jira-from-spec in Claude Code or $make-jira-from-spec in Codex.

  3. Implementation: use superpowers:brainstorming with the Jira ticket as input. After implementation, ask the agent to update the spec files based on the implementation.

Create initial spec files

The Claude Code-only /spec-first:init skill was used to create the initial set of spec files. It is not required for ongoing workspace workflows. To install the spec-first plugin in Claude Code, run:

/plugin marketplace add joshuawilson/spec-first
/plugin install spec-first@spec-first-marketplace

Example prompt:

/spec-first:init create the specs. Document which features are supported and which not. The supported features are the ones that are documented in the docs. These features are either generally available (GA) or tech-preview (TP). If a feature is in the source code, but missing in docs, it is not supported.

Conventions

  • Jira: Project key LOG on redhat.atlassian.net
  • Git workflow: Fork-based — push to your fork, PR against origin/main, squash before pushing
  • Per-repo guides: Follow a repository's AGENTS.md when it is present

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages