Skip to content

Commit 8eee990

Browse files
authored
chore: remove stale scaffolding and dead config (#57)
* chore: remove stale scaffolding, dead config, and planning leftovers - Untrack the two stale skill files left behind under .claude/ (missed by 1006a1f) - Remove mkdocs.yml and docs/assets/: mkdocs is wired to no build step and its nav references seven files pruned in #52 - Remove docs/.archive/ (internal debug note + project scan report) from the public repo - Remove empty features/demo scaffolding and redundant .gitkeep placeholders - Drop dead Berkeley Mono @font-face declarations: the woff2 files were never shipped, every visitor 404s then falls back to JetBrains Mono - Prune .gitignore entries for tooling that no longer exists (site/, _planning, redisign scratchpads) - Update CLAUDE.md and docs to match * docs: note recoverable stats tests lost in #42 squash
1 parent 1b636c2 commit 8eee990

17 files changed

Lines changed: 4 additions & 429 deletions

File tree

.gitignore

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ npm-debug.log*
1616

1717
# Build outputs
1818
apps/web/dist/
19-
site/
2019

2120
# Environment
2221
.env
@@ -49,12 +48,5 @@ htmlcov/
4948
# Alembic
5049
apps/api/alembic/versions/*.pyc
5150

52-
# BMAD planning & tooling (kept locally, not tracked in production repo)
53-
_bmad/
54-
_bmad-output/
51+
# Claude Code local config
5552
.claude/
56-
57-
# Internal redesign artifacts & dev-only scratchpads (kept locally, not in public repo)
58-
redisign/
59-
docs/frontend-redesign.md
60-
scripts/qa-frontend-agent.md

CLAUDE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ Key additions for production: `ENVIRONMENT=production`, `ADMIN_PASSWORD`, `CORS_
104104
## Gotchas
105105

106106
- **CI coverage threshold**: `--cov-fail-under=70` (current coverage ~75%). Raising to 80% requires covering `admin/views.py`, `main.py` lifespan, and more router branches.
107+
- **Lost stats tests**: `tests/modules/identity/test_stats.py` (176 lines covering the user stats endpoint) was dropped in the #42 squash; it survives on local branch `feat/dashboard-activity-chart-impl` (62bf88e) — cherry-pick and adapt to boost coverage.
107108
- **Entrypoint parallel I/O**: clone, metadata (`gh pr view --json`), and diff (`gh pr diff`) run as background jobs with `wait`. The `-R` flag lets `gh` hit the API without a local `.git` dir. `set -e` does NOT propagate from background jobs — each `wait $pid` needs explicit `|| exit 1`. The claude-runner image includes `jq` for parsing the combined metadata JSON.
108109
- Always run `make lint` before pushing — ruff + eslint must pass
109110
- **Shiki in tests**: any test rendering session components must mock `./shiki` (highlighter, SHIKI_THEME, SUPPORTED_LANGS) to avoid loading real TextMate grammars in jsdom
@@ -146,4 +147,4 @@ Key additions for production: `ENVIRONMENT=production`, `ADMIN_PASSWORD`, `CORS_
146147
- **BYOK supports OAuth tokens**: `validate_claude_key()` accepts both API keys (`sk-ant-api03-...`) and OAuth tokens (`sk-ant-oat...`). OAuth tokens skip server-side validation (validated at runtime by Claude Code CLI). Frontend setup page guides users to `claude setup-token`.
147148
- **VITE_* build args**: `VITE_API_URL` and `VITE_GITHUB_APP_SLUG` are build-time variables — must be passed as `args` in the compose and declared as `ARG`/`ENV` in `Dockerfile.web`. They cannot be set at runtime.
148149
- **Human-facing docs**: `README.md`, `CONTRIBUTING.md`, `docs/self-hosting.md`, `docs/architecture.md`, `docs/creating-skills.md` -- keep in sync with CLAUDE.md when architecture changes. CLAUDE.md is for AI agents; those docs are for human self-hosters and contributors.
149-
- **Doc archival**: internal/debug docs go to `docs/.archive/`, not deleted. `PROJECT-STATUS.md` was removed (stale, duplicated by README + CLAUDE.md).
150+
- **No doc archive**: internal/debug notes are not tracked in the public repo (`docs/.archive/` was removed). Keep only the human-facing docs listed above; scratch notes stay local or in PRs.

apps/api/alembic/versions/.gitkeep

Whitespace-only changes.

apps/web/public/fonts/.gitkeep

Whitespace-only changes.

apps/web/src/features/auth/.gitkeep

Whitespace-only changes.

apps/web/src/features/demo/.gitkeep

Whitespace-only changes.

apps/web/src/features/installation/.gitkeep

Whitespace-only changes.

apps/web/src/index.css

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,6 @@ html, body, #root {
1717
/* Inter — body text */
1818
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600&display=swap');
1919

20-
/* Berkeley Mono — commercial font, optional local override */
21-
@font-face {
22-
font-family: 'Berkeley Mono';
23-
src: url('/fonts/BerkeleyMono-Regular.woff2') format('woff2');
24-
font-weight: 400;
25-
font-style: normal;
26-
font-display: swap;
27-
}
28-
@font-face {
29-
font-family: 'Berkeley Mono';
30-
src: url('/fonts/BerkeleyMono-Medium.woff2') format('woff2');
31-
font-weight: 500;
32-
font-style: normal;
33-
font-display: swap;
34-
}
35-
@font-face {
36-
font-family: 'Berkeley Mono';
37-
src: url('/fonts/BerkeleyMono-Bold.woff2') format('woff2');
38-
font-weight: 700;
39-
font-style: normal;
40-
font-display: swap;
41-
}
42-
4320
@theme {
4421
/* === Direction E: Warm Dark + Amber === */
4522

@@ -70,7 +47,7 @@ html, body, #root {
7047
--color-danger: #d66b5e;
7148

7249
/* Typography */
73-
--font-family-mono: 'Berkeley Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
50+
--font-family-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
7451
--font-family-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
7552

7653
/* Typography Scale */

apps/web/src/shared/api/.gitkeep

Whitespace-only changes.

apps/web/src/shared/components/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)