Commit Graph
1304 Commits
Author SHA1 Message Date
g-butandClaude Sonnet 4.6 ddfa46ddb8 feat(goals): add copy-prompt button to GoalCard — one-click agent context
Builders seeing a stalled goal had no path to agent dispatch from the
Goals page. CopyGoalPromptButton builds a complete prompt (title,
description, progress, next milestone, deadline, project) and writes it
to clipboard. Paste directly into any agent input in Control or AskIvy.
Shows on hover alongside the existing abandon/delete actions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 02:45:19 +02:00
g-butandClaude Sonnet 4.6 7bf74c3b6c feat(today): show agent next-step recommendation in RecentRunsCard
The 'next' field from orchestration run summaries is the agent's handoff
to the builder — what it recommends doing next. Showing only 'done' left
the builder without that signal, forcing a trip to /control to read it.
Now each run row shows done (grey) + next (accent arrow) so judgment
can happen inline on Today.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 02:36:26 +02:00
g-butandClaude Sonnet 4.6 f891da6eed feat(today): add inline abandon button to StuckGoalsCard
Stalled goals previously required navigating to /goals to act on them.
AbandonGoalButton calls handleAbandonGoal server action (revalidates
/today + /goals) so the builder can clear dead goals from Today in one
click without context-switching.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 02:29:36 +02:00
g-butandClaude Sonnet 4.6 cb816aa95a feat(today): surface stalled goals — active goals at 0% for 30+ days
Builders accumulate goals that silently stagnate. Added stuckGoals count
to getTodaySummary, a SummaryBar amber pill ("N stalled"), and a
StuckGoalsCard showing which goals are stuck with idle-day counts.
Gives the builder a judgment signal to delegate, update, or abandon.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 02:25:18 +02:00
g-butandClaude Sonnet 4.6 8ed27aaeb6 feat(today): add RecentRunsCard — surface agent outcomes without leaving Today
The Today view showed fleet counts (running/waiting/degraded) but no
outcomes. Builders had to navigate to /control to see what each agent
actually accomplished. RecentRunsCard queries orchestration_runs for
the last 24h of completed runs and shows project name, health tag, and
done-summary so judgment calls can be made from a single view.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 02:19:01 +02:00
g-butandClaude Sonnet 4.6 27a63e28f3 refactor(projects): move ProjectHistorySection and DevLogSection into project-overview-helpers
ProjectOverviewTab.tsx had 2 private sub-components bundled at the bottom,
pushing the file to 339 lines. Moved both into the existing helpers file
(project-overview-helpers.tsx already holds AddAttrInline/AttrRow/ClaudeSession).
Main file drops from 339 → 274 lines; no behavior changes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 02:07:55 +02:00
g-butandClaude Sonnet 4.6 d64dcf81a7 refactor(control): extract CollapsibleSection — eliminate accordion DRY violation
DimensionSection, NotesSection, and DevLogSection each duplicated 15-20
lines of identical accordion chrome (border-t, ChevronRight rotate-90,
px-4 py-3 button, open state). Extracted CollapsibleSection primitive
that owns the toggle state and accepts icon/title/badge/trailing/children.
Three sections now declare only their content — zero accordion boilerplate.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 02:01:44 +02:00
g-butandClaude Sonnet 4.6 9b2720fc50 refactor(control): split ProjectProfile.tsx into helpers file — 603 → 200 lines
ProjectProfile.tsx contained 9 sub-components (MaturityDots, StatusChip,
MetaRow, MetaSection, DimensionSection, NotesSection, DevLogSection,
RemoveSection, QuickProfileForm) plus utilities, pushing the file to 603
lines. Extracted all helpers to project-profile-helpers.tsx following the
existing pattern (project-card-helpers.tsx, goal-card-helpers.tsx).
Main file now 200 lines; all sub-components unchanged in behavior.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 01:54:02 +02:00
g-butandClaude Sonnet 4.6 d4f82d1b45 fix(today): surface error when HabitRow inline-edit save fails
commitEdit was ignoring the boolean returned by onEdit — if the PATCH
failed, the edit mode closed silently showing the old title, giving the
user no indication the save was rejected. Now throws inside ie.commit()
on false return so the error propagates, is caught, and a timed
"Failed to save — try again" message appears below the row.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 01:46:57 +02:00
g-butandClaude Sonnet 4.6 3c3e99f9d2 fix(control): gate focusWorkspace done-state behind res.ok in ProjectStatusChips
Without the check, a failed focus-tab call would still flash "done" for 2s,
giving false feedback that the workspace was focused. Now clears back to idle
on any non-ok response.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 01:37:37 +02:00
g-butandClaude Sonnet 4.6 159427bafa fix(habits): check response ok in all HabitCard and HabitGoalLinks mutations
patchJson/deleteJson/postJson return raw Response objects that never throw
on HTTP errors, so try/catch rollback blocks in handleToggleActive and
handleToggleDone never fired. handleFrequencyChange had optimistic update
with no rollback at all. handleDelete and goal link/unlink called router.refresh
regardless of outcome. All now check res.ok and either rollback state or
skip the success path on failure.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 01:34:57 +02:00
g-butandClaude Sonnet 4.6 47eab0d534 fix(projects,people): check response ok in all remaining setAttr/removeAttr callsites
saveStatus and saveMaturity in ProjectDetailHeader were updating local
state regardless of API outcome, showing stale UI on failure. deleteChannel
in PersonChannelsSection was removing the channel from local state even
when the DELETE returned an error. Both now gate state updates behind res.ok.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 01:26:45 +02:00
g-butandClaude Sonnet 4.6 80617c33bb fix(projects): check response ok in AddAttrInline and AttrRow — prevent silent failure on API error
setAttr/removeAttr return raw Response objects; without checking .ok,
a 404 or 500 would close the form and call onSaved/onReload as if the
operation succeeded. AddAttrInline now shows an error banner on failure;
AttrRow.deleteAttr now guards onReload behind res.ok.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 01:17:19 +02:00
g-butandClaude Sonnet 4.6 beddcc56e1 fix(control): check response ok in QuickProfileForm save — prevent silent success on API failure
postJson returns a raw Response; without checking .ok a 404/500 would
call onSaved() as if the save worked. Now throws when any attr upsert fails.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 01:04:54 +02:00
g-butandClaude Sonnet 4.6 a3d6a3c155 fix(today): hide goals pill when user has no active goals; autoFocus quick-fill
SummaryBar showed "0 goals · 0%" unconditionally — the only pill not following
the conditional pattern every other pill uses. New users with no goals saw a
meaningless data point instead of a clean empty bar.

