Repository navigation
feat(workspace): a Build page with one guide agent per person - #4255
Draft
romainability wants to merge 5 commits into
Draft
romainability wants to merge 5 commits into
romainability wants to merge 5 commits into
Conversation
A new person lands in Workspace, answers a few setup questions, and builds their first agent in a conversation with a guide agent (Atlas), with their company and agents shown live beside the chat. - Setup in the "Set up Trinity" panel: intro, about you (role, software and agent experience), Connect Claude, company (starts background research), AI audit, first agent. Answers are kept on the account (preference workspace_intake). The route adapts to the person's experience. - One guide agent per person, created from config/agent-templates/build-guide, owned by that person, with playbooks for the audit, company research, planning and building an agent (the create-agent wizard, run headlessly), and fleet settings. - Fleet settings from the chat as Confirm cards (the person clicks, the change runs with their own session; the agent never grants itself anything) and Show me walks that light each click from the Dashboard (credentials, sharing, calling another agent, schedules plus Autonomy). - Seven levels on the Company page, read from the person's own agents. - A person's first agent is built one step at a time along those levels. Requirements: docs/memory/requirements/core-agent.md (AC-1 to AC-18). Flow: docs/memory/feature-flows/workspace-build.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Two short motion graphics shown in setup, with poster frames. Licence note: made with Remotion, whose free licence covers companies of up to 3 people, so a company licence is needed before these ship. The music is from Mixkit under its free licence (web use allowed, no TV or radio). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…uards The guards added on dev since this branch began flag the Build page: - The Build page is shown only to a platform session that is not Workspace-only (buildAvailableFor, core-agent AC-1), so its operator-side calls and stores are listed as known in test_837 with that reason, and buildIntake (only the person's own preference) is an allowed store. - The Workspace no longer reads the setup state for someone who can't build, an operator read a Workspace-only member is refused on. - The guide's template lists its playbooks as `playbooks:` rather than `commands:`: they are skills, each started as /<name>, with no .claude/commands files. - GET/PUT /api/workspace-build/company are classified as creator routes open in a restricted turn: both take require_person, which refuses an agent key, and neither creates or acts on an agent. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n walk steps - The levels, shown at the start of a first build: the right side shows Your company and a spotlight (the Workspace tour's) lights the Levels card once. - A level reached: the new agent's sidebar row lit first for Level 1, then the Levels card with the tick and the next level. The guide is told once the moment closes (it then moves on to the next level); a level waits on the saved answers until told, so a reload during the moment shows it again. With the card already whole on screen there is no dimming. Moments wait for the guide's reply, the tour and the setup window, one at a time. - The page's level line shows in the chat as a short note, not as the person's message, and on the Working card. - Show me steps that only open something (an agent, a tab, More, a section) have Next, which clicks the lit part for them. - The guide opens a person's first build by saying it will go step by step, where the levels are, and that Level 1 is asking it to create the agent. - CI: an address check that assumed a port, and a test helper's comment stripping repeated until none is left. Requirements: core-agent AC-17, AC-17b. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 8, 2026
Merged
…roof of a handoff The page - Level 8 says what it asks for: one agent hands parts of a job to two others and asks for an OK before the step that matters. - A note the first time one of a person's agents does a job for another, with a Show me walk to that agent's Tasks (walk_from names who asked). - A finish box after the last level, and the last level's moment says so too. - Account welcome, Build welcome, the walk door and the sidebar guide line. The guide (build-guide template) - The person's own idea is the one it sets up; its own suggestion comes second. - It only says one agent can call another when the saved state shows it. - It proposes new agents from what it knows, and judges itself whether a job is a new playbook or a new agent. - It tells each agent its keys are environment variables, not vault entries. - Once keys pass the test, the agent takes one read-only look at its data and saves data-map.md; playbooks that read data start from that map. Tests: 505 unit files (7,668 tests) and 97 browser tests pass. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This branch has not been deployed
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.
Description
A Build page in the Workspace for someone who can make agents. They answer a few setup questions, then talk with their own guide agent (Atlas). It finds where agents would help, plans the first one with them and builds it on this instance, while their company and agents are drawn live beside the chat.
What's in it:
workspace_intakepreference).config/agent-templates/build-guide, deployed byconfig/manifests/workspace-build.yaml), owned by them. Its playbooks: company research, the audit, planning an agent, building it with the create-agent wizard (run headlessly, in the same chat), and fleet settings.walk_fromnames who asked). Read from the jobs themselves, never from the guide's word.CLAUDE.md, pinned bybuildGuideTemplate.spec.js): the person's own idea is the one it sets up; it only says one agent can call another when the saved state shows it; it proposes new agents from what it knows of the company; it judges whether a job is a new playbook on an existing agent or a new agent; it tells each agent its keys are environment variables (see Agent reports its own keys as missing: it asks the credential vault instead of reading its environment #4474).data-map.md. Playbooks that read data start from that map.GET/PUT /api/workspace-build/company), so a colleague's guide starts from it.Requirements:
docs/memory/requirements/core-agent.md(Workspace Build, AC-1 to AC-18). Flow:docs/memory/feature-flows/workspace-build.md.Questions for review
The research job and the guide's permission. The company research reads public websites, and it runs on the same guide that holds
agents.manage(needed to create agents). Today the only guard is the guide's instruction that website text is never instructions. Restricting tools on the research task would not contain it, because the agent server runs Claude with--dangerously-skip-permissions, where--allowedToolsonly pre-approves. Real containment needs a research agent without the grant, or per-task disallowed tools (a backend change). Is the current guard acceptable for now, or should research move off the guide?The intro videos (
src/frontend/public/intro/, their own commit). They were made with Remotion, whose free licence covers companies of up to 3 people, so a company licence is needed before they ship. The music is from Mixkit under its free licence (web use allowed). The commit can be dropped if you'd rather not carry them yet.Guard entries. The Workspace route census (
test_837) and the creator-route census now list the Build page's calls and the company routes, each with its reason (the third commit). Please check those reasons hold.The help address
[email protected]is used by the guide and the help panel. Please confirm it.The guide's Info tab no longer lists its slash commands:
template.yamllists its playbooks underplaybooks:, because the command guard (ent#239) requires a.claude/commandsfile for each declared command and these are skills. Trinity's Info tab reads onlycommands. Is that fine for a hidden guide, or would you rather the Info tab read skills too?PortalSidebar.vuegained a few lines for the guide's line in the sidebar. It is Workspace's own file, so please check the addition sits well with it.Known gaps
useroroperator.Related Issue
None yet: opened as a draft to look at the approach first. #4474 (an agent looks in the credential vault for its own keys) was found while testing this and is worked around in the guide's instructions.
Journey Impact
Journey Impact: extends: J03
Type of Change
Testing
e2e/workspace-build.spec.js,e2e/show-me-walk.spec.js), backend tests (test_workspace_company.py,test_build_crew_names.py,test_workspace_build_orchestration_capability.py)agent-detail-request-dedupefailed once on/compatibilityfetched twice and passed on retry (this branch only adds marker attributes to that page's panels); backend unit suite passes except 39 tests intest_ent926_turn_tier_hook.py, which fail the same way ondevon the machine usedMutation: n/a, not a fix
Checklist
Screenshots (if applicable)
To follow.
🤖 Generated with Claude Code