Skip to content

Commit cd936dd

Browse files
SIN-Agentsisyphus-dev-ai
andcommitted
feat: add legacy template set
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
1 parent d05decd commit cd936dd

3 files changed

Lines changed: 495 additions & 0 deletions

File tree

‎templates/agile.json‎

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
{
2+
"$schema": "https://opencode.ai/schemas/plan-v2.json",
3+
"version": "2.1.0",
4+
"id": "plan_YYYY-MM-DD_NNN",
5+
"title": "Agile Plan Template",
6+
"mode": "continuous-planning",
7+
"created": "YYYY-MM-DD",
8+
"updated": "YYYY-MM-DD",
9+
"version_number": 1,
10+
"status": "draft",
11+
"approval_gate": false,
12+
"outcomes": {
13+
"objective": "Ship a small validated improvement quickly.",
14+
"key_results": [
15+
{
16+
"metric": "cycle_time",
17+
"target": "short",
18+
"current": "baseline"
19+
},
20+
{
21+
"metric": "quality_score",
22+
"target": ">=70",
23+
"current": "0"
24+
}
25+
]
26+
},
27+
"current_state": {
28+
"strengths": [],
29+
"weaknesses": [],
30+
"critical_gaps": []
31+
},
32+
"decisions": [],
33+
"assumptions": [],
34+
"phases": [
35+
{
36+
"id": "P1",
37+
"name": "Build",
38+
"priority": "critical",
39+
"tasks": [
40+
{
41+
"id": "P1-T1",
42+
"description": "Implement the smallest useful slice",
43+
"effort": {
44+
"pessimistic": "6h",
45+
"realistic": "3h",
46+
"optimistic": "1h"
47+
},
48+
"dependencies": [],
49+
"validation": "Feature works end to end.",
50+
"owner": "engineer",
51+
"status": "not-started"
52+
}
53+
]
54+
},
55+
{
56+
"id": "P2",
57+
"name": "Verify and Adapt",
58+
"priority": "high",
59+
"tasks": [
60+
{
61+
"id": "P2-T1",
62+
"description": "Verify the change and update the plan if needed",
63+
"effort": {
64+
"pessimistic": "4h",
65+
"realistic": "2h",
66+
"optimistic": "1h"
67+
},
68+
"dependencies": [
69+
"P1-T1"
70+
],
71+
"validation": "Smoke tests and checks pass.",
72+
"owner": "engineer",
73+
"status": "not-started"
74+
}
75+
]
76+
}
77+
],
78+
"dependency_graph": {
79+
"nodes": [
80+
"P1-T1",
81+
"P2-T1"
82+
],
83+
"edges": [
84+
{
85+
"from": "P1-T1",
86+
"to": "P2-T1",
87+
"type": "hard"
88+
}
89+
],
90+
"critical_path": [
91+
"P1-T1",
92+
"P2-T1"
93+
]
94+
},
95+
"risks": [],
96+
"overall_risk_score": 12,
97+
"plan_quality_score": 0,
98+
"rollback_plan": {
99+
"trigger": "The slice regresses or blocks delivery.",
100+
"action": "Revert and re-plan with a smaller slice.",
101+
"max_loss": "Hours, not days."
102+
},
103+
"done_criteria": [
104+
{
105+
"criterion": "Change validated",
106+
"status": "not-met"
107+
},
108+
{
109+
"criterion": "Rollback possible",
110+
"status": "not-met"
111+
}
112+
],
113+
"approvals": [],
114+
"metrics": {
115+
"planned_duration_hours": 0,
116+
"confidence_50": "0h",
117+
"confidence_85": "0h",
118+
"confidence_95": "0h",
119+
"scope_creep_count": 0,
120+
"replan_count": 0
121+
},
122+
"learning": {
123+
"planned_vs_actual": null,
124+
"accuracy_score": null,
125+
"retrospective": null
126+
}
127+
}

