Commit Graph

2378 Commits

Author SHA1 Message Date
Hunter Bown a7c1c034ab Merge pull request #2866 from reidliu41/feat/hotbar-action-registry
feat(tui): add hotbar action registry foundation
2026-06-06 10:40:23 -07:00
Hunter Bown 461c22f327 Merge pull request #2867 from ousamabenyounes/fix/azerty-altgr-at-key-conflict
fix(tui): prevent AltGr from swallowing @/#/$/!/%/ characters in composer
2026-06-06 10:37:48 -07:00
Hunter B c9ce6c920b fix(tui): harden hotbar action dispatch 2026-06-06 10:32:18 -07:00
Hunter B 700a36edf1 style(tui): format AltGr sidebar shortcut guards 2026-06-06 10:30:17 -07:00
Ousama Ben Younes da6b8141ad fix(tui): prevent AltGr from swallowing @/#/$/!/%/ characters in composer
On Windows, AltGr is delivered as Ctrl+Alt by crossterm. European keyboard
layouts (French AZERTY, German QWERTZ, etc.) use AltGr to type characters
like @ (AltGr+0), # (AltGr+3), etc. The sidebar-focus shortcuts for
Alt+@/Alt+!/Alt+#/Alt+$/Alt+%) were matching on "contains ALT" alone,
swallowing these AltGr-typed characters instead of inserting them into
the composer.

Exclude the Ctrl modifier from these sidebar-focus shortcut guards so
AltGr-typed glyphs fall through to the  catch-all and
are inserted as text. This is consistent with the has_ctrl_or_alt /
is_altgr philosophy in key_hint.rs, which already treats Ctrl+Alt as
AltGr to preserve European keyboard input.

Closes #2863
2026-06-06 15:48:30 +00:00
reidliu41 1f99fcbd97 feat(tui): add hotbar action registry foundation
Introduce the hotbar action trait and registry, and register the built-in app
  actions needed by the first hotbar slice.
