Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This repo runs in two modes:
3. **Do NOT hand-edit** `src/registry/component-registry.json`. Run `npm run generate:registry`.
4. **Do NOT hand-edit** anything under `src/shared/types/generated/`. Run `npm run types:generate`.
5. **Do NOT edit** any file under `node_modules/`. Components discovered there are read-only.
6. **Fixtures and layouts are not committed.** They live under `./fixtures/` and `./dashboard-layouts/`, both gitignored.
6. **Fixtures are committed; dashboard-layouts are not.** `./fixtures/` is tracked via an OMN-10305 carve-out in `.gitignore` (`!fixtures/`, `!fixtures/**`). `./dashboard-layouts/` remains gitignored. See `git ls-files fixtures/` to inspect tracked snapshots.

### Common tasks

Expand Down Expand Up @@ -102,3 +102,16 @@ _Track B — external package widget (plugin extension path):_
`src/storybook-coverage-compliance.test.ts` enforces this contract on
every `npm test`. See `docs/adr/002-storybook-widget-coverage.md` for
rationale.

## Dashboard lineage (OMN-12393)

Three local directories exist that reference the omnidash product. Canonical classification
verified 2026-05-28 (see `docs/evidence/OMN-12368-verification/dashboard.md`):

| Directory | Remote | Classification | Notes |
|-----------|--------|----------------|-------|
| `omnidash/` | OmniNode-ai/omnidash.git (`dev`) | **CANONICAL_ACTIVE** | Active development branch; this is the authoritative working repo |
| `omnidash-v2/` | OmniNode-ai/omnidash-v2.git (`dev`) | **SUPERSEDED** | Stale local clone of a separate GitHub remote; 6+ commits behind `omnidash/` as of 2026-05-28. Not a separate product — same product line, diverged remote |
| `omnidash-v2-new/` | OmniNode-ai/omnidash.git (`main`) | **TEMP_STAGING** | Temporary staging clone documented in omni_home CLAUDE.md; ~1 month behind omnidash dev; different commit lineage from current dev |

All development work goes to `omnidash/` on `dev`. Do not commit feature work to `omnidash-v2/` or `omnidash-v2-new/`.
16 changes: 11 additions & 5 deletions scripts/run-generate-fixtures.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
#!/usr/bin/env bash
# omnidash-v2/scripts/run-generate-fixtures.sh
# Regenerates ./fixtures/ snapshots by running omnibase_infra's generate_fixtures.py.
# omnidash/scripts/run-generate-fixtures.sh
# Regenerates ./fixtures/ snapshots by running scripts/generate_fixtures.py.
#
# generate_fixtures.py lives in THIS repo (scripts/generate_fixtures.py) and
# imports from omnibase_infra, so uv must resolve dependencies via the
# omnibase_infra project.
#
# Required env vars:
# OMNIBASE_INFRA_PATH Path to a checkout of omnibase_infra (the directory
# containing scripts/generate_fixtures.py).
# OMNIBASE_INFRA_PATH Path to a checkout of omnibase_infra (used as the uv
# --project root for dependency resolution, not as the
# location of generate_fixtures.py).
#
# Usage: npm run generate:fixtures
set -euo pipefail
Expand All @@ -23,7 +28,8 @@ if [[ ! -d "$OMNIBASE_INFRA_PATH" ]]; then
exit 1
fi

SCRIPT_PATH="$OMNIBASE_INFRA_PATH/scripts/generate_fixtures.py"
# The script lives in this repo, not in omnibase_infra.
SCRIPT_PATH="$REPO/scripts/generate_fixtures.py"
if [[ ! -f "$SCRIPT_PATH" ]]; then
echo "ERROR: generate_fixtures.py not found at $SCRIPT_PATH" >&2
exit 1
Expand Down
Loading