@mediadatafusion/pi-workflow-suite 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/CONTRIBUTING.md +9 -0
- package/LICENSE.md +201 -0
- package/NOTICE +6 -0
- package/README.md +1208 -0
- package/SECURITY.md +7 -0
- package/SUPPORT.md +9 -0
- package/TRADEMARKS.md +14 -0
- package/VERSION +1 -0
- package/agents/codebase-research.md +42 -0
- package/agents/general-worker.md +26 -0
- package/agents/implementation-planning.md +46 -0
- package/agents/quality-validation.md +43 -0
- package/agents/workflow-orchestrator.md +44 -0
- package/config/prompts/execute-approved-plan.md +43 -0
- package/config/prompts/mission-checkpoint.md +26 -0
- package/config/prompts/mission-final-validation.md +21 -0
- package/config/prompts/mission-plan.md +129 -0
- package/config/prompts/mission-repair.md +33 -0
- package/config/prompts/mission-run.md +37 -0
- package/config/prompts/validate-approved-plan.md +42 -0
- package/config/prompts/workflow-plan-prompt.md +93 -0
- package/config/prompts/workflow-repair.md +20 -0
- package/config/prompts/workflow-summary.md +23 -0
- package/config/workflow-settings.example.json +335 -0
- package/docs/assets/mediadatafusion-logo.png +0 -0
- package/docs/assets/pi-workflow-suite-card.png +0 -0
- package/docs/assets/pi-workflow-suite-header.png +0 -0
- package/docs/assets/pi-workflow-suite-video-thumb.png +0 -0
- package/docs/assets/readme-link-commands.svg +10 -0
- package/docs/assets/readme-link-install.svg +10 -0
- package/docs/assets/readme-link-quick-start.svg +10 -0
- package/docs/assets/readme-link-settings.svg +10 -0
- package/extensions/subagent/agents.ts +149 -0
- package/extensions/subagent/index.ts +1136 -0
- package/extensions/subagent/runner.ts +291 -0
- package/extensions/workflow-model-router.ts +1485 -0
- package/extensions/workflow-modes.ts +14778 -0
- package/extensions/workflow-parsers.ts +212 -0
- package/extensions/workflow-settings-capabilities.ts +282 -0
- package/extensions/workflow-state.ts +978 -0
- package/extensions/workflow-subagent-policy.ts +180 -0
- package/extensions/workflow-summary.ts +381 -0
- package/extensions/workflow-tool-guard.ts +302 -0
- package/extensions/workflow-validation-classifier.ts +102 -0
- package/extensions/workflow-web-tools.ts +356 -0
- package/package.json +1 -0
- package/scripts/audit-live.sh +69 -0
- package/scripts/audit-settings.sh +136 -0
- package/scripts/backup-live.sh +63 -0
- package/scripts/bootstrap-project.sh +220 -0
- package/scripts/install-to-live.sh +87 -0
- package/scripts/quarantine-live-junk.sh +69 -0
- package/scripts/verify-live.sh +128 -0
- package/skills/codebase-discovery/SKILL.md +20 -0
- package/skills/find-skills/SKILL.md +155 -0
- package/skills/git-safe-summary/SKILL.md +20 -0
- package/skills/implementation-planning/SKILL.md +20 -0
- package/skills/project-rules-audit/SKILL.md +20 -0
- package/skills/safe-execution/SKILL.md +20 -0
- package/skills/validation-review/SKILL.md +20 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
> NOTE: Reference/fallback template. The active Plan Mode prompt is built dynamically in `extensions/workflow-modes.ts` so workflow settings, worker counts, and forced sub-agent policy remain configurable.
|
|
2
|
+
|
|
3
|
+
You are in PI WORKFLOW PLAN MODE.
|
|
4
|
+
|
|
5
|
+
Task: $ARGUMENTS
|
|
6
|
+
|
|
7
|
+
Before choosing, perform lightweight task analysis: likely files/systems, project rules to read, runtime vs repo target, scope ambiguity, risk, validation needs, permission boundaries, and which read-only sub-agents should speed up and improve the plan. Do not expose chain-of-thought.
|
|
8
|
+
|
|
9
|
+
MANDATORY: Your VERY FIRST LINE must be exactly one of:
|
|
10
|
+
PLAN_DECISION: clarify
|
|
11
|
+
PLAN_DECISION: plan
|
|
12
|
+
|
|
13
|
+
No preamble. No visible chain-of-thought. Start directly with one of those two lines.
|
|
14
|
+
|
|
15
|
+
After the first line include one concise decision line:
|
|
16
|
+
CLARIFICATION_DECISION: ask
|
|
17
|
+
CLARIFICATION_DECISION: skip
|
|
18
|
+
CLARIFICATION_DECISION: optional
|
|
19
|
+
Reason: <brief human-readable reason>
|
|
20
|
+
|
|
21
|
+
Clarification policy:
|
|
22
|
+
- Use PLAN_DECISION: clarify only when missing scope, validation, risk, target-environment, permission, sub-agent, diagnostic-vs-implementation, or forbidden-file choices would materially change the final plan.
|
|
23
|
+
- In always_for_nontrivial mode, clarify for non-trivial work only after initial analysis shows material missing choices.
|
|
24
|
+
- If the user explicitly asks to be consulted before deciding validation level, scope, or implementation aggressiveness, use PLAN_DECISION: clarify.
|
|
25
|
+
- Never ask clarification for an empty task.
|
|
26
|
+
- Generate questions from the actual task; do not use universal boilerplate clarification questions.
|
|
27
|
+
- Clarification is not a survey. Ask only questions that genuinely change the plan.
|
|
28
|
+
- Prefer zero questions if a safe approval-ready plan can be made with assumptions.
|
|
29
|
+
- Prefer one focused question when possible. Maximum 3 questions unless workflow settings specify otherwise.
|
|
30
|
+
- Each question must be specific and actionable.
|
|
31
|
+
- Each option must be a concrete choice, not yes/no.
|
|
32
|
+
- Always include D. Other as the last option and include Skip this question.
|
|
33
|
+
- Do not ask product-roadmap or strategy questions unless the user explicitly requested product strategy planning.
|
|
34
|
+
- Do not ask the user how to work around Pi/tool limitations, shell limitations, or preflight limitations; state the limitation and include safe preflight checks in the plan.
|
|
35
|
+
|
|
36
|
+
If PLAN_DECISION: clarify, follow with this parser-safe format. The extension turns it into guided interactive UI:
|
|
37
|
+
## Clarifying Questions
|
|
38
|
+
|
|
39
|
+
### Q1. <specific short question about the task>
|
|
40
|
+
A. <concrete option specific to this task>
|
|
41
|
+
B. <concrete option specific to this task>
|
|
42
|
+
C. <concrete option specific to this task>
|
|
43
|
+
D. Other: type your own answer
|
|
44
|
+
Skip this question
|
|
45
|
+
|
|
46
|
+
If PLAN_DECISION: plan, follow with:
|
|
47
|
+
# Implementation Plan
|
|
48
|
+
## Objective
|
|
49
|
+
## Current State Assumptions
|
|
50
|
+
## Project Rules Applied
|
|
51
|
+
## Files To Inspect
|
|
52
|
+
## Files Likely To Modify
|
|
53
|
+
## Files That Must Not Be Touched
|
|
54
|
+
## Risk Assessment
|
|
55
|
+
## Implementation Steps
|
|
56
|
+
## Validation Steps
|
|
57
|
+
## Rollback Plan
|
|
58
|
+
## Sub-Agent Usage Summary
|
|
59
|
+
## Open Questions
|
|
60
|
+
## Approval Gate
|
|
61
|
+
Status: READY FOR APPROVAL
|
|
62
|
+
|
|
63
|
+
Plan quality requirements:
|
|
64
|
+
- Mandatory workflow structure overrides user-requested output sections: every final plan must include a parser-safe ## Implementation Steps section with numbered steps.
|
|
65
|
+
- Be specific and execution-ready.
|
|
66
|
+
- Include concrete files to inspect before edits.
|
|
67
|
+
- Identify likely modified files and off-limits files.
|
|
68
|
+
- Include risks, validation, rollback, and approval gate.
|
|
69
|
+
- Do not start execution. The plan must wait for user approval.
|
|
70
|
+
|
|
71
|
+
Implementation step sizing:
|
|
72
|
+
- The ## Implementation Steps section is required in every Plan Mode plan, including simple/fast/custom preset plans.
|
|
73
|
+
- Choose the number of implementation steps dynamically from actual task complexity, research findings, risk, and execution boundaries.
|
|
74
|
+
- Do not pad the plan to any fixed number and do not create steps just to fill space.
|
|
75
|
+
- Use a numbered list for trackable implementation steps.
|
|
76
|
+
- Each numbered implementation step must be a meaningful execution unit the executor can track with workflow_progress.
|
|
77
|
+
- Keep the ## Implementation Steps list focused on trackable execution units; put supporting commands, checks, files, or notes inline within the step or in other plan sections rather than as separate implementation-step bullets.
|
|
78
|
+
- Small/simple tasks may need only 2-4 steps; standard tasks may need around 4-8 steps; complex/risky/multi-area tasks may need more.
|
|
79
|
+
- If many details exist, group them into coherent execution phases instead of exploding every detail into separate tracked steps.
|
|
80
|
+
|
|
81
|
+
Sub-agent planning policy:
|
|
82
|
+
- Fast/simple planning: sub-agents are expected when policy requires them and still encouraged for speed when available.
|
|
83
|
+
- Standard planning: use sub-agents aggressively for non-trivial discovery, project-rule audit, risk review, and validation planning.
|
|
84
|
+
- Deep planning: use the configured read-only planning/research workers for non-trivial codebase tasks.
|
|
85
|
+
- Maximum planning: strongly prefer the configured worker team; explain any trivial/unavailable skip.
|
|
86
|
+
- Forced planning: use the required sub-agents before final plan output or stop with `Sub-agent policy is forced, but sub-agent execution is unavailable because <reason>.`
|
|
87
|
+
- When useSubagentsBeforeClarification=true, use read-only sub-agents before asking clarification if that analysis would make questions more specific.
|
|
88
|
+
- Sub-Agent Usage Summary must list workers used and findings applied, or the exact trivial/unavailable skip reason.
|
|
89
|
+
- Parallel read-only research is allowed when settings allow it.
|
|
90
|
+
- Parallel planning/review/validation/execution-prep agents are distinct from parallel file writes.
|
|
91
|
+
- Parallel editing is unsafe and must remain blocked unless conflict protection exists.
|
|
92
|
+
|
|
93
|
+
Mermaid diagrams are rendered by Workflow Suite in a uniform dark-mode visual style. For user-facing workflows, export/share paths, request lifecycles, architecture, data flow, multi-step sequences, state transitions, dependencies, validation flow, or implementation phases, prefer a meaningful Mermaid diagram plus concise prose. Use concise labels and the right diagram type; do not hardcode random style/classDef/light-theme overrides unless the user explicitly asks. Skip diagrams for trivial responses.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
MANDATORY STRUCTURED HANDOFF: call workflow_repair_result before final response with status, changed files, and safety flags. Typed tool payloads are primary; prose safety parsing is fallback only.
|
|
2
|
+
|
|
3
|
+
# Workflow Repair Prompt
|
|
4
|
+
|
|
5
|
+
You are PI WORKFLOW REPAIR MODE.
|
|
6
|
+
|
|
7
|
+
Repair only concrete validator-identified failed validation items for the approved Plan Mode workflow. Do not re-grade validation; only the validator/revalidator can declare PASS.
|
|
8
|
+
|
|
9
|
+
Rules:
|
|
10
|
+
- The approved plan is still the execution contract.
|
|
11
|
+
- Do not expand scope.
|
|
12
|
+
- Do not perform unrelated refactors.
|
|
13
|
+
- Do not commit, push, deploy, or mutate databases.
|
|
14
|
+
- Do not edit secrets, auth/session files, runtime logs/state, `.env`, `.factory`, or `.cursor` files.
|
|
15
|
+
- Stop and report if the repair requires destructive, out-of-scope, secret-adjacent, deployment, database, or otherwise risky action.
|
|
16
|
+
- If the validation finding is only manual/visual/browser verification or says no code repair is needed, do not change code; summarize manual QA/revalidation readiness.
|
|
17
|
+
- Use repair sub-agents aggressively for failure triage, missing-file inspection, patch planning, and validation preparation when policy allows/requires them.
|
|
18
|
+
- After repair, summarize exactly what changed and whether revalidation is ready.
|
|
19
|
+
|
|
20
|
+
Mermaid diagrams are rendered by Workflow Suite in a uniform dark-mode visual style. For user-facing workflows, export/share paths, request lifecycles, architecture, data flow, multi-step sequences, state transitions, dependencies, validation flow, or implementation phases, prefer a meaningful Mermaid diagram plus concise prose. Use concise labels and the right diagram type; do not hardcode random style/classDef/light-theme overrides unless the user explicitly asks. Skip diagrams for trivial responses.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Produce a final workflow summary
|
|
3
|
+
---
|
|
4
|
+
> NOTE: Reference/fallback template. The active workflow summary is rendered by `extensions/workflow-summary.ts`; keep this file aligned as documentation/fallback prompt text.
|
|
5
|
+
|
|
6
|
+
Summarize the current workflow.
|
|
7
|
+
|
|
8
|
+
Output:
|
|
9
|
+
# Workflow Summary
|
|
10
|
+
## Target Application Context
|
|
11
|
+
## Pi Workflow Suite Context
|
|
12
|
+
## Original Task
|
|
13
|
+
## Approved Plan
|
|
14
|
+
## Execution Summary
|
|
15
|
+
## Changed Files
|
|
16
|
+
## Validation Result
|
|
17
|
+
## Public Safety / Runtime Sync Status
|
|
18
|
+
## Remaining Risks
|
|
19
|
+
## Exact Resume Instructions
|
|
20
|
+
## Recommended Next Action
|
|
21
|
+
## Suggested Commit Message
|
|
22
|
+
|
|
23
|
+
Keep the target application repo, the Workflow Suite DEV worktree, the live Pi runtime, and the public main package mirror distinct. Do not commit or push.
|
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
{
|
|
2
|
+
"models": {
|
|
3
|
+
"planner": {
|
|
4
|
+
"enabled": true,
|
|
5
|
+
"provider": null,
|
|
6
|
+
"model": null,
|
|
7
|
+
"thinkingLevel": "high"
|
|
8
|
+
},
|
|
9
|
+
"executor": {
|
|
10
|
+
"enabled": true,
|
|
11
|
+
"provider": null,
|
|
12
|
+
"model": null,
|
|
13
|
+
"thinkingLevel": "high"
|
|
14
|
+
},
|
|
15
|
+
"validator": {
|
|
16
|
+
"enabled": true,
|
|
17
|
+
"provider": null,
|
|
18
|
+
"model": null,
|
|
19
|
+
"thinkingLevel": "xhigh",
|
|
20
|
+
"askBeforeRun": false
|
|
21
|
+
},
|
|
22
|
+
"reviewer": {
|
|
23
|
+
"enabled": true,
|
|
24
|
+
"provider": null,
|
|
25
|
+
"model": null,
|
|
26
|
+
"thinkingLevel": "xhigh",
|
|
27
|
+
"askBeforeRun": false
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"workflow": {
|
|
31
|
+
"requirePlanApprovalBeforeExecute": true,
|
|
32
|
+
"offerValidationAfterExecute": true,
|
|
33
|
+
"autoRunValidationAfterExecute": true,
|
|
34
|
+
"offerReviewerBeforeExecute": false,
|
|
35
|
+
"autoRunReviewerBeforeExecute": false,
|
|
36
|
+
"allowPlanRevisionBeforeExecute": true,
|
|
37
|
+
"autoRepairReviewFailures": true,
|
|
38
|
+
"maxReviewRetriesPerPlan": 2,
|
|
39
|
+
"reviewRetryMode": "safe_only",
|
|
40
|
+
"pauseAfterReviewFailure": false,
|
|
41
|
+
"autoRepairValidationFailures": true,
|
|
42
|
+
"validationRetryMode": "safe_only",
|
|
43
|
+
"maxValidationRetriesPerPlan": 2,
|
|
44
|
+
"maxValidationRetriesPerWorkflow": 4,
|
|
45
|
+
"pauseAfterValidationFailure": false,
|
|
46
|
+
"requireApprovalForOutOfScopeRepair": true,
|
|
47
|
+
"requireApprovalForDestructiveRepair": true,
|
|
48
|
+
"repairRetry": {
|
|
49
|
+
"enabled": true,
|
|
50
|
+
"maxTotalRetries": 6,
|
|
51
|
+
"defaults": {
|
|
52
|
+
"autoRepairFailures": true,
|
|
53
|
+
"retryMode": "safe_only",
|
|
54
|
+
"maxRetriesPerItem": 2,
|
|
55
|
+
"maxRetriesPerWorkflow": 4,
|
|
56
|
+
"pauseAfterFailure": false,
|
|
57
|
+
"requireApprovalForOutOfScopeRepair": true,
|
|
58
|
+
"requireApprovalForDestructiveRepair": true
|
|
59
|
+
},
|
|
60
|
+
"gates": {
|
|
61
|
+
"review": {
|
|
62
|
+
"autoRepairFailures": true,
|
|
63
|
+
"retryMode": "safe_only",
|
|
64
|
+
"maxRetriesPerItem": 2,
|
|
65
|
+
"maxRetriesPerWorkflow": 4,
|
|
66
|
+
"pauseAfterFailure": false,
|
|
67
|
+
"requireApprovalForOutOfScopeRepair": true,
|
|
68
|
+
"requireApprovalForDestructiveRepair": true
|
|
69
|
+
},
|
|
70
|
+
"validation": {
|
|
71
|
+
"autoRepairFailures": true,
|
|
72
|
+
"retryMode": "safe_only",
|
|
73
|
+
"maxRetriesPerItem": 2,
|
|
74
|
+
"maxRetriesPerWorkflow": 4,
|
|
75
|
+
"pauseAfterFailure": false,
|
|
76
|
+
"requireApprovalForOutOfScopeRepair": true,
|
|
77
|
+
"requireApprovalForDestructiveRepair": true
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"executionChecklistEnabled": true,
|
|
82
|
+
"returnToPlanModeAfterWorkflow": true,
|
|
83
|
+
"savePlans": true,
|
|
84
|
+
"savePlanHistory": true,
|
|
85
|
+
"planHistoryLimit": 50,
|
|
86
|
+
"planProgressEnabled": true,
|
|
87
|
+
"planRuntimeEnabled": true,
|
|
88
|
+
"requireApprovalBeforeExecution": true,
|
|
89
|
+
"requireApprovalPerStep": false,
|
|
90
|
+
"validateAfterEachStep": false,
|
|
91
|
+
"validateAfterExecution": true
|
|
92
|
+
},
|
|
93
|
+
"standard": {
|
|
94
|
+
"enabled": true,
|
|
95
|
+
"autoTodoEnabled": true,
|
|
96
|
+
"todoProgressVisible": true,
|
|
97
|
+
"todoTriggerMode": "auto",
|
|
98
|
+
"clarificationEnabled": true,
|
|
99
|
+
"clarificationMode": "auto",
|
|
100
|
+
"maxClarificationQuestions": 1,
|
|
101
|
+
"interactiveClarificationEnabled": true,
|
|
102
|
+
"clarificationTiming": "after_initial_analysis",
|
|
103
|
+
"clarificationQualityGate": true,
|
|
104
|
+
"allowClarificationWithoutAnalysis": false,
|
|
105
|
+
"useSubagentsBeforeClarification": false,
|
|
106
|
+
"allowSubagents": true,
|
|
107
|
+
"subagentScope": "user",
|
|
108
|
+
"subagents": {
|
|
109
|
+
"planningPolicy": "forced",
|
|
110
|
+
"executionPolicy": "forced",
|
|
111
|
+
"repairPolicy": "forced",
|
|
112
|
+
"reviewPolicy": "forced",
|
|
113
|
+
"validationPolicy": "forced",
|
|
114
|
+
"autoUseDuringPlanning": true,
|
|
115
|
+
"autoUseDuringExecution": true,
|
|
116
|
+
"autoUseDuringRepair": true,
|
|
117
|
+
"autoUseDuringReview": true,
|
|
118
|
+
"autoUseDuringValidation": true,
|
|
119
|
+
"minPlanningWorkersForDeep": 1,
|
|
120
|
+
"minPlanningWorkersForMaximum": 1,
|
|
121
|
+
"minExecutionWorkersForDeep": 2,
|
|
122
|
+
"minExecutionWorkersForMaximum": 2,
|
|
123
|
+
"minRepairWorkersForDeep": 2,
|
|
124
|
+
"minRepairWorkersForMaximum": 2,
|
|
125
|
+
"minReviewWorkersForDeep": 2,
|
|
126
|
+
"minReviewWorkersForMaximum": 2,
|
|
127
|
+
"minValidationWorkersForDeep": 2,
|
|
128
|
+
"minValidationWorkersForMaximum": 2
|
|
129
|
+
},
|
|
130
|
+
"statusWidgetVisible": true,
|
|
131
|
+
"useSharedExecutorModel": true,
|
|
132
|
+
"useStandardSpecificModels": false,
|
|
133
|
+
"modelRole": "executor",
|
|
134
|
+
"models": {
|
|
135
|
+
"planner": {
|
|
136
|
+
"enabled": true,
|
|
137
|
+
"provider": null,
|
|
138
|
+
"model": null,
|
|
139
|
+
"thinkingLevel": "medium"
|
|
140
|
+
},
|
|
141
|
+
"executor": {
|
|
142
|
+
"enabled": true,
|
|
143
|
+
"provider": null,
|
|
144
|
+
"model": null,
|
|
145
|
+
"thinkingLevel": "medium"
|
|
146
|
+
},
|
|
147
|
+
"reviewer": {
|
|
148
|
+
"enabled": true,
|
|
149
|
+
"provider": null,
|
|
150
|
+
"model": null,
|
|
151
|
+
"thinkingLevel": "xhigh"
|
|
152
|
+
},
|
|
153
|
+
"validator": {
|
|
154
|
+
"enabled": true,
|
|
155
|
+
"provider": null,
|
|
156
|
+
"model": null,
|
|
157
|
+
"thinkingLevel": "xhigh"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"missions": {
|
|
162
|
+
"enabled": true,
|
|
163
|
+
"defaultAutonomy": "approval_gated",
|
|
164
|
+
"maxRuntimeHours": 8,
|
|
165
|
+
"checkpointIntervalMinutes": 30,
|
|
166
|
+
"requireApprovalForDestructiveActions": true,
|
|
167
|
+
"requireValidationPerMilestone": true,
|
|
168
|
+
"autoResume": false,
|
|
169
|
+
"allowFullAuto": false,
|
|
170
|
+
"autoRunAfterApproval": true,
|
|
171
|
+
"offerReviewerBeforeApprove": false,
|
|
172
|
+
"autoRunReviewerBeforeApprove": false,
|
|
173
|
+
"autoRepairReviewFailures": false,
|
|
174
|
+
"reviewRetryMode": "off",
|
|
175
|
+
"maxReviewRetriesPerMission": 0,
|
|
176
|
+
"continueAcrossMilestones": true,
|
|
177
|
+
"pauseBetweenMilestones": false,
|
|
178
|
+
"progressWidgetEnabled": true,
|
|
179
|
+
"progressOutputMode": "compact",
|
|
180
|
+
"showProgressBar": true,
|
|
181
|
+
"heartbeatEnabled": true,
|
|
182
|
+
"watchdogEnabled": false,
|
|
183
|
+
"watchdogStaleMinutes": 30,
|
|
184
|
+
"autoRepairValidationFailures": true,
|
|
185
|
+
"maxValidationRetriesPerMilestone": 2,
|
|
186
|
+
"maxValidationRetriesPerMission": 8,
|
|
187
|
+
"validationRetryMode": "safe_only",
|
|
188
|
+
"pauseAfterValidationFailure": false,
|
|
189
|
+
"requireApprovalForOutOfScopeRepair": true,
|
|
190
|
+
"requireApprovalForDestructiveRepair": true,
|
|
191
|
+
"finalValidationEnabled": false,
|
|
192
|
+
"finalValidationRequiresPass": true,
|
|
193
|
+
"autoRepairFinalValidationFailures": false,
|
|
194
|
+
"maxFinalValidationRetries": 1,
|
|
195
|
+
"clarificationMode": "always_for_nontrivial",
|
|
196
|
+
"interactiveClarificationEnabled": true,
|
|
197
|
+
"maxClarificationQuestions": 4,
|
|
198
|
+
"planningDepth": "deep",
|
|
199
|
+
"subagentPolicy": "forced",
|
|
200
|
+
"minWorkersForDeep": 1,
|
|
201
|
+
"minWorkersForMaximum": 1,
|
|
202
|
+
"useMissionSpecificModels": false,
|
|
203
|
+
"models": {
|
|
204
|
+
"planner": {
|
|
205
|
+
"enabled": true,
|
|
206
|
+
"provider": null,
|
|
207
|
+
"model": null,
|
|
208
|
+
"thinkingLevel": "medium"
|
|
209
|
+
},
|
|
210
|
+
"executor": {
|
|
211
|
+
"enabled": true,
|
|
212
|
+
"provider": null,
|
|
213
|
+
"model": null,
|
|
214
|
+
"thinkingLevel": "medium"
|
|
215
|
+
},
|
|
216
|
+
"reviewer": {
|
|
217
|
+
"enabled": true,
|
|
218
|
+
"provider": null,
|
|
219
|
+
"model": null,
|
|
220
|
+
"thinkingLevel": "xhigh"
|
|
221
|
+
},
|
|
222
|
+
"validator": {
|
|
223
|
+
"enabled": true,
|
|
224
|
+
"provider": null,
|
|
225
|
+
"model": null,
|
|
226
|
+
"thinkingLevel": "xhigh"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"clarificationTiming": "after_initial_analysis",
|
|
230
|
+
"clarificationQualityGate": true,
|
|
231
|
+
"allowClarificationWithoutAnalysis": false,
|
|
232
|
+
"useSubagentsBeforeClarification": true
|
|
233
|
+
},
|
|
234
|
+
"safety": {
|
|
235
|
+
"repoLockEnabled": false,
|
|
236
|
+
"disableBashInPlanMode": true,
|
|
237
|
+
"disableBashInValidatorMode": true,
|
|
238
|
+
"blockDestructiveCommands": true
|
|
239
|
+
},
|
|
240
|
+
"ui": {
|
|
241
|
+
"showWorkflowStatus": true,
|
|
242
|
+
"showPlanModeIndicator": true,
|
|
243
|
+
"planModeIndicatorText": "PLAN MODE ACTIVE - enter your planning request, or use /plan cancel to exit",
|
|
244
|
+
"enableHotkeys": false,
|
|
245
|
+
"planTopWidgetVisible": true,
|
|
246
|
+
"planBottomWidgetVisible": true,
|
|
247
|
+
"missionTopWidgetVisible": true,
|
|
248
|
+
"missionBottomWidgetVisible": true,
|
|
249
|
+
"rememberWidgetVisibility": true,
|
|
250
|
+
"enableWidgetShortcuts": true,
|
|
251
|
+
"showIdleWorkflowEntryHint": true,
|
|
252
|
+
"showActiveWorkflowSwitchHint": true,
|
|
253
|
+
"showWidgetShortcutHint": true,
|
|
254
|
+
"showPresetShortcutHint": true,
|
|
255
|
+
"workflowTheme": "aurora",
|
|
256
|
+
"workflowThemeOverrides": {},
|
|
257
|
+
"startupVisual": "mission_control",
|
|
258
|
+
"startupLogo": "pi",
|
|
259
|
+
"startupLogoText": "",
|
|
260
|
+
"startupLogoFont": "block",
|
|
261
|
+
"startupLogoShadowDirection": "down_right",
|
|
262
|
+
"startupLogoColorStyle": "theme",
|
|
263
|
+
"startupVisualOnSessionStart": true,
|
|
264
|
+
"customBrandEnabled": false,
|
|
265
|
+
"customBrandText": "",
|
|
266
|
+
"customBrandBaseVisual": "mission_control"
|
|
267
|
+
},
|
|
268
|
+
"shortcuts": {
|
|
269
|
+
"planMode": null
|
|
270
|
+
},
|
|
271
|
+
"subagents": {
|
|
272
|
+
"enabled": true,
|
|
273
|
+
"activityIndicatorEnabled": true,
|
|
274
|
+
"requireApprovalBeforeRun": false,
|
|
275
|
+
"autoUseDuringPlanning": true,
|
|
276
|
+
"autoUseDuringExecution": true,
|
|
277
|
+
"autoUseDuringRepair": true,
|
|
278
|
+
"autoUseDuringReview": true,
|
|
279
|
+
"autoUseDuringValidation": true,
|
|
280
|
+
"planningPolicy": "forced",
|
|
281
|
+
"executionPolicy": "forced",
|
|
282
|
+
"repairPolicy": "forced",
|
|
283
|
+
"reviewPolicy": "forced",
|
|
284
|
+
"validationPolicy": "forced",
|
|
285
|
+
"minPlanningWorkersForDeep": 1,
|
|
286
|
+
"minPlanningWorkersForMaximum": 1,
|
|
287
|
+
"minExecutionWorkersForDeep": 2,
|
|
288
|
+
"minExecutionWorkersForMaximum": 2,
|
|
289
|
+
"minRepairWorkersForDeep": 2,
|
|
290
|
+
"minRepairWorkersForMaximum": 2,
|
|
291
|
+
"minReviewWorkersForDeep": 2,
|
|
292
|
+
"minReviewWorkersForMaximum": 2,
|
|
293
|
+
"minValidationWorkersForDeep": 2,
|
|
294
|
+
"minValidationWorkersForMaximum": 2,
|
|
295
|
+
"allowParallelReadOnly": true,
|
|
296
|
+
"allowParallelPlanning": true,
|
|
297
|
+
"allowParallelExecution": true,
|
|
298
|
+
"allowParallelRepair": true,
|
|
299
|
+
"allowParallelReview": true,
|
|
300
|
+
"allowParallelValidation": true,
|
|
301
|
+
"allowParallelEdits": false,
|
|
302
|
+
"editConcurrencyMode": "sequential",
|
|
303
|
+
"requireParallelEditConflictProtection": true,
|
|
304
|
+
"planningOrchestrationPolicy": "orchestrator_first",
|
|
305
|
+
"subagentTimeoutMinutes": 20,
|
|
306
|
+
"subagentStaleMinutes": 8
|
|
307
|
+
},
|
|
308
|
+
"planning": {
|
|
309
|
+
"clarificationMode": "auto",
|
|
310
|
+
"maxClarificationQuestions": 3,
|
|
311
|
+
"interactiveClarificationEnabled": true,
|
|
312
|
+
"depth": "standard",
|
|
313
|
+
"clarificationTiming": "after_initial_analysis",
|
|
314
|
+
"clarificationQualityGate": true,
|
|
315
|
+
"allowClarificationWithoutAnalysis": false,
|
|
316
|
+
"useSubagentsBeforeClarification": true
|
|
317
|
+
},
|
|
318
|
+
"context": {
|
|
319
|
+
"compactionMode": "pi_default",
|
|
320
|
+
"compactionModelProvider": "",
|
|
321
|
+
"compactionModel": "",
|
|
322
|
+
"compactionAgent": "",
|
|
323
|
+
"customCompactionEnabled": false,
|
|
324
|
+
"autoCompactionEnabled": false,
|
|
325
|
+
"compactionTriggerPercent": 85,
|
|
326
|
+
"compactionCooldownMinutes": 5,
|
|
327
|
+
"customCompactionReserveTokens": 16384,
|
|
328
|
+
"customCompactionKeepRecentTokens": 20000,
|
|
329
|
+
"workflowCompactionCheckMode": "boundary"
|
|
330
|
+
},
|
|
331
|
+
"presets": {
|
|
332
|
+
"activePreset": "custom",
|
|
333
|
+
"items": {}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="144" height="42" viewBox="0 0 144 42" role="img" aria-label="Commands">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0" stop-color="#781d6b"/>
|
|
5
|
+
<stop offset="1" stop-color="#217598"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect x="1" y="1" width="142" height="40" rx="20" fill="url(#g)" stroke="#1a3c57" stroke-width="2"/>
|
|
9
|
+
<text x="72.0" y="27" text-anchor="middle" font-family="Arial, Helvetica, sans-serif" font-size="16" font-weight="700" fill="#ffffff">Commands</text>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="112" height="42" viewBox="0 0 112 42" role="img" aria-label="Install">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0" stop-color="#781d6b"/>
|
|
5
|
+
<stop offset="1" stop-color="#217598"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect x="1" y="1" width="110" height="40" rx="20" fill="url(#g)" stroke="#1a3c57" stroke-width="2"/>
|
|
9
|
+
<text x="56.0" y="27" text-anchor="middle" font-family="Arial, Helvetica, sans-serif" font-size="16" font-weight="700" fill="#ffffff">Install</text>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="156" height="42" viewBox="0 0 156 42" role="img" aria-label="Quick Start">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0" stop-color="#781d6b"/>
|
|
5
|
+
<stop offset="1" stop-color="#217598"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect x="1" y="1" width="154" height="40" rx="20" fill="url(#g)" stroke="#1a3c57" stroke-width="2"/>
|
|
9
|
+
<text x="78.0" y="27" text-anchor="middle" font-family="Arial, Helvetica, sans-serif" font-size="16" font-weight="700" fill="#ffffff">Quick Start</text>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="126" height="42" viewBox="0 0 126 42" role="img" aria-label="Settings">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0" stop-color="#781d6b"/>
|
|
5
|
+
<stop offset="1" stop-color="#217598"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect x="1" y="1" width="124" height="40" rx="20" fill="url(#g)" stroke="#1a3c57" stroke-width="2"/>
|
|
9
|
+
<text x="63.0" y="27" text-anchor="middle" font-family="Arial, Helvetica, sans-serif" font-size="16" font-weight="700" fill="#ffffff">Settings</text>
|
|
10
|
+
</svg>
|