rosettify 2.4.1 → 2.4.4
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/LICENSE +107 -32
- package/dist/commands/plan/templates/create/for-orchestrator.d.ts +6 -14
- package/dist/commands/plan/templates/create/for-orchestrator.d.ts.map +1 -1
- package/dist/commands/plan/templates/create/for-orchestrator.js +6 -16
- package/dist/commands/plan/templates/create/for-orchestrator.js.map +1 -1
- package/dist/commands/plan/templates/index.d.ts +12 -24
- package/dist/commands/plan/templates/index.d.ts.map +1 -1
- package/dist/commands/plan/templates/upsert/for-subagent.d.ts +6 -10
- package/dist/commands/plan/templates/upsert/for-subagent.d.ts.map +1 -1
- package/dist/commands/plan/templates/upsert/for-subagent.js +6 -11
- package/dist/commands/plan/templates/upsert/for-subagent.js.map +1 -1
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
Apache License
|
|
2
3
|
Version 2.0, January 2004
|
|
3
4
|
http://www.apache.org/licenses/
|
|
@@ -32,22 +33,36 @@
|
|
|
32
33
|
not limited to compiled object code, generated documentation,
|
|
33
34
|
and conversions to other media types.
|
|
34
35
|
|
|
35
|
-
"Work" shall mean the work of authorship
|
|
36
|
-
the License, as indicated by a
|
|
37
|
-
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
38
40
|
|
|
39
41
|
"Derivative Works" shall mean any work, whether in Source or Object
|
|
40
42
|
form, that is based on (or derived from) the Work and for which the
|
|
41
|
-
editorial revisions, annotations, elaborations, or other
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by the Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
51
66
|
|
|
52
67
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
53
68
|
this License, each Contributor hereby grants to You a perpetual,
|
|
@@ -63,55 +78,115 @@
|
|
|
63
78
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
64
79
|
where such license applies only to those patent claims licensable
|
|
65
80
|
by such Contributor that are necessarily infringed by their
|
|
66
|
-
Contribution(s) alone or by
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
67
89
|
|
|
68
90
|
4. Redistribution. You may reproduce and distribute copies of the
|
|
69
91
|
Work or Derivative Works thereof in any medium, with or without
|
|
70
92
|
modifications, and in Source or Object form, provided that You
|
|
71
93
|
meet the following conditions:
|
|
72
94
|
|
|
73
|
-
(a) You must give any other recipients of the Work or
|
|
74
|
-
Works a copy of this License; and
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
75
97
|
|
|
76
98
|
(b) You must cause any modified files to carry prominent notices
|
|
77
99
|
stating that You changed the files; and
|
|
78
100
|
|
|
79
|
-
(c) You must retain, in
|
|
80
|
-
copyright, patent, trademark, and
|
|
81
|
-
the Source form of the Work,
|
|
82
|
-
do not pertain to any part of
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
83
106
|
|
|
84
107
|
(d) If the Work includes a "NOTICE" text file as part of its
|
|
85
|
-
distribution,
|
|
86
|
-
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding any notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
87
130
|
|
|
88
131
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
89
132
|
any Contribution intentionally submitted for inclusion in the Work
|
|
90
133
|
by You to the Licensor shall be under the terms and conditions of
|
|
91
134
|
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
92
138
|
|
|
93
139
|
6. Trademarks. This License does not grant permission to use the trade
|
|
94
140
|
names, trademarks, service marks, or product names of the Licensor,
|
|
95
|
-
except as required for reasonable and customary use in describing
|
|
96
|
-
the
|
|
97
|
-
|
|
98
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
99
|
-
to in writing, Licensor provides the Work
|
|
100
|
-
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
101
153
|
|
|
102
154
|
8. Limitation of Liability. In no event and under no legal theory,
|
|
103
155
|
whether in tort (including negligence), contract, or otherwise,
|
|
104
|
-
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
105
165
|
|
|
106
166
|
9. Accepting Warranty or Additional Liability. While redistributing
|
|
107
167
|
the Work or Derivative Works thereof, You may choose to offer,
|
|
108
168
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
109
|
-
or other liability obligations
|
|
110
|
-
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
111
176
|
|
|
112
177
|
END OF TERMS AND CONDITIONS
|
|
113
178
|
|
|
114
|
-
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. Please also get an OpenPGP
|
|
186
|
+
key ID from a public key server for your project and add it
|
|
187
|
+
to the NOTICE file, if you have one.
|
|
188
|
+
|
|
189
|
+
Copyright 2025-present Grid Dynamics Holdings, Inc.
|
|
115
190
|
|
|
116
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
117
192
|
you may not use this file except in compliance with the License.
|
|
@@ -7,7 +7,7 @@ export declare const forOrchestrator: {
|
|
|
7
7
|
readonly name: "for-orchestrator";
|
|
8
8
|
readonly brief: "Bootstrap a new plan with the Rosetta orchestrator preparation phase.";
|
|
9
9
|
readonly placeholders: readonly ["plan-name", "plan-description"];
|
|
10
|
-
readonly produces: "A new plan with one preparation phase (ph-prep) of
|
|
10
|
+
readonly produces: "A new plan with one preparation phase (ph-prep) of 3 Rosetta orchestrator bootstrap steps.";
|
|
11
11
|
readonly content: {
|
|
12
12
|
readonly name: "[plan-name]";
|
|
13
13
|
readonly description: "[plan-description]";
|
|
@@ -18,25 +18,17 @@ export declare const forOrchestrator: {
|
|
|
18
18
|
readonly description: "Mandatory Rosetta preparation steps for the orchestrator. Execute every step sequentially. No skipping.";
|
|
19
19
|
readonly depends_on: readonly [];
|
|
20
20
|
readonly steps: readonly [{
|
|
21
|
-
readonly id: "ph-prep-s-load-context-instructions";
|
|
22
|
-
readonly name: "Load bootstrap context";
|
|
23
|
-
readonly prompt: "USE SKILL `load-context-instructions`. Execute ALL returned prep steps.";
|
|
24
|
-
}, {
|
|
25
21
|
readonly id: "ph-prep-s-read-docs";
|
|
26
22
|
readonly name: "Read project context";
|
|
27
|
-
readonly prompt: "USE SKILL `load-context` as the canonical current context loader. The skill is required even when its expected outputs already look satisfied.";
|
|
28
|
-
}, {
|
|
29
|
-
readonly id: "ph-prep-s-orchestrator-contract";
|
|
30
|
-
readonly name: "Load orchestrator contract";
|
|
31
|
-
readonly prompt: "MUST USE SKILL `orchestrator-contract` as first action before dispatching any subagents. MUST USE SKILL `hitl` unless explicitly requested in prompt with exactly `No HITL`.";
|
|
23
|
+
readonly prompt: "USE SKILL `load-project-context` as the canonical current context loader. The skill is required even when its expected outputs already look satisfied.";
|
|
32
24
|
}, {
|
|
33
|
-
readonly id: "ph-prep-s-
|
|
34
|
-
readonly name: "Load
|
|
35
|
-
readonly prompt: "MUST USE SKILL `
|
|
25
|
+
readonly id: "ph-prep-s-orchestration";
|
|
26
|
+
readonly name: "Load orchestration";
|
|
27
|
+
readonly prompt: "MUST USE SKILL `orchestration` before dispatching any subagents. MUST USE SKILL `hitl` unless explicitly requested in prompt with exactly `No HITL`.";
|
|
36
28
|
}, {
|
|
37
29
|
readonly id: "ph-prep-s-add-workflow-phases";
|
|
38
30
|
readonly name: "Add workflow phases";
|
|
39
|
-
readonly prompt: "Add
|
|
31
|
+
readonly prompt: "Add phases from the active workflow (the one the user invoked), if any, into this plan — one plan phase per workflow phase, each with dedicated, detailed, and specific steps; no active workflow → derive phases directly from the request. Must add phase to identify request size after initial discovery. Include state-restore and resume steps if applicable.";
|
|
40
32
|
}];
|
|
41
33
|
}];
|
|
42
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"for-orchestrator.d.ts","sourceRoot":"","sources":["../../../../../src/commands/plan/templates/create/for-orchestrator.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"for-orchestrator.d.ts","sourceRoot":"","sources":["../../../../../src/commands/plan/templates/create/for-orchestrator.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmClB,CAAC"}
|
|
@@ -9,7 +9,7 @@ export const forOrchestrator = {
|
|
|
9
9
|
name: "for-orchestrator",
|
|
10
10
|
brief: "Bootstrap a new plan with the Rosetta orchestrator preparation phase.",
|
|
11
11
|
placeholders: ["plan-name", "plan-description"],
|
|
12
|
-
produces: "A new plan with one preparation phase (ph-prep) of
|
|
12
|
+
produces: "A new plan with one preparation phase (ph-prep) of 3 Rosetta orchestrator bootstrap steps.",
|
|
13
13
|
content: {
|
|
14
14
|
name: "[plan-name]",
|
|
15
15
|
description: "[plan-description]",
|
|
@@ -21,30 +21,20 @@ export const forOrchestrator = {
|
|
|
21
21
|
description: "Mandatory Rosetta preparation steps for the orchestrator. Execute every step sequentially. No skipping.",
|
|
22
22
|
depends_on: [],
|
|
23
23
|
steps: [
|
|
24
|
-
{
|
|
25
|
-
id: "ph-prep-s-load-context-instructions",
|
|
26
|
-
name: "Load bootstrap context",
|
|
27
|
-
prompt: "USE SKILL `load-context-instructions`. Execute ALL returned prep steps.",
|
|
28
|
-
},
|
|
29
24
|
{
|
|
30
25
|
id: "ph-prep-s-read-docs",
|
|
31
26
|
name: "Read project context",
|
|
32
|
-
prompt: "USE SKILL `load-context` as the canonical current context loader. The skill is required even when its expected outputs already look satisfied.",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
id: "ph-prep-s-orchestrator-contract",
|
|
36
|
-
name: "Load orchestrator contract",
|
|
37
|
-
prompt: "MUST USE SKILL `orchestrator-contract` as first action before dispatching any subagents. MUST USE SKILL `hitl` unless explicitly requested in prompt with exactly `No HITL`.",
|
|
27
|
+
prompt: "USE SKILL `load-project-context` as the canonical current context loader. The skill is required even when its expected outputs already look satisfied.",
|
|
38
28
|
},
|
|
39
29
|
{
|
|
40
|
-
id: "ph-prep-s-
|
|
41
|
-
name: "Load
|
|
42
|
-
prompt: "MUST USE SKILL `
|
|
30
|
+
id: "ph-prep-s-orchestration",
|
|
31
|
+
name: "Load orchestration",
|
|
32
|
+
prompt: "MUST USE SKILL `orchestration` before dispatching any subagents. MUST USE SKILL `hitl` unless explicitly requested in prompt with exactly `No HITL`.",
|
|
43
33
|
},
|
|
44
34
|
{
|
|
45
35
|
id: "ph-prep-s-add-workflow-phases",
|
|
46
36
|
name: "Add workflow phases",
|
|
47
|
-
prompt: "Add
|
|
37
|
+
prompt: "Add phases from the active workflow (the one the user invoked), if any, into this plan — one plan phase per workflow phase, each with dedicated, detailed, and specific steps; no active workflow → derive phases directly from the request. Must add phase to identify request size after initial discovery. Include state-restore and resume steps if applicable.",
|
|
48
38
|
},
|
|
49
39
|
],
|
|
50
40
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"for-orchestrator.js","sourceRoot":"","sources":["../../../../../src/commands/plan/templates/create/for-orchestrator.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,2GAA2G;AAE3G;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE,uEAAuE;IAC9E,YAAY,EAAE,CAAC,WAAW,EAAE,kBAAkB,CAAU;IACxD,QAAQ,EAAE,4FAA4F;IACtG,OAAO,EAAE;QACP,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,oBAAoB;QACjC,gBAAgB,EAAE,IAAI;QACtB,MAAM,EAAE;YACN;gBACE,EAAE,EAAE,SAAS;gBACb,IAAI,EAAE,aAAa;gBACnB,WAAW,EAAE,yGAAyG;gBACtH,UAAU,EAAE,EAAE;gBACd,KAAK,EAAE;oBACL;wBACE,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"for-orchestrator.js","sourceRoot":"","sources":["../../../../../src/commands/plan/templates/create/for-orchestrator.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,2GAA2G;AAE3G;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE,uEAAuE;IAC9E,YAAY,EAAE,CAAC,WAAW,EAAE,kBAAkB,CAAU;IACxD,QAAQ,EAAE,4FAA4F;IACtG,OAAO,EAAE;QACP,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,oBAAoB;QACjC,gBAAgB,EAAE,IAAI;QACtB,MAAM,EAAE;YACN;gBACE,EAAE,EAAE,SAAS;gBACb,IAAI,EAAE,aAAa;gBACnB,WAAW,EAAE,yGAAyG;gBACtH,UAAU,EAAE,EAAE;gBACd,KAAK,EAAE;oBACL;wBACE,EAAE,EAAE,qBAAqB;wBACzB,IAAI,EAAE,sBAAsB;wBAC5B,MAAM,EAAE,wJAAwJ;qBACjK;oBACD;wBACE,EAAE,EAAE,yBAAyB;wBAC7B,IAAI,EAAE,oBAAoB;wBAC1B,MAAM,EAAE,sJAAsJ;qBAC/J;oBACD;wBACE,EAAE,EAAE,+BAA+B;wBACnC,IAAI,EAAE,qBAAqB;wBAC3B,MAAM,EAAC,qWAAqW;qBAC7W;iBACF;aACF;SACF;KACF;CACO,CAAC"}
|
|
@@ -3,7 +3,7 @@ export declare const createTemplates: {
|
|
|
3
3
|
readonly name: "for-orchestrator";
|
|
4
4
|
readonly brief: "Bootstrap a new plan with the Rosetta orchestrator preparation phase.";
|
|
5
5
|
readonly placeholders: readonly ["plan-name", "plan-description"];
|
|
6
|
-
readonly produces: "A new plan with one preparation phase (ph-prep) of
|
|
6
|
+
readonly produces: "A new plan with one preparation phase (ph-prep) of 3 Rosetta orchestrator bootstrap steps.";
|
|
7
7
|
readonly content: {
|
|
8
8
|
readonly name: "[plan-name]";
|
|
9
9
|
readonly description: "[plan-description]";
|
|
@@ -14,25 +14,17 @@ export declare const createTemplates: {
|
|
|
14
14
|
readonly description: "Mandatory Rosetta preparation steps for the orchestrator. Execute every step sequentially. No skipping.";
|
|
15
15
|
readonly depends_on: readonly [];
|
|
16
16
|
readonly steps: readonly [{
|
|
17
|
-
readonly id: "ph-prep-s-load-context-instructions";
|
|
18
|
-
readonly name: "Load bootstrap context";
|
|
19
|
-
readonly prompt: "USE SKILL `load-context-instructions`. Execute ALL returned prep steps.";
|
|
20
|
-
}, {
|
|
21
17
|
readonly id: "ph-prep-s-read-docs";
|
|
22
18
|
readonly name: "Read project context";
|
|
23
|
-
readonly prompt: "USE SKILL `load-context` as the canonical current context loader. The skill is required even when its expected outputs already look satisfied.";
|
|
24
|
-
}, {
|
|
25
|
-
readonly id: "ph-prep-s-orchestrator-contract";
|
|
26
|
-
readonly name: "Load orchestrator contract";
|
|
27
|
-
readonly prompt: "MUST USE SKILL `orchestrator-contract` as first action before dispatching any subagents. MUST USE SKILL `hitl` unless explicitly requested in prompt with exactly `No HITL`.";
|
|
19
|
+
readonly prompt: "USE SKILL `load-project-context` as the canonical current context loader. The skill is required even when its expected outputs already look satisfied.";
|
|
28
20
|
}, {
|
|
29
|
-
readonly id: "ph-prep-s-
|
|
30
|
-
readonly name: "Load
|
|
31
|
-
readonly prompt: "MUST USE SKILL `
|
|
21
|
+
readonly id: "ph-prep-s-orchestration";
|
|
22
|
+
readonly name: "Load orchestration";
|
|
23
|
+
readonly prompt: "MUST USE SKILL `orchestration` before dispatching any subagents. MUST USE SKILL `hitl` unless explicitly requested in prompt with exactly `No HITL`.";
|
|
32
24
|
}, {
|
|
33
25
|
readonly id: "ph-prep-s-add-workflow-phases";
|
|
34
26
|
readonly name: "Add workflow phases";
|
|
35
|
-
readonly prompt: "Add
|
|
27
|
+
readonly prompt: "Add phases from the active workflow (the one the user invoked), if any, into this plan — one plan phase per workflow phase, each with dedicated, detailed, and specific steps; no active workflow → derive phases directly from the request. Must add phase to identify request size after initial discovery. Include state-restore and resume steps if applicable.";
|
|
36
28
|
}];
|
|
37
29
|
}];
|
|
38
30
|
};
|
|
@@ -41,26 +33,22 @@ export declare const createTemplates: {
|
|
|
41
33
|
export declare const upsertTemplates: {
|
|
42
34
|
readonly "for-subagent": {
|
|
43
35
|
readonly name: "for-subagent";
|
|
44
|
-
readonly brief: "Bootstrap a subagent preparation phase with standard Rosetta
|
|
36
|
+
readonly brief: "Bootstrap a subagent preparation phase with standard Rosetta prep steps.";
|
|
45
37
|
readonly placeholders: readonly ["phase-id", "phase-name", "phase-description"];
|
|
46
|
-
readonly produces: "One phase seeded with
|
|
38
|
+
readonly produces: "One phase seeded with 5 Rosetta subagent bootstrap steps, step ids prefixed by the phase id.";
|
|
47
39
|
readonly content: {
|
|
48
40
|
readonly id: "[phase-id]";
|
|
49
41
|
readonly name: "[phase-name]";
|
|
50
42
|
readonly description: "[phase-description]";
|
|
51
43
|
readonly depends_on: readonly [];
|
|
52
44
|
readonly steps: readonly [{
|
|
53
|
-
readonly id: "[phase-id]-s-load-context-instructions";
|
|
54
|
-
readonly name: "Load bootstrap context";
|
|
55
|
-
readonly prompt: "USE SKILL `load-context-instructions`. Execute ALL returned prep steps.";
|
|
56
|
-
}, {
|
|
57
45
|
readonly id: "[phase-id]-s-read-docs";
|
|
58
46
|
readonly name: "Read project context";
|
|
59
|
-
readonly prompt: "USE SKILL `load-context` as the canonical current context loader. The skill is required even when its expected outputs already look satisfied.";
|
|
47
|
+
readonly prompt: "USE SKILL `load-project-context` as the canonical current context loader. The skill is required even when its expected outputs already look satisfied.";
|
|
60
48
|
}, {
|
|
61
|
-
readonly id: "[phase-id]-s-subagent-
|
|
62
|
-
readonly name: "Load subagent
|
|
63
|
-
readonly prompt: "MUST USE SKILL `subagent-
|
|
49
|
+
readonly id: "[phase-id]-s-subagent-directives";
|
|
50
|
+
readonly name: "Load subagent directives";
|
|
51
|
+
readonly prompt: "MUST USE SKILL `subagent-directives` to understand and follow duties, scope boundaries, and escalation protocol.";
|
|
64
52
|
}, {
|
|
65
53
|
readonly id: "[phase-id]-s-execution-planning";
|
|
66
54
|
readonly name: "Plan execution at the task level";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/plan/templates/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/plan/templates/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAElB,CAAC;AAGX,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAElB,CAAC;AAGX,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAGD,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,CAAC;AAE5D,6DAA6D;AAC7D,wBAAgB,oBAAoB,IAAI;IACtC,MAAM,EAAE,wBAAwB,EAAE,CAAC;IACnC,MAAM,EAAE,wBAAwB,EAAE,CAAC;CACpC,CAcA"}
|
|
@@ -6,26 +6,22 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const forSubagent: {
|
|
8
8
|
readonly name: "for-subagent";
|
|
9
|
-
readonly brief: "Bootstrap a subagent preparation phase with standard Rosetta
|
|
9
|
+
readonly brief: "Bootstrap a subagent preparation phase with standard Rosetta prep steps.";
|
|
10
10
|
readonly placeholders: readonly ["phase-id", "phase-name", "phase-description"];
|
|
11
|
-
readonly produces: "One phase seeded with
|
|
11
|
+
readonly produces: "One phase seeded with 5 Rosetta subagent bootstrap steps, step ids prefixed by the phase id.";
|
|
12
12
|
readonly content: {
|
|
13
13
|
readonly id: "[phase-id]";
|
|
14
14
|
readonly name: "[phase-name]";
|
|
15
15
|
readonly description: "[phase-description]";
|
|
16
16
|
readonly depends_on: readonly [];
|
|
17
17
|
readonly steps: readonly [{
|
|
18
|
-
readonly id: "[phase-id]-s-load-context-instructions";
|
|
19
|
-
readonly name: "Load bootstrap context";
|
|
20
|
-
readonly prompt: "USE SKILL `load-context-instructions`. Execute ALL returned prep steps.";
|
|
21
|
-
}, {
|
|
22
18
|
readonly id: "[phase-id]-s-read-docs";
|
|
23
19
|
readonly name: "Read project context";
|
|
24
|
-
readonly prompt: "USE SKILL `load-context` as the canonical current context loader. The skill is required even when its expected outputs already look satisfied.";
|
|
20
|
+
readonly prompt: "USE SKILL `load-project-context` as the canonical current context loader. The skill is required even when its expected outputs already look satisfied.";
|
|
25
21
|
}, {
|
|
26
|
-
readonly id: "[phase-id]-s-subagent-
|
|
27
|
-
readonly name: "Load subagent
|
|
28
|
-
readonly prompt: "MUST USE SKILL `subagent-
|
|
22
|
+
readonly id: "[phase-id]-s-subagent-directives";
|
|
23
|
+
readonly name: "Load subagent directives";
|
|
24
|
+
readonly prompt: "MUST USE SKILL `subagent-directives` to understand and follow duties, scope boundaries, and escalation protocol.";
|
|
29
25
|
}, {
|
|
30
26
|
readonly id: "[phase-id]-s-execution-planning";
|
|
31
27
|
readonly name: "Plan execution at the task level";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"for-subagent.d.ts","sourceRoot":"","sources":["../../../../../src/commands/plan/templates/upsert/for-subagent.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"for-subagent.d.ts","sourceRoot":"","sources":["../../../../../src/commands/plan/templates/upsert/for-subagent.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCd,CAAC"}
|
|
@@ -8,29 +8,24 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export const forSubagent = {
|
|
10
10
|
name: "for-subagent",
|
|
11
|
-
brief: "Bootstrap a subagent preparation phase with standard Rosetta
|
|
11
|
+
brief: "Bootstrap a subagent preparation phase with standard Rosetta prep steps.",
|
|
12
12
|
placeholders: ["phase-id", "phase-name", "phase-description"],
|
|
13
|
-
produces: "One phase seeded with
|
|
13
|
+
produces: "One phase seeded with 5 Rosetta subagent bootstrap steps, step ids prefixed by the phase id.",
|
|
14
14
|
content: {
|
|
15
15
|
id: "[phase-id]",
|
|
16
16
|
name: "[phase-name]",
|
|
17
17
|
description: "[phase-description]",
|
|
18
18
|
depends_on: [],
|
|
19
19
|
steps: [
|
|
20
|
-
{
|
|
21
|
-
id: "[phase-id]-s-load-context-instructions",
|
|
22
|
-
name: "Load bootstrap context",
|
|
23
|
-
prompt: "USE SKILL `load-context-instructions`. Execute ALL returned prep steps.",
|
|
24
|
-
},
|
|
25
20
|
{
|
|
26
21
|
id: "[phase-id]-s-read-docs",
|
|
27
22
|
name: "Read project context",
|
|
28
|
-
prompt: "USE SKILL `load-context` as the canonical current context loader. The skill is required even when its expected outputs already look satisfied.",
|
|
23
|
+
prompt: "USE SKILL `load-project-context` as the canonical current context loader. The skill is required even when its expected outputs already look satisfied.",
|
|
29
24
|
},
|
|
30
25
|
{
|
|
31
|
-
id: "[phase-id]-s-subagent-
|
|
32
|
-
name: "Load subagent
|
|
33
|
-
prompt: "MUST USE SKILL `subagent-
|
|
26
|
+
id: "[phase-id]-s-subagent-directives",
|
|
27
|
+
name: "Load subagent directives",
|
|
28
|
+
prompt: "MUST USE SKILL `subagent-directives` to understand and follow duties, scope boundaries, and escalation protocol.",
|
|
34
29
|
},
|
|
35
30
|
{
|
|
36
31
|
id: "[phase-id]-s-execution-planning",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"for-subagent.js","sourceRoot":"","sources":["../../../../../src/commands/plan/templates/upsert/for-subagent.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,uGAAuG;AAEvG;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"for-subagent.js","sourceRoot":"","sources":["../../../../../src/commands/plan/templates/upsert/for-subagent.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,uGAAuG;AAEvG;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,0EAA0E;IACjF,YAAY,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,mBAAmB,CAAU;IACtE,QAAQ,EAAE,8FAA8F;IACxG,OAAO,EAAE;QACP,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,cAAc;QACpB,WAAW,EAAE,qBAAqB;QAClC,UAAU,EAAE,EAAE;QACd,KAAK,EAAE;YACL;gBACE,EAAE,EAAE,wBAAwB;gBAC5B,IAAI,EAAE,sBAAsB;gBAC5B,MAAM,EAAE,wJAAwJ;aACjK;YACD;gBACE,EAAE,EAAE,kCAAkC;gBACtC,IAAI,EAAE,0BAA0B;gBAChC,MAAM,EAAE,kHAAkH;aAC3H;YACD;gBACE,EAAE,EAAE,iCAAiC;gBACrC,IAAI,EAAE,kCAAkC;gBACxC,MAAM,EAAE,oIAAoI;aAC7I;YACD;gBACE,EAAE,EAAE,4BAA4B;gBAChC,IAAI,EAAE,sCAAsC;gBAC5C,MAAM,EAAE,wGAAwG;aACjH;YACD;gBACE,EAAE,EAAE,mCAAmC;gBACvC,IAAI,EAAE,mCAAmC;gBACzC,MAAM,EAAE,yGAAyG;aAClH;SACF;KACF;CACO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rosettify",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.4",
|
|
4
4
|
"description": "Local utility for Rosetta — manage plans, install agents, and support AI coding workflows via CLI or MCP",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Rosetta Team <rosetta-support@griddynamics.com>",
|