Also adds autoFocus to Mission input in QuickProfileForm so the field is
immediately active when the profile panel opens — no extra click needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 00:52:23 +02:00
g-butandClaude Sonnet 4.6 bffd18ad4e feat(control): inline profile quick-fill — mission/stack/URL without leaving /control
When a project has no profile, the ProjectProfile panel now shows an inline
form (Mission, Stack, URL) instead of a dead-end message. Saving fires setAttr
calls in parallel, then triggers a full control-panel refresh so MetaSection
replaces the form immediately. A "Full editor in Projects →" escape hatch is
preserved for the complete profile editor.

Callback chain: QuickProfileForm → onProfileSaved → ProjectCard → ControlPanel.cardProps → refresh(true)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 00:41:48 +02:00
g-butandClaude Sonnet 4.6 b2a36f10e8 fix(landing): make annual billing price readable on pricing cards
Annual price was text-white/20 (~20% opacity) — effectively invisible,
directly contradicting the "Simple, honest pricing" section title.
Raised to text-white/40 so users can see the annual commitment before clicking.
Also removed hardcoded letterSpacing inline style on pricing heading,
replaced with tracking-tight (design SSOT).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 00:30:00 +02:00
g-butandClaude Sonnet 4.6 d10367904c fix(control): make no-profile state actionable — link to Projects setup
ProjectProfile showed a dead-end text message when a project had no profile.
Now links directly to /projects?open=<id> so the user can fill in mission,
stack, and URL without guessing where to go.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 00:18:06 +02:00
g-butandClaude Sonnet 4.6 13e949afb6 feat(onboarding): first-run empty states on /control and /today
New users arriving after GitHub signup had no guidance. Two empty state improvements:

/control: Replace bare "No projects configured" text with an onboarding card —
fleet view icon, explanatory copy, and two wired CTAs: "Bootstrap new project"
(opens BootstrapModal) and "Register existing project" (opens NewProjectModal).

