Repository navigation
docs: add Factory issue triage recipe - #896
warp-agent-staging[bot] wants to merge 7 commits into
Conversation
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This PR was generated with Warp. Comment Test changesNo affected Factories to test. |
|
I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR replaces the issue-triage use-case scaffold with a practical Factory recipe that covers prerequisites, an example GitHub automation, rollout steps, and related references.
Concerns
- The prerequisites describe issue-write access as a code-host integration permission even though the page also covers Linear and Jira, where issue updates are granted by the issue-tracker integration rather than the code-host integration.
- The Linear/Jira rollout instruction sends readers to provider docs for event names instead of naming the supported issue-triage events or linking the schema reference.
Comment and test audit
- Added or changed comments: none; the old scaffold comment is removed.
- Added or changed tests: none; this is a documentation-only change.
- Security pass: no security findings.
- Spec alignment: no approved or repository spec context was provided.
Verdict
Found: 0 critical, 1 important, 1 suggestions
Request changes
Comment /warp-agent-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
|
|
||
| * **A connected issue source** - Connect [GitHub](/factories/integrations/github/), [Azure DevOps](/factories/integrations/azure-devops/), [Linear](/factories/integrations/linear/), or [Jira](/factories/integrations/jira/) and grant access to the repositories the agent must inspect. GitLab doesn't provide a native issue-created trigger; use an explicit bot mention or a [custom webhook](/factories/webhooks/) instead. | ||
| * **A triage policy** - Define the categories, priority levels, evidence requirements, and escalation conditions your team uses. | ||
| * **Write access to issues** - The code-host integration needs permission to comment, label, assign, or update work items. |
There was a problem hiding this comment.
| 1. Create a factory for the repositories that share one backlog. Follow the [Warp Factories quickstart](/factories/quickstart/) if you don't have one. | ||
| 2. Add or edit the triage agent. Give it read access to the relevant repositories and issue-write access through the code-host integration. | ||
| 3. Add `agents/triage/skills/issue-triage/SKILL.md`. Record the allowed categories and priority levels, the evidence required for a bug, and when to ask a human. See [factory skills](/factories/factory-skills/) for the file format. | ||
| 4. Add the GitHub automation above. For a controlled GitHub rollout, change the event to `issue_labeled` and filter on `needs-triage`. On Azure DevOps, use `work_item_created` or `work_item_labeled`. For Linear or Jira, select the provider event documented by the connected integration. |
There was a problem hiding this comment.
💡 [SUGGESTION] Name the Linear and Jira event values here, or link the trigger schema, so readers can complete the rollout without hunting through provider pages that don't consistently list definition-file event names.
There was a problem hiding this comment.
Review summary
The independent agent completed its review for this commit.
Findings
- src/content/docs/factories/use-cases/issue-triage.mdx:66 (also line 30) — [CRITICAL] The Azure DevOps instructions substitute work_item_created or work_item_labeled into the GitHub example without explaining the required provider and filter changes. Live factory validation rejects github.work_item_created with FF_INVALID_EVENT; changing provider to azure_devops still produces FF_INVALID_FILTER because repos is unsupported for work-item events. Requested resolution: add a separately validated Azure DevOps example using provider: azure_devops and supported filters (assignees, authors, labels, or work_item_types), explain its scope, and update both passages consistently; alternatively, keep the recipe GitHub-only and link to the Azure DevOps integration guide instead of giving an incomplete substitution.
Verdict
Request changes
Co-Authored-By: Warp <agent@warp.dev>
There was a problem hiding this comment.
Review summary
The independent agent completed its review for this commit.
Findings
- src/content/docs/factories/use-cases/issue-triage.mdx:92 — [IMPORTANT] Opening a test issue alone does not trigger the label-based GitHub, Linear, or Azure DevOps options or Jira agent_session_created. Requested change: make the test exercise the selected event by applying needs-triage for label intake, assigning or mentioning Warp for Jira, or creating an issue or work item for creation intake, then verify the run's updates and stopping behavior.
- src/content/docs/factories/use-cases/issue-triage.mdx:13 — [SUGGESTION] The PR cites no Source files consulted, so its runtime provider claims and asserted release availability cannot be independently checked from cited implementation sources; live schema validation only establishes configuration validity. Requested change: add source paths with revisions or precise live evidence to the PR body, identify the schemas checked, and list any remaining unverified behavior under Unverified claims.
Verdict
Request changes
Co-Authored-By: Warp <agent@warp.dev>
Co-Authored-By: Warp <agent@warp.dev>
There was a problem hiding this comment.
Review summary
The independent agent completed its review for this commit.
Findings
- src/content/docs/factories/use-cases/issue-triage.mdx:80 — [IMPORTANT] Step 4 adds a Jira agent_session_created automation filtered only by project, but factories connected to Jira during creation already have an automation for those sessions. Both routes can start runs, and the triage prompt does not stop the existing handler. Requested change: reuse and retarget the existing Jira automation where appropriate, or narrow or disable overlapping routes so each triage request matches only one automation while preserving other workflows.
Verdict
Request changes



