@seanmars/tospec 0.26.0-beta → 0.27.0

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +50 -2
  2. package/README.md +3 -1
  3. package/assets/how/page.mjs +235 -0
  4. package/assets/how/skeleton.html +790 -0
  5. package/dist/commands/config.d.ts.map +1 -1
  6. package/dist/commands/config.js +8 -0
  7. package/dist/commands/config.js.map +1 -1
  8. package/dist/core/shared/skill-generation.d.ts +7 -1
  9. package/dist/core/shared/skill-generation.d.ts.map +1 -1
  10. package/dist/core/shared/skill-generation.js +3 -1
  11. package/dist/core/shared/skill-generation.js.map +1 -1
  12. package/dist/core/templates/fragments/debugging.d.ts +32 -0
  13. package/dist/core/templates/fragments/debugging.d.ts.map +1 -0
  14. package/dist/core/templates/fragments/debugging.js +32 -0
  15. package/dist/core/templates/fragments/debugging.js.map +1 -0
  16. package/dist/core/templates/fragments/verify.d.ts +2 -2
  17. package/dist/core/templates/fragments/verify.d.ts.map +1 -1
  18. package/dist/core/templates/fragments/verify.js +5 -3
  19. package/dist/core/templates/fragments/verify.js.map +1 -1
  20. package/dist/core/templates/skill-templates.d.ts +2 -0
  21. package/dist/core/templates/skill-templates.d.ts.map +1 -1
  22. package/dist/core/templates/skill-templates.js +2 -0
  23. package/dist/core/templates/skill-templates.js.map +1 -1
  24. package/dist/core/templates/workflows/apply.d.ts.map +1 -1
  25. package/dist/core/templates/workflows/apply.js +16 -2
  26. package/dist/core/templates/workflows/apply.js.map +1 -1
  27. package/dist/core/templates/workflows/explore.js +3 -3
  28. package/dist/core/templates/workflows/grill.d.ts.map +1 -1
  29. package/dist/core/templates/workflows/grill.js +3 -1
  30. package/dist/core/templates/workflows/grill.js.map +1 -1
  31. package/dist/core/templates/workflows/how.d.ts +3 -0
  32. package/dist/core/templates/workflows/how.d.ts.map +1 -0
  33. package/dist/core/templates/workflows/how.js +283 -0
  34. package/dist/core/templates/workflows/how.js.map +1 -0
  35. package/dist/core/templates/workflows/issue.d.ts.map +1 -1
  36. package/dist/core/templates/workflows/issue.js +13 -0
  37. package/dist/core/templates/workflows/issue.js.map +1 -1
  38. package/dist/core/templates/workflows/restate-your-goal.d.ts +17 -0
  39. package/dist/core/templates/workflows/restate-your-goal.d.ts.map +1 -0
  40. package/dist/core/templates/workflows/restate-your-goal.js +45 -0
  41. package/dist/core/templates/workflows/restate-your-goal.js.map +1 -0
  42. package/dist/core/templates/workflows/update.d.ts.map +1 -1
  43. package/dist/core/templates/workflows/update.js +1 -0
  44. package/dist/core/templates/workflows/update.js.map +1 -1
  45. package/package.json +2 -2
  46. package/schemas/issue/schema.yaml +7 -3
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/commands/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC,OAAO,EAQL,YAAY,EACb,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAgCxD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAQ3E,CAAC;AACF,4FAA4F;AAC5F,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAoB,CAAC;AAItF,UAAU,YAAY;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,UAAU,gBAAgB;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAqDD,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,YAAY,GAAG,YAAY,CAM7E;AAED,wBAAgB,kCAAkC,CAAC,iBAAiB,EAAE,MAAM,EAAE,GAAG,OAAO,CAKvF;AAED,wBAAgB,qBAAqB,C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C,OAAO,EAAE,OAAO,GAAG,IAAI,CAwvB5D"}
@@ -41,6 +41,14 @@ const WORKFLOW_PROMPT_META = {
41
41
  name: 'Grill',
42
42
  description: 'On-demand four-quadrant interrogation to pressure-test any plan, decision, or idea (read-only; triggers on "grill"/"grilling" phrases)',
43
43
  },
44
+ 'restate-your-goal': {
45
+ name: 'Restate your goal',
46
+ description: 'Restate the user\'s goal and problem in the agent\'s own words for the user to confirm (read-only; explore and grill run it to confirm their conclusion)',
47
+ },
48
+ how: {
49
+ name: 'How it works',
50
+ description: 'Explain how part of the codebase works as an offline HTML page with diagrams, written to the system temp directory (explicit invocation only)',
51
+ },
44
52
  propose: {
45
53
  name: 'Propose change',
46
54
  description: 'Synthesize a converged requirement into ticket, specs, design, and tasks',
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/commands/config.ts"],"names":[],"mappings":"AACA,OAAO,UAAU,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,qBAAqB,EACrB,2BAA2B,EAC3B,gBAAgB,EAChB,0BAA0B,EAC1B,0BAA0B,GAE3B,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EACL,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAmB,MAAM,qBAAqB,CAAC;AAC1F,OAAO,EACL,uBAAuB,EACvB,6BAA6B,EAC7B,yBAAyB,GAC1B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,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CAAC;YACD,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -1,10 +1,16 @@
1
- import { getExploreSkillTemplate, getGrillSkillTemplate, getTospecProposeSkillTemplate, getTospecIssueSkillTemplate, getTospecDecisionSkillTemplate, getTospecUpdateSkillTemplate, getTospecApplySkillTemplate, getTospecApplyWithTDDSkillTemplate, getTospecSyncSkillTemplate, getTospecArchiveSkillTemplate, type SkillTemplate } from '../templates/skill-templates.js';
1
+ import { getExploreSkillTemplate, getGrillSkillTemplate, getTospecRestateYourGoalSkillTemplate, getTospecHowSkillTemplate, getTospecProposeSkillTemplate, getTospecIssueSkillTemplate, getTospecDecisionSkillTemplate, getTospecUpdateSkillTemplate, getTospecApplySkillTemplate, getTospecApplyWithTDDSkillTemplate, getTospecSyncSkillTemplate, getTospecArchiveSkillTemplate, type SkillTemplate } from '../templates/skill-templates.js';
2
2
  declare const WORKFLOW_DEFS: readonly [{
3
3
  readonly id: 'explore';
4
4
  readonly skill: typeof getExploreSkillTemplate;
5
5
  }, {
6
6
  readonly id: 'grill';
7
7
  readonly skill: typeof getGrillSkillTemplate;
8
+ }, {
9
+ readonly id: 'restate-your-goal';
10
+ readonly skill: typeof getTospecRestateYourGoalSkillTemplate;
11
+ }, {
12
+ readonly id: 'how';
13
+ readonly skill: typeof getTospecHowSkillTemplate;
8
14
  }, {
9
15
  readonly id: 'propose';
10
16
  readonly skill: typeof getTospecProposeSkillTemplate;
@@ -1 +1 @@
1
- {"version":3,"file":"skill-generation.d.ts","sourceRoot":"","sources":["../../../src/core/shared/skill-generation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,6BAA6B,EAC7B,2BAA2B,EAC3B,8BAA8B,EAC9B,4BAA4B,EAC5B,2BAA2B,EAC3B,kCAAkC,EAClC,0BAA0B,EAC1B,6BAA6B,EAC7B,KAAK,aAAa,EACnB,MAAM,iCAAiC,CAAC;AAOzC,QA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Ac,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,kBAAkB,EAAE,CAM1F;AAED,gEAAgE;AAChE,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,aAAa,EACvB,kBAAkB,EAAE,MAAM,EAC1B,qBAAqB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,MAAM,GACvD,MAAM,CAyBR;AAED;;;;;GAKG;AACH,wBAAsB,aAAa,CACjC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,aAAa,EACvB,kBAAkB,EAAE,MAAM,GACzB,OAAO,CAAC,IAAI,CAAC,CASf"}
1
+ {"version":3,"file":"skill-generation.d.ts","sourceRoot":"","sources":["../../../src/core/shared/skill-generation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,qCAAqC,EACrC,yBAAyB,EACzB,6BAA6B,EAC7B,2BAA2B,EAC3B,8BAA8B,EAC9B,4BAA4B,EAC5B,2BAA2B,EAC3B,kCAAkC,EAClC,0BAA0B,EAC1B,6BAA6B,EAC7B,KAAK,aAAa,EACnB,MAAM,iCAAiC,CAAC;AAOzC,QAAA,MAAM,aAAa;aACf,EAAE,EAAE,SAAS;aAAE,KAAK;;aACpB,EAAE,EAAE,OAAO;aAAE,KAAK;;aAClB,EAAE,EAAE,mBAAmB;aAAE,KAAK;;aAC9B,EAAE,EAAE,KAAK;aAAE,KAAK;;aAChB,EAAE,EAAE,SAAS;aAAE,KAAK;;aACpB,EAAE,EAAE,OAAO;aAAE,KAAK;;aAClB,EAAE,EAAE,UAAU;aAAE,KAAK;;aACrB,EAAE,EAAE,QAAQ;aAAE,KAAK;;aACnB,EAAE,EAAE,OAAO;aAAE,KAAK;;aAClB,EAAE,EAAE,gBAAgB;aAAE,KAAK;;aAC3B,EAAE,EAAE,MAAM;aAAE,KAAK;;aACjB,EAAE,EAAE,SAAS;aAAE,KAAK;EACd,CAAC;AAEX,MAAM,MAAM,U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
1
- import { getExploreSkillTemplate, getGrillSkillTemplate, getTospecProposeSkillTemplate, getTospecIssueSkillTemplate, getTospecDecisionSkillTemplate, getTospecUpdateSkillTemplate, getTospecApplySkillTemplate, getTospecApplyWithTDDSkillTemplate, getTospecSyncSkillTemplate, getTospecArchiveSkillTemplate, } from '../templates/skill-templates.js';
1
+ import { getExploreSkillTemplate, getGrillSkillTemplate, getTospecRestateYourGoalSkillTemplate, getTospecHowSkillTemplate, getTospecProposeSkillTemplate, getTospecIssueSkillTemplate, getTospecDecisionSkillTemplate, getTospecUpdateSkillTemplate, getTospecApplySkillTemplate, getTospecApplyWithTDDSkillTemplate, getTospecSyncSkillTemplate, getTospecArchiveSkillTemplate, } from '../templates/skill-templates.js';
2
2
  import path from 'path';
3
3
  import { FileSystemUtils } from '../../utils/file-system.js';
4
4
  import { escapeYamlValue } from './yaml.js';
@@ -7,6 +7,8 @@ import { escapeYamlValue } from './yaml.js';
7
7
  const WORKFLOW_DEFS = [
8
8
  { id: 'explore', skill: getExploreSkillTemplate },
9
9
  { id: 'grill', skill: getGrillSkillTemplate },
10
+ { id: 'restate-your-goal', skill: getTospecRestateYourGoalSkillTemplate },
11
+ { id: 'how', skill: getTospecHowSkillTemplate },
10
12
  { id: 'propose', skill: getTospecProposeSkillTemplate },
11
13
  { id: 'issue', skill: getTospecIssueSkillTemplate },
12
14
  { id: 'decision', skill: getTospecDecisionSkillTemplate },
@@ -1 +1 @@
1
- {"version":3,"file":"skill-generation.js","sourceRoot":"","sources":["../../../src/core/shared/skill-generation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,6BAA6B,EAC7B,2BAA2B,EAC3B,8BAA8B,EAC9B,4BAA4B,EAC5B,2BAA2B,EAC3B,kCAAkC,EAClC,0BAA0B,EAC1B,6BAA6B,GAE9B,MAAM,iCAAiC,CAAC;AACzC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM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,eAAe,CAAC,QAAQ,CAAC,aAAa,IAAI,sBAAsB,CAAC;EAChF,gBAAgB,GAAG,qBAAqB;YAC9B,eAAe,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,IAAI,QAAQ,CAAC;kBAChD,kBAAkB;;;EAGlC,YAAY;CACb,CAAC;AACF,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,SAAiB,EACjB,OAAe,EACf,QAAuB,EACvB,kBAA0B;IAE1B,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC1C,MAAM,eAAe,CAAC,SAAS,CAC7B,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,EAC1B,oBAAoB,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CACnD,CAAC;IACF,KAAK,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,IAAI,EAAE,CAAC,EAAE,CAAC;QAC5E,MAAM,eAAe,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;AACH,CAAC"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Debugging rules shared by issue's diagnosis and apply's issue branches. Each
3
+ * caller adds what follows in its own workflow; these carry only the rule.
4
+ */
5
+ /**
6
+ * Two failed attempts on one assumption are evidence against the assumption,
7
+ * but an agent reads them as two bad attempts and writes a third. In issue the
8
+ * attempts are probes; in apply they are fixes resting on task.md's Root
9
+ * Cause, so the same sentence covers both.
10
+ */
11
+ export declare const PREMISE_CHECK = "When two attempts that rest on the same assumption fail the same feedback loop, stop before a third. Write that assumption down as one sentence (e.g. \"the handler receives the request\"), and test the sentence itself: make one observation that would come out differently if it were false. A third attempt on an untested assumption spends work where the evidence already says the cause is not.";
12
+ /**
13
+ * "Fix the root cause" alone still licensed a guard at the line that threw:
14
+ * the guard sits in the function the bug surfaced in, so it reads as a fix in
15
+ * place. Whether the state is legitimate decides which of the two it is.
16
+ */
17
+ export declare const LEGITIMATE_STATE_RULE = "Ask whether the state that triggered the symptom is legitimate. If the system may be in that state, the code that broke on it is the root cause, and handling the state there is the fix. If the state should never exist, a guard where it broke hides the bug, and so do a retry, a swallowed error, or a clamped value: the fix belongs where the state was produced.";
18
+ /**
19
+ * A performance bug's feedback loop is a number against a threshold, and a
20
+ * number goes wrong where a red test cannot: it times failed or skipped work,
21
+ * a debug build, or noise wider than the gap. Ranking hypotheses from such a
22
+ * number sends the whole diagnosis after a bottleneck that is not there. The
23
+ * limiter comes from a separate run because a profiler slows the run it watches.
24
+ */
25
+ export declare const PERF_MEASUREMENT = "**A performance bug** (too slow, too much memory or CPU): the loop's verdict is a measured number against a threshold, and a number can be wrong in ways a failing test cannot. Before you rank hypotheses from it, establish four things: the work happened inside the timed region and without errors (count failures, check the output, not only its presence); the setup is the one production runs (release build, production flags, caches as warm or cold as production sees them); it reproduces (at least 5 runs, reported as median and range; \"deterministic\" here means the median falls on the same side of the threshold every time); and what limits it (the core, lock, disk, network, or code path that bounds the number, read from a profile or system counters in a separate run, not inferred from the code). Record the run count, range, and limiter with the loop.";
26
+ /**
27
+ * The before/after comparison is where a perf fix gets credited for noise or
28
+ * for work it skipped. The ceiling check catches the second: a saving larger
29
+ * than the time the changed piece took cannot come from that piece.
30
+ */
31
+ export declare const PERF_CONFIRMATION = "For a performance bug, confirm the fix the way the loop was measured: the same number of runs on each side, alternating before and after so warmup and drift favor neither, and the same error and output checks. A gap smaller than the run-to-run range is no difference. The saving cannot exceed the time the changed piece took: a piece that took 10% of the run makes it at most about 11% faster, so a larger gain measured something else.";
32
+ //# sourceMappingURL=debugging.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debugging.d.ts","sourceRoot":"","sources":["../../../../src/core/templates/fragments/debugging.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,aAAa,8YAA4Y,CAAC;AAEva;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,6WAA6W,CAAC;AAEhZ;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,i2BAA+1B,CAAC;AAE73B;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,wbAAwb,CAAC"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Debugging rules shared by issue's diagnosis and apply's issue branches. Each
3
+ * caller adds what follows in its own workflow; these carry only the rule.
4
+ */
5
+ /**
6
+ * Two failed attempts on one assumption are evidence against the assumption,
7
+ * but an agent reads them as two bad attempts and writes a third. In issue the
8
+ * attempts are probes; in apply they are fixes resting on task.md's Root
9
+ * Cause, so the same sentence covers both.
10
+ */
11
+ export const PREMISE_CHECK = `When two attempts that rest on the same assumption fail the same feedback loop, stop before a third. Write that assumption down as one sentence (e.g. "the handler receives the request"), and test the sentence itself: make one observation that would come out differently if it were false. A third attempt on an untested assumption spends work where the evidence already says the cause is not.`;
12
+ /**
13
+ * "Fix the root cause" alone still licensed a guard at the line that threw:
14
+ * the guard sits in the function the bug surfaced in, so it reads as a fix in
15
+ * place. Whether the state is legitimate decides which of the two it is.
16
+ */
17
+ export const LEGITIMATE_STATE_RULE = `Ask whether the state that triggered the symptom is legitimate. If the system may be in that state, the code that broke on it is the root cause, and handling the state there is the fix. If the state should never exist, a guard where it broke hides the bug, and so do a retry, a swallowed error, or a clamped value: the fix belongs where the state was produced.`;
18
+ /**
19
+ * A performance bug's feedback loop is a number against a threshold, and a
20
+ * number goes wrong where a red test cannot: it times failed or skipped work,
21
+ * a debug build, or noise wider than the gap. Ranking hypotheses from such a
22
+ * number sends the whole diagnosis after a bottleneck that is not there. The
23
+ * limiter comes from a separate run because a profiler slows the run it watches.
24
+ */
25
+ export const PERF_MEASUREMENT = `**A performance bug** (too slow, too much memory or CPU): the loop's verdict is a measured number against a threshold, and a number can be wrong in ways a failing test cannot. Before you rank hypotheses from it, establish four things: the work happened inside the timed region and without errors (count failures, check the output, not only its presence); the setup is the one production runs (release build, production flags, caches as warm or cold as production sees them); it reproduces (at least 5 runs, reported as median and range; "deterministic" here means the median falls on the same side of the threshold every time); and what limits it (the core, lock, disk, network, or code path that bounds the number, read from a profile or system counters in a separate run, not inferred from the code). Record the run count, range, and limiter with the loop.`;
26
+ /**
27
+ * The before/after comparison is where a perf fix gets credited for noise or
28
+ * for work it skipped. The ceiling check catches the second: a saving larger
29
+ * than the time the changed piece took cannot come from that piece.
30
+ */
31
+ export const PERF_CONFIRMATION = `For a performance bug, confirm the fix the way the loop was measured: the same number of runs on each side, alternating before and after so warmup and drift favor neither, and the same error and output checks. A gap smaller than the run-to-run range is no difference. The saving cannot exceed the time the changed piece took: a piece that took 10% of the run makes it at most about 11% faster, so a larger gain measured something else.`;
32
+ //# sourceMappingURL=debugging.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debugging.js","sourceRoot":"","sources":["../../../../src/core/templates/fragments/debugging.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,yYAAyY,CAAC;AAEva;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,0WAA0W,CAAC;AAEhZ;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,41BAA41B,CAAC;AAE73B;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,qbAAqb,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /** The review protocol carried by the disclosed file. */
2
- export declare const VERIFY_METHODOLOGY = "Two-axis review of the implementation, run as **independent parallel subagents** so neither pollutes or reranks the other's findings \u2014 a change can pass one axis and fail the other, and reporting them separately is what keeps that visible.\n\n**Scope \u2014 two subagents, one pass each, and that is the whole review.** The subject under review is always the *code diff*, never another review's output. Do not spawn a third agent to grade the two axes' findings, do not re-review a report you have already written, do not audit the audit. Right-sized review beats deep review: enough eyes to catch real problems, no recursion for its own sake.\n\n**What counts as blocking.** Exactly two kinds of finding block: a **hard violation** of a convention this repo documents, and a **spec-correctness** problem \u2014 a requirement missing, implemented wrongly, or contradicting a decision `design.md` records. Everything else \u2014 judgement calls, style preferences, and every code smell named below \u2014 is **report-only**: report it, do not fix it, and do not re-review because of it. A report-only finding is the user's call to make later, not this run's work. Leave this unstated and the safe reading is to fix everything, which makes \"re-run only the affected axis\" fire on every axis, every time.\n\n**Steps**\n\n1. **Gather context**\n ```bash\n tospec status --change \"<name>\" --json\n ```\n Note `schemaName` (sdd \u2192 compare against `specs/`; issue \u2192 compare against `task.md`, and against its delta specs too when `tospec show \"<name>\" --json` lists any \u2014 the issue schema makes them optional, not absent) and the files this change touched (from `tasks.md`/`task.md`, or the change's diff).\n\n Get the change's diff with `git diff <base>`, where `<base>` is the commit before the change started. Find it with `git log --reverse --format=%h -- tospec/changes/<name>/`: the first hash it prints is the commit that added the change directory, and `<base>` is that hash with `~1` appended. A name can be reused once a change of that name is archived, and the path's history then starts with the archived change's commits. So first look in `tospec/changes/archive/` for a directory named `<stamp>-<name>`; if there is one (the newest, when there are several: stamps sort by time), run `git log --reverse --format=%h -- tospec/changes/archive/<stamp>-<name>/`, whose first hash `<archived>` is the commit that archived it, and find the first hash with `git log --reverse --format=%h <archived>.. -- tospec/changes/<name>/` instead; if that prints nothing while `git status --short` does not list the change directory as new, the change was added in `<archived>` itself, and `<base>` is `<archived>~1`. Empty output means the change directory has no commit yet (`git status --short` lists it as new), so `<base>` is `HEAD`. If git rejects `<hash>~1` as an unknown revision, that hash is the repository's first commit: read what it added with `git show <hash>`, then the rest with `git diff <hash>`. `git diff` leaves out untracked files; read the ones `git status --short` marks `??` as well. **Not a git repository** (git answers `not a git repository`): there is no `<base>` and no diff, so use the fallback scope instead \u2014 every file `tasks.md` / `task.md` and `design.md` (when the change has one) name, plus every file modified during apply. With no earlier version to compare against, read each of those files in full; a change to a file none of them names goes unseen, so the report must record that the fallback scope replaced the diff, and list its files. Run every `git` command in this workflow as its own command from the project root \u2014 not behind `cd \u2026 &&`, not joined through `$(\u2026)`: a lone read-only `git` command runs without a permission prompt, and a chain or a substitution asks for one. With the fallback scope, those files stand in for \"the diff\" in both axis prompts below, labelled as the fallback scope. Verify writes no report file, so its record of the fallback goes in step 5's aggregated report, under both axes.\n\n2. **Spawn both axes in parallel** \u2014 a single message with two `Agent` tool calls, both `general-purpose`, both in the foreground when the tool lets you choose. Wait until both reports are back before step 5: a background axis that has not reported yet is not a clean one.\n\n **Standards axis prompt** \u2014 include the diff, the `context` and `rules` that `tospec instructions apply --change \"<name>\" --json` returned (they bind this diff exactly as the repo's documented conventions do; say so when the project sets neither), and the brief: \"Report every place the diff violates this repo's documented conventions or the project `context`/`rules` given here (cite the file/rule), plus any of Fowler's code smells you spot (Mysterious Name, Duplicated Code, Feature Envy, Data Clumps, Primitive Obsession, Repeated Switches, Shotgun Surgery, Divergent Change, Speculative Generality, Message Chains, Middle Man, Refused Bequest) \u2014 name the smell, quote the hunk, and treat documented repo conventions as overriding the baseline. Distinguish hard violations from judgement calls. Skip anything tooling already enforces.\"\n\n **Spec axis prompt** \u2014 include the diff plus, for sdd, the relevant `specs/<capability>/spec.md` delta content (`tospec show \"<name>\" --json`), `design.md`'s decisions, and the main-spec block (`tospec/specs/<capability>/spec.md`) of every REMOVED Requirement, under its own name, and of every RENAMED Requirement, under the FROM name \u2014 neither a REMOVED entry nor a FROM/TO pair carries its behavior, so the delta alone leaves the subagent nothing to judge it against. A REMOVED block the main spec no longer has comes from that file's history (`git log -p -- tospec/specs/<capability>/spec.md`, run from the project root; empty output means the path matched nothing) \u2014 in a project that is not a git repository, from this change's own delta entry (its Reason and Migration notes) and from earlier deltas under `tospec/changes/archive/` that ADDED or MODIFIED a Requirement of that name, the newest stamp's block being the last behavior agreed \u2014 and when none of these has it, say so in the prompt; for issue, `task.md`'s root cause and fix plan, plus \u2014 when the change has delta specs \u2014 the same delta content and main-spec blocks listed for sdd. Brief: \"Report (a) requirements/task items that are missing or partially implemented; (b) behavior in the diff that wasn't asked for (scope creep); (c) requirements that look implemented but the implementation looks wrong, or that deviate from design.md's stated decisions. Judge each delta section by its own rule: ADDED/MODIFIED must be implemented; REMOVED must be *gone* \u2014 search for the behavior its main-spec block describes, never for the name alone; no implementation is the correct result, only behavior still present is a finding, and a REMOVED Requirement with no block to read is reported as not verified, never as clean; RENAMED is judged under its TO name against the main spec's behavior (`tospec/specs/<capability>/spec.md`, under the FROM name), or this delta's MODIFIED block for the TO name when there is one \u2014 read both sources before you judge. Quote the spec/task line for each finding. End with a **Not checked** list: everything you could not verify, and why.\"\n\n3. **Run the full test suite.** This is a hard gate alongside both axes \u2014 a change with green axes but red tests isn't verified.\n\n4. **Re-validate artifacts**\n ```bash\n tospec validate \"<name>\" --json\n ```\n Read the whole report, not just `valid`. An ERROR fails the run: fix the artifact it names and re-run. The one ERROR you do not fix on your own is `code: \"requirement_header_mismatch\"`: ask the user once whether to change the header to its `suggestedHeader`. On yes, edit the header and re-run; on no, stop the workflow and tell the user archive will refuse this change as written. A WARNING leaves `valid: true` but is not noise \u2014 it is a defect the CLI chose not to block on (an artifact still holding the template, a task ID used twice, a section shorter than the schema asks for, a delta the archive merge would refuse or silently no-op), so treat it as work: fix what the message points at and re-run until no ERROR and no actionable WARNING remain. A delta the archive merge would refuse carries `code: \"archive_would_refuse\"`, counted in `summary.totals.archiveRefusals`: check that count, not the message text. Exactly three kinds may stay, and you name them in your output instead of passing over them: the SHALL/MUST keyword check on a Requirement written in a language other than English (that check is English-only by design), a \"confirm this is intentional\" finding you have confirmed is intentional, and a finding the archive order causes. Never edit the delta to clear that third kind: no edit to this change settles it. A finding with `blockedBy` waits on the in-progress changes it lists: tell the user to archive them first. A `code: \"sister_change_overlap\"` finding without `blockedBy` means another change rewrites the same requirement and this change archives first, or which goes first cannot be told: relay its message to the user, since whichever change archives second must rewrite its delta afterwards. `--strict` is not a shortcut here \u2014 it fails on those three as well. A review is not complete while an ERROR or an actionable WARNING remains.\n\n5. **Aggregate \u2014 do not merge or rerank**\n\n Only once both axes have reported, present the two reports under `## Standards` and `## Spec` headings. Close each axis's section with what it did not check \u2014 e.g. \"no delta specs; the Spec axis compared `task.md` only\", or \"REMOVED Requirement X had no block to read; not verified\", or \"not a git repository; reviewed the fallback scope, not a diff: <files>\" \u2014 so an axis that passed and one that never looked do not read the same. End with one line per axis: total findings and the worst issue within that axis. Do not pick a single overall verdict across axes.\n\n This is a **mechanical collation you do yourself** \u2014 collect, label, count. Not another review pass, and not a job for a subagent.\n\n**Verify output**\n\nReport the two-axis result plus test suite status. If both axes are clean and tests are green, the change is verified \u2014 tell the user it's ready for `tospec-archive`. If either axis has a blocking finding or tests are red, do **not** treat apply as done: fix the issue here (this is still apply), then send **only the hunk that fixed it** back to the axis that reported it \u2014 never the whole axis, and never the other one. A clean axis is not re-run for extra confidence.\n\n**Verify guardrails**\n- Standards and Spec axes are independent \u2014 never let one axis's findings influence the other's report\n- Full test suite must be green; a clean review with red tests is not verified\n- Quote the specific spec/task line or hunk for every finding \u2014 no unsupported claims\n- **One review pass per axis \u2014 never review the review.** A re-run after a fix sees only the hunk that fixed it";
2
+ export declare const VERIFY_METHODOLOGY = "Two-axis review of the implementation, run as **independent parallel subagents** so neither pollutes or reranks the other's findings \u2014 a change can pass one axis and fail the other, and reporting them separately is what keeps that visible.\n\n**Scope \u2014 two subagents, one pass each, and that is the whole review.** The subject under review is always the *code diff*, never another review's output. Do not spawn a third agent to grade the two axes' findings, do not re-review a report you have already written, do not audit the audit. Right-sized review beats deep review: enough eyes to catch real problems, no recursion for its own sake.\n\n**What counts as blocking.** Exactly two kinds of finding block: a **hard violation** of a convention this repo documents, and a **spec-correctness** problem \u2014 a requirement missing, implemented wrongly, or contradicting a decision `design.md` records. Everything else \u2014 judgement calls, style preferences, and every code smell named below \u2014 is **report-only**: report it, do not fix it, and do not re-review because of it. A report-only finding is the user's call to make later, not this run's work. Leave this unstated and the safe reading is to fix everything, which makes \"re-run only the affected axis\" fire on every axis, every time.\n\n**Steps**\n\n1. **Gather context**\n ```bash\n tospec status --change \"<name>\" --json\n ```\n Note `schemaName` (sdd \u2192 compare against `specs/`; issue \u2192 compare against `task.md`, and against its delta specs too when `tospec show \"<name>\" --json` lists any \u2014 the issue schema makes them optional, not absent) and the files this change touched (from `tasks.md`/`task.md`, or the change's diff).\n\n Get the change's diff with `git diff <base>`, where `<base>` is the commit before the change started. Find it with `git log --reverse --format=%h -- tospec/changes/<name>/`: the first hash it prints is the commit that added the change directory, and `<base>` is that hash with `~1` appended. A name can be reused once a change of that name is archived, and the path's history then starts with the archived change's commits. So first look in `tospec/changes/archive/` for a directory named `<stamp>-<name>`; if there is one (the newest, when there are several: stamps sort by time), run `git log --reverse --format=%h -- tospec/changes/archive/<stamp>-<name>/`, whose first hash `<archived>` is the commit that archived it, and find the first hash with `git log --reverse --format=%h <archived>.. -- tospec/changes/<name>/` instead; if that prints nothing while `git status --short` does not list the change directory as new, the change was added in `<archived>` itself, and `<base>` is `<archived>~1`. Empty output means the change directory has no commit yet (`git status --short` lists it as new), so `<base>` is `HEAD`. If git rejects `<hash>~1` as an unknown revision, that hash is the repository's first commit: read what it added with `git show <hash>`, then the rest with `git diff <hash>`. `git diff` leaves out untracked files; read the ones `git status --short` marks `??` as well. **Not a git repository** (git answers `not a git repository`): there is no `<base>` and no diff, so use the fallback scope instead \u2014 every file `tasks.md` / `task.md` and `design.md` (when the change has one) name, plus every file modified during apply. With no earlier version to compare against, read each of those files in full; a change to a file none of them names goes unseen, so the report must record that the fallback scope replaced the diff, and list its files. Run every `git` command in this workflow as its own command from the project root \u2014 not behind `cd \u2026 &&`, not joined through `$(\u2026)`: a lone read-only `git` command runs without a permission prompt, and a chain or a substitution asks for one. With the fallback scope, those files stand in for \"the diff\" in both axis prompts below: hand the axes the file list, labelled as the fallback scope. Verify writes no report file, so its record of the fallback goes in step 5's aggregated report, under both axes.\n\n2. **Spawn both axes in parallel** \u2014 a single message with two `Agent` tool calls, both `general-purpose`, both in the foreground when the tool lets you choose. Wait until both reports are back before step 5: a background axis that has not reported yet is not a clean one.\n\n **Point each axis at its material; never paste it.** A prompt carries the change name, the path of this `VERIFY.md`, which axis prompt below to follow, and step 1's diff scope (the exact diff command with its base, or the fallback file list). The axis then reads everything else itself, with the commands its prompt names. Pasting the diff, the specs and the brief into two prompts costs their full length in output twice, and whatever is trimmed or mistyped on the way changes what gets reviewed without either axis knowing.\n\n **Standards axis prompt** \u2014 the axis reads the diff, and the `context` and `rules` from `tospec instructions apply --change \"<name>\" --json` (they bind this diff exactly as the repo's documented conventions do; when the project sets neither, it says so in its report). Brief: \"Report every place the diff violates this repo's documented conventions or the project `context`/`rules` from `tospec instructions apply` (cite the file/rule), plus any of Fowler's code smells you spot (Mysterious Name, Duplicated Code, Feature Envy, Data Clumps, Primitive Obsession, Repeated Switches, Shotgun Surgery, Divergent Change, Speculative Generality, Message Chains, Middle Man, Refused Bequest) \u2014 name the smell, quote the hunk, and treat documented repo conventions as overriding the baseline. Distinguish hard violations from judgement calls. Skip anything tooling already enforces.\"\n\n **Spec axis prompt** \u2014 the axis reads the diff plus, for sdd, the relevant `specs/<capability>/spec.md` delta content (`tospec show \"<name>\" --json`), `design.md`'s decisions, and the main-spec block (`tospec/specs/<capability>/spec.md`) of every REMOVED Requirement, under its own name, and of every RENAMED Requirement, under the FROM name \u2014 neither a REMOVED entry nor a FROM/TO pair carries its behavior, so the delta alone leaves the axis nothing to judge it against. A REMOVED block the main spec no longer has comes from that file's history (`git log -p -- tospec/specs/<capability>/spec.md`, run from the project root; empty output means the path matched nothing) \u2014 in a project that is not a git repository, from this change's own delta entry (its Reason and Migration notes) and from earlier deltas under `tospec/changes/archive/` that ADDED or MODIFIED a Requirement of that name, the newest stamp's block being the last behavior agreed \u2014 and when none of these has it, that Requirement has no block to read; for issue, `task.md`'s root cause and fix plan, plus \u2014 when the change has delta specs \u2014 the same delta content and main-spec blocks listed for sdd. Brief: \"Report (a) requirements/task items that are missing or partially implemented; (b) behavior in the diff that wasn't asked for (scope creep); (c) requirements that look implemented but the implementation looks wrong, or that deviate from design.md's stated decisions. Judge each delta section by its own rule: ADDED/MODIFIED must be implemented; REMOVED must be *gone* \u2014 search for the behavior its main-spec block describes, never for the name alone; no implementation is the correct result, only behavior still present is a finding, and a REMOVED Requirement with no block to read is reported as not verified, never as clean; RENAMED is judged under its TO name against the main spec's behavior (`tospec/specs/<capability>/spec.md`, under the FROM name), or this delta's MODIFIED block for the TO name when there is one \u2014 read both sources before you judge. Quote the spec/task line for each finding. End with a **Not checked** list: everything you could not verify, and why.\"\n\n3. **Run the full test suite.** This is a hard gate alongside both axes \u2014 a change with green axes but red tests isn't verified.\n\n4. **Re-validate artifacts**\n ```bash\n tospec validate \"<name>\" --json\n ```\n Read the whole report, not just `valid`. An ERROR fails the run: fix the artifact it names and re-run. The one ERROR you do not fix on your own is `code: \"requirement_header_mismatch\"`: ask the user once whether to change the header to its `suggestedHeader`. On yes, edit the header and re-run; on no, stop the workflow and tell the user archive will refuse this change as written. A WARNING leaves `valid: true` but is not noise \u2014 it is a defect the CLI chose not to block on (an artifact still holding the template, a task ID used twice, a section shorter than the schema asks for, a delta the archive merge would refuse or silently no-op), so treat it as work: fix what the message points at and re-run until no ERROR and no actionable WARNING remain. A delta the archive merge would refuse carries `code: \"archive_would_refuse\"`, counted in `summary.totals.archiveRefusals`: check that count, not the message text. Exactly three kinds may stay, and you name them in your output instead of passing over them: the SHALL/MUST keyword check on a Requirement written in a language other than English (that check is English-only by design), a \"confirm this is intentional\" finding you have confirmed is intentional, and a finding the archive order causes. Never edit the delta to clear that third kind: no edit to this change settles it. A finding with `blockedBy` waits on the in-progress changes it lists: tell the user to archive them first. A `code: \"sister_change_overlap\"` finding without `blockedBy` means another change rewrites the same requirement and this change archives first, or which goes first cannot be told: relay its message to the user, since whichever change archives second must rewrite its delta afterwards. `--strict` is not a shortcut here \u2014 it fails on those three as well. A review is not complete while an ERROR or an actionable WARNING remains.\n\n5. **Aggregate \u2014 do not merge or rerank**\n\n Only once both axes have reported, present the two reports under `## Standards` and `## Spec` headings. Close each axis's section with what it did not check \u2014 e.g. \"no delta specs; the Spec axis compared `task.md` only\", or \"REMOVED Requirement X had no block to read; not verified\", or \"not a git repository; reviewed the fallback scope, not a diff: <files>\" \u2014 so an axis that passed and one that never looked do not read the same. End with one line per axis: total findings and the worst issue within that axis. Do not pick a single overall verdict across axes.\n\n This is a **mechanical collation you do yourself** \u2014 collect, label, count. Not another review pass, and not a job for a subagent.\n\n**Verify output**\n\nReport the two-axis result plus test suite status. If both axes are clean and tests are green, the change is verified \u2014 tell the user it's ready for `tospec-archive`. If either axis has a blocking finding or tests are red, do **not** treat apply as done: fix the issue here (this is still apply), then send **only the hunk that fixed it** back to the axis that reported it \u2014 never the whole axis, and never the other one. A clean axis is not re-run for extra confidence.\n\n**Verify guardrails**\n- Standards and Spec axes are independent \u2014 never let one axis's findings influence the other's report\n- Full test suite must be green; a clean review with red tests is not verified\n- Quote the specific spec/task line or hunk for every finding \u2014 no unsupported claims\n- **One review pass per axis \u2014 never review the review.** A re-run after a fix sees only the hunk that fixed it";
3
3
  /** Contents of the `VERIFY.md` shipped beside each apply skill's `SKILL.md`. */
4
- export declare const VERIFY_DOC = "# Verify \u2014 apply's opt-in review\n\nRun this **when the user asks for a review**, once every task in the tracks file is checked off and `tospec validate` passes. It is not a step apply reaches on its own.\n\nTwo-axis review of the implementation, run as **independent parallel subagents** so neither pollutes or reranks the other's findings \u2014 a change can pass one axis and fail the other, and reporting them separately is what keeps that visible.\n\n**Scope \u2014 two subagents, one pass each, and that is the whole review.** The subject under review is always the *code diff*, never another review's output. Do not spawn a third agent to grade the two axes' findings, do not re-review a report you have already written, do not audit the audit. Right-sized review beats deep review: enough eyes to catch real problems, no recursion for its own sake.\n\n**What counts as blocking.** Exactly two kinds of finding block: a **hard violation** of a convention this repo documents, and a **spec-correctness** problem \u2014 a requirement missing, implemented wrongly, or contradicting a decision `design.md` records. Everything else \u2014 judgement calls, style preferences, and every code smell named below \u2014 is **report-only**: report it, do not fix it, and do not re-review because of it. A report-only finding is the user's call to make later, not this run's work. Leave this unstated and the safe reading is to fix everything, which makes \"re-run only the affected axis\" fire on every axis, every time.\n\n**Steps**\n\n1. **Gather context**\n ```bash\n tospec status --change \"<name>\" --json\n ```\n Note `schemaName` (sdd \u2192 compare against `specs/`; issue \u2192 compare against `task.md`, and against its delta specs too when `tospec show \"<name>\" --json` lists any \u2014 the issue schema makes them optional, not absent) and the files this change touched (from `tasks.md`/`task.md`, or the change's diff).\n\n Get the change's diff with `git diff <base>`, where `<base>` is the commit before the change started. Find it with `git log --reverse --format=%h -- tospec/changes/<name>/`: the first hash it prints is the commit that added the change directory, and `<base>` is that hash with `~1` appended. A name can be reused once a change of that name is archived, and the path's history then starts with the archived change's commits. So first look in `tospec/changes/archive/` for a directory named `<stamp>-<name>`; if there is one (the newest, when there are several: stamps sort by time), run `git log --reverse --format=%h -- tospec/changes/archive/<stamp>-<name>/`, whose first hash `<archived>` is the commit that archived it, and find the first hash with `git log --reverse --format=%h <archived>.. -- tospec/changes/<name>/` instead; if that prints nothing while `git status --short` does not list the change directory as new, the change was added in `<archived>` itself, and `<base>` is `<archived>~1`. Empty output means the change directory has no commit yet (`git status --short` lists it as new), so `<base>` is `HEAD`. If git rejects `<hash>~1` as an unknown revision, that hash is the repository's first commit: read what it added with `git show <hash>`, then the rest with `git diff <hash>`. `git diff` leaves out untracked files; read the ones `git status --short` marks `??` as well. **Not a git repository** (git answers `not a git repository`): there is no `<base>` and no diff, so use the fallback scope instead \u2014 every file `tasks.md` / `task.md` and `design.md` (when the change has one) name, plus every file modified during apply. With no earlier version to compare against, read each of those files in full; a change to a file none of them names goes unseen, so the report must record that the fallback scope replaced the diff, and list its files. Run every `git` command in this workflow as its own command from the project root \u2014 not behind `cd \u2026 &&`, not joined through `$(\u2026)`: a lone read-only `git` command runs without a permission prompt, and a chain or a substitution asks for one. With the fallback scope, those files stand in for \"the diff\" in both axis prompts below, labelled as the fallback scope. Verify writes no report file, so its record of the fallback goes in step 5's aggregated report, under both axes.\n\n2. **Spawn both axes in parallel** \u2014 a single message with two `Agent` tool calls, both `general-purpose`, both in the foreground when the tool lets you choose. Wait until both reports are back before step 5: a background axis that has not reported yet is not a clean one.\n\n **Standards axis prompt** \u2014 include the diff, the `context` and `rules` that `tospec instructions apply --change \"<name>\" --json` returned (they bind this diff exactly as the repo's documented conventions do; say so when the project sets neither), and the brief: \"Report every place the diff violates this repo's documented conventions or the project `context`/`rules` given here (cite the file/rule), plus any of Fowler's code smells you spot (Mysterious Name, Duplicated Code, Feature Envy, Data Clumps, Primitive Obsession, Repeated Switches, Shotgun Surgery, Divergent Change, Speculative Generality, Message Chains, Middle Man, Refused Bequest) \u2014 name the smell, quote the hunk, and treat documented repo conventions as overriding the baseline. Distinguish hard violations from judgement calls. Skip anything tooling already enforces.\"\n\n **Spec axis prompt** \u2014 include the diff plus, for sdd, the relevant `specs/<capability>/spec.md` delta content (`tospec show \"<name>\" --json`), `design.md`'s decisions, and the main-spec block (`tospec/specs/<capability>/spec.md`) of every REMOVED Requirement, under its own name, and of every RENAMED Requirement, under the FROM name \u2014 neither a REMOVED entry nor a FROM/TO pair carries its behavior, so the delta alone leaves the subagent nothing to judge it against. A REMOVED block the main spec no longer has comes from that file's history (`git log -p -- tospec/specs/<capability>/spec.md`, run from the project root; empty output means the path matched nothing) \u2014 in a project that is not a git repository, from this change's own delta entry (its Reason and Migration notes) and from earlier deltas under `tospec/changes/archive/` that ADDED or MODIFIED a Requirement of that name, the newest stamp's block being the last behavior agreed \u2014 and when none of these has it, say so in the prompt; for issue, `task.md`'s root cause and fix plan, plus \u2014 when the change has delta specs \u2014 the same delta content and main-spec blocks listed for sdd. Brief: \"Report (a) requirements/task items that are missing or partially implemented; (b) behavior in the diff that wasn't asked for (scope creep); (c) requirements that look implemented but the implementation looks wrong, or that deviate from design.md's stated decisions. Judge each delta section by its own rule: ADDED/MODIFIED must be implemented; REMOVED must be *gone* \u2014 search for the behavior its main-spec block describes, never for the name alone; no implementation is the correct result, only behavior still present is a finding, and a REMOVED Requirement with no block to read is reported as not verified, never as clean; RENAMED is judged under its TO name against the main spec's behavior (`tospec/specs/<capability>/spec.md`, under the FROM name), or this delta's MODIFIED block for the TO name when there is one \u2014 read both sources before you judge. Quote the spec/task line for each finding. End with a **Not checked** list: everything you could not verify, and why.\"\n\n3. **Run the full test suite.** This is a hard gate alongside both axes \u2014 a change with green axes but red tests isn't verified.\n\n4. **Re-validate artifacts**\n ```bash\n tospec validate \"<name>\" --json\n ```\n Read the whole report, not just `valid`. An ERROR fails the run: fix the artifact it names and re-run. The one ERROR you do not fix on your own is `code: \"requirement_header_mismatch\"`: ask the user once whether to change the header to its `suggestedHeader`. On yes, edit the header and re-run; on no, stop the workflow and tell the user archive will refuse this change as written. A WARNING leaves `valid: true` but is not noise \u2014 it is a defect the CLI chose not to block on (an artifact still holding the template, a task ID used twice, a section shorter than the schema asks for, a delta the archive merge would refuse or silently no-op), so treat it as work: fix what the message points at and re-run until no ERROR and no actionable WARNING remain. A delta the archive merge would refuse carries `code: \"archive_would_refuse\"`, counted in `summary.totals.archiveRefusals`: check that count, not the message text. Exactly three kinds may stay, and you name them in your output instead of passing over them: the SHALL/MUST keyword check on a Requirement written in a language other than English (that check is English-only by design), a \"confirm this is intentional\" finding you have confirmed is intentional, and a finding the archive order causes. Never edit the delta to clear that third kind: no edit to this change settles it. A finding with `blockedBy` waits on the in-progress changes it lists: tell the user to archive them first. A `code: \"sister_change_overlap\"` finding without `blockedBy` means another change rewrites the same requirement and this change archives first, or which goes first cannot be told: relay its message to the user, since whichever change archives second must rewrite its delta afterwards. `--strict` is not a shortcut here \u2014 it fails on those three as well. A review is not complete while an ERROR or an actionable WARNING remains.\n\n5. **Aggregate \u2014 do not merge or rerank**\n\n Only once both axes have reported, present the two reports under `## Standards` and `## Spec` headings. Close each axis's section with what it did not check \u2014 e.g. \"no delta specs; the Spec axis compared `task.md` only\", or \"REMOVED Requirement X had no block to read; not verified\", or \"not a git repository; reviewed the fallback scope, not a diff: <files>\" \u2014 so an axis that passed and one that never looked do not read the same. End with one line per axis: total findings and the worst issue within that axis. Do not pick a single overall verdict across axes.\n\n This is a **mechanical collation you do yourself** \u2014 collect, label, count. Not another review pass, and not a job for a subagent.\n\n**Verify output**\n\nReport the two-axis result plus test suite status. If both axes are clean and tests are green, the change is verified \u2014 tell the user it's ready for `tospec-archive`. If either axis has a blocking finding or tests are red, do **not** treat apply as done: fix the issue here (this is still apply), then send **only the hunk that fixed it** back to the axis that reported it \u2014 never the whole axis, and never the other one. A clean axis is not re-run for extra confidence.\n\n**Verify guardrails**\n- Standards and Spec axes are independent \u2014 never let one axis's findings influence the other's report\n- Full test suite must be green; a clean review with red tests is not verified\n- Quote the specific spec/task line or hunk for every finding \u2014 no unsupported claims\n- **One review pass per axis \u2014 never review the review.** A re-run after a fix sees only the hunk that fixed it\n";
4
+ export declare const VERIFY_DOC = "# Verify \u2014 apply's opt-in review\n\nRun this **when the user asks for a review**, once every task in the tracks file is checked off and `tospec validate` passes. It is not a step apply reaches on its own.\n\nTwo-axis review of the implementation, run as **independent parallel subagents** so neither pollutes or reranks the other's findings \u2014 a change can pass one axis and fail the other, and reporting them separately is what keeps that visible.\n\n**Scope \u2014 two subagents, one pass each, and that is the whole review.** The subject under review is always the *code diff*, never another review's output. Do not spawn a third agent to grade the two axes' findings, do not re-review a report you have already written, do not audit the audit. Right-sized review beats deep review: enough eyes to catch real problems, no recursion for its own sake.\n\n**What counts as blocking.** Exactly two kinds of finding block: a **hard violation** of a convention this repo documents, and a **spec-correctness** problem \u2014 a requirement missing, implemented wrongly, or contradicting a decision `design.md` records. Everything else \u2014 judgement calls, style preferences, and every code smell named below \u2014 is **report-only**: report it, do not fix it, and do not re-review because of it. A report-only finding is the user's call to make later, not this run's work. Leave this unstated and the safe reading is to fix everything, which makes \"re-run only the affected axis\" fire on every axis, every time.\n\n**Steps**\n\n1. **Gather context**\n ```bash\n tospec status --change \"<name>\" --json\n ```\n Note `schemaName` (sdd \u2192 compare against `specs/`; issue \u2192 compare against `task.md`, and against its delta specs too when `tospec show \"<name>\" --json` lists any \u2014 the issue schema makes them optional, not absent) and the files this change touched (from `tasks.md`/`task.md`, or the change's diff).\n\n Get the change's diff with `git diff <base>`, where `<base>` is the commit before the change started. Find it with `git log --reverse --format=%h -- tospec/changes/<name>/`: the first hash it prints is the commit that added the change directory, and `<base>` is that hash with `~1` appended. A name can be reused once a change of that name is archived, and the path's history then starts with the archived change's commits. So first look in `tospec/changes/archive/` for a directory named `<stamp>-<name>`; if there is one (the newest, when there are several: stamps sort by time), run `git log --reverse --format=%h -- tospec/changes/archive/<stamp>-<name>/`, whose first hash `<archived>` is the commit that archived it, and find the first hash with `git log --reverse --format=%h <archived>.. -- tospec/changes/<name>/` instead; if that prints nothing while `git status --short` does not list the change directory as new, the change was added in `<archived>` itself, and `<base>` is `<archived>~1`. Empty output means the change directory has no commit yet (`git status --short` lists it as new), so `<base>` is `HEAD`. If git rejects `<hash>~1` as an unknown revision, that hash is the repository's first commit: read what it added with `git show <hash>`, then the rest with `git diff <hash>`. `git diff` leaves out untracked files; read the ones `git status --short` marks `??` as well. **Not a git repository** (git answers `not a git repository`): there is no `<base>` and no diff, so use the fallback scope instead \u2014 every file `tasks.md` / `task.md` and `design.md` (when the change has one) name, plus every file modified during apply. With no earlier version to compare against, read each of those files in full; a change to a file none of them names goes unseen, so the report must record that the fallback scope replaced the diff, and list its files. Run every `git` command in this workflow as its own command from the project root \u2014 not behind `cd \u2026 &&`, not joined through `$(\u2026)`: a lone read-only `git` command runs without a permission prompt, and a chain or a substitution asks for one. With the fallback scope, those files stand in for \"the diff\" in both axis prompts below: hand the axes the file list, labelled as the fallback scope. Verify writes no report file, so its record of the fallback goes in step 5's aggregated report, under both axes.\n\n2. **Spawn both axes in parallel** \u2014 a single message with two `Agent` tool calls, both `general-purpose`, both in the foreground when the tool lets you choose. Wait until both reports are back before step 5: a background axis that has not reported yet is not a clean one.\n\n **Point each axis at its material; never paste it.** A prompt carries the change name, the path of this `VERIFY.md`, which axis prompt below to follow, and step 1's diff scope (the exact diff command with its base, or the fallback file list). The axis then reads everything else itself, with the commands its prompt names. Pasting the diff, the specs and the brief into two prompts costs their full length in output twice, and whatever is trimmed or mistyped on the way changes what gets reviewed without either axis knowing.\n\n **Standards axis prompt** \u2014 the axis reads the diff, and the `context` and `rules` from `tospec instructions apply --change \"<name>\" --json` (they bind this diff exactly as the repo's documented conventions do; when the project sets neither, it says so in its report). Brief: \"Report every place the diff violates this repo's documented conventions or the project `context`/`rules` from `tospec instructions apply` (cite the file/rule), plus any of Fowler's code smells you spot (Mysterious Name, Duplicated Code, Feature Envy, Data Clumps, Primitive Obsession, Repeated Switches, Shotgun Surgery, Divergent Change, Speculative Generality, Message Chains, Middle Man, Refused Bequest) \u2014 name the smell, quote the hunk, and treat documented repo conventions as overriding the baseline. Distinguish hard violations from judgement calls. Skip anything tooling already enforces.\"\n\n **Spec axis prompt** \u2014 the axis reads the diff plus, for sdd, the relevant `specs/<capability>/spec.md` delta content (`tospec show \"<name>\" --json`), `design.md`'s decisions, and the main-spec block (`tospec/specs/<capability>/spec.md`) of every REMOVED Requirement, under its own name, and of every RENAMED Requirement, under the FROM name \u2014 neither a REMOVED entry nor a FROM/TO pair carries its behavior, so the delta alone leaves the axis nothing to judge it against. A REMOVED block the main spec no longer has comes from that file's history (`git log -p -- tospec/specs/<capability>/spec.md`, run from the project root; empty output means the path matched nothing) \u2014 in a project that is not a git repository, from this change's own delta entry (its Reason and Migration notes) and from earlier deltas under `tospec/changes/archive/` that ADDED or MODIFIED a Requirement of that name, the newest stamp's block being the last behavior agreed \u2014 and when none of these has it, that Requirement has no block to read; for issue, `task.md`'s root cause and fix plan, plus \u2014 when the change has delta specs \u2014 the same delta content and main-spec blocks listed for sdd. Brief: \"Report (a) requirements/task items that are missing or partially implemented; (b) behavior in the diff that wasn't asked for (scope creep); (c) requirements that look implemented but the implementation looks wrong, or that deviate from design.md's stated decisions. Judge each delta section by its own rule: ADDED/MODIFIED must be implemented; REMOVED must be *gone* \u2014 search for the behavior its main-spec block describes, never for the name alone; no implementation is the correct result, only behavior still present is a finding, and a REMOVED Requirement with no block to read is reported as not verified, never as clean; RENAMED is judged under its TO name against the main spec's behavior (`tospec/specs/<capability>/spec.md`, under the FROM name), or this delta's MODIFIED block for the TO name when there is one \u2014 read both sources before you judge. Quote the spec/task line for each finding. End with a **Not checked** list: everything you could not verify, and why.\"\n\n3. **Run the full test suite.** This is a hard gate alongside both axes \u2014 a change with green axes but red tests isn't verified.\n\n4. **Re-validate artifacts**\n ```bash\n tospec validate \"<name>\" --json\n ```\n Read the whole report, not just `valid`. An ERROR fails the run: fix the artifact it names and re-run. The one ERROR you do not fix on your own is `code: \"requirement_header_mismatch\"`: ask the user once whether to change the header to its `suggestedHeader`. On yes, edit the header and re-run; on no, stop the workflow and tell the user archive will refuse this change as written. A WARNING leaves `valid: true` but is not noise \u2014 it is a defect the CLI chose not to block on (an artifact still holding the template, a task ID used twice, a section shorter than the schema asks for, a delta the archive merge would refuse or silently no-op), so treat it as work: fix what the message points at and re-run until no ERROR and no actionable WARNING remain. A delta the archive merge would refuse carries `code: \"archive_would_refuse\"`, counted in `summary.totals.archiveRefusals`: check that count, not the message text. Exactly three kinds may stay, and you name them in your output instead of passing over them: the SHALL/MUST keyword check on a Requirement written in a language other than English (that check is English-only by design), a \"confirm this is intentional\" finding you have confirmed is intentional, and a finding the archive order causes. Never edit the delta to clear that third kind: no edit to this change settles it. A finding with `blockedBy` waits on the in-progress changes it lists: tell the user to archive them first. A `code: \"sister_change_overlap\"` finding without `blockedBy` means another change rewrites the same requirement and this change archives first, or which goes first cannot be told: relay its message to the user, since whichever change archives second must rewrite its delta afterwards. `--strict` is not a shortcut here \u2014 it fails on those three as well. A review is not complete while an ERROR or an actionable WARNING remains.\n\n5. **Aggregate \u2014 do not merge or rerank**\n\n Only once both axes have reported, present the two reports under `## Standards` and `## Spec` headings. Close each axis's section with what it did not check \u2014 e.g. \"no delta specs; the Spec axis compared `task.md` only\", or \"REMOVED Requirement X had no block to read; not verified\", or \"not a git repository; reviewed the fallback scope, not a diff: <files>\" \u2014 so an axis that passed and one that never looked do not read the same. End with one line per axis: total findings and the worst issue within that axis. Do not pick a single overall verdict across axes.\n\n This is a **mechanical collation you do yourself** \u2014 collect, label, count. Not another review pass, and not a job for a subagent.\n\n**Verify output**\n\nReport the two-axis result plus test suite status. If both axes are clean and tests are green, the change is verified \u2014 tell the user it's ready for `tospec-archive`. If either axis has a blocking finding or tests are red, do **not** treat apply as done: fix the issue here (this is still apply), then send **only the hunk that fixed it** back to the axis that reported it \u2014 never the whole axis, and never the other one. A clean axis is not re-run for extra confidence.\n\n**Verify guardrails**\n- Standards and Spec axes are independent \u2014 never let one axis's findings influence the other's report\n- Full test suite must be green; a clean review with red tests is not verified\n- Quote the specific spec/task line or hunk for every finding \u2014 no unsupported claims\n- **One review pass per axis \u2014 never review the review.** A re-run after a fix sees only the hunk that fixed it\n";
5
5
  /** The pointer that replaces the methodology inside the apply skills. */
6
6
  export declare const VERIFY_POINTER = "## Verify (opt-in \u2014 only when the user asks)\n\nThe two-axis review does **not** run on its own. Apply finishes on the full test suite and `tospec validate`; a change with those green is implemented, review or no review.\n\nWhen the user asks for a review, **read `VERIFY.md` in this skill's directory and run it in full.** Don't offer it unprompted either \u2014 no \"shall I review this?\" at the end of a run. If a review does run, the change stays unfinished \u2014 and must not go to `tospec-archive` \u2014 until it comes back clean.";
7
7
  //# sourceMappingURL=verify.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"verify.d.ts","sourceRoot":"","sources":["../../../../src/core/templates/fragments/verify.ts"],"names":[],"mappings":"AAUA,yDAAyD;AACzD,eAAO,MAAM,kBAAkB,2/VA4CiF,CAAC;AAEjH,gFAAgF;AAChF,eAAO,MAAM,UAAU,ktWAKtB,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,cAAc,qiBAIoR,CAAC"}
1
+ {"version":3,"file":"verify.d.ts","sourceRoot":"","sources":["../../../../src/core/templates/fragments/verify.ts"],"names":[],"mappings":"AAUA,yDAAyD;AACzD,eAAO,MAAM,kBAAkB,mmXA8CiF,CAAC;AAEjH,gFAAgF;AAChF,eAAO,MAAM,UAAU,0zXAKtB,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,cAAc,qiBAIoR,CAAC"}
@@ -22,13 +22,15 @@ export const VERIFY_METHODOLOGY = `Two-axis review of the implementation, run as
22
22
  \`\`\`
23
23
  Note \`schemaName\` (sdd → compare against \`specs/\`; issue → compare against \`task.md\`, and against its delta specs too when \`tospec show "<name>" --json\` lists any — the issue schema makes them optional, not absent) and the files this change touched (from \`tasks.md\`/\`task.md\`, or the change's diff).
24
24
 
25
- ${CHANGE_DIFF} ${GIT_COMMAND_RULE} With the fallback scope, those files stand in for "the diff" in both axis prompts below, labelled as the fallback scope. Verify writes no report file, so its record of the fallback goes in step 5's aggregated report, under both axes.
25
+ ${CHANGE_DIFF} ${GIT_COMMAND_RULE} With the fallback scope, those files stand in for "the diff" in both axis prompts below: hand the axes the file list, labelled as the fallback scope. Verify writes no report file, so its record of the fallback goes in step 5's aggregated report, under both axes.
26
26
 
27
27
  2. **Spawn both axes in parallel** — a single message with two \`Agent\` tool calls, both \`general-purpose\`, both in the foreground when the tool lets you choose. Wait until both reports are back before step 5: a background axis that has not reported yet is not a clean one.
28
28
 
29
- **Standards axis prompt** — include the diff, the \`context\` and \`rules\` that \`tospec instructions apply --change "<name>" --json\` returned (they bind this diff exactly as the repo's documented conventions do; say so when the project sets neither), and the brief: "Report every place the diff violates this repo's documented conventions or the project \`context\`/\`rules\` given here (cite the file/rule), plus any of Fowler's code smells you spot (Mysterious Name, Duplicated Code, Feature Envy, Data Clumps, Primitive Obsession, Repeated Switches, Shotgun Surgery, Divergent Change, Speculative Generality, Message Chains, Middle Man, Refused Bequest) — name the smell, quote the hunk, and treat documented repo conventions as overriding the baseline. Distinguish hard violations from judgement calls. Skip anything tooling already enforces."
29
+ **Point each axis at its material; never paste it.** A prompt carries the change name, the path of this \`VERIFY.md\`, which axis prompt below to follow, and step 1's diff scope (the exact diff command with its base, or the fallback file list). The axis then reads everything else itself, with the commands its prompt names. Pasting the diff, the specs and the brief into two prompts costs their full length in output twice, and whatever is trimmed or mistyped on the way changes what gets reviewed without either axis knowing.
30
30
 
31
- **Spec axis prompt** — include the diff plus, for sdd, the relevant \`specs/<capability>/spec.md\` delta content (\`tospec show "<name>" --json\`), \`design.md\`'s decisions, and the main-spec block (\`tospec/specs/<capability>/spec.md\`) of every REMOVED Requirement, under its own name, and of every RENAMED Requirement, under the FROM name — neither a REMOVED entry nor a FROM/TO pair carries its behavior, so the delta alone leaves the subagent nothing to judge it against. A REMOVED block the main spec no longer has comes from that file's history (\`git log -p -- tospec/specs/<capability>/spec.md\`, run from the project root; empty output means the path matched nothing) — in a project that is not a git repository, from this change's own delta entry (its Reason and Migration notes) and from earlier deltas under \`tospec/changes/archive/\` that ADDED or MODIFIED a Requirement of that name, the newest stamp's block being the last behavior agreed — and when none of these has it, say so in the prompt; for issue, \`task.md\`'s root cause and fix plan, plus — when the change has delta specs — the same delta content and main-spec blocks listed for sdd. Brief: "Report (a) requirements/task items that are missing or partially implemented; (b) behavior in the diff that wasn't asked for (scope creep); (c) requirements that look implemented but the implementation looks wrong, or that deviate from design.md's stated decisions. Judge each delta section by its own rule: ADDED/MODIFIED must be implemented; REMOVED must be *gone* — search for the behavior its main-spec block describes, never for the name alone; no implementation is the correct result, only behavior still present is a finding, and a REMOVED Requirement with no block to read is reported as not verified, never as clean; RENAMED is judged under its TO name against the main spec's behavior (\`tospec/specs/<capability>/spec.md\`, under the FROM name), or this delta's MODIFIED block for the TO name when there is one — read both sources before you judge. Quote the spec/task line for each finding. End with a **Not checked** list: everything you could not verify, and why."
31
+ **Standards axis prompt** — the axis reads the diff, and the \`context\` and \`rules\` from \`tospec instructions apply --change "<name>" --json\` (they bind this diff exactly as the repo's documented conventions do; when the project sets neither, it says so in its report). Brief: "Report every place the diff violates this repo's documented conventions or the project \`context\`/\`rules\` from \`tospec instructions apply\` (cite the file/rule), plus any of Fowler's code smells you spot (Mysterious Name, Duplicated Code, Feature Envy, Data Clumps, Primitive Obsession, Repeated Switches, Shotgun Surgery, Divergent Change, Speculative Generality, Message Chains, Middle Man, Refused Bequest) — name the smell, quote the hunk, and treat documented repo conventions as overriding the baseline. Distinguish hard violations from judgement calls. Skip anything tooling already enforces."
32
+
33
+ **Spec axis prompt** — the axis reads the diff plus, for sdd, the relevant \`specs/<capability>/spec.md\` delta content (\`tospec show "<name>" --json\`), \`design.md\`'s decisions, and the main-spec block (\`tospec/specs/<capability>/spec.md\`) of every REMOVED Requirement, under its own name, and of every RENAMED Requirement, under the FROM name — neither a REMOVED entry nor a FROM/TO pair carries its behavior, so the delta alone leaves the axis nothing to judge it against. A REMOVED block the main spec no longer has comes from that file's history (\`git log -p -- tospec/specs/<capability>/spec.md\`, run from the project root; empty output means the path matched nothing) — in a project that is not a git repository, from this change's own delta entry (its Reason and Migration notes) and from earlier deltas under \`tospec/changes/archive/\` that ADDED or MODIFIED a Requirement of that name, the newest stamp's block being the last behavior agreed — and when none of these has it, that Requirement has no block to read; for issue, \`task.md\`'s root cause and fix plan, plus — when the change has delta specs — the same delta content and main-spec blocks listed for sdd. Brief: "Report (a) requirements/task items that are missing or partially implemented; (b) behavior in the diff that wasn't asked for (scope creep); (c) requirements that look implemented but the implementation looks wrong, or that deviate from design.md's stated decisions. Judge each delta section by its own rule: ADDED/MODIFIED must be implemented; REMOVED must be *gone* — search for the behavior its main-spec block describes, never for the name alone; no implementation is the correct result, only behavior still present is a finding, and a REMOVED Requirement with no block to read is reported as not verified, never as clean; RENAMED is judged under its TO name against the main spec's behavior (\`tospec/specs/<capability>/spec.md\`, under the FROM name), or this delta's MODIFIED block for the TO name when there is one — read both sources before you judge. Quote the spec/task line for each finding. End with a **Not checked** list: everything you could not verify, and why."
32
34
 
33
35
  3. **Run the full test suite.** This is a hard gate alongside both axes — a change with green axes but red tests isn't verified.
34
36
 
@@ -1 +1 @@
1
- {"version":3,"file":"verify.js","sourceRoot":"","sources":["../../../../src/core/templates/fragments/verify.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEjE,yDAAyD;AACzD,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;KAc7B,WAAW,IAAI,gBAAgB;;;;;;;;;;;;;;KAc/B,qBAAqB;;;;;;;;;;;;;;;;gHAgBsF,CAAC;AAEjH,gFAAgF;AAChF,MAAM,CAAC,MAAM,UAAU,GAAG;;;;EAIxB,kBAAkB;CACnB,CAAC;AAEF,yEAAyE;AACzE,MAAM,CAAC,MAAM,cAAc,GAAG;;;;+SAIiR,CAAC"}
1
+ {"version":3,"file":"verify.js","sourceRoot":"","sources":["../../../../src/core/templates/fragments/verify.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEjE,yDAAyD;AACzD,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;KAc7B,WAAW,IAAI,gBAAgB;;;;;;;;;;;;;;;;KAgB/B,qBAAqB;;;;;;;;;;;;;;;;gHAgBsF,CAAC;AAEjH,gFAAgF;AAChF,MAAM,CAAC,MAAM,UAAU,GAAG;;;;EAIxB,kBAAkB;CACnB,CAAC;AAEF,yEAAyE;AACzE,MAAM,CAAC,MAAM,cAAc,GAAG;;;;+SAIiR,CAAC"}
@@ -2,6 +2,8 @@
2
2
  export type { SkillTemplate } from './types.js';
3
3
  export { getExploreSkillTemplate } from './workflows/explore.js';
4
4
  export { getGrillSkillTemplate } from './workflows/grill.js';
5
+ export { getTospecRestateYourGoalSkillTemplate } from './workflows/restate-your-goal.js';
6
+ export { getTospecHowSkillTemplate } from './workflows/how.js';
5
7
  export { getTospecProposeSkillTemplate } from './workflows/propose.js';
6
8
  export { getTospecIssueSkillTemplate } from './workflows/issue.js';
7
9
  export { getTospecDecisionSkillTemplate } from './workflows/decision.js';
@@ -1 +1 @@
1
- {"version":3,"file":"skill-templates.d.ts","sourceRoot":"","sources":["../../../src/core/templates/skill-templates.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,kCAAkC,EAAE,MAAM,sBAAsB,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"skill-templates.d.ts","sourceRoot":"","sources":["../../../src/core/templates/skill-templates.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,qCAAqC,EAAE,MAAM,kCAAkC,CAAC;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,kCAAkC,EAAE,MAAM,sBAAsB,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1,5 +1,7 @@
1
1
  export { getExploreSkillTemplate } from './workflows/explore.js';
2
2
  export { getGrillSkillTemplate } from './workflows/grill.js';
3
+ export { getTospecRestateYourGoalSkillTemplate } from './workflows/restate-your-goal.js';
4
+ export { getTospecHowSkillTemplate } from './workflows/how.js';
3
5
  export { getTospecProposeSkillTemplate } from './workflows/propose.js';
4
6
  export { getTospecIssueSkillTemplate } from './workflows/issue.js';
5
7
  export { getTospecDecisionSkillTemplate } from './workflows/decision.js';
@@ -1 +1 @@
1
- {"version":3,"file":"skill-templates.js","sourceRoot":"","sources":["../../../src/core/templates/skill-templates.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,kCAAkC,EAAE,MAAM,sBAAsB,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"skill-templates.js","sourceRoot":"","sources":["../../../src/core/templates/skill-templates.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,qCAAqC,EAAE,MAAM,kCAAkC,CAAC;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,kCAAkC,EAAE,MAAM,sBAAsB,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"apply.d.ts","sourceRoot":"","sources":["../../../../src/core/templates/workflows/apply.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAoIjD,wBAAgB,2BAA2B,IAAI,aAAa,CAe3D;AA8BD,wBAAgB,kCAAkC,IAAI,aAAa,CAelE"}
1
+ {"version":3,"file":"apply.d.ts","sourceRoot":"","sources":["../../../../src/core/templates/workflows/apply.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAiJjD,wBAAgB,2BAA2B,IAAI,aAAa,CAe3D;AAgCD,wBAAgB,kCAAkC,IAAI,aAAa,CAelE"}