fix(harness): complete Studio onboarding and project continuity - #818
fix(harness): complete Studio onboarding and project continuity#818ynadge wants to merge 4 commits into
Conversation
Review — PR #818 (round 1)🔒 Confidentiality: no leak found. The changeset, 1. A failed first request leaves an orphaned, npm-installed project behind
Failure scenario: user pastes a clipboard image, 2. Changeset is
|
Register authenticated scaffold completions before targeted discovery and persist their creating project. Recover prior creations from local events and preserve project-scoped navigation and conversations for sibling directories.
Review — PR #818 (round 2, follow-up)Delta since New findings1. Creation ownership permanently outranks a project rooted at the agent's own folder. The new 2.
Not fixed from round 1
Nothing in round 1 appears to have been wrong. Verdict: request changes — finding 1 is a user-visible dead end, and the round-1 changeset |
|
Superseded by the maintainer-authorized 15-part Agent Map review stack. This PR is closed without merging; its branch and review history remain preserved. Replacement increments:
The complete testing branch remains |
Primary change type
Problem and motivation
Follow-up fixes from testing a fresh, empty Studio after the Agent Map rework:
Summary and scope
Three focused commits complete the onboarding-to-multi-agent-project path:
No files are moved, shared parent directories claimed as project roots, or extra conversations created automatically. No changes to previous PRs, coworkers' branches, deployed backend prompts, or the local-run working-directory behavior investigated during testing. No visual/style redesign.
Related work
Requested follow-up bug fixes from the local onboarding test; no separate Linear issue.
Stacked on #811 (
conductor/sap-3152-unified-agent-cutover), rather than duplicating the unmerged Agent Map stack in a diff against main.Merge coordination: #814 and #815 also edit the bundled Studio prompt and digest pin. Preserve their newer runtime/authoring content when reconciling, and synchronize the backend served copy/pin before publishing. This PR does not deploy or modify that backend copy.
Validation
Fresh checks on the PR worktree at
3acd6af(2026-09-05). Commands run frompackages/harnessunless noted:Existing Vite dynamic-import/chunk-size warnings remain; no failing checks in the commands above.
Exact targeted test command
Earlier local verification on the same membership-fix source, before this publication:
project-map-navigation.spec.tsbrowser tests passed on the Mac, including sibling selection/reload with the same conversation, Group-axis membership, explicit Start from the original root, and hiding siblings when their project closes. The cloud run passed the new cases but hit page-loading failures in several older navigation cases; the complete Mac run passed.Browser/manual checks were not repeated during this publication; the 34-suite run, typechecks, lint, and build above were. Prompt-delivery tests verify supplied instructions, not reliable model compliance.
Validation is scoped to the affected harness package; full-monorepo and packaged-Electron suites were not run in this resource-constrained cloud worktree. CI remains separate from these local results.
Tests and documentation
Regression coverage includes CLI arguments/resume behavior, attachment validation/order, scaffold guards, pending project scope, composer success/error behavior, all nine MCP tools, and served/bundled prompt delivery for Claude and Codex. New membership coverage includes authenticated ingest through websocket/state publication, restart recovery, targeted watching, invalid/foreign completions, stable ownership, grouping, and project-scoped conversation selection. Updated shared-build-plan documentation and added user-facing changesets. No screenshot attached: this retains the existing layout/styles and corrects discovery/grouping/navigation behavior, verified in browser tests and the live preview.
Compatibility and release impact
@sapiom/harnesspatch release notes for onboarding and created-agent membership.Security
AI assistance
Checklist