What this feature does
An issue-triage factory investigates incoming issues, applies a controlled classification and priority, and records the evidence a maintainer needs to choose the next step.
Summary
Replaces the issue-triage scaffold with a practical recipe built from validated automation, role, skill, and integration patterns.
Changes
src/content/docs/factories/use-cases/issue-triage.mdxContent design plan
Audience and JTBD: A maintainer with a busy engineering backlog who needs new issues categorized and supported by evidence before assigning implementation work.
Problem: Factory primitives are documented separately, so the reader must infer how to combine an issue event, triage role, policy skill, and issue update.
Goals:
Purpose and value: The guide provides a reusable first automation that reduces repeated intake work while preserving product judgment.
Content type: Feature documentation (combined) — the reader needs the workflow model and the configuration procedure together.
Skill and template:
draft_feature_doc/.agents/templates/feature-doc.md.High-impact scenarios:
Source files consulted
Implementation sources read on 2026-10-16 at
warpdotdev/warp-server@91da52f5b26cde1472da76fd49ddb28fe74f91f9:reposfield.Documentation consulted at
warpdotdev/docs@24b4a6c25c57298fc63f15b27458423041ef3466:src/content/docs/factories/factory-as-code.mdxand theazure-devops.mdx,linear.mdx, andjira.mdxpages undersrc/content/docs/factories/integrations/(provider setup, filters, and access).Live configuration evidence
Checked on 2026-10-16 through the connected staging Factory MCP:
get_factory_file_schema(document: automation.schema.json)returnedv1alpha1, includingcommon.schema.json. Documents checked: automation schema and shared definitions. These URLs are mutable; implementation sources above are pinned.validate_factory_filesreproducedFF_INVALID_EVENTforgithub.work_item_createdandFF_INVALID_FILTERforazure_devops.work_item_createdwithfilter.repos.valid: true, no diagnostics, and no deferred resolutions. Variants covered GitHubissue_labeled, Azure DevOpswork_item_created, Linearissue_createdandissue_labeled, and Jiraagent_session_created.Unverified claims
v0.2026.10.07.08.29.stable_00(2026-10-07) lacks verified release/deployment evidence. It has been removed from the feature summary pending confirmation. Current source and staging schema acceptance do not prove stable availability.Documentation risk
Risk: engineering-review-required
Rationale: Adds new public Factory workflow guidance and configuration examples that require product review.
Docs override: none
PR stack
Dependency: #895 is the shared base and targets
main. PRs #896–#901 each independently targetfactory/factory-use-cases-structure; no guide PR depends on another guide PR.Human review focus
Co-Authored-By: Oz oz-agent@warp.dev
Co-Authored-By: Warp agent@warp.dev