Commit Graph

1764 Commits

Author SHA1 Message Date
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 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 a2cc6bd6f6 feat(whaleflow): add trace store schema migration
Adds a state-store v2 schema migration for WhaleFlow workflow, branch, leaf, control-node, and teacher-candidate trace tables. Keeps workflow execution/replay deferred and preserves @AdityaVG13 WhaleFlow draft credit in the changelog.
2026-06-05 19:50:59 -07:00
Hunter Bown f8b26b492e feat(whaleflow): add serializable run result records
Adds serializable WhaleFlow branch, leaf, and control-node result records plus #2668 roundtrip/default-field coverage. Keeps runtime workflow execution deferred and preserves @AdityaVG13 WhaleFlow draft credit in the changelog.
2026-06-05 19:48:19 -07:00
Hunter B ab299865dd feat(vscode): add read-only agent view preview 2026-06-05 19:35:08 -07:00
Hunter B 7d8308a7a2 docs: credit VS Code plugin request trail
Adds #1584 and @nasus9527 to the v0.9 VS Code extension credit trail after the Phase 0 extension scaffold landed.
2026-06-05 19:16:21 -07:00
Hunter B bed43e79b5 feat(vscode): add local runtime extension scaffold
Harvests the safe Phase 0 VS Code lane from PR #1022 and the Agent View request in #2580 while keeping chat webviews, inline edits, Agent View, and retry/undo runtime endpoints out of this slice.

Credits @lbcheng888 for the earlier extension scaffold and @AiurArtanis plus the v0.9 GUI/VS Code reporters for the request trail.
2026-06-05 19:13:37 -07:00
Hunter B 38fd4b1e84 feat(whaleflow): add typed workflow foundation
Harvested from PR #2482 by @AdityaVG13, preserving the typed WhaleFlow config and deterministic planner direction without exposing the runtime workflow_run tool yet.

Co-authored-by: AdityaVG13 <44177453+AdityaVG13@users.noreply.github.com>
2026-06-05 19:06:54 -07:00
Hunter B 19f5c7aa6c fix(tui): keep agent progress visible in sidebar
Prioritize running progress detail before branch and duration metadata so narrow sidebars keep the active step visible while still showing branch context at wider widths.
2026-06-05 10:23:06 -07:00
Hunter B 7fc074cc36 feat(client): harvest deterministic response cache
Harvested from PR #2501 by @HUQIANTAO.

Cache only explicit deterministic non-streaming tool-free requests, key entries by provider, route, account fingerprint, and final wire body, and zero usage on hits so local spend counters are not double-counted.

Co-authored-by: HUQIANTAO <58421104+HUQIANTAO@users.noreply.github.com>
2026-06-05 10:18:12 -07:00
Hunter Bown f0827627a6 Merge pull request #2804 from Hmbown/codex/fix-subagent-branch-status
fix(tui): surface subagent branch status
2026-06-05 10:09:11 -07:00
Hunter B 805d748a78 fix(tui): surface subagent branch status 2026-06-05 10:07:23 -07:00
Hunter B 6b7a05ab1c Harvest pausable custom command MVP
Harvested from PR #2732 by @aboimpinto.

Parse pausable frontmatter for custom slash commands, add a narrow engine pause gate before tool execution, and preserve paused command state across separate messages until explicit resume, cancel, terminal completion, or a new command.

Also centralize strict resume-message detection with negative coverage for deferred or negated phrases, and keep rollback/stash/worktree mutation behavior out of this slice.

Co-authored-by: aboimpinto <1231687+aboimpinto@users.noreply.github.com>
2026-06-05 10:04:31 -07:00
idling11 57e4a7b71a feat(hf): harvest Hugging Face MCP helpers
Add /hf and /huggingface command routing for Hugging Face MCP setup/status plus a concepts explainer for provider, MCP, and Hub workflows.

Document the settings-generated Hugging Face MCP configuration path and keep the slice offline: no Hub search command, no direct Hugging Face HTTP requests, and no custom URL encoding.

Refs #2709

Harvested from PR #2782 by @idling11
2026-06-05 09:35:19 -07:00
LeoAlex0 1f9f860a3e feat(cache): project mode prompts per request
Keep the stable system prompt mode-agnostic and project mode, approval policy, and tool taxonomy as request-time runtime metadata. This avoids mutating stored history while preserving provider chat-template compatibility.

Harvested from PR #2687 with stewardship turn-metadata cache tests preserved. The replan replay guard remains <= 2, and cache inspect now asserts tool-result budget metadata for both deduplicated=false and deduplicated=true.

(cherry picked from commit 77943304e637545b441ac135f06977065c4b350f)
2026-06-05 09:23:48 -07:00
xyuai be37dbd34e feat(config): add Xiaomi MiMo token plan mode
Harvested from PR #2627 by @xyuai.

Refs #2621 reported by @springeye.
2026-06-05 09:04:45 -07:00
hongqitai 5926bf38a6 feat(tui): add Hugging Face env aliases
Harvested from PR #2780 by @hongqitai.
2026-06-05 08:44:29 -07:00
Hunter B f9d7ae7e20 test(tui): satisfy all-targets clippy map_or lint 2026-06-05 08:31:33 -07:00