Skip to content
PWR

Core

Workflow templates

The PWR workflow library and agent roles, what each template actually launches, and which gates the platform enforces.

A workflow template turns an intent, such as "fix a bug" or "plan a sprint", into a concrete launch: a task, a goal, a planning conversation or a sprint execution. Each template is tied to an agent role. You find templates on the PWR Studio Home launcher and under Workflows.

Status: The role and template library is implemented and tested up to the point of launch: a created task, a started goal or a pending run. Templates do not add new execution machinery; everything they launch runs through the same task, review and approval workflow as any other work.

Agent roles

A role is a template for an agent: responsibilities, a prompt suffix, a tool policy, the kinds of run it is meant for, and the deliverable it should produce. An agent is the executable binding of a role to a provider and model.

RoleToolsUsed forDeclared gates
ProducerRead-onlyPlanning, chatApplying a plan as tasks needs approval
QA / SDETRead, write, shellPlanning, implementation, reviewChanging production code needs approval
Gameplay EngineerFull sandbox, shellImplementation, reviewMerge needs approval
Software EngineerFull sandbox, shellPlanning, implementation, reviewMerge needs approval
Game DesignerRead-onlyPlanning, chatChanging an approved design needs approval
Technical ArtistFull sandbox, shellImplementationReplacing binary assets needs approval
DevOps / BuildFull sandbox, shellImplementation, reviewDeploying is forbidden
Security EngineerRead-only plus shellReview, implementationDisabling a control is forbidden
Release ManagerRead-onlyChat, reviewDeploying and merging are forbidden

What is enforced and what is declared

Gates and deliverable formats are written into the agent's instructions. The platform enforces the ones it has mechanisms for:

  • the tool allowlist and the shell switch in the agent's tool policy;
  • the merge gate and commit-bound human approvals. See GitHub integration;
  • "forbidden to deploy" holds because no deploy capability exists in the sandbox, not because of wording in a prompt.

Structured deliverables are validated only for plan and review output. The other deliverable formats are instructions to the agent, not something the platform checks. There is no per-action policy engine.

Templates

TemplateLaunchesRoleWhat happens
Start a New GameGoalGameplay Engineer, planned by ProducerA planning run produces a plan; you approve it; tasks follow. Only for a new or empty repository.
Build a FeatureTaskSoftware Engineer or Gameplay EngineerA ready task with acceptance criteria. You queue it.
Fix a BugTaskSoftware EngineerA high-priority task with a "regression test first" criterion.
Analyze an Existing RepositoryConversationProducerA read-only run; the architecture summary is the reply.
Improve Test CoverageCoverage runQA / SDETStarts the Test Coverage Autopilot.
Generate Unit TestsTaskQA / SDETA task scoped to tests only.
Create a Test PlanConversationQA / SDETA read-only run that returns a test plan.
Review a GDDConversationGame DesignerA read-only review of a design document. Game projects only.
Plan a SprintConversation (plan)ProducerReturns a plan you can apply as tasks; can also create a planned sprint.
Execute a SprintSprint executionnoneRuns selected sprint tasks as a goal. Needs an active sprint.
Reduce Technical DebtConversation (plan)Software EngineerReturns a backlog to apply as tasks.
Prepare a ReleaseConversationRelease ManagerA readiness checklist from recorded evidence. Never merges, tags or deploys.
Build an APITask or goalSoftware EngineerOne task, or a goal for a multi-endpoint surface.
Refactor a CodebaseGoalSoftware EngineerA goal that starts with a planning run.
Create a CI PipelineTaskDevOps / BuildA task. Deployment steps are described, never automated.
Custom TaskTasknoneA task whose model is chosen by PWR Auto.

Launching a template

  1. Choose a template and a project. Developers and above can launch.
  2. Fill in the inputs. They are validated; invalid inputs are refused with template_inputs_invalid.
  3. Review the pre-flight estimate: a credit range and the model route. See Billing and credits.
  4. Launch.

PWR picks the agent you named, or your organization's first enabled agent with the template's role. If none exists, an agent is created from the role and the response says so. Both paths are audited.

A refused launch creates nothing.

Availability rules

A template can be unavailable for a project. PWR Studio shows the reason.

RuleAvailable when
Needs a workspace sourceThe project has a connected repository or a workspace source
Needs a GitHub connectionThe project has a repository connection
Needs a new or empty repositoryNo repository is connected, or the connected one is empty
Needs a game projectThe project type is game
Needs a game profileEngine discovery has run for the project
Needs JiraA Jira connection is linked to the project
Needs an active sprintThe project has an active sprint

Rules are checked again at launch, which returns 409 template_unavailable with the reason.

Customising

Roles and templates are versioned. The platform ships defaults. An admin can clone a default into the organization and edit the copy; each edit creates a new version. Your organization uses its own latest active version when one exists, otherwise the platform default.

Template prompts use simple placeholder substitution. There is no templating language.