Repository navigation
docs(blueprints): Agent Studio flows F8-F11 (save draft, test run, new version, my agents) with S11 playground and S12 my-agents specs and wireframes (#36) - #161
Merged
Conversation
…sion, my agents) and S11/S12 specs and wireframes (#36) flows.md: - F8 create and save a draft (saveDraft, StudioDraft.revision; InvalidManifest, DraftVersionConflict, DraftNotOwned, no answer); - F9 test run in the playground (testRun, TestRunResult.output and remainingDailyRuns; TestQuotaExceeded, AgentExecutionFailed, RuntimeUnavailable, InputTooLong); - F10 edit a deployed agent: version n+1 keeps the agent id and wallet, the builder signs the manifestHash/manifestVersion update, hires in flight keep version n (spike #33 section 4); - F11 my agents: drafts, deploying or failed (resume at retryFromStep), live (view, edit). F4 (deploy) is unchanged; the coverage and screen ID tables list the new flows and screens. screens.md: - S11-playground and S12-my-agents with data named after AgentManifest, StudioDraft, TestRunResult and DeploySession, the 4 states, actions and components; - S07/S08 list the flows they now serve; - the component inventory adds PlaygroundPanel, TestRunResultCard, MyAgentsList and AgentVersionRow. wireframes: S11 and S12 at 1440 and 390, in the #146 style.
Deploying puls3 with
|
| Latest commit: |
90a4b5d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://289a51b5.puls3-4lw.pages.dev |
| Branch Preview URL: | https://docs-36-studio-flows.puls3-4lw.pages.dev |
TOMOKI977
approved these changes
Oct 11, 2026
TOMOKI977
left a comment
Contributor
There was a problem hiding this comment.
Approved. I reviewed the F8-F11 flows, S11/S12 specifications, and wireframes at the current head. The frontend-facing behavior is consistent enough to proceed.
5 tasks
4 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #36
Summary
The Agent Studio flows and screens #36 asks for, at the same level as the Marketplace ones (#22, #23), so #37 can build the playground and "My agents" without guessing.
docs/blueprints/flows.md, each flow as a Mermaid diagram plus a step table with screen IDs and error paths:saveDraft→StudioDraft(draftId,revision,deployState); the prompt stays privateInvalidManifest(eachManifestProblemunder its field),DraftVersionConflict(Reload / Keep mine),DraftNotOwned, no answer (text kept, Retry)testRun(draftId, input)→TestRunResult.output,remainingDailyRuns; no payment, no chain writeinputMaxChars/InputTooLong,TestQuotaExceeded,AgentExecutionFailed,RuntimeUnavailablemain, unchanged; it now links to F9 instead of "#36"agent_idand wallet, the builder signs thepuls3.manifestHash/puls3.manifestVersionupdate, new hires switch, hires in flight finish on n (spike #33 §4, ADR-0004 decision 4)retryFromStep), live (View, Edit → F10)ErrorBanner, Retry), empty,DraftNotFoundThe "Coverage of the MVP scope" and "Screen IDs" tables list the new flows and screens.
docs/blueprints/screens.mdS11-playground: a panel beside the S07 preview on desktop, a sheet over S07 on phones.S12-my-agents:/studio/agents.AgentManifest/StudioDraft/TestRunResult/DeploySession, the 4 states, the actions and the components.PlaygroundPanel,TestRunResultCard,MyAgentsListandAgentVersionRow, and extends the rows of the components they reuse.Wireframes:
S11-playgroundandS12-my-agentsat 1440 and 390, in the style of the #146 ones (same theme colors, top bar, footer and bottom navigation).Acceptance criteria
AgentManifest(feat: AgentManifest domain model and validation #34) exactly (name,description,skills,model,systemPrompt,inputType,inputMaxChars,outputType,outputMaxChars,price), and the API names matchapi.md(StudioDraft,TestRunResult,DeploySession)Verification evidence
@mermaid-js/mermaid-cli11.4.2 (f8.svg…f11.svg, no syntax errors). GitHub will render them the same way.screens.md.Notes for reviewers
Two gaps I found and left open on purpose. Both belong to #35 / the ADR owners, not to this doc:
api.md. F11 (My agents) and the draft picker need "list this wallet's drafts and agents". feat: Agent Studio endpoints (drafts, test run, deploy) #35's deliverables include "list drafts per owner", butapi.mdhas no row for it yet. F10's metadata update has no endpoint row either (prepareDeploycovers the first deploy).