/today: When getUserProjects returns empty, render an accent banner below the
greeting directing users to /control with one-sentence explanation of the value.
Banner disappears automatically once the first project is registered.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 00:06:08 +02:00
g-butandClaude Sonnet 4.6 47b63dd7ce fix(auth): reframe sign-in page for new-user signup clarity
'Welcome back / Sign in to your Cockpit' was dead-end copy for new users
arriving from 'Get started' CTAs — implied an account was required.

- Heading: 'Welcome back' → 'Welcome to Cockpit'
- Subtitle: 'Sign in to your Cockpit.' → 'Sign in or create your account to get started.'
- GitHub button promoted to primary position (above password form)
- 'New accounts are created automatically' note added below GitHub button
- Password form demoted to secondary with 'or sign in with password' divider

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 23:55:49 +02:00
g-butandClaude Sonnet 4.6 492787b40e refactor(ui): extract ui-icon-btn class — eliminate 11-site DRY violation
Repeated inline-flex min-h-11 min-w-11 sm:min-h-0 sm:min-w-0 items-center
justify-center appeared across 7 files with no shared name. Extracted to
.ui-icon-btn in globals.css as the SSOT for touch-target icon buttons.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 23:38:36 +02:00
g-butandClaude Sonnet 4.6 cd7aea20df feat(landing): add pricing section with three tiers — Personal / Pro / Team
Renders LANDING_PRICING from marketing.ts as a three-column card grid below
the feature cards. Pro tier is visually highlighted with a brighter border
and 'Most popular' badge. All CTAs route to /sign-in.

Also adds whitepaper CTA to hero, fixes middleware matcher (.*→.+) so root /
is not caught by auth guard, and adds setup/whitepaper/u/ exclusions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 23:26:47 +02:00
g-butandClaude Sonnet 4.6 01efca60bf feat(marketing): add /whitepaper public route with technical positioning doc
Writes "The Builder's Operating System" — a ~2,000-word technical
whitepaper covering the execution gap, builder loop, agent injection
architecture, daemon bridge, dispatch intelligence, and subscription
tiers. Published at /whitepaper (no auth required) via PublicSurface
with the existing design system. Landing page CTA now links to the
whitepaper alongside "Get started". Middleware exclusion updated to
allow unauthenticated access to /whitepaper.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 23:09:53 +02:00
g-butandClaude Sonnet 4.6 5ee6efe464 fix(goals,projects): 44px touch targets on hover-reveal icon buttons
Abandon/delete goal buttons and project attribute edit/delete buttons
were p-1 (~28px). Added min-h-11 min-w-11 sm:min-h-0 sm:min-w-0 so
they meet the 44px minimum on mobile while staying compact on desktop.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 22:49:22 +02:00
g-butandClaude Sonnet 4.6 5f59c30df0 fix(control): 44px touch targets on header toolbar and queue row buttons
View-toggle, refresh, and New buttons in ControlPanel header were p-0.5
(~14px). Copy-prompt and queue send/remove row buttons were the same.
All fixed with min-h-11 min-w-11 sm:min-h-0 sm:min-w-0 pattern.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 22:31:49 +02:00
g-butandClaude Sonnet 4.6 5f63223ed0 fix(control): 44px touch targets on ReadyBanner pause/dismiss/intent buttons
Pause/Play auto-continue toggle was p-0.5 (~18px) — the smallest
tap target in the most-used mobile flow. Dismiss was unsized text.
Intent buttons (primary/action/more) were py-2 (~34px).

All three classes now min-h-11 sm:min-h-0 on mobile. Desktop unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 22:23:18 +02:00
g-butandClaude Sonnet 4.6 53f7b3258b fix(control): 44px touch targets on mobile for all interactive elements
Control page action buttons were 24-36px tall — well below the 44px
minimum for reliable touch interaction. Fixes all affected classes:

- ui-icon-action: 36px → 44px mobile, 36px sm+
- ui-chip-action-compact: ~24px → 44px mobile, natural sm+
- ui-btn-icon: ~28px → 44px mobile, natural sm+
- statusChipClass(): 28px → 44px mobile, 28px sm+
- PromptInput mic, auto-continue, send buttons: same treatment

Desktop appearance unchanged — min-height resets to 0/natural at sm.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 22:13:05 +02:00
g-butandClaude Sonnet 4.6 407bbd41a8 fix(people): surface Log interaction at top of detail drawer
Recent Activity was buried last in the drawer, below Notes/Channels/Details/
Aliases — primary action required scrolling past everything. Also the log
form was below the full interaction history list.

