Previously the PyQt popup always started with auto-continue ON, ignoring
any pause set in the web control panel (only mattered when Cockpit was
down at popup-open time).
Fix: write/delete /tmp/cockpit-auto-continue-<tab> whenever the web app
toggles or resets auto-continue state (new API route). PyQt reads the
sentinel on init and skips starting the countdown when paused.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- _beacon_theme.py — color palettes + theme loading (no PyQt)
- _beacon_config.py — runtime constants + settings helpers (no PyQt)
- _beacon_audio.py — WhisperThread speech-to-text
- _beacon_popups.py — Qt stylesheet, all widget classes
- beacon.py — thin 198-line entry point
Also fix inject_prompt in agent-hook-lib.sh: add || true to zellij
commands so set -euo pipefail doesn't abort before Enter is pressed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Bash was writing identical /tmp sentinel files under both naming schemes
simultaneously (agent-ready-{tab} AND claude-ready-{tab}) and TypeScript
was reading with double-fallback (?? stateFile.claudeReady) logic.
Now:
- Bash stop handler writes only agent-* sentinels (new canonical names)
- Dual-delete lines kept so stale claude-* files on disk are still cleaned up
- TypeScript reads only agent-* (no ?? fallback); 4 dead stateFile.claude*
helpers removed (claudeClosing, claudeSentinel, claudePrompt, claudeLock)
- claudeReady + claudeClosed kept for the cleanup unlinkSync calls in
inject/orchestration routes
- notification handler simplified: single-name checks, 6 dead lines removed
- agent-config.ts comment updated to "legacy names — cleanup only"
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
control-fast-state.ts had a single-line regex parser; sessions/route.ts had a
more capable multi-line buffering parser that stops at ## sections. Both parsed
the same on-disk handoff format (done/next/tests/todos/health).
Add parseSessionFile(raw) to session-content.ts — the canonical implementation
using the multi-line algorithm. Both callers now import it; the local parse
functions are deleted. control-fast-state.ts shrinks from 17 lines to 5.
The Python beacon's _build_summary keeps its own single-line parse (language
boundary) but now has a cross-reference comment to parseSessionFile.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
beacon.py had 5 raw "http://localhost:3000" literals spread across 3 functions
(_open_cockpit, _cockpit_poll, _web_stop) plus a tooltip string.
agent-hook-bridge.sh had 2 more.
Both scripts now read COCKPIT_URL from the environment with a localhost:3000
default, defined once at the top of each file (module constant in Python,
readonly variable in bash). A single env-var override now propagates everywhere
without touching code — covers non-default ports, remote deployments, and CI.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
_poll_choice used `if data.get("choice")` — Python truthiness — which
silently skips an empty string. When cancelActiveBeaconSessions writes
choice:"" to the session file, the poll loop would see "" and keep waiting
until the full timeout, then exit with code 1. The bash caller then falls
into the "native popup failed → fallback slot 1" branch and injects a
second prompt on top of the one already sent by the control panel.
Fix: use `is not None` so empty string is returned immediately. The
caller also switches from `if choice` to `if choice is not None` so ""
is printed to stdout and bash correctly exits via [ -z "$choice" ] && exit 0.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Part 1 — atomic bash lock: replace TOCTOU check-then-write on
agent-stop-active-<tab> with POSIX noclobber `( set -C; : > lock ) 2>/dev/null`.
Concurrent stop hooks that both used to pass the test-before-write now
race atomically; only one wins. Stale locks (>90s) are overwritten.
Part 2 — cancel open beacons on panel inject: cancelActiveBeaconSessions()
scans /tmp/cockpit-beacon/*.json for active sessions matching the tab and
sets choice="" — the empty-string sentinel that causes beacon.py's polling
loop to return "" and bash to `exit 0` cleanly.
/api/inject calls this immediately after injectIntoTab() succeeds.
Part 3 — beacon popup auto-closes on cancellation: polls GET /api/beacon/:id
every 2 s; calls window.close() as soon as choice !== null (set by Part 2).
Clears on unmount or when the user submits their own choice first.
Together these three parts prevent the popup and the control panel from
both injecting prompts into the same Zellij tab.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
go-to-tab-name is fire-and-forget — it returns before Zellij has switched
the visible tab. Under load the 0.3s sleep was too short, causing write-chars
to type the prompt into whichever pane happened to be focused at that moment.
Both inject paths now poll zellij action dump-layout after go-to-tab-name and
wait until the focused tab matches the target (up to 1s, 50ms intervals).
In the common case the switch completes in <50ms, so typical injection is
faster than before; the edge case where it was silently misfiring is fixed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Path A (beacon popup → bash inject) was telling Claude to write only
'done' and 'next', while Path B (control panel → TypeScript inject)
told it to write all five: done, next, tests, todos, health.
The control panel and SSE stream read all five fields; the missing
three caused projects injected via popup to show no test count,
no TODO count, and no health status until the next TypeScript inject.
Both paths now use identical wording:
'When done, update {file} with exactly these lines:
done / next / tests / todos / health'
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Root cause: beacon.py called _cockpit_ready() using /api/control (slow DB+git
endpoint, 4+ seconds cold) with a 2s timeout. When OrangeCat fired rapid
consecutive stop hooks, this check failed even with Cockpit running, so
_start_cockpit() spawned extra npm run dev processes that inherited the bash
command substitution pipe (stdout). Their startup output flooded the captured
`choice`, jq parsing failed, and the script exited silently with no injection.
Fix 1: Add /api/health endpoint (instant response) — beacon.py now uses this
instead of /api/control for all liveness checks; also fixes the curl check
in agent-hook-bridge.sh.
Fix 2: Redirect _start_cockpit() subprocess stdout/stderr to DEVNULL — like
_open_browser() already does. Prevents npm run dev from inheriting the pipe
and polluting the captured choice.
Fix 3: Add concurrent stop guard at top of handle_stop — skips the popup if
another stop is already active for the same tab (within 90s). Prevents
beacon storms from rapid turn completions.
Also increased _poll_choice timeout from 3s to 8s to tolerate cold route
compilation without dropping choices.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Three fixes for the wrong-monitor popup problem:
- beacon.py: fallback uses primary screen instead of cursor position —
cursor can be on any screen but the terminal is usually on primary
- agent-hook-bridge.sh: writes claude-screen-<PANE_ID> from xrandr at
stop hook time if missing (context-limit continuations bypass the
claude() bash wrapper which normally writes it at launch)
- ProjectCard.tsx: auto-continue defaults OFF — require explicit opt-in
to prevent the Cockpit UI from auto-injecting a second prompt while
the user is already typing their own message in the same terminal tab
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
WindowDoesNotAcceptFocus is an X11 WM hint that blocks keyboard focus
even on deliberate clicks — so typing went to the terminal, the input
stayed empty, and the countdown/dismiss fired as if nothing was typed.
Fix: FocusCancelInput.mousePressEvent strips the flag and re-shows the
window so the WM routes keystrokes here. Track _input_engaged so _tick,
_choose, and _dismiss all respect a click (not just non-empty text).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Root disconnect: when a choice was injected via bash (web beacon or PyQt popup),
the /tmp state files were never updated — agent-ready-<TAB> stayed written
(UI showed "waiting for input"), agent-current-prompt-<TAB> was never written
(no "running" banner), and the Control panel stayed stale until the NEXT stop
hook fired.
Fixes:
- agent-hook-lib.sh: add write_inject_state(tab, key, label) that clears the
ready/closed sentinels and writes the current-prompt sentinel immediately
after injection — same state update that /api/inject does for Control panel
inject button flows
- agent-hook-bridge.sh: extract inject_key and inject_label from the resolved
choice, then call write_inject_state after emit_or_inject_prompt
- agent-hook-lib.sh: add -- before prompt in write-chars call to prevent
prompts starting with - from being parsed as flags
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Both were SSOT violations — PyQt respected ~/.config/agent-dashboard-settings.json
but the web beacon hardcoded its own values.
- beacon.py _web_stop: reads countdown_seconds from settings, passes as
?countdown=N query param when opening the Chrome app URL
- beacon page: reads ?countdown from window.location.search on load
(lazy useState initializer, SSR-safe via typeof window guard)
- /api/beacon/transcribe: reads whisper_model from settings file before
invoking transcribe.py, falls back to "base" if missing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace Web Speech API (cloud, silent failures) with MediaRecorder →
POST audio blob → Python Whisper (local, no internet) pipeline. Adds
real-time waveform visualisation, recording timer, and a clear
idle/recording/processing state machine with never-silent error display.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Record the terminal's screen at claude startup (cursor is in terminal then)
via record-terminal-screen.py using ctypes+libX11 on XWayland DISPLAY=:1.
_terminal_screen_position() reads /tmp/claude-screen-<ZELLIJ_PANE_ID> as
the primary source — drops the unreliable xdotool path that never worked
on KDE Wayland with Kitty.
Both PyQt popup and Chrome web beacon use this path, so neither will
appear on the movie screen when cursor drifts there mid-session.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Root cause: WA_TranslucentBackground + QGraphicsDropShadowEffect causes
fully-transparent windows on Linux without compositor support (common on
NVIDIA/X11 setups). Both the stop and confirm popups were affected.
Fix:
- Remove WA_TranslucentBackground from BasePopup
- Use QPalette to paint solid card-color background on the window itself
(window bg = card bg = seamless visual, rounded border still visible)
- Remove QGraphicsDropShadowEffect — only meaningful with transparency
- Collapse outer layout margins 16→0 (were shadow bleed space only)
- Remove QGraphicsDropShadowEffect import (unused)
Applies to both ContinuePopup (stop mode) and ConfirmPopup (destructive
command confirmations). Both inherit from BasePopup.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove min-h-screen so the page doesn't expand to fill fixed height
- On load: resizeTo(520, scrollHeight) + moveTo to keep bottom-right
anchor (reads screenLeft/screenTop before resize to reposition)
- Reduce initial Chrome window from 820→640px so less blank area before
JS fires; loading/submitted states use compact fixed heights
- Sync _terminal_screen_position default height to match
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
scripts/export-beacon-theme.py reads Cockpit's oklch design tokens,
converts them to hex, and writes ~/.config/agent-dashboard-theme.json
so beacon.py's PyQt palette stays pixel-identical to the web UI.
Run after any colour change in globals.css:
python3 scripts/export-beacon-theme.py
beacon.py: fix _load_theme to read nested {dark/light} JSON structure.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Use $WINDOWID or xdotool getactivewindow to find the terminal's screen
geometry, then position at bottom-right of that screen. Falls back to
cursor position if xdotool is unavailable.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- beacon.py: main() now calls _web_stop (Cockpit web page) instead of PyQt6 for stop
mode — eliminates WA_TranslucentBackground transparency bug on Linux compositors
- _cursor_screen_position(): calculates bottom-right of cursor's screen via PyQt and
passes --window-position to Chrome so the app window opens in the right place
- user_projects: add devLog JSONB column (array of DevLogEntry: date/done/next/tests/
todos/health); schema pushed to DB
- beacon PATCH API: appends a DevLogEntry to the matched project when a choice is set —
fire-and-forget so it never blocks the beacon response
- GET /api/user-projects/[id]: new endpoint so ProjectProfile can fetch devLog
- ProjectProfile: new DevLogSection (collapsed by default) shows last 12 entries with
date, health badge, done summary, and next step — auto-populated from beacon sessions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mouse events on the card are consumed by child widgets (buttons, labels)
before reaching BasePopup, so drag on BasePopup never fires. DraggableCard
puts the drag handler on the card itself; clicks on non-interactive areas
(margins, dividers, labels) call windowHandle().startSystemMove() which
asks the X11 WM to move the window natively — works through any compositor.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Position popup on whichever screen the cursor is on (was always primary screen)
- Add mouse drag support (LeftButton drag to move — no title bar needed)
- Delete ~/.config/agent-dashboard-theme.json which hardcoded dark colors,
overriding the system light/dark detection added in previous commit
- Softer drop shadow in light mode (60 alpha vs 200) to match Cockpit CSS shadows
- Card border-radius 24→16px to match Cockpit panel radius
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Detect system color scheme (GNOME color-scheme + KDE ColorScheme + GTK theme)
- Define _DARK_PALETTE / _LIGHT_PALETTE matching Cockpit design tokens exactly
- Primary button now uses btn_primary_bg/fg keys so it reads in both modes
- UP NEXT / DONE labels now use theme-adaptive label_next / label_progress colors
- Revert main() to _pyqt_stop — stop mode no longer opens a Brave window
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- beacon.py stop mode now opens localhost:3000/beacon/<id> (Chrome --app mode)
instead of a PyQt6 window; PyQt6 confirm popup stays for sync blocking
- /api/beacon + /api/beacon/[id] routes create/poll/submit sessions via /tmp files
- /beacon/[id] page uses the same ui-btn-primary, ui-panel, ui-kicker components as
the rest of Cockpit — fonts, tokens, and layout are literally the same code
- Per-project agent+model prefs: modelPref column added to user_projects (pushed);
ProjectState now carries id/agentPref/modelPref; launch modal pre-fills saved
prefs and saves choice back after every launch; ProjectProfile agent selector
persists to DB immediately
- Default agent changed from codex to claude in agent-preferences + hook fallback
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Wraps session summary in a QScrollArea (max 55% screen height) so content
never overflows the screen. DONE toggle now scrolls to reveal items instead
of resizing the window. Also bumps ai-brief timeout to 90s with user-visible
"~30s" hint so the CLI invocation no longer times out.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Information architecture: UP NEXT + IN PROGRESS always fully visible
(these are actionable); DONE collapsed by default showing only a count
chip + ▸ expand toggle (historical, not a call-to-action). Removes the
health/tests/todos strip (that data lives in Cockpit, not a popup).
No QScrollArea complexity — content stays predictably sized.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace expand/collapse approach with a QScrollArea (max-height 300px). All
UP NEXT / IN PROGRESS / DONE bullets render in full; user scrolls within the
card rather than clicking through expand buttons. Also clamps popup position
so it never clips off the top of the screen on tall sessions.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- New /api/project/ai-brief — calls claude --json-schema to parse free-form startup idea into structured brief (name, tagline, features, stack, etc.)
- New /api/project/bootstrap — creates local dir, GitHub repo, Neon DB, registers in Cockpit; returns YC-style launchPrompt for Claude Code
- New BootstrapModal 4-step wizard: describe → review/edit → creating → launch (wired to "New" button in ControlPanel)
- beacon.py: progressive disclosure in session summary — first item always visible, "Show N more ↓" expands rest per section (UP NEXT / IN PROGRESS / DONE)
- beacon.py: card widened to 600px, summary card border-radius 12px, expand hover uses accent color
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Both surfaces now split next/done/in_progress on '; ' to render each clause
as its own labeled bullet row (→ for next/in-progress, ✓ for done). Web card
adds 'Up next' / 'Done' section headers. Beacon uses colored bullet chars
matching the existing color scheme. Removes the 'show more' expand pattern
in beacon — items are already short when split.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
UP NEXT and IN PROGRESS now render without any truncation — they're actionable
and must be fully readable. DONE keeps a 400-char soft limit (context, not a
call-to-action). All session text labels now have TextSelectableByMouse so the
user can actually copy what the agent wrote.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- orchestration-events schema + queries: persistent event log for agent lifecycle
(input_requested, close_requested, task_started, session_closed events per project)
- navigation.ts: isCurrentPath helper for active-link detection in sidebar/nav
- codex-wrapper: snap Codex config bridge — copies ~/.codex/config.toml into the
snap home so the Snap-packaged Codex sees the user's model/API key configuration
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces the Claude-only prompt loop with a neutral orchestration layer
that dispatches tasks to whichever agent is available. When one brain
runs out of tokens, switching to another requires one tap.
New infrastructure:
- src/lib/orchestration/ — contract, 10 task intents, adapter definitions,
prompt renderer, OpenClaw runner, summary parser
- src/lib/agent-registry.ts — detects claude/codex/openclaw/gemini from
PATH; reads configured model from dotfiles
- src/lib/agent-preferences.ts — persists selected brain to
~/.config/cockpit-agent.json; syncs model back to Claude settings
- src/lib/agent-catalog.ts, agent-runtime.ts, switch-agent.ts — catalog,
zellij tab restart logic, agent switching action
- src/db/schema/orchestration-runs.ts + queries — DB-tracked runs
New API routes:
- /api/control/agent — GET brain config, POST to switch + restart zellij tabs
- /api/orchestration/run — brain-agnostic dispatch: claude/codex → inject
rendered prompt into zellij tab; openclaw → fires detached worker
- /api/orchestration/run/execute — synchronous execute endpoint for worker
Control panel UX:
- Brain section collapsed to a single pill, expanding only when needed
- Intent buttons replace hardcoded "OpenClaw" buttons — Next best, Test & fix,
Quality, Commit, +5 under More; each shows "via {adapter}"
- agentRunning detection uses /proc scan against configured agent matchers
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace 76 sequential execSync calls (19 projects × 4 git commands)
with Promise.all — all projects and the pgrep check now run in parallel.
Event loop no longer blocks on each request; response time drops from
~40s to ~2s.
Also: add /control and /api/control to smoke.sh route lists; bump
reachability probe timeout from 5s to 20s for dev-mode compilation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Final pair of text columns missing `.$type<>()`:
- subscriptions.currency: now $type<SubscriptionCurrency>(). The
literal "CHF" default stays as-is — it's already the canonical
default and the type is ["CHF","USD","EUR","GBP"], so the literal
cannot drift.
- subscriptions.frequency: now $type<SubscriptionFrequency>() with
the default routed through FREQUENCY.MONTHLY (SSOT).
Side-effects:
- Both subscriptions API routes' `CURRENCIES_ENUM` and
`FREQUENCIES_ENUM` were typed `readonly [string, ...string[]]`,
so z.enum widened to string and the tightened `.set()` rejected
it. Tightened to the typed tuples — matches what every other
enum cast in /api now does.
- scripts/seed.ts gains two boundary casts for sqlite legacy data.
- SubscriptionActions had `frequency === "one-time"` — the only
literal outlier in that file (every other branch already used
FREQUENCY.X). Now also goes through FREQUENCY.ONE_TIME.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Last turn I claimed this lane was done — it wasn't. goals.status,
commitments.status, events.status, and actions.status were still
plain `text("status")` while their canonical unions sat next door
in lib/constants/statuses (GoalStatus, CommitmentStatus, EventStatus,
ActionStatus). Now consistent with the just-tightened entities.type
and subscriptions.status.
Each gains `.$type<XStatus>()` and the literal default ("active",
"draft") routes through the constant (XSTATUS.ACTIVE / .DRAFT) — so
the SSOT is the `as const` enum, not duplicated literals.
Two boundary follow-ups:
- scripts/seed.ts: two more `as XStatus` casts where sqlite legacy
data crosses into Postgres.
- /api/events/[id]: `STATUSES = Object.values(EVENT_STATUS)` was
typed `[string, ...string[]]` so z.enum produced `string` and
drizzle's tightened .set() rejected it; tightened to
`[EventStatus, ...EventStatus[]]`.
Net: every text-status column in the codebase is now `.$type<>`-
typed, and the literal defaults all derive from the enums.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Same pattern as the just-shipped habit-frequency tightening — two more
text columns with canonical union enums in lib/constants/statuses but
no `.$type<>()` annotation, so Drizzle inferred plain string and the
unions only existed in display/comparison code.
- entities.type: now $type<EntityType>(). Drops the `type as EntityType`
cast inside TypeBadge in memory/page.tsx — TypeBadge prop is now
EntityType directly.
- subscriptions.status: now $type<SubStatus>(). Drops the `as SubStatus`
cast in money/page.tsx; the literal `"active"` default also now
routes through SUB_STATUS.ACTIVE (SSOT).
scripts/seed.ts gains two boundary casts (`as EntityType`, `as SubStatus`)
for the legacy sqlite import — sqlite is the system boundary where
unvalidated string data enters, so casting there is appropriate.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Status-only smoke missed a real failure mode: when a Server Component
throws, Next.js renders src/app/error.tsx ("Something went wrong")
INSIDE a 200 response. The page is broken from the user's perspective,
but smoke would mark it ok.
Refactor into a check_route helper that pages call with body-content
checking enabled. Greps the response body for the error-boundary
marker; failing-when-found means the run page doubles as a sanity
check on every server component, not just the route resolver.
API routes skip the body check (the marker is HTML-only and an API
that returned the literal string would be unusual).
Verified: all 18 routes still pass; the grep would catch a fake
error response if one were served.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Static-list smoke caught compile + db breakage but missed regressions
specific to [id] route handlers — readIdParam errors, per-row drizzle
queries, the parameter-handling lifecycle, etc.
Discover the first person id from /api/people (already smoked), then
GET /api/people/<id> and assert 2xx/3xx. Skipped silently if jq isn't
installed or the list is empty, so the script stays portable.
Other dynamic GETs (/api/projects/<id>) aren't smoked because no list
endpoint exists to derive an id without an extra DB roundtrip.
18 routes total now pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Page-only smoke caught compile-time route breakage but missed
server-side regressions: a broken Drizzle query would render every
page as "Error" yet still return 200. Add the DB-backed API GETs:
/api/goals, /api/habits, /api/people, /api/events, /api/crons,
/api/system
Tool-dependent endpoints (/api/calendar, /api/weather, /api/github)
stay out of the default run because they need the local Ivy gateway
and would flake on machines that don't have it.
Verified: all 17 routes (11 pages + 6 APIs) return 200 against the
running dev server.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Until now the codebase had zero automated coverage; every refactor
relied on a manual curl loop. scripts/smoke.sh runs that loop in one
command: probe BASE/, then GET every page route and assert 2xx/3xx.
- Routes match config/navigation.ts NAV_ITEMS plus the / redirect
- BASE env var override for prod smoke (defaults to localhost:3000)
- Fast-fails with a clear "start the dev server first" message if
the base is unreachable, instead of dribbling 11 curl errors
- No new dependencies — bash + curl only
Verified: all 11 routes return 200 against the running dev server.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- CLAUDE.md with full project conventions, architecture, SSOT rules
- Seed 10 real goals: God Mode, Financial Independence, Civilizational Stack, Health, Relationships + 5 sub-goals with milestones
- Add Cockpit to ~/.config/claude-projects.conf for zellij auto-detect
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>