mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
feat: add local manifest feature for custom playbooks (#204)
- Add comprehensive documentation for local manifest feature - Create example local-manifest.json with custom playbook structure - Implement local manifest reading and merging with official manifests - Add file watcher for hot reload on local manifest changes - Support local filesystem paths (absolute and tilde-prefixed) - Add "Local" badge to distinguish custom playbooks in UI - Expose manifest change event through preload API - Add source field to playbook type for origin tracking
This commit is contained in:
54
docs/examples/local-manifest.json
Normal file
54
docs/examples/local-manifest.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"lastUpdated": "2026-01-17",
|
||||
"playbooks": [
|
||||
{
|
||||
"id": "my-custom-playbook",
|
||||
"title": "My Custom Security Audit",
|
||||
"description": "Internal security audit playbook for our organization",
|
||||
"category": "Custom",
|
||||
"author": "Internal Team",
|
||||
"lastUpdated": "2026-01-17",
|
||||
"path": "/Users/me/.maestro/custom-playbooks/security-audit",
|
||||
"documents": [
|
||||
{
|
||||
"filename": "1_SCAN",
|
||||
"resetOnCompletion": false
|
||||
},
|
||||
{
|
||||
"filename": "2_ANALYZE",
|
||||
"resetOnCompletion": true
|
||||
},
|
||||
{
|
||||
"filename": "3_REPORT",
|
||||
"resetOnCompletion": false
|
||||
}
|
||||
],
|
||||
"loopEnabled": false,
|
||||
"maxLoops": null,
|
||||
"prompt": null,
|
||||
"assets": ["config.yaml", "rules.json"]
|
||||
},
|
||||
{
|
||||
"id": "development-security",
|
||||
"title": "Enhanced Development Security (Override)",
|
||||
"description": "Custom version of the official playbook with our internal modifications",
|
||||
"category": "Development",
|
||||
"author": "Our Team",
|
||||
"lastUpdated": "2026-01-17",
|
||||
"path": "~/maestro-playbooks/dev-security",
|
||||
"documents": [
|
||||
{
|
||||
"filename": "SETUP",
|
||||
"resetOnCompletion": false
|
||||
},
|
||||
{
|
||||
"filename": "SCAN",
|
||||
"resetOnCompletion": true
|
||||
}
|
||||
],
|
||||
"loopEnabled": true,
|
||||
"maxLoops": 3,
|
||||
"prompt": "Custom prompt for our workflow"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user