Commit Graph

87 Commits

Author SHA1 Message Date
Codex Agent 5df18caffa fix: smooth caserun trace and uart hints 2026-06-07 01:05:52 +08:00
Codex Agent b22e4d25b8 fix: preserve keil sidecars for caserun downloads 2026-06-07 00:52:59 +08:00
Codex Agent 53aafde5bd fix: clarify caserun hwpod job polling 2026-06-06 23:50:53 +08:00
Codex Agent 1d5c3d422d fix: seed caserun hwpod tools 2026-06-06 23:08:19 +08:00
Codex Agent 841594437e fix: archive caserun agent trace rows 2026-06-06 22:49:12 +08:00
Codex Agent fc7ed2c3ab fix: sync caserun registry artifacts 2026-06-06 21:35:21 +08:00
Codex Agent 64c13b5b0a fix: expose caserun trace lookup hints 2026-06-06 21:19:47 +08:00
Codex Agent 991beeded6 fix: support case-level caserun agent timeouts 2026-06-06 20:50:56 +08:00
Codex Agent c71347f072 fix: expose caserun agent hwpod stages 2026-06-06 19:06:26 +08:00
Codex Agent e1c35509e1 fix: seed caserun hwpod workspace files 2026-06-06 18:38:26 +08:00
Codex Agent 28ffe3cd5d fix: archive CaseRun agent transcript artifacts 2026-06-06 17:25:32 +08:00
Codex Agent 21b66b28cc case-run: refresh registry artifacts from result 2026-06-06 16:39:12 +08:00
Codex Agent 4105072338 case-run: archive artifacts to registry 2026-06-06 16:24:02 +08:00
codex a73a3a4537 fix: keep CaseRun status stage current 2026-06-06 16:11:15 +08:00
Codex Agent 64b0b3e630 hwpod: support stdin workspace patches 2026-06-06 15:45:58 +08:00
Codex Agent 2be05a55cf case-run: honor async timeout options 2026-06-06 15:23:08 +08:00
Codex Agent b3e063f38a case-run: 支持 agent mutation prompt 2026-06-06 15:11:31 +08:00
Codex Agent 4e0481977b case-run: 严格提取 agent HWPOD 命令 2026-06-06 14:49:08 +08:00
Codex Agent c2c016b20f case-run: 记录 agent compile trace 2026-06-06 14:37:20 +08:00
Codex Agent 494d3ed3bb fix: add async CaseRun CLI controls 2026-06-06 14:00:18 +08:00
Codex Agent 6cae643161 fix: remove legacy trace fallback paths 2026-06-06 13:55:03 +08:00
Codex Agent fd5754083a fix: keep CaseRun autoEvaluation summaries false
Keep CaseRun build and collect summaries aligned with evidence.autoEvaluation=false so flow-only runs do not look auto-graded.