2026-06-06 23:23:48 +08:00
Hunter Bown 5bd2f6a99b feat(runtime-api): expose git status metadata for agent view (#2862) 2026-06-06 02:51:21 -07:00
Hunter Bown cc3cbc823c docs(release): record Linux startup evidence (#2861) 2026-06-06 02:45:11 -07:00
Hunter Bown 137d65c31a docs(release): record DeepSeek v4 live smoke (#2860) 2026-06-06 02:41:09 -07:00
Hunter Bown 7bd68279e7 docs(release): record macOS startup evidence (#2859) 2026-06-06 02:37:22 -07:00
Hunter Bown b2e1ba13df docs(release): mark asset verification as pre-npm gate (#2858) 2026-06-06 02:33:51 -07:00
Hunter Bown ab8e3a12ca docs(release): record v0.9 core gate evidence (#2857) 2026-06-06 02:32:29 -07:00
Hunter Bown 2561a54df0 docs(release): close v0.9 credit rollback gates (#2856) 2026-06-06 02:24:16 -07:00
Hunter Bown a5a6b0a2d0 docs(release): record slash picker v0.9 evidence 2026-06-06 02:14:02 -07:00
Hunter Bown e69ea4539a docs(release): resolve v0.9 UI acceptance cutline 2026-06-06 02:11:38 -07:00
Hunter Bown caa1d4a993 docs(release): mark deferred v0.9 acceptance gates 2026-06-06 02:06:47 -07:00
Hunter Bown 73c8318b1f test(whaleflow): replay dogfood workflow from recorded trace
Add recorded mock-trace replay coverage for workflows/rlm_cache_change.star and prove missing dogfood records produce ReplayDiverged instead of live fallback.\n\nVerification:\n- cargo test -p codewhale-whaleflow rlm_cache_change --locked\n- cargo fmt --all --check\n- git diff --check\n- cmp -s CHANGELOG.md crates/tui/CHANGELOG.md\n- ./scripts/release/check-versions.sh\n- ./scripts/release/check-ohos-deps.sh
2026-06-06 02:01:37 -07:00
Hunter Bown e60eeb8162 feat(config): add dormant harness profile resolver
Add a pure HarnessProfile resolver for provider/model routes while keeping runtime provider/model routing, prompts, tools, auth, context, and persisted config unchanged.\n\nVerification:\n- cargo test -p codewhale-config harness_profile --locked\n- cargo fmt --all --check\n- git diff --check\n- cmp -s CHANGELOG.md crates/tui/CHANGELOG.md\n- ./scripts/release/check-versions.sh\n- ./scripts/release/check-ohos-deps.sh
2026-06-06 01:58:17 -07:00
Hunter Bown 35cd09a9f7 fix(tui): classify stream decode failures as network errors
Classify stream/body decode failures such as the #2847 report as recoverable network interruptions and add focused taxonomy coverage.\n\nVerification:\n- cargo test -p codewhale-tui error_taxonomy::tests --locked\n- git diff --check\n- cmp -s CHANGELOG.md crates/tui/CHANGELOG.md\n- ./scripts/release/check-versions.sh\n- ./scripts/release/check-ohos-deps.sh
2026-06-06 01:54:36 -07:00
Hunter Bown 23a188e8fd fix(vscode): keep agent view metadata on snapshot errors 2026-06-06 01:49:32 -07:00
Hunter Bown cd9a044387 docs(release): fill v0.9 acceptance evidence 2026-06-06 01:47:25 -07:00
Hunter Bown e22a7da53f docs(harness): align v0.9 profile acceptance 2026-06-05 23:28:50 -07:00
Hunter Bown efbcc681ae docs(harness): define profile cutline (#2844) 2026-06-05 23:23:49 -07:00
Hunter Bown 2bb24d0c64 docs(release): add v0.9 acceptance matrix (#2843) 2026-06-05 23:20:24 -07:00
Hunter Bown a7052751e4 docs(whaleflow): define external memory cutline (#2842) 2026-06-05 23:18:34 -07:00
Hunter Bown 7fc4ec820a feat(whaleflow): mark mock cancellation and budgets (#2841) 2026-06-05 23:17:01 -07:00
Hunter Bown 6a527fc161 feat(whaleflow): add student replay promotion gate (#2840) 2026-06-05 23:13:49 -07:00
Hunter Bown 14d14f56de feat(whaleflow): add teacher candidate artifacts (#2839) 2026-06-05 23:08:10 -07:00
Hunter Bown d784f1e030 feat(compaction): add dormant hard compaction planner (#2838) 2026-06-05 23:03:29 -07:00
Hunter Bown 6bb564e49c fix(whaleflow): reject unknown workflow references (#2837) 2026-06-05 22:58:23 -07:00
Hunter Bown 96b825b84e docs(runtime): document read-only VS Code Agent View APIs
docs(runtime): document read-only VS Code Agent View APIs
2026-06-05 22:51:54 -07:00
Hunter Bown 56fa055863 fix(tui): count workspace MCP servers in status surfaces
fix(tui): count workspace MCP servers in status surfaces
2026-06-05 22:50:12 -07:00
Hunter B 6269cb91f1 fix(cli): include TLS skip flag in runtime option tests 2026-06-05 22:42:48 -07:00
Hunter Bown 190e9f35e4 feat(config): add provider TLS skip verify
Harvests provider-scoped TLS skip-verify from #1893 by @wavezhang. Disabled by default, active-provider-only, doctor-reported, and keeps SSL_CERT_FILE as the preferred custom CA path.
2026-06-05 22:37:14 -07:00
Hunter Bown 85b5ca5560 feat(whaleflow): add memo telemetry counters (#2833) 2026-06-05 22:23:49 -07:00
Hunter Bown 50b773f1de feat(vscode): auto-refresh read-only agent view (#2832) 2026-06-05 22:21:06 -07:00
Hunter Bown e5974aa850 feat(whaleflow): run dogfood workflow with mock executor (#2831) 2026-06-05 22:17:02 -07:00
Hunter Bown 5044a29db8 feat(whaleflow): add model role policy registry (#2830) 2026-06-05 22:13:24 -07:00
Hunter Bown 79c0bd4058 feat(whaleflow): replay recorded workflow outputs (#2829) 2026-06-05 22:08:16 -07:00
Hunter Bown 293643e279 feat(vscode): show runtime restore points (#2828) 2026-06-05 22:03:51 -07:00
Hunter Bown d10634ca34 feat(whaleflow): add usage telemetry to mock results (#2827) 2026-06-05 21:56:25 -07:00
Hunter Bown 787383591a feat(tui): show live background shell output (#2826) 2026-06-05 21:51:40 -07:00
Hunter Bown 1bacaf763e feat(runtime-api): expose thread branch metadata
Add read-only workspace and branch metadata to runtime thread summaries so VS Code Agent View can show when a thread lane is on another branch. Non-git workspaces return null branch metadata instead of failing.

Refs #2580, #2721.
Credits the existing branch-visibility trail from #1217/#2341 in the changelog.
2026-06-05 21:39:46 -07:00
Hunter Bown 38a0d551ca feat(whaleflow): add Starlark compile gate
Add a fail-closed Starlark authoring layer that compiles workflow files into WorkflowSpec without exposing runtime execution. Include ctx.* repair aliases, unsupported-construct rejection, and rlm_cache_change / issue_fix_tournament examples.

Refs #2670.
Preserves WhaleFlow direction credit for @AdityaVG13 in changelogs and PR notes.
2026-06-05 21:35:05 -07:00
Hunter Bown cfbaba722f feat(whaleflow): add mock executor skeleton
Add a crate-local mock executor over WorkflowSpec that records leaf, branch, and control-node results for Sequence, BranchSet, Leaf, Reduce, TeacherReview, LoopUntil, Cond, and Expand. Add reducer scaffolding for BranchTournament and ParetoFrontier, plus #2669 acceptance-style tests, without exposing workflow_run, spawning agents, or applying worktrees.

Refs #2669.
Harvests narrow WhaleFlow executor intent from #2482/#2486.

Co-authored-by: AdityaVG13 <44177453+AdityaVG13@users.noreply.github.com>
2026-06-05 21:24:27 -07:00
Hunter Bown bb88358122 feat(runtime-api): add read-only snapshot listing
Harvest the safe GUI-facing snapshot list slice from PR #2808 without exposing restore, retry, patch-undo, or other runtime mutation endpoints. The endpoint is protected by the existing runtime API token middleware and mirrors the /restore list bound.

Refs #2808, #2580.

Co-authored-by: gaord <9567937+gaord@users.noreply.github.com>
2026-06-05 21:11:33 -07:00
Hunter Bown d1f3c65195 feat(whaleflow): add typed workflow spec IR
Add the explicit WorkflowSpec/WorkflowNode metadata surface requested for the v0.9 WhaleFlow IR, including budget, permission, model, and promotion policy records plus serde roundtrip coverage. Runtime execution, replay, and worktree application remain out of scope.

Refs #2668, #2482, #2486.

Co-authored-by: AdityaVG13 <44177453+AdityaVG13@users.noreply.github.com>
2026-06-05 20:55:24 -07:00
Hunter Bown 5d491bc683 feat(config): harvest provider metadata registry
Add a metadata-only provider registry foundation from #2479. The registry exposes canonical lookup, alias-aware resolution, defaults, config table keys, and API-key env candidates without changing runtime routing or activating fallback providers.

Co-authored-by: sximelon <62371427+sximelon@users.noreply.github.com>
2026-06-05 20:40:28 -07:00
Hunter Bown d868a0b96a feat(prompts): harvest static composer override
Refine the embedder static prompt composer direction from #2786 so it only owns the byte-stable base/personality prompt segment while runtime metadata, Context Management, and the compaction relay stay under CodeWhale prompt assembly.

Co-authored-by: h3c-hexin <13790929+h3c-hexin@users.noreply.github.com>
2026-06-05 20:27:31 -07:00
Hunter Bown 7dfc81b4bb chore: allowlist AdityaVG13 for v0.9 stewardship
Adds @AdityaVG13 to the contribution-gate allowlist now that WhaleFlow #2482/#2486 have been harvested into the maintained v0.9 IR/TraceStore foundation with public credit.
2026-06-05 20:12:04 -07:00