Reordered: drawer now shows Recent Activity first (log button immediately
visible), log form/button moved above history list. Secondary info
(channels, details, aliases) follows.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 22:04:34 +02:00
g-butandClaude Sonnet 4.6 a385588505 feat(habits): add today check-in toggle to HabitCard
Habits page was read-only — no way to log today's completion without
going to Today. Now every HabitCard shows a check circle (matches Today
page style) that optimistically toggles done state via PATCH /api/habits/:id.
Disabled for inactive habits.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 21:59:25 +02:00
g-butandClaude Sonnet 4.6 44d651a19a feat(inject): skip injection when user is actively typing at Zellij prompt
Adds isUserTypingInTab() that reads /tmp/cockpit-typing-<PANE_ID> marker
files written by ZSH zle hooks. The inject route returns
{ ok: true, blocked: true, reason: "user-typing" } instead of firing
write-chars into a tab where the user is mid-keystroke.

Includes scripts/install-cockpit-hooks.sh for one-shot ~/.zshrc setup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 21:53:25 +02:00
g-butandClaude Sonnet 4.6 4b48973f02 feat(money): collapse cancelled subscriptions by default + replace redundant stat card
Cancelled subs were mixed into the active list at 40% opacity, forcing
users to scan past noise. Now hidden behind a "Show N cancelled" toggle
that expands in place.

Also replaced the redundant "CHF /mo" stat card (duplicated info from
"Monthly Burn") with "Unverified" count — more actionable since it
surfaces subscriptions that need attention without requiring a visual
scan of the full list.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 21:40:30 +02:00
g-butandClaude Sonnet 4.6 459f76efc0 feat(control): add per-project model selector in ProjectProfile
Agent selector already let users pin a preferred agent; now model
preference is editable in the same panel — no need to remove+re-add
a project just to change the model. Clicking the default chip clears
the override (null), clicking any other chip persists it via PATCH.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 20:57:36 +02:00
g-butandClaude Sonnet 4.6 a27f24bc96 feat(goals): inline rename + delete for individual milestone rows
Milestones were append-only — no way to fix a typo or remove
a stale item without clearing the entire goal. Now each row:
- Click the title text to rename in-place (Enter to save, Esc to cancel)
- Hover-reveal X button to delete (recalculates progress automatically)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 20:45:21 +02:00
g-butandClaude Sonnet 4.6 bcc5bba424 feat(settings): inline edit for project name, dir path, and git URL
Projects could be added and deleted but not edited. If a project moved
to a new directory, users had to delete and re-add it. Edit button
(hover-reveal) opens inline form per row; Escape cancels, Enter saves.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 19:55:04 +02:00
g-butandClaude Sonnet 4.6 46837d09e4 feat(control): add "Remove from control panel" in project profile
The DELETE /api/user-projects/[id] endpoint existed but had no UI.
Users could add projects via bootstrap/new but couldn't remove them.
A two-step confirmation button at the bottom of ProjectProfile calls
the endpoint then triggers a full refresh to drop the project from
the fleet list.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 19:50:55 +02:00
g-butandClaude Sonnet 4.6 a02eea2019 fix(today): move FulfillCommitmentButton out of hover-reveal — always visible
The "mark fulfilled" action was hidden on desktop behind ui-hover-reveal
alongside edit/delete. Users couldn't discover they can complete commitments
without first hovering. Edit and delete remain in the hover-reveal group
since they are secondary/destructive.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 19:41:16 +02:00
g-butandClaude Sonnet 4.6 cd324f7593 fix(ui): bump ui-btn-chip base to py-3 — 44px touch target minimum
PersonCard action buttons (→ Reached out, + Details) used the default
py-2 giving ~36px, below the WCAG 44px minimum. Other ui-btn-chip usages
already override to py-3 so this is a no-op for them.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 19:37:01 +02:00
g-butandClaude Sonnet 4.6 a1a7385037 fix(goals): milestone toggle 44px hit target + Set deadline always visible
MilestoneRow button: h-11 w-11 (44px) to meet WCAG touch target minimum, inner
circles bumped from h-3.5 to h-4. DateInput: removed ui-hover-reveal from
"Set deadline" so affordance is discoverable without hover on desktop.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 19:28:59 +02:00
g-butandClaude Sonnet 4.6 cf01b56f47 feat(today): habits card — green counter when all done + "Open Habits" footer
Counter in HabitsCard header turns text-status-positive + medium weight when
all habits are done for the day, matching the SummaryBar pill behaviour.