Co-Authored-By: Codex <noreply@openai.com>
2026-06-06 13:26:44 +08:00
Codex Agent 44a59d4f9e fix: orchestrate caserun agent flow without grading 2026-06-06 12:53:31 +08:00
Codex Agent 4a4aa1bc29 feat: isolate CaseRun subject worktrees 2026-06-06 11:09:08 +08:00
Codex Agent 2a651d11d3 fix: migrate caserun registry to hwlab-case-registry 2026-06-06 10:11:46 +08:00
Codex Agent 8fae961c7c feat: add compile-only hwpod caserun 2026-06-05 23:35:56 +08:00
Codex Agent 385d48613a fix: expose provider config editing in management 2026-06-05 23:01:50 +08:00
Codex Agent cc21ad40cb fix: enforce single hwlab api key env 2026-06-05 22:33:39 +08:00
Codex Agent a3ffd45e55 fix: enforce api key auth boundary 2026-06-05 21:58:16 +08:00
Codex Agent 3e7131f6ab refactor: converge hwpod node-ops channel 2026-06-05 17:23:56 +08:00
Codex Agent 9a2c651c3c feat: add v02 provider profile management 2026-06-05 17:14:59 +08:00
Codex Agent d6769bf1d3 fix: remove v02 authorization residue 2026-06-05 14:00:13 +08:00
Lyon 48e3d24ad6 fix: converge v02 authorization on OpenFGA (#899)
Co-authored-by: Codex Agent <codex@hwlab.local>
2026-06-05 11:11:15 +08:00
Codex Agent cf722efd06 feat: add v02 OpenFGA access management 2026-06-05 09:39:49 +08:00
Lyon 2129cebfef fix(v02): improve trace and sidebar web ui (#854)
Co-authored-by: Codex Agent <codex@hwlab.local>
2026-06-04 20:56:43 +08:00
Lyon eca9dbaa9c fix: persist expired code agent trace summaries (#851)
Co-authored-by: Codex Agent <codex@hwlab.local>
2026-06-04 20:40:36 +08:00
Lyon ef527d3ecd feat(v02): add final response session verifier (#847)
Co-authored-by: Codex Agent <codex@hwlab.local>
2026-06-04 19:02:13 +08:00
Codex Agent b4e8c0a8b4 fix(v02): expose trace render json summary 2026-06-04 18:28:41 +08:00
Lyon be557c09bc fix(v02): repair final response status (#837)
Co-authored-by: Codex Agent <codex@hwlab.local>
2026-06-04 17:45:25 +08:00
Lyon 088414747b fix(web): unlock v0.2 code agent composer steer (#805)
Co-authored-by: Codex Agent <codex@hwlab.local>
2026-06-04 11:02:40 +08:00
Codex 19438d6aa4 fix(v0.2): freeze HWLAB-AgentRun concept boundary for #792
P0 freezes the concept boundary between HWLAB (business session/workspace) and
AgentRun (tenant/policy/execution):

- HWLAB adapter now always uses DEFAULT_HWLAB_AGENTRUN_PROJECT_ID /
  DEFAULT_HWLAB_AGENTRUN_PROVIDER_ID / DEFAULT_HWLAB_AGENTRUN_BACKEND_PROFILE on
  AgentRun runPayload, regardless of caller options. Business projectId belongs
  in workspaceRef only, not in AgentRun projectId.

- commandPayload.projectId is now always set to the HWLAB-fixed
  DEFAULT_HWLAB_AGENTRUN_PROJECT_ID, never undefined and never derived from
  caller options.

- client agent send --session-id <SES> --conversation-id <CONV> without
  --provider-profile now looks up the explicit session record to inherit
  providerProfile / threadId / conversationId. Mismatched --conversation-id
  against the session record aborts with session_conversation_mismatch
  before dispatching to AgentRun (prevents stale session state from being
  used as a new conversation).

Contract tests added (all 4 passing):
- internal/agent/agentrun-dispatch.test.mjs: HWLAB AgentRun assembly fixes
  tenantId/projectId/providerId/backendProfile regardless of options; command
  payload does not leak business projectId into AgentRun command projectId.
- tools/hwlab-cli/client.test.ts: send --session-id + --conversation-id
  inherits explicit session providerProfile; fails with
  session_conversation_mismatch when the session points at a different
  conversation.

P2 (CLI/trace result segregation) and P3 (state machine convergence) remain
for follow-up. Tracked via #792 comment chain.

Tracked-by: pikasTech/HWLAB#792
2026-06-04 02:18:34 +08:00
Codex 1f504f00f9 fix(cli): inherit provider profile from explicit agent session 2026-06-04 00:28:22 +08:00
Codex 8f0a2cd213 fix: align v0.2 explicit agent session dispatch
Fixes HWLAB #782.
2026-06-03 22:50:58 +08:00
Codex 58b06fcd17 fix(web): enforce React TypeScript single path 2026-06-03 17:47:27 +08:00
Codex d39e322bf0 fix(web/cli): do not truncate the terminal final-response body in trace rows
- HWLAB v0.2 Final Response was being truncated to 5000 characters in
  traceAssistantSummaryRow and then again to 1200 characters in the CLI
  compactTraceRenderRow, even when the response was the assistant’s
  terminal (last) message. The same Final Response is what
  /v1/agent/chat/result returns as reply.content, so the trace view
  should show the full text and stay consistent with the CLI
  assistantText path.
- Mark each rendered row with a terminal flag (true only for the
  terminal Final Response) and lift the body cap to
  Number.POSITIVE_INFINITY for terminal rows. The CLI Web-render path
  now passes the full body through when row.terminal is true and keeps
  the 1200 char preview for non-terminal streaming rows.
- Add unit tests in web/hwlab-cloud-web/app-trace.test.ts and
  tools/hwlab-cli/client.test.ts to lock the behavior in for the
  terminal/no-truncate path and the streaming/2200 cap path.

Refs: pikasTech/HWLAB#722
2026-06-03 13:26:19 +08:00
Codex 2f435fc736 fix: 改进手动 session CLI 摩擦 2026-06-03 11:06:43 +08:00
Codex 94b9df822c feat: 手动化 Code Agent session 管理 2026-06-03 10:40:50 +08:00
Codex da25cb4c02 feat: align session sidebar and cli management 2026-06-03 09:47:52 +08:00
Codex 05c5c046bc fix: keep hwlab cli workspace output current 2026-06-03 01:28:30 +08:00
Codex 6cd4cb292d fix: restore hwlab cli workspace after completion 2026-06-03 01:14:08 +08:00