This repository has been archived on 2026-04-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
core/packages/bug-report-triage/manifest.json
Jeffrey Smith 446edb8333 Feat v0.9.6 deprecate stage_type, collapse stage_mode
stage_type no longer validated — starlark_hook presence determines
automation. stage_mode collapsed from 4→3 values (form/delegated/
automated); "review" mapped to "form" on input for backward compat.
Migration 018 converts existing rows. Review surface removed (~110
lines). 4 package manifests updated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 17:41:55 +00:00

125 lines
4.1 KiB
JSON

{
"id": "bug-report-triage",
"title": "Bug Report Triage",
"type": "workflow",
"version": "0.1.0",
"tier": "browser",
"icon": "🐛",
"author": "Armature",
"description": "Public bug report submission with severity-based routing, team assignment, and SLA timers.",
"permissions": [],
"workflow_definition": {
"name": "Bug Report Triage",
"slug": "bug-report-triage",
"entry_mode": "public_link",
"stages": [
{
"name": "submit",
"ordinal": 0,
"stage_mode": "form",
"audience": "public",
"auto_transition": false,
"form_template": {
"fieldsets": [
{
"label": "Report Details",
"fields": [
{ "key": "reporter_email", "label": "Your Email", "type": "text", "required": true },
{ "key": "summary", "label": "Summary", "type": "text", "required": true },
{ "key": "component", "label": "Component", "type": "select", "options": ["ui", "api", "database", "auth", "other"], "required": true },
{ "key": "severity", "label": "Severity", "type": "select", "options": ["critical", "high", "medium", "low"], "required": true }
]
},
{
"label": "Reproduction",
"fields": [
{ "key": "steps", "label": "Steps to Reproduce", "type": "textarea", "required": true },
{ "key": "expected", "label": "Expected Behavior", "type": "textarea", "required": true },
{ "key": "actual", "label": "Actual Behavior", "type": "textarea", "required": true }
]
}
]
}
},
{
"name": "classify",
"ordinal": 1,
"stage_mode": "form",
"audience": "team",
"auto_transition": false,
"form_template": {
"fieldsets": [
{
"label": "Classification",
"fields": [
{ "key": "severity", "label": "Confirmed Severity", "type": "select", "options": ["critical", "high", "medium", "low"], "required": true },
{ "key": "notes", "label": "Triage Notes", "type": "textarea" }
]
}
]
},
"branch_rules": [
{ "field": "severity", "op": "eq", "value": "critical", "target_stage": "fix-critical" },
{ "field": "severity", "op": "neq", "value": "critical", "target_stage": "fix-normal" }
]
},
{
"name": "fix-critical",
"ordinal": 2,
"stage_mode": "form",
"audience": "team",
"auto_transition": false,
"sla_seconds": 3600,
"form_template": {
"fieldsets": [
{
"label": "Critical Fix",
"fields": [
{ "key": "fix_description", "label": "Fix Description", "type": "textarea", "required": true },
{ "key": "commit_ref", "label": "Commit / PR Reference", "type": "text" }
]
}
]
}
},
{
"name": "fix-normal",
"ordinal": 3,
"stage_mode": "form",
"audience": "team",
"auto_transition": false,
"form_template": {
"fieldsets": [
{
"label": "Fix",
"fields": [
{ "key": "fix_description", "label": "Fix Description", "type": "textarea", "required": true },
{ "key": "commit_ref", "label": "Commit / PR Reference", "type": "text" }
]
}
]
}
},
{
"name": "verify",
"ordinal": 4,
"stage_mode": "form",
"audience": "team",
"auto_transition": false,
"form_template": {
"fieldsets": [
{
"label": "Verification",
"fields": [
{ "key": "verified", "label": "Fix Verified?", "type": "select", "options": ["yes", "no"], "required": true },
{ "key": "verification_notes", "label": "Notes", "type": "textarea" }
]
}
]
}
}
]
}
}