| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 8 | 1 | 0% |
| Commands | 0 | 1 | 0 | 0% |
| Section tags | 0 | 4 | 0 | 0% |
What each file covers
Sections
0 shared · 8 only in A · 1 only in B- − CLAUDE.md
- − Project
- − Session-start ritual
- − Key skills
- − State files
- − Current state
- − Repository layout
- − Conventions
- + NORA project context
Commands
0 shared · 1 only in A · 0 only in B- − python -m core.src.<module>.<module>_cli
Section tags
0 shared · 4 only in A · 0 only in B- − test
- − code-style
- − architecture
- − agent-behaviour
Line diff
kurnoolion/nora · CLAUDE.md
@@ −1 @@
1# CLAUDE.md
2
3This file provides guidance to Claude Code (and Cline) when working with code in this repository.
4
5## Project
6
7**NORA** — Network Operator Requirements Analyzer. AI system combining a unified Knowledge Graph with targeted RAG for intelligent querying, cross-referencing, and compliance analysis of US MNO device requirement specifications across multiple MNOs (MNO-A, AT&T, T-Mobile) and quarterly releases.
8
9See `docs/compact/PROJECT.md` for the 1-page identity and `TDD_Telecom_Requirements_AI_System.md` for the canonical technical design.
10
11## Session-start ritual
12
13This project uses **COMPACT** — a portable scaffold for team AI-partnered software development. The AI scaffolding lives under `.claude/skills/` and the durable state lives under `docs/compact/`.
14
15At the start of every session, invoke `run the session-start skill` (or `/session-start`). It loads Tier 1 context (`PROJECT.md` / `STATUS.md` / `MAP.md` / the active phase prompt) and asks what you're working on. Re-invoke mid-session after Claude Code auto-compaction or any time context feels stale.
16
17## Key skills
18
19- `/session-start` — hydrate context at start of every session
20- `/switch-phase <requirements | architecture | development>` — adopt the phase persona
21- `/regen-map` — regenerate `MAP.md` + Structure sections when code structure changes
22- `/drift-check <requirements | design | dev-full | dev-module <name> | all>` — audit for drift between requirements, design, and implementation
23- `/close-session` — end-of-session ritual: triages decisions, updates STATUS, audits MODULE.md edits, proposes commit (this is the **only** place memory is made)
24- `/project-init --re-init` — regenerate phase prompts after project-level changes (state files preserved)
25
26## State files
27
28- `docs/compact/PROJECT.md` — identity + Contributors table
29- `docs/compact/STATUS.md` — active phase, done / in progress / next, flags
30- `docs/compact/requirements.md` — FR / NFR / Deferred (authority for what the system must do)
31- `docs/compact/MAP.md` — module table + Mermaid dependency graph (regenerated)
32- `docs/compact/DECISIONS.md` — append-only ADR log
33- `docs/compact/structure-conventions.md` — what's a module, visibility mapping
34- `docs/compact/design-inputs/` — TDD, README, SESSION_SUMMARY, SETUP_OFFLINE (archival design inputs)
35- `docs/compact/retrofit-snapshot.md` — archival scan of existing codebase at retrofit time
36- `docs/compact/phases/{requirements,architecture,development}.md` — phase personas loaded by `/switch-phase`
37- `src/<module>/MODULE.md` — per-module contracts (16 skeletons seeded by retrofit — see STATUS for curation progress)
38
39## Current state
40
41Retrofitted on 2026-04-21 via `/project-init --retrofit`. The 16 MODULE.md skeletons were curated through 2026-04-27 (sentinels removed). Three-tier code reorg (`core/` + `customizations/` + `config/`) executed 2026-04-27. See `docs/compact/STATUS.md` for the current active phase and work list.
42
43## Repository layout
44
45Three-tier code organization (D-019..D-024) plus a per-env runtime directory `<env_dir>`. See `docs/compact/structure-conventions.md` for the canonical layout.
46
47- `core/src/` — AI-generated Python source (16 packages; one MODULE.md per package). Manual edits exceptional (D-019).
48- `core/tests/` — pytest suite (one `test_<module>.py` per package).
49- `customizations/profiles/` — human-curated document profiles (committed JSON).
50- `customizations/llm/` — AI-scaffolded LLM provider boilerplate (e.g. `proprietary_provider.py`); humans complete the `complete()` body for production deployments.
51- `config/` — per-module settings (currently `config/web.json`; more files land as modules surface configurable knobs).
52- `environments/` — per-environment configs (gitignored except `.gitkeep`); each names an `env_dir` path.
53- `docs/compact/` — COMPACT state files.
54- `.claude/skills/` — COMPACT skills (flat layout: compact-skill, session-start, switch-phase, regen-map, drift-check, close-session, project-init, doctor).
55- `<env_dir>/` (runtime, user-supplied path; not in repo) — `input/<MNO>/<release>/`, `out/<stage>/`, `state/`, `corrections/`, `reports/`, `eval/`.
56
57## Conventions
58
59- Python; no `pyproject.toml` — `requirements.txt` + `core/src/` layout with `__init__.py` per package.
60- Public surface: top-level identifiers without a leading underscore (plus `__init__.py` re-exports when `__all__` is used).
61- CLI per module: `core/src/<module>/<module>_cli.py` with `main()` entrypoint; invoked as `python -m core.src.<module>.<module>_cli`.
62- Protocol-based abstractions: `LLMProvider`, `EmbeddingProvider`, `VectorStoreProvider`.
63- No proprietary document content in logs, error messages, compact reports, or test fixtures.
64
kurnoolion/nora · .clinerules/00-project.md
@@ +1 @@
1# NORA project context
2
3This repo is **NORA — Network Operator Requirements Analyzer**. Python codebase that
4ingests US MNO device-requirement specs, builds a knowledge graph + targeted RAG vector
5store, and answers questions with grounded citations. Active phase: development.
6
7Where to read more (in this order, on first run via the `orient` playbook):
8- `docs/compact/PROJECT.md` — 1-page identity + Contributors table
9- `docs/compact/MAP.md` — module table + Mermaid dependency graph
10- `docs/compact/STATUS.md` — active phase, in-progress, flags
11- `docs/compact/requirements.md` — FR/NFR (load only when explicitly working on requirements)
12- `core/src/<module>/MODULE.md` — per-module curated contracts (load on demand)
13- `core/src/query/RETRIEVAL.md` — retrieval pipeline reference
14
15The project is partnered between a **Teacher LLM** (full design + code) and you
16(on-prem Cline, the student with corpus access). Your role and content-safety rules are
17in `01-role.md` / `02-content-safety.md`.
18
19The existing `docs/compact/` scaffold is a separate methodology (COMPACT) that Teacher LLM uses
20to maintain project context across sessions. You do not invoke COMPACT skills; you
21read the artifacts COMPACT produced.
22
@@ −1 +1 @@
1−# CLAUDE.md
1+# NORA project context
22
3−This file provides guidance to Claude Code (and Cline) when working with code in this repository.
3+This repo is **NORA — Network Operator Requirements Analyzer**. Python codebase that
4+ingests US MNO device-requirement specs, builds a knowledge graph + targeted RAG vector
5+store, and answers questions with grounded citations. Active phase: development.
46
5−## Project
7+Where to read more (in this order, on first run via the `orient` playbook):
8+- `docs/compact/PROJECT.md` — 1-page identity + Contributors table
9+- `docs/compact/MAP.md` — module table + Mermaid dependency graph
10+- `docs/compact/STATUS.md` — active phase, in-progress, flags
11+- `docs/compact/requirements.md` — FR/NFR (load only when explicitly working on requirements)
12+- `core/src/<module>/MODULE.md` — per-module curated contracts (load on demand)
13+- `core/src/query/RETRIEVAL.md` — retrieval pipeline reference
614
7−**NORA** — Network Operator Requirements Analyzer. AI system combining a unified Knowledge Graph with targeted RAG for intelligent querying, cross-referencing, and compliance analysis of US MNO device requirement specifications across multiple MNOs (MNO-A, AT&T, T-Mobile) and quarterly releases.
15+The project is partnered between a **Teacher LLM** (full design + code) and you
16+(on-prem Cline, the student with corpus access). Your role and content-safety rules are
17+in `01-role.md` / `02-content-safety.md`.
818
9−See `docs/compact/PROJECT.md` for the 1-page identity and `TDD_Telecom_Requirements_AI_System.md` for the canonical technical design.
10−
11−## Session-start ritual
12−
13−This project uses **COMPACT** — a portable scaffold for team AI-partnered software development. The AI scaffolding lives under `.claude/skills/` and the durable state lives under `docs/compact/`.
14−
15−At the start of every session, invoke `run the session-start skill` (or `/session-start`). It loads Tier 1 context (`PROJECT.md` / `STATUS.md` / `MAP.md` / the active phase prompt) and asks what you're working on. Re-invoke mid-session after Claude Code auto-compaction or any time context feels stale.
16−
17−## Key skills
18−
19−- `/session-start` — hydrate context at start of every session
20−- `/switch-phase <requirements | architecture | development>` — adopt the phase persona
21−- `/regen-map` — regenerate `MAP.md` + Structure sections when code structure changes
22−- `/drift-check <requirements | design | dev-full | dev-module <name> | all>` — audit for drift between requirements, design, and implementation
23−- `/close-session` — end-of-session ritual: triages decisions, updates STATUS, audits MODULE.md edits, proposes commit (this is the **only** place memory is made)
24−- `/project-init --re-init` — regenerate phase prompts after project-level changes (state files preserved)
25−
26−## State files
27−
28−- `docs/compact/PROJECT.md` — identity + Contributors table
29−- `docs/compact/STATUS.md` — active phase, done / in progress / next, flags
30−- `docs/compact/requirements.md` — FR / NFR / Deferred (authority for what the system must do)
31−- `docs/compact/MAP.md` — module table + Mermaid dependency graph (regenerated)
32−- `docs/compact/DECISIONS.md` — append-only ADR log
33−- `docs/compact/structure-conventions.md` — what's a module, visibility mapping
34−- `docs/compact/design-inputs/` — TDD, README, SESSION_SUMMARY, SETUP_OFFLINE (archival design inputs)
35−- `docs/compact/retrofit-snapshot.md` — archival scan of existing codebase at retrofit time
36−- `docs/compact/phases/{requirements,architecture,development}.md` — phase personas loaded by `/switch-phase`
37−- `src/<module>/MODULE.md` — per-module contracts (16 skeletons seeded by retrofit — see STATUS for curation progress)
38−
39−## Current state
40−
41−Retrofitted on 2026-04-21 via `/project-init --retrofit`. The 16 MODULE.md skeletons were curated through 2026-04-27 (sentinels removed). Three-tier code reorg (`core/` + `customizations/` + `config/`) executed 2026-04-27. See `docs/compact/STATUS.md` for the current active phase and work list.
42−
43−## Repository layout
44−
45−Three-tier code organization (D-019..D-024) plus a per-env runtime directory `<env_dir>`. See `docs/compact/structure-conventions.md` for the canonical layout.
46−
47−- `core/src/` — AI-generated Python source (16 packages; one MODULE.md per package). Manual edits exceptional (D-019).
48−- `core/tests/` — pytest suite (one `test_<module>.py` per package).
49−- `customizations/profiles/` — human-curated document profiles (committed JSON).
50−- `customizations/llm/` — AI-scaffolded LLM provider boilerplate (e.g. `proprietary_provider.py`); humans complete the `complete()` body for production deployments.
51−- `config/` — per-module settings (currently `config/web.json`; more files land as modules surface configurable knobs).
52−- `environments/` — per-environment configs (gitignored except `.gitkeep`); each names an `env_dir` path.
53−- `docs/compact/` — COMPACT state files.
54−- `.claude/skills/` — COMPACT skills (flat layout: compact-skill, session-start, switch-phase, regen-map, drift-check, close-session, project-init, doctor).
55−- `<env_dir>/` (runtime, user-supplied path; not in repo) — `input/<MNO>/<release>/`, `out/<stage>/`, `state/`, `corrections/`, `reports/`, `eval/`.
56−
57−## Conventions
58−
59−- Python; no `pyproject.toml` — `requirements.txt` + `core/src/` layout with `__init__.py` per package.
60−- Public surface: top-level identifiers without a leading underscore (plus `__init__.py` re-exports when `__all__` is used).
61−- CLI per module: `core/src/<module>/<module>_cli.py` with `main()` entrypoint; invoked as `python -m core.src.<module>.<module>_cli`.
62−- Protocol-based abstractions: `LLMProvider`, `EmbeddingProvider`, `VectorStoreProvider`.
63−- No proprietary document content in logs, error messages, compact reports, or test fixtures.
19+The existing `docs/compact/` scaffold is a separate methodology (COMPACT) that Teacher LLM uses
20+to maintain project context across sessions. You do not invoke COMPACT skills; you
21+read the artifacts COMPACT produced.
6422
