Commit Graph

2349 Commits

Author SHA1 Message Date
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
Hunter Bown 8ab629a34d docs: credit current v0.9 stewardship contributors
Adds README current-track credit for @sximelon's v0.9 saved-session/provider-trait work and @AdityaVG13's WhaleFlow orchestration/cost-tracking drafts that shaped the maintained IR and TraceStore foundation.
2026-06-05 20:02:32 -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 Bown dda5901a34 Merge pull request #2814 from Hmbown/codex/v090-vscode-agent-view-preview
feat(vscode): add read-only Agent View preview
2026-06-05 19:35:55 -07:00
Hunter B ab299865dd feat(vscode): add read-only agent view preview 2026-06-05 19:35:08 -07:00
Hunter Bown 90234c1729 Merge pull request #2813 from Hmbown/codex/v090-author-map-adityavg13
chore: map AdityaVG13 for harvested credit
2026-06-05 19:21:48 -07:00
Hunter B 54cbcd0d8e chore: map AdityaVG13 for harvested credit
Adds the GitHub noreply and source commit email aliases needed for the WhaleFlow harvest co-author trail to pass the contributor-credit gate.
2026-06-05 19:21:17 -07:00
Hunter Bown 4c317bb147 Merge pull request #2812 from Hmbown/codex/v090-vscode-credit
docs: credit VS Code plugin request trail
2026-06-05 19:16:56 -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 Bown bb8b1d31a4 Merge pull request #2811 from Hmbown/codex/v090-vscode-scaffold
feat(vscode): add local runtime extension scaffold
2026-06-05 19:14:20 -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 Bown ef239dfbe4 Merge pull request #2810 from Hmbown/codex/v090-whaleflow-foundation
feat(whaleflow): add typed workflow foundation
2026-06-05 19:08:11 -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 Bown e6078b7be0 Merge pull request #2809 from Hmbown/codex/v090-credit-contributors
docs: credit recurring v0.9 contributors
2026-06-05 18:59:03 -07:00
Hunter B ddaaa4dea8 docs: credit recurring v0.9 contributors 2026-06-05 18:57:57 -07:00
Hunter Bown 0e80d4efaa Merge pull request #2807 from Hmbown/codex/harvest-2784-npm-readme-clarity
docs(npm): clarify wrapper README configuration
2026-06-05 15:40:47 -07:00
Hunter B 18027ae983 docs(npm): clarify wrapper README configuration
Prompted by #2783/#2784 from @kolief and RefuseOdd.

The submitted patch was not reusable because it included line-number prefixes, but the report highlighted that the wrapper configuration section was hard to scan.
2026-06-05 15:40:04 -07:00
Hunter Bown e8bdfcded4 Merge pull request #2806 from Hmbown/codex/fix-agents-progress-detail-sidebar
fix(tui): keep agent progress visible in sidebar
2026-06-05 10:23:48 -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 Bown e03f2ab225 Merge pull request #2805 from Hmbown/codex/harvest-2501-response-cache-identity
Harvest deterministic response cache from #2501
2026-06-05 10:19:12 -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 Bown 8fe8900670 Merge pull request #2803 from Hmbown/codex/harvest-2732-pausable-command-mvp
Harvest pausable custom command MVP from #2732
2026-06-05 10:08:58 -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
Hunter Bown 71cb2212e8 Merge pull request #2802 from Hmbown/codex/harvest-2782-hf-mcp-concepts
feat(hf): add Hugging Face MCP helpers
2026-06-05 09:37:56 -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
Hunter Bown fbe8d9ee5d Merge pull request #2801 from Hmbown/codex/harvest-2687-runtime-prompt-metadata
feat(cache): project mode prompts per request
2026-06-05 09:24:30 -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