Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
cbcd9d2
docs(cleanup): refresh the src/ move map on the current tree
claude Nov 25, 2026
992f84b
test(tooling): move-aware guardrail ratchet and layered folder units
claude Nov 25, 2026
8750679
refactor(src): dissolve the views and analysis-views barrels (#55 B0)
claude Nov 25, 2026
4867f66
refactor(src): dissolve the analysis-commands barrels (#55 B0)
claude Nov 25, 2026
c8a1511
refactor(src): dissolve the collaboration and remote-access barrels (…
claude Nov 25, 2026
e5e99e5
refactor(src): dissolve the remaining re-export barrels (#55 B0)
claude Nov 25, 2026
d69654c
refactor(src): move platform and shared files into place (#55 B1)
claude Nov 25, 2026
98d443e
refactor(src): move the learn-more feature into features/learn-more (…
claude Nov 25, 2026
e91522f
refactor(src): move the Python environment into core/ and features/py…
claude Nov 25, 2026
e7d9166
refactor(src): move visualization settings into core/charts/settings …
claude Nov 25, 2026
74eba0b
refactor(src): move the visualize-data feature into features/visualiz…
claude Nov 25, 2026
81c806d
refactor(src): move the BabiaXR examples into features/examples (#55 B6)
claude Nov 25, 2026
d5ad7dd
refactor(src): move the chart template system into core/charts (#55 B7)
claude Nov 25, 2026
4cab8b2
refactor(src): move collaboration and remote access into core/ and fe…
claude Nov 25, 2026
f27411a
refactor(src): move the server runtime and registry into core/server …
claude Nov 25, 2026
0caf1d5
refactor(src): move the servers and active-servers features into feat…
claude Nov 25, 2026
7f12958
refactor(src): move dependencies, history and export into core/ (#55 …
claude Nov 25, 2026
4632146
refactor(src): move the analysis engine into core/analysis (#55 B12)
claude Nov 25, 2026
a730f89
refactor(src): move the analysis section into features/analysis (#55 …
claude Nov 25, 2026
11cf9c8
refactor(src): move the composition root into app/ (#55 B14)
claude Nov 25, 2026
d346326
test(tooling): pin the feature-first src/ layout (#55)
claude Nov 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .claude/docs/AI_WORKFLOWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

0. **Know the version's scope.** The active version is **v1.2.1, a maintenance release: cleanup, optimization and hygiene, no new features.** Read `V1.2.1_STATUS.md` for the ranked backlog and the baseline numbers. If a task would add user-visible behaviour, it belongs in 1.3.0 — say so instead of quietly widening 1.2.1.
1. **One unit of work per session** — one feature, one bug, one refactor, or one docs/release task. Finish and validate it before starting anything else. **Exception — the v1.2.1 cleanup programme:** there the unit is the *commit*, not the session. One roadmap item = one bisectable commit, a session may land several in roadmap order with the gate run after each, and a red gate ends the session at the last green commit (`cleanup` skill §1).
2. **Start from `INDEX.md`** and read only the documents mapped to your task type. Do not scan `src/` broadly; `src/code_analysis/` alone is 246 files.
2. **Start from `INDEX.md`** and read only the documents mapped to your task type. Do not scan `src/` broadly; `src/core/analysis/` and `src/features/analysis/` together are about 120 files.
3. **Distinguish claim levels** in everything you report and write: confirmed (you verified it), self-assessed (a doc claims it), inferred, open question.
4. **Validate before declaring done**: at minimum `npm run test:basic`; plus the narrowest specialized script for the touched area (matrix in `DEVELOPMENT.md`).
5. **End-of-session checklist**:
Expand All @@ -21,7 +21,7 @@

1. Read: `ARCHITECTURE.md`, `V1.2.1_STATUS.md` (the active status doc), plus the area doc (`XR_COMPONENTS.md` and/or `PYTHON_ANALYSIS.md`) and any relevant `docs/*.md` feature doc.
2. Check the scope of the active version — 1.2.1 is maintenance only (`V1.2.1_STATUS.md`, `v1.2.1/ROADMAP.md`), so a feature belongs in 1.3.0; `docs/project/ROADMAP_V1.2.0.md` is the historical 1.2.0 plan. Respect scope decisions (e.g., boats/Code City is paused).
3. Follow the per-feature module convention (`commands/` + `model/` + `runtime|services/` + `views/{items,interactions}`); register commands through the module's registration array consumed by `src/commands/index.ts` (IDs must be unique — `assertUniqueCommandIds` enforces this).
3. Follow the per-feature module convention (`commands/` + `model/` + `runtime|services/` + `views/{items,interactions}`); register commands through the module's registration array consumed by `src/app/commands/registerAllCommands.ts` (IDs must be unique — `assertUniqueCommandIds` enforces this).
4. If the feature adds metrics or chart dimensions, plan the Python schema ↔ TS validator sync first (`PYTHON_ANALYSIS.md` → field-schema contract).
5. Add tests: unit `.test.cjs` in `test/<area>/`; runtime changes under `templates/components/` get a runtime test; consider a manual harness for visual behavior.
6. Validate: narrow test script → `npm run test:basic` → F5 manual flow (`DEVELOPMENT.md`).
Expand All @@ -31,7 +31,7 @@

1. Read: `ARCHITECTURE.md` module map to locate the subsystem; the area doc if the bug touches a contract seam.
2. **Reproduce first** — via the narrowest test script or the F5 flow. Write a failing test when feasible (`test/<area>/*.test.cjs` or `test/python/`).
3. Fix at the root cause; do not patch around watchers/session lifecycle without reading `engine/core/analysisSession.ts` + `engine/watchers/` behavior.
3. Fix at the root cause; do not patch around watchers/session lifecycle without reading `core/analysis/session/analysisSession.ts` + `core/analysis/watchers/` behavior.
4. Validate: the new/affected test + `npm run test:basic`.
5. Update CHANGELOG (Fixed) and, if the bug revealed wrong documentation, correct the doc in the same session.

Expand All @@ -52,7 +52,7 @@ Full procedure lives in the **`cleanup` skill** — invoke it. Summary:
1. Confirm scope with the user first if the refactor crosses module boundaries or touches a contract seam (field schema, chart registry, command registration, component injection, SSE keying).
2. Read: `ARCHITECTURE.md` (esp. "cross-module contracts") + the area doc.
3. Refactors must be behavior-neutral: run the full relevant matrix before *and* after (`test:basic`, plus `test:python`/`test:analysis` if analysis is touched, harnesses if runtimes are touched).
4. Respect known duplication that is historical, not accidental (e.g. `active_servers/views/` vs `views/active_servers/`) — don't "clean up" aggregation wiring without tracing imports.
4. Respect known duplication that is historical, not accidental (e.g. the two example item factories and click handlers in `features/examples/views/`) — don't "clean up" aggregation wiring without tracing imports.
5. Update `ARCHITECTURE.md` if module responsibilities or seams moved.

## Playbook: documentation update
Expand All @@ -66,7 +66,7 @@ Full procedure lives in the **`cleanup` skill** — invoke it. Summary:

1. Read: `V1.2.1_STATUS.md` (entire file), `v1.2.1/ROADMAP.md` (decisions and exit criteria; `docs/project/ROADMAP_V1.2.0.md` holds the historical 1.2.0 ones), `DEVELOPMENT.md` (packaging).
2. Resolve every open verification row in `V1.2.1_STATUS.md` (each has a how-to-verify hint).
3. Reconcile docs: README "What's New" → the release's content; CHANGELOG `[1.2.1]` → its provisional date moved to the real release date; roadmap statuses; language-count claim fixed against `src/utils/languageMetadata.ts`; rename leftovers.
3. Reconcile docs: README "What's New" → the release's content; CHANGELOG `[1.2.1]` → its provisional date moved to the real release date; roadmap statuses; language-count claim fixed against `src/core/analysis/languages/languageMetadata.ts`; rename leftovers.
4. Quality gate: `npm run test:all` + `npm run test:analysis` + harnesses for touched runtimes; F5 smoke of the three analysis modes.
5. Package: `npm run package:vsix`; **inspect the VSIX contents** against the package.json `files` allowlist (no `.vscodeignore` exists — the allowlist is the only control). Verify no unintended files ship and nothing required is missing.
6. Respect the pre-release sequence a feature release used (1.2.0: `1.2.0-alpha.1` → … → `rc.1` → stable) — do not jump to stable.
Expand Down
Loading
Loading