@yagni-app/code-staging 1.2.14-staging.2442.1 → 1.2.14-staging.2451.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/dist/extension/pipeline/finish.js +1 -1
- package/dist/extension/pipeline/needsPerson.d.ts +28 -0
- package/dist/extension/pipeline/needsPerson.js +66 -1
- package/dist/extension/pipeline/personas.d.ts +1 -1
- package/dist/extension/pipeline/personas.js +2 -2
- package/dist/extension/pipeline/planOutput.d.ts +22 -0
- package/dist/extension/pipeline/planOutput.js +55 -0
- package/dist/extension/pipeline/sessionLane.d.ts +8 -0
- package/dist/extension/pipeline/sessionLane.js +34 -13
- package/dist/extension/pipeline/stages.d.ts +6 -0
- package/dist/extension/pipeline/stages.js +10 -0
- package/dist/extension/pipeline/ticketPath.d.ts +2 -0
- package/dist/extension/pipeline/ticketPath.js +4 -1
- package/package.json +2 -2
|
@@ -88,7 +88,7 @@ export function commitTitle(ticket, ticketBrief) {
|
|
|
88
88
|
* it, or `## Summary` as the host renders an approved plan into the session's
|
|
89
89
|
* `plan.md` (`renderPlanMarkdown` in the backend's `workItems/planPage.ts`).
|
|
90
90
|
* That file opens with the host's line naming the plan's version ("Plan v1,
|
|
91
|
-
* as
|
|
91
|
+
* as approved."), which is no title: every yak pull request's
|
|
92
92
|
* provenance commit was named after it (#3046, #3051, #3052, #3163).
|
|
93
93
|
*/
|
|
94
94
|
const GOAL_HEADING = /^#+\s*(?:goal|summary)\b/i;
|
|
@@ -21,7 +21,19 @@ export interface AttemptAsk {
|
|
|
21
21
|
evidence: string[];
|
|
22
22
|
/** The ways on it sees, its own first when it has one. */
|
|
23
23
|
options: string[];
|
|
24
|
+
/** Why it stops, when it named a reason the host knows ({@link ASK_REASONS}). */
|
|
25
|
+
reason?: AskReason;
|
|
24
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Why a session stops for a person: the ticket's premise is false, the right
|
|
29
|
+
* change is far larger than the ticket, "Done when" needs a product choice,
|
|
30
|
+
* the plan cannot hold mid-build, a choice that cannot be undone, or a
|
|
31
|
+
* reviewer's item that changes the product beyond the plan.
|
|
32
|
+
*/
|
|
33
|
+
export declare const ASK_REASONS: readonly ["premise_false", "far_larger", "done_when_open", "plan_cannot_hold", "irreversible", "product_change"];
|
|
34
|
+
export type AskReason = (typeof ASK_REASONS)[number];
|
|
35
|
+
/** The reason as written, when the host knows it; null otherwise. */
|
|
36
|
+
export declare function askReasonOf(value: unknown): AskReason | null;
|
|
25
37
|
/** The longest question, the longest evidence or option line, and how many of each. */
|
|
26
38
|
export declare const MAX_ASK_QUESTION_CHARS = 600;
|
|
27
39
|
export declare const MAX_ASK_LINE_CHARS = 400;
|
|
@@ -42,4 +54,20 @@ export declare const NEEDS_PERSON_RULE: (outDir: string) => string;
|
|
|
42
54
|
* out of time) keeps its own stop: that is what a person reads.
|
|
43
55
|
*/
|
|
44
56
|
export declare function withNeedsPerson(attempt: AttemptResult, ask: AttemptAsk | null): AttemptResult;
|
|
57
|
+
/**
|
|
58
|
+
* The file the host names a yak ticket's working style in, beside
|
|
59
|
+
* `ticket.md`, on every turn (`attempts/inputs.ts` in the backend). Absent on
|
|
60
|
+
* a Team that is not a yak, whose turns then read as they always did.
|
|
61
|
+
*/
|
|
62
|
+
export declare const WORKING_STYLE_FILE_NAME = "working-style.json";
|
|
63
|
+
export type SessionWorkingStyle = "check_with_me" | "just_go";
|
|
64
|
+
/** The style the host's file names, or null when it is absent, does not read or names none. */
|
|
65
|
+
export declare function sessionWorkingStyleOf(text: string | null): SessionWorkingStyle | null;
|
|
66
|
+
/**
|
|
67
|
+
* A yak's build, fix or verify turn: when it may stop for a person, by the
|
|
68
|
+
* ticket's working style. Check with me stops for a change of direction, as
|
|
69
|
+
* {@link NEEDS_PERSON_RULE} says; Just go takes the better step and records
|
|
70
|
+
* it. On both, a reviewer's item that changes the product reaches a person.
|
|
71
|
+
*/
|
|
72
|
+
export declare function workingStyleAskRule(style: SessionWorkingStyle, outDir: string, review: boolean): string;
|
|
45
73
|
//# sourceMappingURL=needsPerson.d.ts.map
|
|
@@ -14,6 +14,26 @@
|
|
|
14
14
|
import { join } from "node:path";
|
|
15
15
|
/** The session's ask, beside its report in the output folder. */
|
|
16
16
|
export const NEEDS_PERSON_FILE_NAME = "needs-person.json";
|
|
17
|
+
/**
|
|
18
|
+
* Why a session stops for a person: the ticket's premise is false, the right
|
|
19
|
+
* change is far larger than the ticket, "Done when" needs a product choice,
|
|
20
|
+
* the plan cannot hold mid-build, a choice that cannot be undone, or a
|
|
21
|
+
* reviewer's item that changes the product beyond the plan.
|
|
22
|
+
*/
|
|
23
|
+
export const ASK_REASONS = [
|
|
24
|
+
"premise_false",
|
|
25
|
+
"far_larger",
|
|
26
|
+
"done_when_open",
|
|
27
|
+
"plan_cannot_hold",
|
|
28
|
+
"irreversible",
|
|
29
|
+
"product_change",
|
|
30
|
+
];
|
|
31
|
+
/** The reason as written, when the host knows it; null otherwise. */
|
|
32
|
+
export function askReasonOf(value) {
|
|
33
|
+
return typeof value === "string" && ASK_REASONS.includes(value)
|
|
34
|
+
? value
|
|
35
|
+
: null;
|
|
36
|
+
}
|
|
17
37
|
/** The longest question, the longest evidence or option line, and how many of each. */
|
|
18
38
|
export const MAX_ASK_QUESTION_CHARS = 600;
|
|
19
39
|
export const MAX_ASK_LINE_CHARS = 400;
|
|
@@ -46,7 +66,13 @@ export function parseAttemptAsk(value) {
|
|
|
46
66
|
const question = askLine(raw.question, MAX_ASK_QUESTION_CHARS);
|
|
47
67
|
if (!question)
|
|
48
68
|
return null;
|
|
49
|
-
|
|
69
|
+
const reason = askReasonOf(raw.reason);
|
|
70
|
+
return {
|
|
71
|
+
question,
|
|
72
|
+
evidence: askLines(raw.evidence),
|
|
73
|
+
options: askLines(raw.options),
|
|
74
|
+
...(reason ? { reason } : {}),
|
|
75
|
+
};
|
|
50
76
|
}
|
|
51
77
|
// --- mirrored ask region: end
|
|
52
78
|
/** The ask as the file holds it, or null when the file is missing, does not read or asks nothing. */
|
|
@@ -94,4 +120,43 @@ export function withNeedsPerson(attempt, ask) {
|
|
|
94
120
|
notes: [...attempt.notes, "The session stopped to ask a person; its ask is on this result."],
|
|
95
121
|
};
|
|
96
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* The file the host names a yak ticket's working style in, beside
|
|
125
|
+
* `ticket.md`, on every turn (`attempts/inputs.ts` in the backend). Absent on
|
|
126
|
+
* a Team that is not a yak, whose turns then read as they always did.
|
|
127
|
+
*/
|
|
128
|
+
export const WORKING_STYLE_FILE_NAME = "working-style.json";
|
|
129
|
+
/** The style the host's file names, or null when it is absent, does not read or names none. */
|
|
130
|
+
export function sessionWorkingStyleOf(text) {
|
|
131
|
+
if (!text)
|
|
132
|
+
return null;
|
|
133
|
+
try {
|
|
134
|
+
const style = JSON.parse(text)?.workingStyle;
|
|
135
|
+
return style === "check_with_me" || style === "just_go" ? style : null;
|
|
136
|
+
}
|
|
137
|
+
catch {
|
|
138
|
+
return null;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
/** How a yak's ask is written and what follows it: the same shape as {@link NEEDS_PERSON_RULE}'s, with its reason. */
|
|
142
|
+
const ASK_SHAPE = (outDir) => `write ${join(outDir, NEEDS_PERSON_FILE_NAME)} as JSON: ` +
|
|
143
|
+
'{"question": "<one question a person can answer>", "reason": "<the reason\'s key>", "evidence": ["<file:line, command or query, and what it showed>"], "options": ["<your recommendation first>", "<each other way on>"]}, ' +
|
|
144
|
+
"commit what is done so far, write the report, and end your turn: YAGNI hands the ticket to a person with your ask, and you resume with their answer. No evidence, no stop.";
|
|
145
|
+
/** A reviewer's item that changes the product beyond the plan, on either style. */
|
|
146
|
+
const REVIEW_ASK_RULE = "A review item from a reviewer (Proctor, or any other app) that would change the product beyond the plan, not only the code, is a person's call: stop and ask about it, with reason \"product_change\" and as evidence the item's id and what it would change, instead of marking it needs_person in the outcomes file. An item a person on the Team wrote themselves is their instruction: act on it, and never ask about it.";
|
|
147
|
+
/**
|
|
148
|
+
* A yak's build, fix or verify turn: when it may stop for a person, by the
|
|
149
|
+
* ticket's working style. Check with me stops for a change of direction, as
|
|
150
|
+
* {@link NEEDS_PERSON_RULE} says; Just go takes the better step and records
|
|
151
|
+
* it. On both, a reviewer's item that changes the product reaches a person.
|
|
152
|
+
*/
|
|
153
|
+
export function workingStyleAskRule(style, outDir, review) {
|
|
154
|
+
const reviewRule = review ? ` ${REVIEW_ASK_RULE}` : "";
|
|
155
|
+
if (style === "just_go") {
|
|
156
|
+
return ("This ticket's working style is Just go: no person is asked about the plan while you build. Where the plan cannot hold, take the better step, and record the departure and why in the report's planChanges and in the pull request's description; decide everything else yourself the same way." +
|
|
157
|
+
`${reviewRule}${review ? ` To stop for such an item, ${ASK_SHAPE(outDir)}` : ""}`);
|
|
158
|
+
}
|
|
159
|
+
return ('This ticket\'s working style is Check with me. Stop and ask a person only for a change of direction: the ticket is wrong about the code ("premise_false"), the approved plan cannot hold ("plan_cannot_hold"), the right change is far larger than the ticket ("far_larger"), or a choice that cannot be undone that neither settles ("irreversible"). Never for what a check, a read or a decision record answers: decide anything else yourself and record it.' +
|
|
160
|
+
`${reviewRule} To stop, ${ASK_SHAPE(outDir)}`);
|
|
161
|
+
}
|
|
97
162
|
//# sourceMappingURL=needsPerson.js.map
|
|
@@ -36,7 +36,7 @@ import type { PipelineStage } from "./types.js";
|
|
|
36
36
|
* each fix. Its words never name the harness (the branding scrub rewrites
|
|
37
37
|
* that word) and open with no bullet.
|
|
38
38
|
*/
|
|
39
|
-
export declare const WORK_A_TICKET_SKILL = "---\nname: work-a-ticket\ndescription: How YAGNI works a ticket in one session, from reading it to a committed, honestly reported change. Read, run and plan with options and a recommendation, stop for approval, build the smallest change yourself, run its checks, commit and report.\n---\n\n# How YAGNI works a ticket\n\nYou work one ticket for a Team, in its repository, checked out in your working directory on a machine that is yours for the whole run.
|
|
39
|
+
export declare const WORK_A_TICKET_SKILL = "---\nname: work-a-ticket\ndescription: How YAGNI works a ticket in one session, from reading it to a committed, honestly reported change. Read, run and plan with options and a recommendation, stop for approval, build the smallest change yourself, run its checks, commit and report.\n---\n\n# How YAGNI works a ticket\n\nYou work one ticket for a Team, in its repository, checked out in your working directory on a machine that is yours for the whole run. Your plan is approved before anything is built. YAGNI pushes your commits, opens the pull request, waits for CI and the review, and brings you back with what they asked. Each time YAGNI resumes you, its message says which turn this is and what it needs back. This is a playbook, not a contract: use your judgement, and say what you did.\n\n## 1. Understand the ticket\n\nRead the ticket, its evidence and every image it names, the design, the memo, the checks, the Team's playbook and the Plan line's instructions. Read the code the ticket touches, and send searcher subagents for wide reads, in parallel. Settle facts by running things rather than guessing: the tests, a type check, the app, Docker, a query. Installing what a check needs is fine. Read the decision ledger (team_read with yagni_decisions_read_for_repository) and ask_yagni before you ask a person anything.\n\nCheck the ticket before you build on it. Each thing it states and your plan relies on (a bug, a file, a behaviour, a number) is a premise: check it against the code, the git history or the data, and keep the command, file or query that shows it. A premise you cannot check is marked so, never assumed. Take \"Done when\" from the ticket's acceptance criteria, or write it when the ticket has none. When the check shows the problem is already gone, your plan recommends closing the ticket, with the evidence, instead of a change.\n\n## 2. Plan, then stop\n\nOpen the plan with the ticket check and \"Done when\". Name the files and the steps. Where there is a real choice of approach, give the options, each with what it changes and what it costs, and recommend one. End the turn with the plan in the format the message gives, and stop. Then you review your own plan in this session, round by round, at most four: check it against the ticket and the code, fix what you find in place, and send the whole plan again with the round's verdict. You have no edit or write tool until the plan is approved, and anything you change in tracked files before then is put back.\n\n## 3. Build\n\nThe option the approved plan settled on is binding. The plan's steps are guidance: when the code shows a better step, take it, and record the departure and why. Prefer the smallest change that meets the ticket: no drive-by refactors and no files the ticket does not need. Write the change yourself, in this session, with the ticket, the plan and the code you read in mind. Only when this turn's message names a helper, hand it fully specified chunks of work (the files, the change, the check that proves it) and keep the judgement calls yourself. Run the checks that prove the change. A check that already failed on the unchanged code is not yours to fix; say so.\n\n## 4. Check your own work\n\nBefore you commit, run every check in the repository's CI that your diff can trip, and see each new test fail without your change before it passes with it. Fix what your change breaks. No helper reviews or judges your change: once YAGNI opens the pull request, its review reads the diff.\n\n## 5. Commit and report\n\nCommit on the branch you are on, with clear messages. Never push, never open or edit a pull request, and never change the git identity or config. Write the report the message asks for last, and honestly: each check you ran with its real exit code, what you could not verify and why, and every departure from the plan and why. A check you did not run is not a pass.\n\n## Rules that always hold\n\nNever fabricate a path, a result or a check: \"not found\" and \"not verified\" are answers. Never print, commit or send a token or a variable's value. If the disk fills (\"no space left on device\"), stop and say so; do not delete or prune to go on. Call record_decision only for a consequential product or architecture call the plan did not settle.\n";
|
|
40
40
|
/** Persona body keyed by the agent name referenced in `stages.ts`. */
|
|
41
41
|
export declare const PERSONA_BODIES: Record<string, string>;
|
|
42
42
|
/**
|
|
@@ -87,7 +87,7 @@ description: How YAGNI works a ticket in one session, from reading it to a commi
|
|
|
87
87
|
|
|
88
88
|
# How YAGNI works a ticket
|
|
89
89
|
|
|
90
|
-
You work one ticket for a Team, in its repository, checked out in your working directory on a machine that is yours for the whole run.
|
|
90
|
+
You work one ticket for a Team, in its repository, checked out in your working directory on a machine that is yours for the whole run. Your plan is approved before anything is built. YAGNI pushes your commits, opens the pull request, waits for CI and the review, and brings you back with what they asked. Each time YAGNI resumes you, its message says which turn this is and what it needs back. This is a playbook, not a contract: use your judgement, and say what you did.
|
|
91
91
|
|
|
92
92
|
## 1. Understand the ticket
|
|
93
93
|
|
|
@@ -101,7 +101,7 @@ Open the plan with the ticket check and "Done when". Name the files and the step
|
|
|
101
101
|
|
|
102
102
|
## 3. Build
|
|
103
103
|
|
|
104
|
-
The option the
|
|
104
|
+
The option the approved plan settled on is binding. The plan's steps are guidance: when the code shows a better step, take it, and record the departure and why. Prefer the smallest change that meets the ticket: no drive-by refactors and no files the ticket does not need. Write the change yourself, in this session, with the ticket, the plan and the code you read in mind. Only when this turn's message names a helper, hand it fully specified chunks of work (the files, the change, the check that proves it) and keep the judgement calls yourself. Run the checks that prove the change. A check that already failed on the unchanged code is not yours to fix; say so.
|
|
105
105
|
|
|
106
106
|
## 4. Check your own work
|
|
107
107
|
|
|
@@ -18,6 +18,14 @@
|
|
|
18
18
|
*/
|
|
19
19
|
declare const PLAN_SIZES: readonly ["small", "standard", "complex"];
|
|
20
20
|
type PlanSize = (typeof PLAN_SIZES)[number];
|
|
21
|
+
/** One independent change of a split ticket; mirrors `PlanPiece` in `@yagni/shared`. */
|
|
22
|
+
export interface PlanPiece {
|
|
23
|
+
title: string;
|
|
24
|
+
done: string[];
|
|
25
|
+
paths: string[];
|
|
26
|
+
steps: string[];
|
|
27
|
+
checks: string[];
|
|
28
|
+
}
|
|
21
29
|
/** `plan.json`, version 1, as the host reads it. */
|
|
22
30
|
export interface PlanFile {
|
|
23
31
|
version: 1;
|
|
@@ -64,6 +72,12 @@ export interface PlanFile {
|
|
|
64
72
|
why: string;
|
|
65
73
|
repository?: string;
|
|
66
74
|
}>;
|
|
75
|
+
/**
|
|
76
|
+
* Two to five independent changes the ticket is really made of (YAG-1376),
|
|
77
|
+
* when the planner was told it may list them and the list reads. Absent
|
|
78
|
+
* otherwise; the host reads them again and decides.
|
|
79
|
+
*/
|
|
80
|
+
pieces?: PlanPiece[];
|
|
67
81
|
/**
|
|
68
82
|
* The plan turn's own judgment of how big the build will be
|
|
69
83
|
* (`small | standard | complex`), absent when the plan wrote none or one
|
|
@@ -107,6 +121,14 @@ export declare function readRepositoriesNeeded(value: unknown): PlanFile["reposi
|
|
|
107
121
|
* left off its entry.
|
|
108
122
|
*/
|
|
109
123
|
export declare function readFollowUps(value: unknown): PlanFile["followUps"];
|
|
124
|
+
/**
|
|
125
|
+
* The plan's `pieces`: two to five, each with a title, an acceptance line and
|
|
126
|
+
* a path, and no path shared between two pieces (a folder and a file in it
|
|
127
|
+
* share one). Anything else reads as none, never as a part of the plan. The
|
|
128
|
+
* host checks them again with `readPlanPieces` (@yagni/shared), and its read
|
|
129
|
+
* is the one that counts; keep the two rules the same.
|
|
130
|
+
*/
|
|
131
|
+
export declare function readPieces(value: unknown): PlanPiece[];
|
|
110
132
|
/** The plan's ```plan-json block as an object, or null when it has none that parses. */
|
|
111
133
|
export declare function extractPlanJson(text: string): Record<string, unknown> | null;
|
|
112
134
|
/** The plan for a person to read: the text without its machine-readable block. */
|
|
@@ -127,6 +127,59 @@ export function readFollowUps(value) {
|
|
|
127
127
|
}
|
|
128
128
|
return out;
|
|
129
129
|
}
|
|
130
|
+
const MIN_PIECES = 2;
|
|
131
|
+
const MAX_PIECES = 5;
|
|
132
|
+
const MAX_PIECE_LINES = 20;
|
|
133
|
+
function pieceLines(value) {
|
|
134
|
+
return list(value)
|
|
135
|
+
.map((entry) => text(entry))
|
|
136
|
+
.filter((entry) => entry !== null)
|
|
137
|
+
.slice(0, MAX_PIECE_LINES);
|
|
138
|
+
}
|
|
139
|
+
function folderOf(path) {
|
|
140
|
+
return path.replace(/^\.\//, "").replace(/\/+$/, "");
|
|
141
|
+
}
|
|
142
|
+
function pathsOverlap(a, b) {
|
|
143
|
+
const x = folderOf(a);
|
|
144
|
+
const y = folderOf(b);
|
|
145
|
+
return x === y || x.startsWith(`${y}/`) || y.startsWith(`${x}/`);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* The plan's `pieces`: two to five, each with a title, an acceptance line and
|
|
149
|
+
* a path, and no path shared between two pieces (a folder and a file in it
|
|
150
|
+
* share one). Anything else reads as none, never as a part of the plan. The
|
|
151
|
+
* host checks them again with `readPlanPieces` (@yagni/shared), and its read
|
|
152
|
+
* is the one that counts; keep the two rules the same.
|
|
153
|
+
*/
|
|
154
|
+
export function readPieces(value) {
|
|
155
|
+
const entries = list(value);
|
|
156
|
+
if (entries.length < MIN_PIECES || entries.length > MAX_PIECES)
|
|
157
|
+
return [];
|
|
158
|
+
const pieces = [];
|
|
159
|
+
for (const entry of entries) {
|
|
160
|
+
if (!isRecord(entry))
|
|
161
|
+
return [];
|
|
162
|
+
const title = text(entry.title, 200);
|
|
163
|
+
const done = pieceLines(entry.done);
|
|
164
|
+
const paths = pieceLines(entry.paths);
|
|
165
|
+
if (!title || done.length === 0 || paths.length === 0)
|
|
166
|
+
return [];
|
|
167
|
+
pieces.push({
|
|
168
|
+
title,
|
|
169
|
+
done,
|
|
170
|
+
paths,
|
|
171
|
+
steps: pieceLines(entry.steps),
|
|
172
|
+
checks: pieceLines(entry.checks),
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
for (const [i, first] of pieces.entries()) {
|
|
176
|
+
for (const second of pieces.slice(i + 1)) {
|
|
177
|
+
if (first.paths.some((a) => second.paths.some((b) => pathsOverlap(a, b))))
|
|
178
|
+
return [];
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
return pieces;
|
|
182
|
+
}
|
|
130
183
|
/** The plan's ```plan-json block as an object, or null when it has none that parses. */
|
|
131
184
|
export function extractPlanJson(text) {
|
|
132
185
|
let found = null;
|
|
@@ -206,6 +259,7 @@ export function buildPlanFile(planText, fallbackPaths) {
|
|
|
206
259
|
: [...new Set(named.length > 0 ? named : fallbackPaths())].slice(0, MAX_LIST);
|
|
207
260
|
const repositoriesNeeded = readRepositoriesNeeded(block?.repositoriesNeeded);
|
|
208
261
|
const wrongRepository = readWrongRepository(block?.wrongRepository);
|
|
262
|
+
const pieces = closeTicket ? [] : readPieces(block?.pieces);
|
|
209
263
|
const size = PLAN_SIZES.find((known) => known === block?.size);
|
|
210
264
|
const sizeReason = size && typeof block?.sizeReason === "string" ? text(block.sizeReason, 200) : null;
|
|
211
265
|
return {
|
|
@@ -219,6 +273,7 @@ export function buildPlanFile(planText, fallbackPaths) {
|
|
|
219
273
|
...(wrongRepository ? { wrongRepository } : {}),
|
|
220
274
|
dependsOn: readDependsOn(block?.dependsOn),
|
|
221
275
|
followUps: readFollowUps(block?.followUps),
|
|
276
|
+
...(pieces.length > 0 ? { pieces } : {}),
|
|
222
277
|
...(size ? { size } : {}),
|
|
223
278
|
...(size && sizeReason ? { sizeReason } : {}),
|
|
224
279
|
...(closeTicket ? { closeTicket } : {}),
|
|
@@ -48,6 +48,7 @@ import { type PlacedValues } from "../placedValues.js";
|
|
|
48
48
|
import { type CodeWriter } from "./codeWriter.js";
|
|
49
49
|
import { type AttemptResult, type CloudIdentity, type CloudStage } from "./cloud.js";
|
|
50
50
|
import type { ContinuationInputs } from "./continuation.js";
|
|
51
|
+
import { type SessionWorkingStyle } from "./needsPerson.js";
|
|
51
52
|
import { type PlanChange } from "./planChanges.js";
|
|
52
53
|
import { type ResilienceAttemptRecord } from "./resilience.js";
|
|
53
54
|
import { type RunStageDeps } from "./runner.js";
|
|
@@ -163,6 +164,13 @@ export interface TurnFacts {
|
|
|
163
164
|
* ticket, whose turns read exactly as they did.
|
|
164
165
|
*/
|
|
165
166
|
ticketPath?: SessionTicketPath | null;
|
|
167
|
+
/**
|
|
168
|
+
* `working-style.json`, as the host wrote it: a yak ticket's working style,
|
|
169
|
+
* on every turn. It says when a writing turn may stop for a person, and
|
|
170
|
+
* keeps the turn from saying a person approved a plan nobody approved.
|
|
171
|
+
* Absent on a Team that is not a yak, whose turns read as they always did.
|
|
172
|
+
*/
|
|
173
|
+
workingStyle?: SessionWorkingStyle | null;
|
|
166
174
|
}
|
|
167
175
|
/** The file the host writes when a yak approves its own plans (`attempts/inputs.ts`, `yaks/ownPlans.ts`). */
|
|
168
176
|
export declare const OWN_PLANS_FILE_NAME = "own-plans.md";
|
|
@@ -56,7 +56,7 @@ import { completeCloudSession, RESULT_FILE_NAME, } from "./cloud.js";
|
|
|
56
56
|
import { finishExec } from "./finish.js";
|
|
57
57
|
import { HELPER_SESSIONS_DIR_ENV } from "./helperSessions.js";
|
|
58
58
|
import { MISSION_CHECKS_FILE_NAME, readMissionChecksFile } from "./missionChecks.js";
|
|
59
|
-
import { NEEDS_PERSON_FILE_NAME, NEEDS_PERSON_RULE, readNeedsPerson, withNeedsPerson, } from "./needsPerson.js";
|
|
59
|
+
import { NEEDS_PERSON_FILE_NAME, NEEDS_PERSON_RULE, readNeedsPerson, sessionWorkingStyleOf, withNeedsPerson, WORKING_STYLE_FILE_NAME, workingStyleAskRule, } from "./needsPerson.js";
|
|
60
60
|
import { creditExhaustionReason } from "./orchestrator.js";
|
|
61
61
|
import { WORK_A_TICKET_SKILL } from "./personas.js";
|
|
62
62
|
import { healPlacedSecrets, publicationBase } from "./placedValueHeal.js";
|
|
@@ -66,7 +66,7 @@ import { PLAN_CHANGES_RULE, parsePlanChanges, planChangeNote, } from "./planChan
|
|
|
66
66
|
import { IDLE_TIMEOUT_MESSAGE, withResilience, } from "./resilience.js";
|
|
67
67
|
import { runStage as defaultRunStage } from "./runner.js";
|
|
68
68
|
import { scrubSecrets } from "./scrubSecrets.js";
|
|
69
|
-
import { DECISIONS_READ_TOOL, PLAN_JSON_CONTRACT, YAK_PLAN_JSON_CONTRACT } from "./stages.js";
|
|
69
|
+
import { DECISIONS_READ_TOOL, PIECES_RULE, PLAN_JSON_CONTRACT, YAK_PLAN_JSON_CONTRACT, } from "./stages.js";
|
|
70
70
|
import { planReviewRoundsFor, planSizeOf, sessionTicketPathOf, TICKET_PATH_FILE_NAME, } from "./ticketPath.js";
|
|
71
71
|
import { STAGE_WRAP_UP_GRACE_MS } from "./stageClock.js";
|
|
72
72
|
import { editsMostlyFailed } from "./events.js";
|
|
@@ -245,12 +245,15 @@ const REPORT_CONTRACT = (outDir) => `Last, write ${join(outDir, SESSION_REPORT_F
|
|
|
245
245
|
const WRITER_RULE = (who) => who.writer === "helper"
|
|
246
246
|
? `- Hand fully specified chunks to the implementer subagent (it runs on the ${who.tier} tier and shares none of your context) and wide reads to searcher subagents, in parallel where they touch different files; keep the judgement calls yourself.`
|
|
247
247
|
: "- Write the change yourself, in this session: you hold the ticket, the plan and the code you read, and no subagent writes it for you. Send wide reads to searcher subagents, in parallel.";
|
|
248
|
-
const PULL_REQUEST_CONTRACT = (outDir) => `Before the report, write ${join(outDir, PULL_REQUEST_FILE_NAME)}: the description of this attempt's pull request ` +
|
|
248
|
+
const PULL_REQUEST_CONTRACT = (outDir, yak = false) => `Before the report, write ${join(outDir, PULL_REQUEST_FILE_NAME)}: the description of this attempt's pull request ` +
|
|
249
249
|
"as it stands after this turn, whole, in Markdown, for a reviewer who has not read the ticket. Lead with the product, " +
|
|
250
250
|
'never the files: what changes for the user, or one line "No product change: <what this is>". For a product change ' +
|
|
251
251
|
"give a **Before:** and **After:** pair as the user meets it. Then what you verified and how, and what you did not " +
|
|
252
252
|
"verify and why. Short sentences, no file-by-file list. Never quote command output, a log, or a value from the " +
|
|
253
|
-
"environment: everyone on the repository reads it. Write no title, checks table or plan version: YAGNI adds those."
|
|
253
|
+
"environment: everyone on the repository reads it. Write no title, checks table or plan version: YAGNI adds those." +
|
|
254
|
+
(yak
|
|
255
|
+
? " Name each assumption the plan made (under its Risks or Scope) and each step you took differently than the plan, so a reviewer sees every call nobody was asked about."
|
|
256
|
+
: "");
|
|
254
257
|
/**
|
|
255
258
|
* The yak's own words on each step, kept in its stored conversation: a build
|
|
256
259
|
* turn's also show on the live feed, a plan turn's do not
|
|
@@ -258,7 +261,12 @@ const PULL_REQUEST_CONTRACT = (outDir) => `Before the report, write ${join(outDi
|
|
|
258
261
|
* tool call, so a turn stays well under the feed's event cap.
|
|
259
262
|
*/
|
|
260
263
|
const NARRATION_RULE = "Narrate as you go, in one short line each: when you start a step of your work (reading the ticket, checking a premise, writing the plan, building one part, running the checks), say what you are doing and why; when a step settles something, say what it settled. One line per step, not one per tool call.";
|
|
261
|
-
|
|
264
|
+
/**
|
|
265
|
+
* The rules every writing turn ends on. A yak's (`style`, from
|
|
266
|
+
* `working-style.json`) say when it may stop by its working style; every
|
|
267
|
+
* other Team's read as they always did.
|
|
268
|
+
*/
|
|
269
|
+
const BUILD_RULES = (outDir, who, yak = null) => [
|
|
262
270
|
"Write tools are on now. Work as your playbook says:",
|
|
263
271
|
`- ${NARRATION_RULE}`,
|
|
264
272
|
"- Prefer the smallest change that meets the ticket, and keep the diff to what the ticket needs.",
|
|
@@ -267,8 +275,8 @@ const BUILD_RULES = (outDir, who) => [
|
|
|
267
275
|
"- Each behavior change gets a test. Run it once without the change and see it fail, then with it; in the report, that test's check says in its note what failed without the change.",
|
|
268
276
|
"- A check checks.json marks measureOnBase, or one you would call fails_on_base, is measured on the unchanged code during this attempt: before your first edit, or in a git worktree at the commit this branch started from. A red in the repository's record is not a measurement, however recent; a baseMeasured entry in checks.json is.",
|
|
269
277
|
"- Commit on the branch you are on. Never push and never open or edit a pull request: YAGNI pushes your commits and opens it.",
|
|
270
|
-
`- ${NEEDS_PERSON_RULE(outDir)}`,
|
|
271
|
-
`- ${PULL_REQUEST_CONTRACT(outDir)}`,
|
|
278
|
+
`- ${yak ? workingStyleAskRule(yak.style, outDir, yak.review) : NEEDS_PERSON_RULE(outDir)}`,
|
|
279
|
+
`- ${PULL_REQUEST_CONTRACT(outDir, yak !== null)}`,
|
|
272
280
|
`- ${REPORT_CONTRACT(outDir)}`,
|
|
273
281
|
].join("\n");
|
|
274
282
|
const INPUTS = (inputDir) => [
|
|
@@ -298,7 +306,7 @@ const planRules = (preview, ownPlans, path = null) => path
|
|
|
298
306
|
...(preview ? [previewRule(preview.inputDir, preview.outDir)] : []),
|
|
299
307
|
`${SHORT_PLAN_FORMAT_RULE} ${ownPlans ? SHORT_DECIDE_RULE : SHORT_QUESTION_RULE}`,
|
|
300
308
|
SHORT_PLAN_CLOSE_RULE,
|
|
301
|
-
YAK_PLAN_JSON_CONTRACT,
|
|
309
|
+
path.split ? `${YAK_PLAN_JSON_CONTRACT}\n${PIECES_RULE}` : YAK_PLAN_JSON_CONTRACT,
|
|
302
310
|
shortPlanStop(path, ownPlans),
|
|
303
311
|
].join("\n\n")
|
|
304
312
|
: planRulesBefore(preview, ownPlans);
|
|
@@ -333,11 +341,17 @@ const PLAN_RULES_BEFORE_PREVIEW = [
|
|
|
333
341
|
const PLAN_FORMAT_RULE = 'End the turn with the plan as your last message. Open it with ## Ticket check: a table of premise | checked, or not checkable | the command, file:line or query that shows it, one row per premise. Then ## Done when: the ticket\'s acceptance criteria, or yours when it has none, one line each. Then ## Goal (one sentence), ## Plan (numbered steps, each naming the file or function), ## Files to modify / create (say "new" beside a file the plan creates), ## Checks and ## Risks, then the plan-json block.';
|
|
334
342
|
/** Where a person answers the plan: a real choice is theirs to make. */
|
|
335
343
|
const QUESTION_RULE = "Where there is a real choice of approach, ask it as a decision question with your recommendation and its alternatives; the plan's steps follow your recommendation.";
|
|
344
|
+
/**
|
|
345
|
+
* The three reasons a yak that approves its own plans hands its ticket to a
|
|
346
|
+
* person at the plan, each with the key its question names. A problem already
|
|
347
|
+
* gone is a close recommendation, never one of these.
|
|
348
|
+
*/
|
|
349
|
+
const REFUSAL_REASONS = 'for one of three reasons: the ticket\'s premise is false ("premise_false"; a problem already gone is a close, never this), the right change is far larger than the ticket ("far_larger"), or you cannot write ## Done when without choosing between two readings of the ticket that lead to different products ("done_when_open")';
|
|
336
350
|
/**
|
|
337
351
|
* Where the yak approves its own plans (`own-plans.md`): YAGNI takes every
|
|
338
352
|
* recommendation, so a question only records a change of direction.
|
|
339
353
|
*/
|
|
340
|
-
const DECIDE_RULE =
|
|
354
|
+
const DECIDE_RULE = `This yak approves its own plans: no person answers this plan's questions, and YAGNI takes your recommendation on each one. So where there is a real choice of approach, a missing detail or an unclear edge case, decide on your recommendation: the plan's steps follow it, and ## Risks states it as the assumption you plan on, with what would change it. Put a question in the plan-json block only when the ticket cannot work as written, ${REFUSAL_REASONS}, with the evidence (file:line, command or query, and what it showed) in its checked lines and the reason's key in its "reason". Such a question hands the ticket to a person with your question, its evidence and its options: YAGNI does not answer it, and nothing is built until they do. A question with no checked line never reaches a person: YAGNI takes your recommendation and the build starts.`;
|
|
341
355
|
const PLAN_CLOSE_RULE = 'When the ticket check shows the problem is already gone, recommend closing the ticket instead of planning a change: ## Goal says so in one sentence, the ticket check holds the evidence, ## Plan says "Nothing to build." with no numbered steps, and the plan-json block carries "closeTicket" with the evidence and names no checks and no paths. A person then decides whether to close it.';
|
|
342
356
|
const PLAN_STOP = "Then stop: next you review this plan yourself, in this session, for at most four rounds, fixing what you find. A person approves the plan before anything is built.";
|
|
343
357
|
const OWN_PLANS_STOP = "Then stop: next you review this plan yourself, in this session, for at most four rounds, fixing what you find. Once the review ends, YAGNI approves the plan for this yak and the build starts.";
|
|
@@ -352,7 +366,7 @@ const OWN_PLANS_STOP = "Then stop: next you review this plan yourself, in this s
|
|
|
352
366
|
const SHORT_PLAN_FORMAT_RULE = 'End the turn with the plan as your last message, and keep it short. ## Goal: one sentence. ## Done when: what is true when this is finished, one line each, from the ticket\'s acceptance criteria or yours; a reviewer holds the change to these lines. ## Checks: the commands you will run to prove it. ## Scope: the files or folders you will change, one per line in code spans (say "new" beside one the plan creates), then one line for each assumption you plan on. ## Not doing: what you leave alone on purpose, one line each, when there is anything. ## Questions: only when a person must answer something before you build. Then the plan-json block. Write no step list, no ticket-check table and no risks section: the premises you checked are yours to have checked, not to list.';
|
|
353
367
|
const SHORT_QUESTION_RULE = "Where a person must choose, ask it as a question in the plan-json block; where you would choose yourself, choose, and say it under ## Scope.";
|
|
354
368
|
/** {@link DECIDE_RULE} for the short plan, which has no Risks section to state an assumption in. */
|
|
355
|
-
const SHORT_DECIDE_RULE =
|
|
369
|
+
const SHORT_DECIDE_RULE = `This yak approves its own plans: no person answers this plan's questions. So where there is a choice of approach, a missing detail or an unclear edge case, choose, and say it under ## Scope as the assumption you plan on, with what would change it. Put a question in the plan-json block only when the ticket cannot work as written, ${REFUSAL_REASONS}. Give such a question the reason's key as "reason" and its evidence as "checked": [{"status": "checked", "text": "<file:line, command or query, and what it showed>"}]. It hands the ticket to a person with its evidence; a question with no checked line never reaches a person, and the build starts on your own choice.`;
|
|
356
370
|
const SHORT_PLAN_CLOSE_RULE = 'When checking the ticket shows the problem is already gone, recommend closing it instead of planning a change: ## Goal says so in one sentence, ## Done when holds the evidence (the command, file:line or query, and what it showed), and the plan-json block carries "closeTicket" with that evidence and names no checks and no paths. A person then decides whether to close it.';
|
|
357
371
|
const reviewWords = (rounds) => rounds === 0
|
|
358
372
|
? "is not reviewed again"
|
|
@@ -419,7 +433,9 @@ export function turnMessage(facts) {
|
|
|
419
433
|
if (facts.stage === "implement" && facts.resumed && !facts.continuation) {
|
|
420
434
|
// Spec 2026-11-02: every answer is in the plan before Approve, so the
|
|
421
435
|
// plan as approved is the whole contract and nothing rides beside it.
|
|
422
|
-
parts.push(
|
|
436
|
+
parts.push(facts.workingStyle
|
|
437
|
+
? `The plan is approved. The plan as approved is ${at("plan.md")}: any answers a person gave are already in it, under Decisions and Not doing, and it supersedes the draft you wrote earlier in this session. Build that plan. Leave out everything under Not doing. ${PLAN_CHANGES_RULE}`
|
|
438
|
+
: `The person approved the plan. The plan as approved is ${at("plan.md")}: their answers are already in it, under Decisions and Not doing, and it supersedes the draft you wrote earlier in this session. Build that plan. Leave out everything under Not doing. ${PLAN_CHANGES_RULE}`);
|
|
423
439
|
}
|
|
424
440
|
else if (facts.stage === "fix" && facts.review) {
|
|
425
441
|
parts.push(`A review or the CI on this attempt's pull request asks for changes. They are in ${at("ticket.md")}, under "Review on this attempt's pull request", each with its id; the branch may hold a person's commits since your last turn, so read the code as it is now. ${facts.ticketPath ? `${CORRECTNESS_FIX_RULE} Answer each item that only asks a question in the outcomes file that section names, with no commit for it, and commit what you fix.` : "Fix each item that asks for a change with the smallest change that does it and commit; answer each item that only asks a question in the outcomes file that section names, with no commit for it."}`, FIX_RULE);
|
|
@@ -432,7 +448,9 @@ export function turnMessage(facts) {
|
|
|
432
448
|
? `Pick up the attempt where it stands on this branch.${why}`
|
|
433
449
|
: `You are building an approved plan for this ticket, on a branch that holds whatever this attempt committed so far.${why}`);
|
|
434
450
|
if (!facts.resumed) {
|
|
435
|
-
parts.push(INPUTS(facts.inputDir),
|
|
451
|
+
parts.push(INPUTS(facts.inputDir), facts.workingStyle
|
|
452
|
+
? "- plan.md: the plan as approved, with any answers a person gave under Decisions and Not doing. The steps are guidance."
|
|
453
|
+
: `- plan.md: the plan a person approved, with their answers in it under Decisions and Not doing. The steps are guidance.`);
|
|
436
454
|
}
|
|
437
455
|
if (facts.stage === "verify") {
|
|
438
456
|
parts.push("Check the work on this branch against the plan: run the checks, fix only what this change broke, and commit any fix.");
|
|
@@ -451,7 +469,7 @@ export function turnMessage(facts) {
|
|
|
451
469
|
parts.push(note);
|
|
452
470
|
if (newSince)
|
|
453
471
|
parts.push(newSince);
|
|
454
|
-
parts.push(BUILD_RULES(facts.outDir, facts.codeWriter ?? { writer: "session" }));
|
|
472
|
+
parts.push(BUILD_RULES(facts.outDir, facts.codeWriter ?? { writer: "session" }, facts.workingStyle ? { style: facts.workingStyle, review: facts.review === true } : null));
|
|
455
473
|
return parts.join("\n\n");
|
|
456
474
|
}
|
|
457
475
|
const MAX_REPORTED_CHECKS = 40;
|
|
@@ -933,6 +951,8 @@ async function runTurn(input, deps, pulse) {
|
|
|
933
951
|
// What the host said about how this ticket runs (YAG-1306); null on every
|
|
934
952
|
// ticket that is not a one-session yak's.
|
|
935
953
|
const ticketPath = sessionTicketPathOf(readOrNull(join(input.inputDir, TICKET_PATH_FILE_NAME)));
|
|
954
|
+
// A yak ticket's working style: when a writing turn may stop for a person.
|
|
955
|
+
const workingStyle = sessionWorkingStyleOf(readOrNull(join(input.inputDir, WORKING_STYLE_FILE_NAME)));
|
|
936
956
|
// A stage's rows say when a turn takes the same stage up again (YAG-1306):
|
|
937
957
|
// the host resumed a stage an earlier turn stopped in, or this is one more
|
|
938
958
|
// message of this turn (a re-ask, a review round). A count of stages then
|
|
@@ -983,6 +1003,7 @@ async function runTurn(input, deps, pulse) {
|
|
|
983
1003
|
// child is offered (`builtinAgents`) read one value.
|
|
984
1004
|
codeWriter: resolveCodeWriter(input.childEnv),
|
|
985
1005
|
...(ticketPath ? { ticketPath } : {}),
|
|
1006
|
+
...(workingStyle ? { workingStyle } : {}),
|
|
986
1007
|
});
|
|
987
1008
|
const notes = [];
|
|
988
1009
|
const stages = [];
|
|
@@ -106,6 +106,12 @@ export declare const PLAN_JSON_CONTRACT: string;
|
|
|
106
106
|
* in `@yagni/shared`), so the contract asks for none.
|
|
107
107
|
*/
|
|
108
108
|
export declare const YAK_PLAN_JSON_CONTRACT: string;
|
|
109
|
+
/**
|
|
110
|
+
* What a yak's planner is told about `pieces`, only when the host's
|
|
111
|
+
* `ticket-path.json` says the split is on (`yaks.split`, YAG-1376). The host
|
|
112
|
+
* reads the pieces again and decides; the session builds one change as ever.
|
|
113
|
+
*/
|
|
114
|
+
export declare const PIECES_RULE: string;
|
|
109
115
|
/**
|
|
110
116
|
* The one-attempt lane's session (`yagni go --headless --cloud`): plan,
|
|
111
117
|
* implement, review, fix, then verify and finish, which run no model. One
|
|
@@ -281,6 +281,16 @@ export const YAK_PLAN_JSON_CONTRACT = "End your answer with a fenced ```plan-jso
|
|
|
281
281
|
"\n" +
|
|
282
282
|
'- "closeTicket": {"why": "one line", "evidence": ["the command, file:line or query, and what it showed"]}:\n' +
|
|
283
283
|
CLOSE_TICKET_RULE;
|
|
284
|
+
/**
|
|
285
|
+
* What a yak's planner is told about `pieces`, only when the host's
|
|
286
|
+
* `ticket-path.json` says the split is on (`yaks.split`, YAG-1376). The host
|
|
287
|
+
* reads the pieces again and decides; the session builds one change as ever.
|
|
288
|
+
*/
|
|
289
|
+
export const PIECES_RULE = 'Add "pieces" only when the ticket\'s own work is two to five changes that do not depend on each other, and each can be built, tested and reviewed alone. A small or single change, or a mechanical one such as a rename however many files it touches, is never split.\n' +
|
|
290
|
+
'- Each piece is {"title": "...", "done": ["acceptance line"], "paths": ["file or folder"], "steps": ["..."], "checks": ["command"]}. Each piece names its own files in "paths"; two pieces that touch the same file are one piece.\n' +
|
|
291
|
+
"- Every acceptance line of the ticket belongs to exactly one piece.\n" +
|
|
292
|
+
"- Repositories are not a reason to split; a change across repositories stays one piece.\n" +
|
|
293
|
+
'- The plan\'s own "steps", "checks" and "paths" still describe the whole ticket.';
|
|
284
294
|
/**
|
|
285
295
|
* The cloud plan stage's task: the input folder the host wrote, read first,
|
|
286
296
|
* then a plan grounded in the installed checkout, inside the stage's own
|
|
@@ -4,6 +4,8 @@ type PlanSize = (typeof SIZES)[number];
|
|
|
4
4
|
export interface SessionTicketPath {
|
|
5
5
|
/** The plan review's rounds by the plan's own size. */
|
|
6
6
|
planReviewRounds: Record<PlanSize, number>;
|
|
7
|
+
/** The planner may list `pieces` (`yaks.split`, YAG-1376); absent in a file written without it. */
|
|
8
|
+
split?: boolean;
|
|
7
9
|
}
|
|
8
10
|
/** The host's file as the turn reads it, or null for none, or one that is not the one-session path. */
|
|
9
11
|
export declare function sessionTicketPathOf(text: string | null): SessionTicketPath | null;
|
|
@@ -38,7 +38,10 @@ export function sessionTicketPathOf(text) {
|
|
|
38
38
|
const complex = rounds(by.complex);
|
|
39
39
|
if (small === null || standard === null || complex === null)
|
|
40
40
|
return null;
|
|
41
|
-
return {
|
|
41
|
+
return {
|
|
42
|
+
planReviewRounds: { small, standard, complex },
|
|
43
|
+
...(file.split === true ? { split: true } : {}),
|
|
44
|
+
};
|
|
42
45
|
}
|
|
43
46
|
/** The size a plan's text gives itself in its plan-json block, or null. */
|
|
44
47
|
export function planSizeOf(planText) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yagni-app/code-staging",
|
|
3
|
-
"version": "1.2.14-staging.
|
|
3
|
+
"version": "1.2.14-staging.2451.1",
|
|
4
4
|
"description": "YAGNI Code: a terminal coding agent that already knows your company. One YAGNI login routes the model and grounds the agent in your team's context.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "YAGNI, Inc. <jack@yagni.app> (https://yagni.app)",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"turndown": "^7.2.4",
|
|
59
59
|
"typebox": "^1.3.15"
|
|
60
60
|
},
|
|
61
|
-
"yagniSourceSha": "
|
|
61
|
+
"yagniSourceSha": "a90b176a6895b1c9ec31ffe6bc89b1f2c05a0f4c"
|
|
62
62
|
}
|