Adds "Open Habits →" footer link (matching GoalsDueCard pattern) so users
can reach the full 30-day heatmap without hunting for the sidebar link.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 19:14:02 +02:00
g-butandClaude Sonnet 4.6 812896811b feat(today): habits pill scrolls in-page; Card accepts id prop
Add id="habits" to HabitsCard and change the SummaryBar habit pill
from href="/habits" to href="#habits" — clicking the pill now jumps
directly to the inline check-off section instead of navigating away.

Card component gains an optional id prop to support anchor targets.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 19:09:45 +02:00
g-butandClaude Sonnet 4.6 205e620a33 fix(today): overdue bills in red + habit toggle 44px hit target
SubscriptionsCard now compares nextDue against startOfDay(today) and
applies text-status-negative styling plus "· overdue" label for past-due
items — bills due today or future remain neutral.

HabitRow toggle button grows from p-1 (~24px) to h-11 w-11 (44px) so the
visual circle stays the same size but the tap area meets the 44px minimum.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 19:02:57 +02:00
g-butandClaude Sonnet 4.6 2f6dc4c81b feat(habits): add New Habit header button — match Goals page consistency
Goals has a prominent modal CTA in the page header; Habits only had an
inline link at the bottom of the list. Added NewHabitButton using ModalForm
to the Habits page header for discoverability parity.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 17:46:44 +02:00
g-butandClaude Sonnet 4.6 0716d04eca fix(goals): count all goals recursively in search badge — fix 3 vs 7 mismatch with header stat
The badge was counting only root-level goals while the stats panel counted all goals
(including sub-goals) from the DB. Added countGoals() helper to make both consistent.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 17:35:10 +02:00
g-butandClaude Sonnet 4.6 0040882c54 fix(auth): remove numeric-only pattern from PIN gate — allows alphabetic passwords
HTML5 pattern="[0-9]*" was silently blocking form submission when the
configured PIN is alphabetic (e.g. "cockpit"). The gate would accept
input and show dots, but onSubmit never fired. Removed inputMode="numeric"
and pattern constraint; the API validates against the scrypt hash regardless.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 17:21:59 +02:00
g-butandClaude Sonnet 4.6 3c8c021fc9 refactor(habits): extract HabitGoalLinks into its own component file
HabitCard dropped from 306 → 192 lines. Linking/unlinking habits to goals
is a distinct concern and now lives in HabitGoalLinks.tsx.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 17:10:00 +02:00
g-butandClaude Sonnet 4.6 02096ceabd feat(goals): surface supporting habits on GoalCard — closes the habit↔goal loop
Each GoalCard now shows a Repeat2 icon row listing habits linked to that goal.
Data fetched server-side via getHabitsByGoalIds and threaded through GoalsGrid
as a plain Record so the full subtree renders correctly without extra fetches.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 17:04:21 +02:00
g-butandClaude Sonnet 4.6 e27d04defa refactor(fetch): eliminate raw fetch() calls — route all JSON requests through API wrappers
Adds putJson() helper; replaces raw fetch() in QuickCaptureButton, use-prompt-queue,
and the beacon page with getJson/putJson/patchJson. FormData call in use-whisper-mic
is correctly kept raw (multipart, not JSON).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 16:59:33 +02:00
g-butandClaude Sonnet 4.6 b4538f71ae feat(habits): connect habits to goals — junction table, API, and inline link/unlink UI
Adds habit_goals junction table so each habit can feed one or more goals.
HabitCard shows linked goal tags with inline picker to add/remove links;
Goals page passes active goals list down so no extra fetches per card.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 16:54:16 +02:00
g-butandClaude Sonnet 4.6 ddbf317870 feat(settings): link username field to public profile — close the build-in-public gap
The /u/[username] page existed but was reachable only by guessing the URL.
Adding "View public profile →" directly below the username input makes the
public surface discoverable from where the user sets their username.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 16:43:35 +02:00
g-butandClaude Sonnet 4.6 02392d2891 feat(control): add cross-project attention bar — synthesizes which projects need action most
Scores every project by session health (critical=4, needs attention=2),
latest run health (+3/+2), and uncommitted git changes (+1). Top 6 by score
render as a compact bar above the project grid with the reason tag inline.
Answers "which project needs attention most right now?" without opening each card.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 16:37:17 +02:00