‎templates/compliance.json‎

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
{
2+
"$schema": "https://opencode.ai/schemas/plan-v2.json",
3+
"version": "2.1.0",
4+
"id": "plan_YYYY-MM-DD_NNN",
5+
"title": "Compliance Plan Template",
6+
"mode": "plan-only",
7+
"created": "YYYY-MM-DD",
8+
"updated": "YYYY-MM-DD",
9+
"version_number": 1,
10+
"status": "draft",
11+
"approval_gate": true,
12+
"compliance": [
13+
"iso27001",
14+
"sox",
15+
"itil"
16+
],
17+
"outcomes": {
18+
"objective": "Close a control gap with traceable evidence.",
19+
"key_results": [
20+
{
21+
"metric": "control_coverage",
22+
"target": "100%",
23+
"current": "0%"
24+
},
25+
{
26+
"metric": "auditability",
27+
"target": "complete",
28+
"current": "baseline"
29+
}
30+
]
31+
},
32+
"current_state": {
33+
"strengths": [],
34+
"weaknesses": [],
35+
"critical_gaps": []
36+
},
37+
"decisions": [],
38+
"assumptions": [],
39+
"phases": [
40+
{
41+
"id": "P1",
42+
"name": "Assess",
43+
"priority": "critical",
44+
"tasks": [
45+
{
46+
"id": "P1-T1",
47+
"description": "Map the control gap",
48+
"effort": {
49+
"pessimistic": "4h",
50+
"realistic": "2h",
51+
"optimistic": "1h"
52+
},
53+
"dependencies": [],
54+
"validation": "Gap list is complete and reviewable.",
55+
"owner": "engineer",
56+
"status": "not-started"
57+
}
58+
]
59+
},
60+
{
61+
"id": "P2",
62+
"name": "Remediate",
63+
"priority": "high",
64+
"tasks": [
65+
{
66+
"id": "P2-T1",
67+
"description": "Apply the remediation with evidence",
68+
"effort": {
69+
"pessimistic": "8h",
70+
"realistic": "4h",
71+
"optimistic": "2h"
72+
},
73+
"dependencies": [
74+
"P1-T1"
75+
],
76+
"validation": "Evidence exists for the remediation.",
77+
"owner": "engineer",
78+
"status": "not-started"
79+
}
80+
]
81+
}
82+
],
83+
"dependency_graph": {
84+
"nodes": [
85+
"P1-T1",
86+
"P2-T1"
87+
],
88+
"edges": [
89+
{
90+
"from": "P1-T1",
91+
"to": "P2-T1",
92+
"type": "hard"
93+
}
94+
],
95+
"critical_path": [
96+
"P1-T1",
97+
"P2-T1"
98+
]
99+
},
100+
"risks": [
101+
{
102+
"id": "R1",
103+
"description": "Evidence is incomplete.",
104+
"likelihood": 0.3,
105+
"impact": 8,
106+
"score": 2.4,
107+
"mitigation": "Store audit artifacts with every change.",
108+
"owner": "engineer",
109+
"status": "identified"
110+
}
111+
],
112+
"overall_risk_score": 24,
113+
"plan_quality_score": 0,
114+
"rollback_plan": {
115+
"trigger": "The remediation fails audit review.",
116+
"action": "Revert to the last approved baseline and re-plan.",
117+
"max_loss": "Controlled rollback only."
118+
},
119+
"done_criteria": [
120+
{
121+
"criterion": "Control gap mapped",
122+
"status": "not-met"
123+
},
124+
{
125+
"criterion": "Evidence captured",
126+
"status": "not-met"
127+
}
128+
],
129+
"approvals": [
130+
{
131+
"role": "tech-lead",
132+
"status": "pending",
133+
"date": null
134+
}
135+
],
136+
"metrics": {
137+
"planned_duration_hours": 0,
138+
"confidence_50": "0h",
139+
"confidence_85": "0h",
140+
"confidence_95": "0h",
141+
"scope_creep_count": 0,
142+
"replan_count": 0
143+
},
144+
"learning": {
145+
"planned_vs_actual": null,
146+
"accuracy_score": null,
147+
"retrospective": null
148+
}
149+
}

0 commit comments

Comments
 (0)