codex-orchestrator 2.0.15 → 2.0.17
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 +19 -0
- package/README.md +4 -0
- package/dist/src/v2/implementation-report.js +15 -5
- package/dist/src/v2/implementation-report.js.map +1 -1
- package/dist/src/v2/run-issue.d.ts +0 -1
- package/dist/src/v2/run-issue.d.ts.map +1 -1
- package/dist/src/v2/run-issue.js +3 -11
- package/dist/src/v2/run-issue.js.map +1 -1
- package/dist/src/v2/runtime.d.ts +0 -1
- package/dist/src/v2/runtime.d.ts.map +1 -1
- package/dist/src/v2/runtime.js +0 -1
- package/dist/src/v2/runtime.js.map +1 -1
- package/internal-workflow/docs/agents/coding-skill-routing.md +4 -0
- package/internal-workflow/manifest.json +1 -1
- package/internal-workflow/profiles/implementer.toml +1 -1
- package/internal-workflow/schemas/implementation-report-v1.json +1 -1
- package/internal-workflow/skills/code-review/SKILL.md +8 -0
- package/internal-workflow/skills/code-review/evals/evals.json +25 -0
- package/internal-workflow/skills/implement/SKILL.md +8 -4
- package/internal-workflow/skills/implement/evals/evals.json +12 -0
- package/internal-workflow/skills/plan/SKILL.md +25 -3
- package/internal-workflow/skills/plan/evals/evals.json +25 -1
- package/internal-workflow/skills/tickets-orchestrator/SKILL.md +7 -9
- package/internal-workflow/skills/tickets-orchestrator/evals/evals.json +1 -1
- package/internal-workflow/skills/tickets-orchestrator/references/delegate-integrate.md +29 -4
- package/internal-workflow/skills/to-spec/SKILL.md +6 -1
- package/internal-workflow/skills/to-spec/evals/evals.json +12 -0
- package/internal-workflow/skills/to-tickets/SKILL.md +53 -14
- package/internal-workflow/skills/to-tickets/agents/openai.yaml +1 -1
- package/internal-workflow/skills/to-tickets/evals/evals.json +44 -2
- package/internal-workflow/skills/to-tickets/references/publishing-details.md +14 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: to-tickets
|
|
3
|
-
description: Compile Plan's contextual PRD draft or approved product authority into the smallest executable ticket packet, run
|
|
3
|
+
description: Compile Plan's contextual PRD draft or approved product authority into the smallest executable ticket packet, run fresh semantic review per settled revision, obtain one approval, publish serially, verify tracker read-back, and stop before implementation.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# To Tickets
|
|
@@ -15,9 +15,8 @@ ticket contains only its local observable outcome, scope, blockers, proof, and
|
|
|
15
15
|
Parent link. The approved ticket body plus Parent PRD is the final execution
|
|
16
16
|
authority; no later planning pass is inserted.
|
|
17
17
|
|
|
18
|
-
`$to-tickets` owns one fresh
|
|
19
|
-
serialized publication,
|
|
20
|
-
tracker read-back for the complete packet.
|
|
18
|
+
`$to-tickets` owns one fresh reviewer per settled revision, one explicit user
|
|
19
|
+
approval, serialized publication, reconciliation, and tracker read-back.
|
|
21
20
|
|
|
22
21
|
The primary route remains `planning-only` while compiling or publishing these
|
|
23
22
|
artifacts. `ticket-graph` begins only after separate delivery authorization;
|
|
@@ -100,6 +99,14 @@ them exact. Acceptance criteria describe observable outcomes. Freeze an
|
|
|
100
99
|
internal mechanism only when a public contract, ownership boundary, safety
|
|
101
100
|
requirement, or inter-ticket dependency depends on it.
|
|
102
101
|
|
|
102
|
+
Add `Binding implementation decisions` only when two locally valid
|
|
103
|
+
implementations could conflict at a ticket edge, public contract,
|
|
104
|
+
identity/cardinality, persisted or in-flight state, concurrency, shared
|
|
105
|
+
behavior, or Parent proof. Record only confirmed boundary semantics; leave
|
|
106
|
+
private structure to Implement. Omit the section when Parent and existing seams
|
|
107
|
+
already determine the behavior. Return an unconfirmed product choice as a
|
|
108
|
+
Decision Delta and missing technical evidence as blocking discovery.
|
|
109
|
+
|
|
103
110
|
Keep unresolved product decisions with the user and unresolved external or
|
|
104
111
|
technical discovery in a blocking AFK/HITL ticket. If the generated ticket
|
|
105
112
|
would need a later planning artifact, it is not ready to publish.
|
|
@@ -130,14 +137,19 @@ ticket body, plus:
|
|
|
130
137
|
This packet is contextual planning data, not a separately published artifact or
|
|
131
138
|
workflow owner. Do not publish any intermediate PRD.
|
|
132
139
|
|
|
140
|
+
Freeze it only after product decisions, ticket boundaries, and the deletion
|
|
141
|
+
challenge are complete, with every unresolved technical or external gap made
|
|
142
|
+
an explicit blocking discovery outcome. The expected review verdict must be
|
|
143
|
+
`APPROVE`; never use review to finish inventory, decisions, or composition.
|
|
144
|
+
|
|
133
145
|
### 4. Run one fresh semantic packet review
|
|
134
146
|
|
|
135
|
-
For
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
same
|
|
140
|
-
solution and scope conservation.
|
|
147
|
+
For each settled revision composed by `$to-tickets` before approval or
|
|
148
|
+
publication, launch exactly one fresh `standards_reviewer` without history
|
|
149
|
+
(`fork_context=false` on V1; `fork_turns="none"` on V2). Begin with
|
|
150
|
+
`Assigned role: standards_reviewer`, provide the full authority and packet, and
|
|
151
|
+
apply all three lenses in the same activation: source fidelity, ticket
|
|
152
|
+
executability, and minimum solution and scope conservation.
|
|
141
153
|
|
|
142
154
|
- **Source fidelity:** every product claim, decision, scope boundary,
|
|
143
155
|
consequence, and blocker is grounded in the source; no behavior or ownership
|
|
@@ -145,7 +157,9 @@ solution and scope conservation.
|
|
|
145
157
|
- **Ticket executability:** every ticket is a cohesive vertical outcome that a
|
|
146
158
|
fresh implementation context can execute and prove from its body plus the
|
|
147
159
|
Parent PRD; dependencies are real, proof observes the claim, and no later
|
|
148
|
-
planning artifact is required.
|
|
160
|
+
planning artifact is required. Ask whether the implementer can execute it
|
|
161
|
+
without independently choosing product behavior or incompatible system
|
|
162
|
+
semantics; require confirmed binding decisions only when the answer is no.
|
|
149
163
|
- **Minimum solution and scope conservation:** reject Speculative Generality,
|
|
150
164
|
Middle Man indirection, unsupported new or duplicate owners, proof-only
|
|
151
165
|
runtime machinery, acceptance criteria without Parent/user/repository
|
|
@@ -153,12 +167,37 @@ solution and scope conservation.
|
|
|
153
167
|
Prefer deletion or narrowing before adding machinery. The reviewer may not
|
|
154
168
|
introduce a new runtime mechanism merely to make proof more exhaustive.
|
|
155
169
|
|
|
170
|
+
Require public contract detail only when a public boundary, inter-ticket
|
|
171
|
+
contract, or existing invariant requires it. State proof gaps as observable
|
|
172
|
+
obligations; never prescribe a private DTO, schema, service, rule engine, or
|
|
173
|
+
exhaustive internal matrix to close them.
|
|
174
|
+
|
|
175
|
+
Before verdict, traverse each applicable seam:
|
|
176
|
+
|
|
177
|
+
- Parent obligation to owning ticket and proof;
|
|
178
|
+
- producer and consumer across each edge: data, identity/cardinality, state,
|
|
179
|
+
timing, and failure semantics;
|
|
180
|
+
- changed persistence or namespace to existing and in-flight state;
|
|
181
|
+
- reused behavior to equal semantics or an explicit delta;
|
|
182
|
+
- UI promise to its API or DTO source;
|
|
183
|
+
- child-added choice to Parent, user, or repository authority.
|
|
184
|
+
|
|
185
|
+
Return concise evidence for applicable seams and omit `N/A` seams. This is
|
|
186
|
+
review output, not another packet artifact.
|
|
187
|
+
|
|
156
188
|
The reviewer is read-only and returns `APPROVE` or `NEEDS_WORK` with exact
|
|
157
189
|
source/artifact evidence. Capture a non-empty fresh child identity and wait for
|
|
158
190
|
that same child. Do not split the lenses across children and do not launch the
|
|
159
|
-
delivery Standards review.
|
|
160
|
-
|
|
161
|
-
|
|
191
|
+
delivery Standards review. After `NEEDS_WORK`, repair the packet and launch a
|
|
192
|
+
new reviewer without prior review history over the complete revised packet. A
|
|
193
|
+
same-context or findings-only recheck cannot approve. Repeat until the latest
|
|
194
|
+
revision receives one full approval. Missing or failed review blocks
|
|
195
|
+
publication; product-changing repairs return to the user.
|
|
196
|
+
|
|
197
|
+
Before re-review, repair every verified blocker and sweep the complete packet
|
|
198
|
+
for the same defect class. If a blocker exposes unfinished inventory,
|
|
199
|
+
authority, or composition, return to drafting and pass the freeze conditions
|
|
200
|
+
again.
|
|
162
201
|
|
|
163
202
|
### 5. Get one explicit approval
|
|
164
203
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "To Tickets"
|
|
3
3
|
short_description: "Review and publish executable ticket packets"
|
|
4
|
-
default_prompt: "Use $to-tickets to compile
|
|
4
|
+
default_prompt: "Use $to-tickets to compile and fully review each settled packet revision, obtain one approval, publish serially, verify tracker read-back, and stop before implementation."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: false
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"forbidden": ["create duplicate durable planning state", "request another execution artifact"]
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
|
-
"id": "complete-packet-gets-one-
|
|
18
|
+
"id": "complete-packet-gets-one-review-per-revision",
|
|
19
19
|
"prompt": "Prepare a publish-ready PRD and three-ticket graph after Plan passed the combined PRD draft to you.",
|
|
20
|
-
"expected": ["launch one fresh semantic reviewer over
|
|
20
|
+
"expected": ["launch one fresh semantic reviewer over each settled complete revision", "apply source fidelity and ticket executability in that review", "obtain one explicit user approval before publication"],
|
|
21
21
|
"forbidden": ["review the intermediate PRD", "launch separate workflow owners for each lens", "request multiple approvals"]
|
|
22
22
|
},
|
|
23
23
|
{
|
|
@@ -86,6 +86,48 @@
|
|
|
86
86
|
"prompt": "Semantic packet review finds that one acceptance claim is stronger than the available proof seam.",
|
|
87
87
|
"expected": ["narrow the unsupported claim or use an existing proof seam", "prefer deletion or narrowing before adding machinery"],
|
|
88
88
|
"forbidden": ["automatically add middleware", "introduce a framework or runtime mechanism merely for exhaustive proof", "invent custom tooling"]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "simple-ticket-omits-binding-decisions",
|
|
92
|
+
"prompt": "Compile a small approved change whose behavior is already determined by the Parent and an existing public seam.",
|
|
93
|
+
"expected": ["publish the ordinary short executable ticket", "omit Binding implementation decisions"],
|
|
94
|
+
"forbidden": ["add a technical contract", "request another approval", "freeze implementation details"]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "incompatible-semantics-get-minimal-binding-decisions",
|
|
98
|
+
"prompt": "Two implementations could both satisfy the observable criteria but choose incompatible persisted identity and failure semantics across existing runtime paths.",
|
|
99
|
+
"expected": ["record only the necessary confirmed choices under Binding implementation decisions", "state the material implementation freedom"],
|
|
100
|
+
"forbidden": ["write a file-by-file implementation plan", "guess an unconfirmed choice", "add another workflow stage"]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "repair-gets-fresh-full-packet-review",
|
|
104
|
+
"prompt": "Semantic review returns NEEDS_WORK and the packet is repaired before user approval.",
|
|
105
|
+
"expected": ["repair every verified blocker and sweep the complete packet for the same defect class", "pass the settled packet conditions again", "launch one new reviewer without prior review history", "review the complete revised packet", "keep one user approval for the final packet"],
|
|
106
|
+
"forbidden": ["continue with the same reviewer", "approve from a findings-only recheck", "launch multiple reviewers for one revision"]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"id": "private-design-stays-with-implement",
|
|
110
|
+
"prompt": "A settled packet defines observable behavior through existing owners, but semantic review proposes a new DTO, service, exhaustive internal rule matrix, and another ticket for implementation convenience.",
|
|
111
|
+
"expected": ["require public contract detail only when demanded by a public boundary, inter-ticket contract, or existing invariant", "state an observable proof gap without prescribing private runtime design", "leave safe private implementation choices to Implement"],
|
|
112
|
+
"forbidden": ["use credible proof alone to require machinery", "add a private service, rule engine, or internal matrix"]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"id": "cross-ticket-cardinality-must-match",
|
|
116
|
+
"prompt": "A predecessor emits multiple identities while its successor contract consumes one identity.",
|
|
117
|
+
"expected": ["reject the packet until producer and consumer cardinality agree through a minimal confirmed binding decision"],
|
|
118
|
+
"forbidden": ["approve each ticket in isolation", "choose a product outcome without authority"]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "changed-state-covers-existing-work",
|
|
122
|
+
"prompt": "A ticket changes a persisted state contract under an existing namespace while records and jobs may already exist.",
|
|
123
|
+
"expected": ["require an explicit outcome for existing state and in-flight work"],
|
|
124
|
+
"forbidden": ["invent a compatibility layer", "approve only the new-state happy path"]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"id": "ui-promise-requires-data-contract",
|
|
128
|
+
"prompt": "UI acceptance requires dynamic content absent from the proposed API or DTO.",
|
|
129
|
+
"expected": ["reject the packet until an existing or authorized data contract supplies the content"],
|
|
130
|
+
"forbidden": ["let the UI invent the data", "add a new owner solely for proof"]
|
|
89
131
|
}
|
|
90
132
|
]
|
|
91
133
|
}
|
|
@@ -9,6 +9,8 @@ planning artifact. Keep the body local and include only:
|
|
|
9
9
|
- the local observable outcome and acceptance criteria;
|
|
10
10
|
- in-scope and out-of-scope boundaries;
|
|
11
11
|
- confirmed owner/public seam when needed for zero-guess execution;
|
|
12
|
+
- only the confirmed binding implementation decisions needed to prevent
|
|
13
|
+
incompatible interpretations, when any exist;
|
|
12
14
|
- blockers and native dependency links;
|
|
13
15
|
- behavior proof or exact non-TDD proof;
|
|
14
16
|
- AFK/HITL final state, which never authorizes implementation.
|
|
@@ -60,6 +62,16 @@ AFK: `ready-for-agent`; HITL: `ready-for-human`. State does not authorize
|
|
|
60
62
|
implementation.
|
|
61
63
|
```
|
|
62
64
|
|
|
65
|
+
Only when the Parent and existing seam leave incompatible implementations
|
|
66
|
+
possible, insert this short section after `Owner and proof seam`:
|
|
67
|
+
|
|
68
|
+
```md
|
|
69
|
+
## Binding implementation decisions
|
|
70
|
+
|
|
71
|
+
- <only confirmed choice required to prevent incompatible implementations>
|
|
72
|
+
- Implementation freedom: <material choices intentionally left to Implement>
|
|
73
|
+
```
|
|
74
|
+
|
|
63
75
|
## Serialized publication
|
|
64
76
|
|
|
65
77
|
The single current root publisher performs every tracker effect. Do not create
|
|
@@ -100,8 +112,8 @@ approved packet. Verify:
|
|
|
100
112
|
- exact AFK/HITL labels and absence of conflicting planning or delivery state;
|
|
101
113
|
- absence of duplicate or partial packets;
|
|
102
114
|
- every ticket remains executable from its body plus the Parent PRD;
|
|
103
|
-
- the
|
|
104
|
-
no implementation action.
|
|
115
|
+
- the final packet revision has fresh full semantic approval, one user approval,
|
|
116
|
+
and no implementation action.
|
|
105
117
|
|
|
106
118
|
Post-publication read-back is integrity proof. It does not launch another
|
|
107
119
|
semantic reviewer and does not request another approval.
|