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/content-approval/manifest.json
Jeffrey Smith 680ec3b897
All checks were successful
CI/CD / detect-changes (push) Successful in 3s
CI/CD / test-frontend (push) Successful in 5s
CI/CD / test-go-pg (push) Successful in 2m34s
CI/CD / test-sqlite (push) Successful in 2m46s
CI/CD / build-and-deploy (push) Successful in 1m55s
Feat rebrand armature (#43)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
2026-03-31 23:25:37 +00:00

96 lines
2.7 KiB
JSON

{
"id": "content-approval",
"title": "Content Approval",
"type": "workflow",
"version": "0.1.0",
"tier": "browser",
"icon": "📝",
"author": "Armature",
"description": "Multi-party content review with quorum signoff and revision cycle.",
"permissions": [],
"workflow_definition": {
"name": "Content Approval",
"slug": "content-approval",
"entry_mode": "team_only",
"stages": [
{
"name": "draft",
"ordinal": 0,
"stage_mode": "form",
"audience": "team",
"stage_type": "simple",
"auto_transition": false,
"form_template": {
"fieldsets": [
{
"label": "Content Draft",
"fields": [
{ "key": "title", "label": "Title", "type": "text", "required": true },
{ "key": "body", "label": "Body", "type": "textarea", "required": true },
{ "key": "category", "label": "Category", "type": "select", "options": ["blog", "announcement", "documentation", "policy"], "required": true }
]
}
]
}
},
{
"name": "review",
"ordinal": 1,
"stage_mode": "review",
"audience": "team",
"stage_type": "simple",
"auto_transition": false,
"stage_config": {
"validation": {
"required_approvals": 2,
"reject_action": "revision"
}
}
},
{
"name": "revision",
"ordinal": 2,
"stage_mode": "form",
"audience": "team",
"stage_type": "simple",
"auto_transition": false,
"form_template": {
"fieldsets": [
{
"label": "Revision",
"fields": [
{ "key": "title", "label": "Title", "type": "text", "required": true },
{ "key": "body", "label": "Body", "type": "textarea", "required": true },
{ "key": "revision_notes", "label": "What Changed", "type": "textarea", "required": true }
]
}
]
},
"branch_rules": [
{ "field": "title", "op": "exists", "value": "", "target_stage": "review" }
]
},
{
"name": "publish",
"ordinal": 3,
"stage_mode": "form",
"audience": "team",
"stage_type": "simple",
"auto_transition": false,
"form_template": {
"fieldsets": [
{
"label": "Publish Confirmation",
"fields": [
{ "key": "publish_url", "label": "Published URL", "type": "text" },
{ "key": "publish_notes", "label": "Notes", "type": "textarea" }
]
}
]
}
}
]
}
}