Skip to content

Fill new-agent starter content; block workbench on mobile - #29

Merged
mbmorote merged 1 commit into
masterfrom
issue-9-starter-agent-mobile-block
Aug 31, 2026
Merged

Fill new-agent starter content; block workbench on mobile#29
mbmorote merged 1 commit into
masterfrom
issue-9-starter-agent-mobile-block

Conversation

@mbmorote

@mbmorote mbmorote commented Aug 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • createAgent() seeds new agents with a complete "Code Reviewer" example (all 4 core sections + model/tools config) instead of bracket placeholders like "You are a [senior X]..." — closes Better starter content for "+ New agent" #9. SectionDef.template is untouched (still used by "+ Add section" on existing agents).
  • The workbench (WorkbenchShell) shows a "best on a larger screen" notice below 768px instead of rendering the broken 4-pane grid — CSS-only, no JS resize listener.

Closes #9

Test plan

  • npx tsc --noEmit — clean
  • npm test — 894/894 passing
  • Manual: create a new agent, confirm the example content + config appear
  • Manual: resize browser below 768px, confirm the mobile notice replaces the workbench

…; block the workbench on mobile

createAgent() used to seed core sections from SectionDef.template, which reads as an
empty bracket-placeholder form ("You are a [senior X]...") to a first-time user, and
no config defaults were ever seeded. New agents now start from a complete "Code
Reviewer" example (all four core sections + model/tools config) that the user edits
or deletes. SectionDef.template itself is untouched — it's still what "+ Add section"
seeds on an existing agent, which must stay a blank/generic starting point.

The workbench (WorkbenchShell) is a fixed multi-pane grid with no responsive behavior
of its own. Rather than attempt a real mobile layout pre-launch, show a friendly
"best on a larger screen" notice below 768px instead (CSS-only, no resize listener)
and hide the broken grid there.

Closes #9

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017LzvvxNk3f9W5eZQxY578e
@mbmorote
mbmorote merged commit 59f81fc into master Aug 31, 2026
3 checks passed
@mbmorote
mbmorote deleted the issue-9-starter-agent-mobile-block branch August 31, 2026 21:28
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.

Better starter content for "+ New agent"

1 participant