Cross-repo workspace for Red Hat OpenShift Logging — shared specs, routing, and AI conventions.
| 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 |
Clone all repos into this directory:
make clone-reposRepos 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-reposRemove all cloned repos to start fresh (re-clone with make clone-repos):
make remove-reposThis 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.
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.
-
Create spec: new spec files should be created with the
superpowers:brainstormingskill.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/. -
Create Jira tickets: in the same session invoke
make-jira-from-specto create Jira tickets from the spec files. Use/make-jira-from-specin Claude Code or$make-jira-from-specin Codex. -
Implementation: use
superpowers:brainstormingwith the Jira ticket as input. After implementation, ask the agent to update the spec files based on the implementation.
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-marketplaceExample 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.
- Jira: Project key
LOGonredhat.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.mdwhen it is present