Skip to content

Dev -> Main - #243

Merged
MAbdurrehman1 merged 13 commits into
mainfrom
dev
Jul 20, 2026
Merged

Dev -> Main#243
MAbdurrehman1 merged 13 commits into
mainfrom
dev

Conversation

@MAbdurrehman1

Copy link
Copy Markdown
Collaborator

No description provided.

farhat-is-coding and others added 13 commits July 16, 2026 04:23
…& artifact-queue UX

- AgentRunStatus/CancellationState/AgentRunRole/ToolCallStatus enums that
  mirror the backend exactly; remove status string literals across the views.
- Poller settles on every terminal state (incl. cancelled/outcome_unknown);
  honest badges for stopping, awaiting-approval, and outcome-unknown.
- Dedicated run-details route (/research/:projectId/runs/:runId) with its own
  page; split the monolithic RunsView into one-component-per-file under
  components/runs/ (RunRow, RunDetail, RunStats, StatusDot, ToolCallList, …).
- Lift the single-run fetch/poll + cancel into Redux thunks (currentRun).
- Query-param tabs (?tab=) drive the workspace sections.
- Artifact generation is fire-and-queue: generating rows come from server
  state so they survive tab switches and several can run at once.
… its limits

A plain-language reference card on the Overview: what Scout / Critic / Artifacts
/ Chat each do, Scout's quick-vs-deep caps, the artifact types, and the bounded
agent loop (turns per run) — so a scholar understands the system rather than
treating it as a black box. Params centralized in utils/constants/research.ts.
The run-details page now renders inside the same WorkspaceShell as the rest of
research mode — same header, left nav, and right context panel — with only the
center swapping to the run detail, so it never reads as a separate app. Left nav
highlights Runs and navigates back into any tab; the page pulls the project from
Redux (loading it on a direct deep-link) for the shell's header + context.
…isibility

Research mode: run-details page, cancellation UI, status vocabulary & artifact-queue UX
…ck data

The staging deploy runs `tsc -b`, which type-checks `mockData.ts` (skipped by
`tsc --noEmit`) and broke the build after the run-status merge. Rather than
patch the mock, delete it: it was only fallback defaults the real flow always
overrides, and it caused a brief wrong-title flash on the run-details page
before the project loads.

- Re-export `AgentRunCancellation` from the workspace `types.ts`.
- Type `AgentRunCancellation.state` as the `CancellationState` enum (fixes the
  Record<Enum,string> index error).
- Delete `mockData.ts` and drop its PROJECT/AGENT_RUNS fallbacks in
  ResearchWorkspaceView and WorkspaceShell.

Verified with `npm run app:build` (tsc -b && vite build) — clean.
…ypecheck

fix(research): restore frontend build + delete unused mock data
Updated links in README to point to the correct GitHub repository. .. doesn't work across repos.

Note links to socraticbooks repos don't work still; I'm not sure where they are at.
Fix README links to DARE backend repository
Suspect that's what someone navigating the docs would find useful (me a minute ago).
Link to cmudco github org instead of github in docs navigation
@MAbdurrehman1
MAbdurrehman1 merged commit 124c856 into main Jul 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants