@telora/daemon 0.19.74 → 0.19.91

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 (133) hide show
  1. package/build-info.json +5 -3
  2. package/dist/cli/session-state.d.ts +26 -0
  3. package/dist/cli/session-state.d.ts.map +1 -1
  4. package/dist/cli/session-state.js +53 -2
  5. package/dist/cli/session-state.js.map +1 -1
  6. package/dist/cli/verify-setup-config.d.ts +58 -0
  7. package/dist/cli/verify-setup-config.d.ts.map +1 -0
  8. package/dist/cli/verify-setup-config.js +105 -0
  9. package/dist/cli/verify-setup-config.js.map +1 -0
  10. package/dist/cli/verify-setup.d.ts +96 -0
  11. package/dist/cli/verify-setup.d.ts.map +1 -0
  12. package/dist/cli/verify-setup.js +175 -0
  13. package/dist/cli/verify-setup.js.map +1 -0
  14. package/dist/config.d.ts +29 -1
  15. package/dist/config.d.ts.map +1 -1
  16. package/dist/config.js +81 -2
  17. package/dist/config.js.map +1 -1
  18. package/dist/focus-executor.d.ts.map +1 -1
  19. package/dist/focus-executor.js +40 -5
  20. package/dist/focus-executor.js.map +1 -1
  21. package/dist/focus-merge.js +3 -3
  22. package/dist/focus-merge.js.map +1 -1
  23. package/dist/focus-prompt-builder.d.ts.map +1 -1
  24. package/dist/focus-prompt-builder.js +4 -1
  25. package/dist/focus-prompt-builder.js.map +1 -1
  26. package/dist/heartbeat.d.ts.map +1 -1
  27. package/dist/heartbeat.js +6 -0
  28. package/dist/heartbeat.js.map +1 -1
  29. package/dist/index.js +33 -0
  30. package/dist/index.js.map +1 -1
  31. package/dist/prompt-contradictions.d.ts +55 -0
  32. package/dist/prompt-contradictions.d.ts.map +1 -0
  33. package/dist/prompt-contradictions.js +114 -0
  34. package/dist/prompt-contradictions.js.map +1 -0
  35. package/dist/prompt-listing.d.ts +19 -0
  36. package/dist/prompt-listing.d.ts.map +1 -1
  37. package/dist/prompt-listing.js +49 -0
  38. package/dist/prompt-listing.js.map +1 -1
  39. package/dist/prompt-sections/execution-sections.d.ts +3 -2
  40. package/dist/prompt-sections/execution-sections.d.ts.map +1 -1
  41. package/dist/prompt-sections/execution-sections.js +70 -97
  42. package/dist/prompt-sections/execution-sections.js.map +1 -1
  43. package/dist/prompt-sections/role-sections.js +2 -2
  44. package/dist/prompt-sections/role-sections.js.map +1 -1
  45. package/dist/queries/context-assembly.d.ts +14 -4
  46. package/dist/queries/context-assembly.d.ts.map +1 -1
  47. package/dist/queries/context-assembly.js +14 -4
  48. package/dist/queries/context-assembly.js.map +1 -1
  49. package/dist/queries/deliveries.d.ts +30 -0
  50. package/dist/queries/deliveries.d.ts.map +1 -1
  51. package/dist/queries/deliveries.js.map +1 -1
  52. package/dist/queries/focuses.d.ts +0 -7
  53. package/dist/queries/focuses.d.ts.map +1 -1
  54. package/dist/queries/focuses.js +0 -9
  55. package/dist/queries/focuses.js.map +1 -1
  56. package/dist/queries/index.d.ts +1 -1
  57. package/dist/queries/index.d.ts.map +1 -1
  58. package/dist/queries/index.js +1 -1
  59. package/dist/queries/index.js.map +1 -1
  60. package/dist/resolvers/escalation-answers.d.ts +40 -0
  61. package/dist/resolvers/escalation-answers.d.ts.map +1 -1
  62. package/dist/resolvers/escalation-answers.js +54 -35
  63. package/dist/resolvers/escalation-answers.js.map +1 -1
  64. package/dist/resolvers/shared/wiki.d.ts +27 -0
  65. package/dist/resolvers/shared/wiki.d.ts.map +1 -1
  66. package/dist/resolvers/shared/wiki.js +39 -0
  67. package/dist/resolvers/shared/wiki.js.map +1 -1
  68. package/dist/spawn/delivered-manifest.d.ts +42 -0
  69. package/dist/spawn/delivered-manifest.d.ts.map +1 -0
  70. package/dist/spawn/delivered-manifest.js +64 -0
  71. package/dist/spawn/delivered-manifest.js.map +1 -0
  72. package/dist/spawn/process-spawn.d.ts +9 -0
  73. package/dist/spawn/process-spawn.d.ts.map +1 -1
  74. package/dist/spawn/process-spawn.js +8 -1
  75. package/dist/spawn/process-spawn.js.map +1 -1
  76. package/dist/spawn/prompt-assembly.d.ts +28 -1
  77. package/dist/spawn/prompt-assembly.d.ts.map +1 -1
  78. package/dist/spawn/prompt-assembly.js +16 -7
  79. package/dist/spawn/prompt-assembly.js.map +1 -1
  80. package/dist/spawn/shared.d.ts +27 -3
  81. package/dist/spawn/shared.d.ts.map +1 -1
  82. package/dist/spawn/spawn-decision.d.ts +50 -0
  83. package/dist/spawn/spawn-decision.d.ts.map +1 -1
  84. package/dist/spawn/spawn-decision.js +114 -38
  85. package/dist/spawn/spawn-decision.js.map +1 -1
  86. package/dist/spawner/lifecycle.js +3 -3
  87. package/dist/spawner/lifecycle.js.map +1 -1
  88. package/dist/spawner/resolution.js +3 -3
  89. package/dist/spawner/resolution.js.map +1 -1
  90. package/dist/types/config.d.ts +79 -1
  91. package/dist/types/config.d.ts.map +1 -1
  92. package/dist/unified-engine-lifecycle.d.ts.map +1 -1
  93. package/dist/unified-engine-lifecycle.js +14 -2
  94. package/dist/unified-engine-lifecycle.js.map +1 -1
  95. package/dist/unified-init.d.ts.map +1 -1
  96. package/dist/unified-init.js +21 -1
  97. package/dist/unified-init.js.map +1 -1
  98. package/dist/unified-shell-status.d.ts +11 -0
  99. package/dist/unified-shell-status.d.ts.map +1 -1
  100. package/dist/unified-shell-status.js +30 -0
  101. package/dist/unified-shell-status.js.map +1 -1
  102. package/dist/unified-shell.d.ts.map +1 -1
  103. package/dist/unified-shell.js +13 -1
  104. package/dist/unified-shell.js.map +1 -1
  105. package/dist/verification-baseline.d.ts +112 -0
  106. package/dist/verification-baseline.d.ts.map +1 -0
  107. package/dist/verification-baseline.js +264 -0
  108. package/dist/verification-baseline.js.map +1 -0
  109. package/dist/verification-config.d.ts +97 -0
  110. package/dist/verification-config.d.ts.map +1 -0
  111. package/dist/verification-config.js +113 -0
  112. package/dist/verification-config.js.map +1 -0
  113. package/dist/verification-default-on.d.ts +87 -0
  114. package/dist/verification-default-on.d.ts.map +1 -0
  115. package/dist/verification-default-on.js +186 -0
  116. package/dist/verification-default-on.js.map +1 -0
  117. package/dist/verification-deterministic.d.ts +56 -0
  118. package/dist/verification-deterministic.d.ts.map +1 -0
  119. package/dist/verification-deterministic.js +123 -0
  120. package/dist/verification-deterministic.js.map +1 -0
  121. package/dist/verification-engine.d.ts +22 -15
  122. package/dist/verification-engine.d.ts.map +1 -1
  123. package/dist/verification-engine.js +79 -65
  124. package/dist/verification-engine.js.map +1 -1
  125. package/dist/verification-failure-parser.d.ts +48 -0
  126. package/dist/verification-failure-parser.d.ts.map +1 -0
  127. package/dist/verification-failure-parser.js +102 -0
  128. package/dist/verification-failure-parser.js.map +1 -0
  129. package/dist/verification-feedback.d.ts +58 -0
  130. package/dist/verification-feedback.d.ts.map +1 -0
  131. package/dist/verification-feedback.js +110 -0
  132. package/dist/verification-feedback.js.map +1 -0
  133. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"prompt-listing.js","sourceRoot":"","sources":["../src/prompt-listing.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,kFAAkF;AAClF,MAAM,kBAAkB,GAAG,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;AAEpF;;;GAGG;AACH,MAAM,UAAU,mBAAmB,CAAC,gBAAkC;IACpE,MAAM,YAAY,GAAG,IAAI,GAAG,EAAkB,CAAC;IAC/C,KAAK,MAAM,KAAK,IAAI,gBAAgB,EAAE,CAAC;QACrC,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5E,CAAC;IACD,MAAM,UAAU,GAAa,EAAE,CAAC;IAChC,KAAK,MAAM,CAAC,IAAI,kBAAkB,EAAE,CAAC;QACnC,MAAM,KAAK,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAClC,IAAI,KAAK,KAAK,SAAS,EAAE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,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC;YAAE,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;QAC3E,IAAI,MAAM,CAAC,YAAY,CAAC,MAAM,GAAG,EAAE,EAAE,CAAC;YACpC,KAAK,CAAC,IAAI,CAAC,iBAAiB,MAAM,CAAC,YAAY,CAAC,MAAM,GAAG,EAAE,sBAAsB,CAAC,CAAC;QACrF,CAAC;IACH,CAAC;SAAM,CAAC;QACN,KAAK,CAAC,IAAI,CAAC,kDAAkD,CAAC,CAAC;IACjE,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,2EAA2E,CAAC,CAAC;IACxF,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -10,8 +10,9 @@ import { type FocusTeamPromptContext } from './shared.js';
10
10
  * Build the planning section -- emitted only when the focus has no
11
11
  * deliveries and the team's first act is to scope them.
12
12
  *
13
- * The team uses telora_product_delivery_create and telora_product_issue_create
14
- * (the same MCP tools used for mid-flight rescoping) to write the plan to the
13
+ * The team uses telora_product_delivery (action: create) and
14
+ * telora_product_issue (action: create) -- the same MCP tools used for
15
+ * mid-flight rescoping -- to write the plan to the
15
16
  * database. After writing, the team continues into normal execution -- no
16
17
  * separate planning daemon step.
17
18
  *
@@ -1 +1 @@
1
- {"version":3,"file":"execution-sections.d.ts","sourceRoot":"","sources":["../../src/prompt-sections/execution-sections.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGrE,OAAO,EAA2B,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAEnF;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,sBAAsB,GAC9B,MAAM,EAAE,CA+GV;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,iBAAiB,EAAE,EAC/B,MAAM,EAAE,cAAc,EAAE,GACvB,MAAM,EAAE,CAgFV;AAED;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,MAAM,EAAE,CAmExD;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAC/C,SAAS,EAAE,MAAM,GAChB,MAAM,EAAE,CA8DV;AAED;;;;;;;;;GASG;AACH,wBAAgB,8BAA8B,IAAI,MAAM,EAAE,CAiEzD;AAED,wBAAgB,4BAA4B,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAgE5F;AAED;;GAEG;AACH,wBAAgB,oCAAoC,IAAI,MAAM,EAAE,CAuB/D;AAED;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,IAAI,MAAM,EAAE,CAmCrD;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAiDlF;AAED;;GAEG;AACH,wBAAgB,2BAA2B,IAAI,MAAM,EAAE,CAiBtD;AAED;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,MAAM,EAAE,CAepD;AAED;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,MAAM,EAAE,CAoBpD;AAED;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,MAAM,EAAE,CA8BjD"}
1
+ {"version":3,"file":"execution-sections.d.ts","sourceRoot":"","sources":["../../src/prompt-sections/execution-sections.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGrE,OAAO,EAA2B,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAEnF;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,sBAAsB,GAC9B,MAAM,EAAE,CA+GV;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,iBAAiB,EAAE,EAC/B,MAAM,EAAE,cAAc,EAAE,GACvB,MAAM,EAAE,CAoFV;AAED;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,MAAM,EAAE,CAmExD;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAC/C,SAAS,EAAE,MAAM,GAChB,MAAM,EAAE,CAwCV;AAED;;;;;;;;;GASG;AACH,wBAAgB,8BAA8B,IAAI,MAAM,EAAE,CAiEzD;AAED,wBAAgB,4BAA4B,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAgE5F;AAED;;GAEG;AACH,wBAAgB,oCAAoC,IAAI,MAAM,EAAE,CAuB/D;AAED;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,IAAI,MAAM,EAAE,CAmCrD;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAiDlF;AAED;;GAEG;AACH,wBAAgB,2BAA2B,IAAI,MAAM,EAAE,CAiBtD;AAED;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,MAAM,EAAE,CAepD;AAED;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,MAAM,EAAE,CAsBpD;AAED;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,MAAM,EAAE,CAmBjD"}
@@ -6,14 +6,15 @@
6
6
  */
7
7
  import { DELIVERY_STATUS } from '@telora/daemon-core';
8
8
  import { isStatusAgentActionable } from '../stage-classifier.js';
9
- import { buildIssueCountLine, buildContextGroupLine, buildStandaloneIssueLine } from '../prompt-listing.js';
9
+ import { buildIssueCountLine, buildContextGroupLine, buildStandaloneIssueLine, buildVerificationFailureLines } from '../prompt-listing.js';
10
10
  import { orchestrationVocabulary } from './shared.js';
11
11
  /**
12
12
  * Build the planning section -- emitted only when the focus has no
13
13
  * deliveries and the team's first act is to scope them.
14
14
  *
15
- * The team uses telora_product_delivery_create and telora_product_issue_create
16
- * (the same MCP tools used for mid-flight rescoping) to write the plan to the
15
+ * The team uses telora_product_delivery (action: create) and
16
+ * telora_product_issue (action: create) -- the same MCP tools used for
17
+ * mid-flight rescoping -- to write the plan to the
17
18
  * database. After writing, the team continues into normal execution -- no
18
19
  * separate planning daemon step.
19
20
  *
@@ -57,7 +58,7 @@ export function buildPlanningSection(context) {
57
58
  lines.push('### Dependency Rules');
58
59
  lines.push('');
59
60
  lines.push('When you set CG `depends_on` (via the `dependsOn` field on');
60
- lines.push('telora_product_issue_create), follow these conventions:');
61
+ lines.push('`telora_product_issue` (action: "create")), follow these conventions:');
61
62
  lines.push('');
62
63
  lines.push('- **Schema / data-model CGs** have no dependencies (they come first).');
63
64
  lines.push('- **API / backend CGs** depend on the schema CGs they consume.');
@@ -72,8 +73,8 @@ export function buildPlanningSection(context) {
72
73
  lines.push('### Ordering Heuristics (priorityRank)');
73
74
  lines.push('');
74
75
  lines.push('Lower `priorityRank` = higher priority = built first. Use these rules');
75
- lines.push('when assigning ranks via telora_product_delivery_create or');
76
- lines.push('telora_product_delivery_reorder:');
76
+ lines.push('when assigning ranks via `telora_product_delivery` (action: "create") or');
77
+ lines.push('`telora_product_delivery` (action: "reorder"):');
77
78
  lines.push('');
78
79
  lines.push('1. **Schema before readers/writers.** Migrations and data models go in');
79
80
  lines.push(' earlier deliveries than CGs that query or mutate that data.');
@@ -94,7 +95,7 @@ export function buildPlanningSection(context) {
94
95
  lines.push('2. Identify every coherent capability or concern. Group them into');
95
96
  lines.push(' deliveries by cohesion (shared dependencies, overlapping files,');
96
97
  lines.push(' same architectural layer).');
97
- lines.push('3. For each delivery, call `telora_product_delivery_create` with:');
98
+ lines.push('3. For each delivery, call `telora_product_delivery` (action: "create") with:');
98
99
  lines.push(` - productId: "${context.productId}"`);
99
100
  lines.push(` - focusId: "${context.focusId}"`);
100
101
  lines.push(' - injectionNodeId: the reality-tree injection this delivery');
@@ -107,12 +108,12 @@ export function buildPlanningSection(context) {
107
108
  lines.push(' parent focus stage (past planning -> "queued"; planning/draft -> "planning").');
108
109
  lines.push(' Pass it explicitly only when you need to override that default.');
109
110
  lines.push('4. For each Context Group inside a delivery, call');
110
- lines.push(' `telora_product_issue_create` with:');
111
+ lines.push(' `telora_product_issue` (action: "create") with:');
111
112
  lines.push(' - issueType: "Context Group"');
112
113
  lines.push(' - deliveryId: <new delivery id>');
113
114
  lines.push(' - title, context (markdown), relevantFiles');
114
115
  lines.push(' - dependsOn: array of other CG issue IDs (when applicable)');
115
- lines.push('5. For each issue inside a CG, call `telora_product_issue_create` with:');
116
+ lines.push('5. For each issue inside a CG, call `telora_product_issue` (action: "create") with:');
116
117
  lines.push(' - issueType: "Task" (or "Bug" when fixing existing behavior)');
117
118
  lines.push(' - deliveryId: <delivery id>');
118
119
  lines.push(' - parentIssueId: <CG issue id>');
@@ -178,6 +179,9 @@ export function buildDeliveryListingSection(deliveries, issues) {
178
179
  if (delivery.stageDescription) {
179
180
  lines.push(`**Stage directive:** ${delivery.stageDescription}`);
180
181
  }
182
+ // Last daemon-side verification failure (gate_state), so a freshly-spawned
183
+ // team resuming a verify_failed delivery sees the failing tests + log path.
184
+ lines.push(...buildVerificationFailureLines(delivery.gateState));
181
185
  // Compact issue summary -- counts by status + one-liner per issue
182
186
  const deliveryIssues = issues.filter(i => i.deliveryId === delivery.id);
183
187
  const actionableIssues = deliveryIssues.filter(i => i.issueType !== 'Context Group');
@@ -213,9 +217,9 @@ export function buildStatusUpdateRulesSection() {
213
217
  '- You MAY update focus status to operational states like "building" or "verify".',
214
218
  '',
215
219
  '**Delivery status (HANDS OFF):**',
216
- '- NEVER call `telora_product_delivery_update` to change `executionStatus`.',
220
+ '- NEVER call `telora_product_delivery` (action: "update") to change `executionStatus`.',
217
221
  '- The daemon manages ALL delivery stage transitions automatically:',
218
- ' - queued -> coding: database trigger when first issue moves to "In Progress"',
222
+ ' - queued -> coding: the daemon single-writer reconciler crosses this edge when the first work issue moves to "In Progress"',
219
223
  ' - coding -> verify: daemon advances when all issues are Done / Verified / In Review',
220
224
  ' - verify -> done: daemon advances after verification passes',
221
225
  '- The API will REJECT invalid transitions with a 400 error.',
@@ -226,7 +230,7 @@ export function buildStatusUpdateRulesSection() {
226
230
  '- NEVER skip "In Progress". An issue MUST be set to "In Progress" BEFORE any',
227
231
  ' work begins on it.',
228
232
  '- NEVER move an issue directly from "To Do" to "Done".',
229
- '- Use `telora_product_issue_update` with `issueId` and `status`:',
233
+ '- Use `telora_product_issue` (action: "update") with `issueId` and `status`:',
230
234
  ' - Start work: `{ "issueId": "<id>", "status": "In Progress" }`',
231
235
  ' - Finish work: `{ "issueId": "<id>", "status": "Done" }`',
232
236
  ' - Blocked: `{ "issueId": "<id>", "status": "Blocked" }`',
@@ -244,9 +248,9 @@ export function buildStatusUpdateRulesSection() {
244
248
  ' automatically swept to "Done" -- no manual cleanup needed.',
245
249
  '',
246
250
  '**When working directly on an issue** (not spawning a worker):',
247
- '1. Call `telora_product_issue_update` to set status to "In Progress"',
251
+ '1. Call `telora_product_issue` (action: "update") to set status to "In Progress"',
248
252
  '2. Do the work',
249
- '3. Call `telora_product_issue_update` to set status to "Done"',
253
+ '3. Call `telora_product_issue` (action: "update") to set status to "Done"',
250
254
  '',
251
255
  '**When spawning a worker for an issue:**',
252
256
  '1. Set issue to "In Progress" BEFORE spawning the worker',
@@ -278,15 +282,15 @@ export function buildExecutionInstructionsSection(productId) {
278
282
  '## Execution Instructions',
279
283
  '',
280
284
  '### Phase 1: Setup',
281
- '1. **Verify MCP tools are available**: Call `telora_product_issue_list` with',
285
+ '1. **Verify MCP tools are available**: Call `telora_product_issue` (action: "list") with',
282
286
  ` productId "${productId}" to confirm Telora MCP tools are loaded.`,
283
287
  ' If the tool is not found, STOP and report this as an escalation — you cannot',
284
288
  ' update issue statuses without MCP tools, which breaks the execution contract.',
285
289
  '2. Read the CLAUDE.md file at the repo root for repository conventions',
286
290
  '3. Review all deliveries and issues above to understand the full scope',
287
- `4. Before starting work on each delivery, fetch its full details: use \`telora_product_delivery_list\` with productId "${productId}" and look for the delivery by ID to read its description, acceptance criteria, and technical context.`,
288
- `5. Before working on a context group's issues, fetch the group's full context and relevant files using \`telora_product_issue_list\` with the delivery's ID.`,
289
- `6. Use \`telora_product_issue_list\` with productId "${productId}" to get the latest issue states`,
291
+ `4. Before starting work on each delivery, fetch its full details: use \`telora_product_delivery\` (action: "list") with productId "${productId}" and look for the delivery by ID to read its description, acceptance criteria, and technical context.`,
292
+ `5. Before working on a context group's issues, fetch the group's full context and relevant files using \`telora_product_issue\` (action: "list") with the delivery's ID.`,
293
+ `6. Use \`telora_product_issue\` (action: "list") with productId "${productId}" to get the latest issue states`,
290
294
  '7. Plan your execution order:',
291
295
  ' - Higher priority deliveries first (lower priorityRank number)',
292
296
  ' - Within a delivery, issues under the same Context Group can be parallelized',
@@ -295,44 +299,22 @@ export function buildExecutionInstructionsSection(productId) {
295
299
  ' all issues under dependency CGs must complete before starting issues',
296
300
  ' under the dependent CG. Independent CGs (no depends_on) can run in parallel.',
297
301
  ' - Issues across different independent Context Groups with no file overlap can run in parallel',
298
- ' - **Between deliveries**: After committing a delivery, run the full verify',
299
- ' suite (`npm run lint:safety && npm run build && npm test`) before starting the',
300
- ' next delivery. Use `npm run lint:safety`, NOT bare `npm run lint`: lint:safety',
301
- ' is the full custom safety-lint tier (daemon file-size, RLS, vocabulary, edge-auth,',
302
- ' MCP, shared-mirrors, migrations, ...) that CI enforces, whereas bare `npm run lint`',
303
- ' is eslint only and is false-green for every one of those. (lint:safety is lint:all',
304
- ' minus `lint:functions`, which carries pre-existing out-of-scope deno edge-fn debt',
305
- ' that is not CI-gated -- do not try to fix those errors.) Running lint:safety here',
306
- ' surfaces a custom-lint budget the moment you cross it -- in-session, while you',
307
- ' can still fix it -- instead of post-push in CI. A custom-lint failure prints a',
308
- ' remediation footer naming the allowlist path, rule key, entry shape, and whether',
309
- ' you may allowlist-with-judgment or must fix/escalate.',
310
- ' - **Attribute every verify failure against your focus base before you treat it',
311
- ' as a blocker.** The verify suite is a WHOLE-REPO (absolute) measurement, but',
312
- ' your focus is a DIFFERENTIAL altitude -- one focus\'s slice of work landing on a',
313
- ' shared integration base that other in-flight focuses are also changing. A raw',
314
- ' failure count conflates two different things: a regression YOU introduced vs a',
315
- ' defect already sitting on your base. Only the first is your signal. For each',
316
- ' failure, compute attribution:',
317
- ' 1. Get your changed files: `git diff --name-only <focus-base>...HEAD` (the',
318
- ' focus base is the integration commit your focus branched from; if unsure,',
319
- ' `git merge-base HEAD <integration-branch>` gives it).',
320
- ' 2. A failure is a REGRESSION YOU INTRODUCED -- and DOES gate (fix it, or',
321
- ' escalate if you cannot) -- when its failing file is in that changed-file',
322
- ' set, OR it traces to a symbol your diff renamed, moved, or removed (a name',
323
- ' your change broke even though the failing file itself is unchanged).',
324
- ' 3. A failure is PRE-EXISTING ON YOUR BASE -- a defect your focus did not',
325
- ' introduce -- when the failing file is NOT in your changed set and does not',
326
- ' trace to a symbol your diff touched. RECORD it (note it in your completion',
327
- ' summary so the integration owner sees it) but do NOT block this focus on it',
328
- ' and do NOT escalate it. Do not "fix it anyway": editing files outside your',
329
- ' focus to chase a base defect is itself cross-focus noise.',
330
- ' Whole-repo absolute consistency (every failure resolved, whoever introduced it)',
331
- ' is enforced ONE ALTITUDE UP, at integration -> main, where a single owner',
332
- ' reconciles the whole tree -- NOT at this per-focus gate. Lowering your own bar is',
333
- ' never the move: you are not dismissing a failure, you are attributing it to the',
334
- ' altitude that owns it. Genuine cross-focus regressions YOUR change caused still',
335
- ' gate here.',
302
+ ' - **Between deliveries**: after committing a delivery, run `npm run typecheck`',
303
+ ' plus the TARGETED tests for the files you changed -- NOT the whole-repo suite.',
304
+ ' Run the targeted test files directly (e.g. the vitest/node:test files covering',
305
+ ' the modules you touched), not `npm test`. Do NOT run',
306
+ ' `npm run lint:safety && npm run build && npm test` between deliveries.',
307
+ ' - **Whole-repo measurement is the daemon\'s job, off-session.** The daemon runs',
308
+ ' the configured verification command (lint:safety + build + full test) at the',
309
+ ' coding -> verify edge after your last work issue completes -- so it overlaps',
310
+ ' with the next delivery instead of serializing inside this session, and you are',
311
+ ' not babysitting a long test run. The daemon also does the failure ATTRIBUTION',
312
+ ' mechanically (baseline-diff against your focus base): a NEW failure your focus',
313
+ ' introduced gates and is fed back to you; a failure PRE-EXISTING on your base is',
314
+ ' recorded, not blocking. You do not hand-compute `git diff` attribution here any',
315
+ ' more -- run the typecheck + targeted tests that prove YOUR change, commit, and',
316
+ ' let the daemon measure the whole repo. Whole-repo absolute consistency is',
317
+ ' enforced one altitude up, at integration -> main.',
336
318
  '',
337
319
  ];
338
320
  }
@@ -385,7 +367,7 @@ export function buildSessionConstraintsSection() {
385
367
  ' there is more work, and your worktree state persists across that gap.',
386
368
  '',
387
369
  'If a `Task` call is taking longer than expected, that is a signal to',
388
- 'escalate via `telora_agent_escalate`, not to sleep. Sleep is never the',
370
+ 'escalate via `telora_agent` (action: "escalate"), not to sleep. Sleep is never the',
389
371
  'answer in this session.',
390
372
  '',
391
373
  '#### Long-running shell commands (tests, builds, installs)',
@@ -437,7 +419,7 @@ export function buildWorkerManagementSection(maxWorkers, engineId) {
437
419
  ' - Context from the parent Context Group (if any)',
438
420
  ' - Relevant files to focus on',
439
421
  " - The delivery's Now->Target differential (see below)",
440
- ' - Instructions to update issue status via `telora_product_issue_update`',
422
+ ' - Instructions to update issue status via `telora_product_issue` (action: "update")',
441
423
  ' - Instructions to commit work and report completion',
442
424
  '',
443
425
  '**Equip each worker with its delivery\'s Now->Target at spawn:**',
@@ -457,10 +439,10 @@ export function buildWorkerManagementSection(maxWorkers, engineId) {
457
439
  'worker actually doing the work.',
458
440
  '',
459
441
  '**Worker lifecycle:**',
460
- '- Before spawning: set issue status to "In Progress" via `telora_product_issue_update`',
442
+ '- Before spawning: set issue status to "In Progress" via `telora_product_issue` (action: "update")',
461
443
  '- When worker completes: verify its work, then set issue status to "Done"',
462
444
  '- When worker fails: assess the failure, either retry or set issue to "Blocked"',
463
- ' and create an escalation via `telora_agent_escalate`',
445
+ ' and create an escalation via `telora_agent` (action: "escalate")',
464
446
  '- After each worker completion, check if new issues are now unblocked',
465
447
  '',
466
448
  '**Scaling rules:**',
@@ -487,9 +469,9 @@ export function buildDeliveryStageProgressionSection() {
487
469
  'Delivery stages advance **automatically** based on issue activity:',
488
470
  '',
489
471
  '- When an issue moves to "In Progress", the parent delivery auto-advances',
490
- ' from "queued" to "coding" via a database trigger. You do NOT need to',
491
- ' update delivery status manually for this transition.',
492
- '- Track issue completion per delivery using `telora_product_issue_list`.',
472
+ ' from "queued" to "coding" when the daemon single-writer reconciler crosses',
473
+ ' that edge. You do NOT need to update delivery status manually for this transition.',
474
+ '- Track issue completion per delivery using `telora_product_issue` (action: "list").',
493
475
  '',
494
476
  '**When ALL issues in a delivery are Done:**',
495
477
  '1. Commit all changes for the delivery',
@@ -498,7 +480,7 @@ export function buildDeliveryStageProgressionSection() {
498
480
  '',
499
481
  '**Delivery status reporting:**',
500
482
  '- The daemon manages ALL delivery stage transitions. Do NOT update them.',
501
- '- queued -> coding: handled automatically by database trigger (no action needed).',
483
+ '- queued -> coding: handled automatically by the daemon single-writer reconciler (no action needed).',
502
484
  '- coding -> verify -> done: handled automatically by the daemon.',
503
485
  '- Focus on keeping issue statuses accurate -- the delivery status follows from them.',
504
486
  '',
@@ -518,15 +500,15 @@ export function buildScopingMandateSection() {
518
500
  '',
519
501
  'When you start work on a queued delivery, your first act is to read its',
520
502
  'acceptance criteria and create issues for it via',
521
- '`telora_product_issue_create` (issueType: "Task" or "Bug"). Do not begin',
503
+ '`telora_product_issue` (action: "create") (issueType: "Task" or "Bug"). Do not begin',
522
504
  'code work without at least one Task or Bug issue scoped on the delivery --',
523
505
  'the daemon will reject the queued -> coding transition if no Task/Bug',
524
506
  'issues exist (a Context Group alone does NOT satisfy the requirement).',
525
507
  '',
526
508
  'If you receive an error like "Delivery <id> cannot transition to coding:',
527
509
  'requires at least one Task or Bug issue", create the missing issues for',
528
- 'that delivery, then move the first issue to "In Progress" -- the database',
529
- 'trigger will advance the delivery from queued to coding automatically.',
510
+ 'that delivery, then move the first issue to "In Progress" -- the daemon',
511
+ 'single-writer reconciler will advance the delivery from queued to coding automatically.',
530
512
  '',
531
513
  '**Declare the work-facing label.** Whenever you create a delivery via',
532
514
  '`telora_product_delivery` create, pass `workFacing: "outward" | "inward"` as',
@@ -558,13 +540,13 @@ export function buildRescopingSection(focusId, productId) {
558
540
  'You are encouraged to restructure work as you learn more about the codebase. If a delivery is larger than expected, split it. If an issue is unnecessary, close it. If you discover new work, create issues for it.',
559
541
  '',
560
542
  '**Splitting a delivery:**',
561
- `1. Create new deliveries via telora_product_delivery_create (same focusId: "${focusId}", productId: "${productId}"). Anchor each to the reality-tree injection it materializes via injectionNodeId -- once the focus is past planning with an active tree, an unanchored create is REFUSED (no row); pass allowUnanchored: true only for a legitimate non-tree delivery. Declare workFacing ("outward" = new ground / a capability not had before; "inward" = improving existing ground) on each new or split delivery.`,
562
- '2. Create issues under the new deliveries via telora_product_issue_create',
543
+ `1. Create new deliveries via \`telora_product_delivery\` (action: "create") (same focusId: "${focusId}", productId: "${productId}"). Anchor each to the reality-tree injection it materializes via injectionNodeId -- once the focus is past planning with an active tree, an unanchored create is REFUSED (no row); pass allowUnanchored: true only for a legitimate non-tree delivery. Declare workFacing ("outward" = new ground / a capability not had before; "inward" = improving existing ground) on each new or split delivery.`,
544
+ '2. Create issues under the new deliveries via `telora_product_issue` (action: "create")',
563
545
  "3. Mark the original delivery's remaining issues as Done (if moved) or close as won't-do",
564
546
  '4. The daemon will automatically pick up new deliveries',
565
547
  '',
566
548
  '**Adding issues:**',
567
- '- Create new issues on any delivery you are working on via telora_product_issue_create',
549
+ '- Create new issues on any delivery you are working on via `telora_product_issue` (action: "create")',
568
550
  "- Set status to 'To Do' -- they will be picked up in your current execution",
569
551
  '',
570
552
  '**Descoping issues:**',
@@ -617,7 +599,7 @@ export function buildNewWorkDeliverySection() {
617
599
  '3. Higher priority deliveries go next, but do not preempt in-progress work',
618
600
  '4. Stop any pending work for cancelled deliveries',
619
601
  '',
620
- 'Do NOT call `telora_product_delivery_list` to poll for new deliveries.',
602
+ 'Do NOT call `telora_product_delivery` (action: "list") to poll for new deliveries.',
621
603
  'The daemon is the sole control plane and will push work to you when available.',
622
604
  '',
623
605
  ];
@@ -630,14 +612,14 @@ export function buildErrorHandlingSection() {
630
612
  '### Error Handling',
631
613
  '',
632
614
  '- **Worker failure**: If a worker fails on an issue, assess whether to retry',
633
- ' or escalate. Set the issue to "Blocked" and use `telora_agent_escalate`',
615
+ ' or escalate. Set the issue to "Blocked" and use `telora_agent` (action: "escalate")',
634
616
  ' if the issue requires human intervention.',
635
617
  '- **Build/test failures**: Fix them before moving on. If you cannot fix them,',
636
618
  ' escalate with details about what failed.',
637
619
  '- **Merge conflicts**: If you encounter merge conflicts during commits,',
638
620
  ' resolve them and continue. If resolution is unclear, escalate.',
639
621
  '- **Discovered work**: If you find work not covered by existing issues,',
640
- ' create new issues using `telora_product_issue_create` under the relevant delivery.',
622
+ ' create new issues using `telora_product_issue` (action: "create") under the relevant delivery.',
641
623
  '',
642
624
  ];
643
625
  }
@@ -656,11 +638,13 @@ export function buildMergeConflictSection() {
656
638
  '2. Resolve all conflict markers (<<<<<<< / ======= / >>>>>>>)',
657
639
  '3. Stage each resolved file with `git add <file>`',
658
640
  '4. Commit the merge resolution: `git commit --no-edit`',
659
- '5. Run: `npm run build && npm test`',
660
- '6. If build+test fails, fix the issues, commit, and re-run',
641
+ '5. Run `npm run typecheck` plus the TARGETED tests for the files you resolved',
642
+ ' (NOT the whole suite -- the daemon runs whole-repo verify off-session at the',
643
+ ' coding -> verify edge).',
644
+ '6. If typecheck or the targeted tests fail, fix the issues, commit, and re-run',
661
645
  '',
662
646
  'Do NOT run `git merge --abort`. Your goal is to produce a clean merge',
663
- 'commit that passes build and tests. The daemon will detect resolution',
647
+ 'commit that passes typecheck and the targeted tests. The daemon will detect resolution',
664
648
  'automatically when the merge commit is created and no unmerged files remain.',
665
649
  '',
666
650
  ];
@@ -673,27 +657,16 @@ export function buildCompletionSection() {
673
657
  '### Completion',
674
658
  '',
675
659
  'When ALL issues across ALL deliveries are Done:',
676
- '1. Run the full verify suite (`npm run lint:safety && npm run build && npm test`) to',
677
- ' verify everything works together. `lint:safety` is the full custom safety-lint tier',
678
- ' CI enforces (lint:all minus the out-of-scope deno edge-fn lint) -- running it here',
679
- ' catches a custom-lint violation in-session, not post-push.',
680
- '2. **Attribute any verify failure against your focus base before treating it as a',
681
- ' blocker.** This gate is DIFFERENTIAL: it measures YOUR focus\'s delta, not the',
682
- ' absolute state of the whole repo. A failure gates this focus (fix it, or escalate',
683
- ' if you cannot) ONLY when it is a regression your focus introduced -- its failing',
684
- ' file is in your changed set (`git diff --name-only <focus-base>...HEAD`) or it',
685
- ' traces to a symbol your diff renamed/moved/removed. A failure that is PRE-EXISTING',
686
- ' on your base (failing file not in your diff, not tracing to a symbol you touched)',
687
- ' is NOT a blocker and is NOT an escalation: record it in your summary (step 4) and',
688
- ' move on -- do not edit files outside your focus to chase a base defect. Whole-repo',
689
- ' absolute consistency is enforced one altitude up, at integration -> main, by the',
690
- ' owner who reconciles the whole tree -- never at this per-focus gate.',
691
- '3. Commit any final changes',
692
- '4. Summarize the changes made across all deliveries. In the summary, explicitly note',
693
- ' any verify failures you classified as pre-existing base defects (file + symbol) so',
694
- ' the integration owner picks them up -- recording is how a differential gate stays',
695
- ' honest without lowering the bar.',
696
- '5. Wait for further instructions. The daemon manages your lifecycle.',
660
+ '1. Run `npm run typecheck` plus the TARGETED tests for the files you changed to',
661
+ ' prove your own work. Do NOT run the whole-repo suite',
662
+ ' (`npm run lint:safety && npm run build && npm test`) here: the daemon runs that',
663
+ ' off-session at the coding -> verify edge and mechanically attributes failures',
664
+ ' against your focus base (new failures gate and are fed back to you; pre-existing',
665
+ ' base failures are recorded, not blocking). Whole-repo absolute consistency is',
666
+ ' enforced one altitude up, at integration -> main -- never at this per-focus gate.',
667
+ '2. Commit any final changes.',
668
+ '3. Summarize the changes made across all deliveries.',
669
+ '4. Wait for further instructions. The daemon manages your lifecycle.',
697
670
  '',
698
671
  'Do NOT exit on your own. The daemon will send new work or terminate you.',
699
672
  '',
@@ -1 +1 @@
1
- {"version":3,"file":"execution-sections.js","sourceRoot":"","sources":["../../src/prompt-sections/execution-sections.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAC5G,OAAO,EAAE,uBAAuB,EAA+B,MAAM,aAAa,CAAC;AAEnF;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,oBAAoB,CAClC,OAA+B;IAE/B,IAAI,OAAO,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,EAAE,CAAC;IAE7C,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,KAAK,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC;IAC5C,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACf,KAAK,CAAC,IAAI,CAAC,8DAA8D,CAAC,CAAC;IAC3E,KAAK,CAAC,IAAI,CAAC,gEAAgE,CAAC,CAAC;IAC7E,KAAK,CAAC,IAAI,CAAC,mEAAmE,CAAC,CAAC;IAChF,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACf,KAAK,CAAC,IAAI,CAAC,oEAAoE,CAAC,CAAC;IACjF,KAAK,CAAC,IAAI,CAAC,wEAAwE,CAAC,CAAC;IACrF,KAAK,CAAC,IAAI,CAAC,8DAA8D,CAAC,CAAC;IAC3E,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAEf,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;IACpC,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;QACtF,wFAAwF;QACxF,uFAAuF;QACvF,+DAA+D;QAC/D,mFAAmF;QACnF,mFAAmF;QACnF,sFAAsF;QACtF,qFAAqF;QACrF,mFAAmF;QACnF,uFAAuF;QACvF,sFAAsF;QACtF,sFAAsF;QACtF,uFAAuF;QACvF,qFAAqF;QACrF,yEAAyE;QACzE,6BAA6B;QAC7B,sFAAsF;QACtF,uFAAuF;QACvF,sFAAsF;QACtF,qCAAqC;QACrC,sEAAsE;QACtE,EAAE;QACF,0EAA0E;QAC1E,EAAE;KACH,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"execution-sections.js","sourceRoot":"","sources":["../../src/prompt-sections/execution-sections.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AAC3I,OAAO,EAAE,uBAAuB,EAA+B,MAAM,aAAa,CAAC;AAEnF;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,oBAAoB,CAClC,OAA+B;IAE/B,IAAI,OAAO,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,EAAE,CAAC;IAE7C,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,KAAK,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC;IAC5C,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACf,KAAK,CAAC,IAAI,CAAC,8DAA8D,CAAC,CAAC;IAC3E,KAAK,CAAC,IAAI,CAAC,gEAAgE,CAAC,CAAC;IAC7E,KAAK,CAAC,IAAI,CAAC,mEAAmE,CAAC,CAAC;IAChF,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACf,KAAK,CAAC,IAAI,CAAC,oEAAoE,CAA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AAgB;QAChB,EAAE;QACF,iDAAiD;QACjD,iFAAiF;QACjF,yDAAyD;QACzD,oFAAoF;QACpF,kFAAkF;QAClF,qFAAqF;QACrF,kFAAkF;QAClF,sFAAsF;QACtF,8BAA8B;QAC9B,sDAAsD;QACtD,sEAAsE;QACtE,EAAE;QACF,0EAA0E;QAC1E,EAAE;KACH,CAAC;AACJ,CAAC"}
@@ -45,8 +45,8 @@ export function buildTeamLeadRoleSection(engineId) {
45
45
  '1. Read all deliveries and issues for the focus',
46
46
  '2. Build a task execution plan respecting delivery priority and file overlap',
47
47
  vocab.spawnStep,
48
- '4. Track issue completion and advance delivery stages',
49
- '5. Poll for new deliveries added during execution',
48
+ '4. Track issue completion and keep issue statuses accurate -- the daemon advances delivery stages',
49
+ '5. Integrate new deliveries the daemon pushes during execution',
50
50
  '6. Handle errors, escalate blockers, and report progress',
51
51
  '',
52
52
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"role-sections.js","sourceRoot":"","sources":["../../src/prompt-sections/role-sections.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAC,IAAe;IAC9C,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,IAAI,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAChC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QACxC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACjB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,4BAA4B,CAAC,IAAe;IAC1D,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,IAAI,IAAI,CAAC,qBAAqB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1C,KAAK,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QACnC,KAAK,CAAC,I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QAC3E,EAAE;QACF,4BAA4B;QAC5B,iDAAiD;QACjD,8EAA8E;QAC9E,KAAK,CAAC,SAAS;QACf,mGAAmG;QACnG,gEAAgE;QAChE,0DAA0D;QAC1D,EAAE;KACH,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,yBAAyB,CAAC,QAAkB;IAC1D,IAAI,CAAC,QAAQ;QAAE,OAAO,EAAE,CAAC;IACzB,OAAO;QACL,yBAAyB;QACzB,EAAE;QACF,4EAA4E;QAC5E,6EAA6E;QAC7E,2EAA2E;QAC3E,uDAAuD;QACvD,EAAE;QACF,uEAAuE;QACvE,2EAA2E;QAC3E,2EAA2E;QAC3E,yEAAyE;QACzE,6CAA6C;QAC7C,6DAA6D;QAC7D,0EAA0E;QAC1E,yEAAyE;QACzE,gEAAgE;QAChE,2CAA2C;QAC3C,yEAAyE;QACzE,uEAAuE;QACvE,4EAA4E;QAC5E,2EAA2E;QAC3E,2EAA2E;QAC3E,sEAAsE;QACtE,wEAAwE;QACxE,yEAAyE;QACzE,gEAAgE;QAChE,6EAA6E;QAC7E,oEAAoE;QACpE,EAAE;QACF,aAAa;QACb,6EAA6E;QAC7E,+EAA+E;QAC/E,6EAA6E;QAC7E,6EAA6E;QAC7E,aAAa;QACb,4EAA4E;QAC5E,sCAAsC;QACtC,EAAE;QACF,4EAA4E;QAC5E,4EAA4E;QAC5E,8EAA8E;QAC9E,oDAAoD;QACpD,EAAE;KACH,CAAC;AACJ,CAAC"}
@@ -1,10 +1,20 @@
1
1
  /**
2
2
  * agent_context_assembly queries.
3
3
  *
4
- * Persists the per-spawn assembly manifest: one row per resolved assembly
5
- * source (source_ref, ordinal, estimated_tokens). The daemon writes these on
6
- * each team spawn so injected context becomes attributable by source. Writes
7
- * are best-effort -- a manifest failure must never block a spawn.
4
+ * Persists the per-spawn assembly manifest: one row per assembly source
5
+ * (source_ref, ordinal, estimated_tokens). The daemon writes these on each team
6
+ * spawn so injected context becomes attributable by source. Writes are
7
+ * best-effort -- a manifest failure must never block a spawn.
8
+ *
9
+ * DELIVERY SEMANTICS (the truthfulness contract): the manifest records the
10
+ * sources composed into the message ACTUALLY SENT, not everything resolved
11
+ * during assembly. The spawn path passes a per-shape DELIVERED manifest
12
+ * (spawn/delivered-manifest.buildDeliveredManifest), so a directive-path spawn's
13
+ * dropped loop-context recipe and a resume-delta spawn's discarded directive
14
+ * recipe never appear as rows. This is the "persist only delivered sources"
15
+ * variant (no delivered/dropped marker column) -- each row is, by construction, a
16
+ * delivered source; ordinals are contiguous in send order. See
17
+ * spawn/delivered-manifest.ts for the per-shape source lists.
8
18
  */
9
19
  import type { AssemblyManifestEntry } from '../assembly-engine.js';
10
20
  export interface InsertAssemblyManifestInput {
@@ -1 +1 @@
1
- {"version":3,"file":"context-assembly.d.ts","sourceRoot":"","sources":["../../src/queries/context-assembly.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,qBAAqB,EAAE,CAAC;CACnC;AAED;;;;GAIG;AACH,wBAAsB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,GAAG,OAAO,CAAC,MAAM,CAAC,CAyBhG"}
1
+ {"version":3,"file":"context-assembly.d.ts","sourceRoot":"","sources":["../../src/queries/context-assembly.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,qBAAqB,EAAE,CAAC;CACnC;AAED;;;;GAIG;AACH,wBAAsB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,GAAG,OAAO,CAAC,MAAM,CAAC,CAyBhG"}
@@ -1,10 +1,20 @@
1
1
  /**
2
2
  * agent_context_assembly queries.
3
3
  *
4
- * Persists the per-spawn assembly manifest: one row per resolved assembly
5
- * source (source_ref, ordinal, estimated_tokens). The daemon writes these on
6
- * each team spawn so injected context becomes attributable by source. Writes
7
- * are best-effort -- a manifest failure must never block a spawn.
4
+ * Persists the per-spawn assembly manifest: one row per assembly source
5
+ * (source_ref, ordinal, estimated_tokens). The daemon writes these on each team
6
+ * spawn so injected context becomes attributable by source. Writes are
7
+ * best-effort -- a manifest failure must never block a spawn.
8
+ *
9
+ * DELIVERY SEMANTICS (the truthfulness contract): the manifest records the
10
+ * sources composed into the message ACTUALLY SENT, not everything resolved
11
+ * during assembly. The spawn path passes a per-shape DELIVERED manifest
12
+ * (spawn/delivered-manifest.buildDeliveredManifest), so a directive-path spawn's
13
+ * dropped loop-context recipe and a resume-delta spawn's discarded directive
14
+ * recipe never appear as rows. This is the "persist only delivered sources"
15
+ * variant (no delivered/dropped marker column) -- each row is, by construction, a
16
+ * delivered source; ordinals are contiguous in send order. See
17
+ * spawn/delivered-manifest.ts for the per-shape source lists.
8
18
  */
9
19
  import { callApi } from './shared.js';
10
20
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"context-assembly.js","sourceRoot":"","sources":["../../src/queries/context-assembly.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAUtC;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAAC,KAAkC;IAC7E,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO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