@open-agent-toolkit/cli 0.2.66 → 0.2.68

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 (118) hide show
  1. package/assets/bundle-metadata.json +1 -1
  2. package/assets/docs/cli-utilities/configuration.md +14 -1
  3. package/assets/docs/cli-utilities/project-log.md +63 -4
  4. package/assets/docs/contributing/code.md +8 -4
  5. package/assets/docs/contributing/skills.md +29 -17
  6. package/assets/docs/docs-tooling/commands.md +3 -1
  7. package/assets/docs/provider-sync/manifest-and-drift.md +2 -18
  8. package/assets/docs/provider-sync/scope-and-surface.md +3 -2
  9. package/assets/docs/reference/cli-reference.md +1 -1
  10. package/assets/docs/workflows/projects/evidence-layers.md +6 -3
  11. package/assets/docs/workflows/projects/implementation-execution.md +4 -3
  12. package/assets/docs/workflows/projects/lifecycle.md +17 -0
  13. package/assets/docs/workflows/projects/orchestration-model.md +6 -4
  14. package/assets/docs/workflows/projects/picking-up-projects.md +18 -0
  15. package/assets/docs/workflows/skills/repo-improve.md +7 -3
  16. package/assets/public-package-versions.json +4 -4
  17. package/assets/skills/create-agnostic-skill/SKILL.md +19 -37
  18. package/assets/skills/create-agnostic-skill/references/docs/skills-guide.md +58 -15
  19. package/assets/skills/create-agnostic-skill/references/skill-template.md +17 -15
  20. package/assets/skills/oat-agent-instructions-apply/SKILL.md +1 -1
  21. package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/glob-scoped-rule.md +1 -4
  22. package/assets/skills/oat-dispatch-subagents/SKILL.md +4 -2
  23. package/assets/skills/oat-doctor/SKILL.md +1 -4
  24. package/assets/skills/oat-project-autonomous/references/gate-inventory.md +3 -2
  25. package/assets/skills/oat-project-complete/SKILL.md +158 -30
  26. package/assets/skills/oat-project-complete/scripts/finalize-synced-archive.mjs +26 -7
  27. package/assets/skills/oat-project-complete/scripts/validate-durable-archive-receipt.mjs +183 -0
  28. package/assets/skills/oat-project-dispatch-subagents/SKILL.md +9 -7
  29. package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +3 -2
  30. package/assets/skills/oat-project-implement/SKILL.md +1 -1
  31. package/assets/skills/oat-project-implement/references/dispatch-and-dry-run.md +11 -10
  32. package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +3 -2
  33. package/assets/skills/oat-project-lite/references/docs/autonomy-contract.md +3 -2
  34. package/assets/skills/oat-project-plan-writing/SKILL.md +7 -6
  35. package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +3 -2
  36. package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +3 -2
  37. package/assets/skills/oat-project-retro/SKILL.md +1 -1
  38. package/assets/skills/oat-project-retro/references/apply-procedure.md +11 -0
  39. package/assets/skills/oat-project-review-provide/SKILL.md +14 -13
  40. package/assets/skills/oat-project-review-provide-remote/SKILL.md +7 -6
  41. package/assets/skills/oat-project-summary/SKILL.md +24 -2
  42. package/assets/skills/oat-repo-improve/SKILL.md +9 -2
  43. package/assets/skills/oat-repo-improve/references/plan-template.md +4 -6
  44. package/assets/skills/oat-repo-knowledge-index/SKILL.md +11 -9
  45. package/assets/skills/oat-wave-execute/SKILL.md +20 -6
  46. package/assets/skills/oat-wave-program/SKILL.md +9 -4
  47. package/dist/commands/config/index.d.ts +2 -1
  48. package/dist/commands/config/index.d.ts.map +1 -1
  49. package/dist/commands/config/index.js +133 -38
  50. package/dist/commands/docs/index-generate/index.d.ts.map +1 -1
  51. package/dist/commands/docs/index-generate/index.js +68 -12
  52. package/dist/commands/docs/init/index.d.ts +11 -0
  53. package/dist/commands/docs/init/index.d.ts.map +1 -1
  54. package/dist/commands/docs/init/index.js +19 -1
  55. package/dist/commands/gate/index.d.ts.map +1 -1
  56. package/dist/commands/gate/index.js +10 -2
  57. package/dist/commands/instructions/instructions.utils.d.ts.map +1 -1
  58. package/dist/commands/instructions/instructions.utils.js +42 -9
  59. package/dist/commands/internal/validate-skill-version-bumps.d.ts.map +1 -1
  60. package/dist/commands/internal/validate-skill-version-bumps.js +5 -5
  61. package/dist/commands/project/dispatch-ceiling/index.d.ts.map +1 -1
  62. package/dist/commands/project/dispatch-ceiling/index.js +32 -18
  63. package/dist/commands/project/log/append.d.ts +48 -0
  64. package/dist/commands/project/log/append.d.ts.map +1 -1
  65. package/dist/commands/project/log/append.js +207 -30
  66. package/dist/commands/project/log/check.d.ts +87 -1
  67. package/dist/commands/project/log/check.d.ts.map +1 -1
  68. package/dist/commands/project/log/check.js +139 -5
  69. package/dist/commands/project/log/grammar.d.ts +165 -0
  70. package/dist/commands/project/log/grammar.d.ts.map +1 -1
  71. package/dist/commands/project/log/grammar.js +219 -1
  72. package/dist/commands/project/log/rollup.d.ts +16 -1
  73. package/dist/commands/project/log/rollup.d.ts.map +1 -1
  74. package/dist/commands/project/log/rollup.js +22 -2
  75. package/dist/commands/project/log/synthesize.d.ts +16 -0
  76. package/dist/commands/project/log/synthesize.d.ts.map +1 -1
  77. package/dist/commands/project/log/synthesize.js +85 -9
  78. package/dist/commands/status/index.d.ts.map +1 -1
  79. package/dist/commands/status/index.js +24 -2
  80. package/dist/commands/sync/apply.d.ts.map +1 -1
  81. package/dist/commands/sync/apply.js +6 -4
  82. package/dist/config/dispatch-matrix.d.ts.map +1 -1
  83. package/dist/config/dispatch-matrix.js +13 -5
  84. package/dist/config/oat-config.d.ts +15 -0
  85. package/dist/config/oat-config.d.ts.map +1 -1
  86. package/dist/config/oat-config.js +61 -7
  87. package/dist/config/own-keys.d.ts +22 -0
  88. package/dist/config/own-keys.d.ts.map +1 -0
  89. package/dist/config/own-keys.js +32 -0
  90. package/dist/config/resolve.d.ts +11 -0
  91. package/dist/config/resolve.d.ts.map +1 -1
  92. package/dist/config/resolve.js +35 -11
  93. package/dist/config/sync-config.d.ts.map +1 -1
  94. package/dist/config/sync-config.js +16 -0
  95. package/dist/drift/detector.d.ts.map +1 -1
  96. package/dist/drift/detector.js +52 -1
  97. package/dist/drift/skill-view-diagnostic.d.ts.map +1 -1
  98. package/dist/drift/skill-view-diagnostic.js +2 -23
  99. package/dist/engine/compute-plan.d.ts.map +1 -1
  100. package/dist/engine/compute-plan.js +22 -72
  101. package/dist/engine/managed-copy-hash.d.ts +69 -0
  102. package/dist/engine/managed-copy-hash.d.ts.map +1 -0
  103. package/dist/engine/managed-copy-hash.js +175 -0
  104. package/dist/fs/assets.d.ts +11 -0
  105. package/dist/fs/assets.d.ts.map +1 -1
  106. package/dist/fs/assets.js +1 -1
  107. package/dist/manifest/hash.d.ts +110 -0
  108. package/dist/manifest/hash.d.ts.map +1 -1
  109. package/dist/manifest/hash.js +111 -13
  110. package/dist/providers/ceiling/registry.d.ts.map +1 -1
  111. package/dist/providers/ceiling/registry.js +6 -1
  112. package/dist/providers/identity/dispatch-report.d.ts.map +1 -1
  113. package/dist/providers/identity/dispatch-report.js +4 -1
  114. package/dist/release/public-package-contract.d.ts.map +1 -1
  115. package/dist/release/public-package-contract.js +21 -0
  116. package/dist/validation/skills.d.ts.map +1 -1
  117. package/dist/validation/skills.js +305 -40
  118. package/package.json +2 -2
@@ -142,7 +142,7 @@ export function normalizeExcludedPaths(excludedPaths = []) {
142
142
  const UNEXCLUDABLE_PATHS = new Set([...ROOT_EXCLUDED_DIRECTORY_CARVE_INS].map(([directory, carveIn]) => `${directory}/${carveIn}`));
143
143
  /**
144
144
  * Whether `relativePath` names a real directory whose on-disk spelling matches
145
- * exactly.
145
+ * exactly, and when it does not, where it actually leads.
146
146
  *
147
147
  * The case check is the point. On a case-insensitive filesystem (APFS, NTFS) a
148
148
  * plain existence test accepts `Apps/Docsapp/docs` for a directory really named
@@ -150,24 +150,44 @@ const UNEXCLUDABLE_PATHS = new Set([...ROOT_EXCLUDED_DIRECTORY_CARVE_INS].map(([
150
150
  * which always yields the true on-disk case. The exclusion would then be
151
151
  * reported as applied while matching nothing — issue #238 recurring silently on
152
152
  * the default developer platform. Resolving through `realpath` and comparing
153
- * the result to the requested spelling catches that, and returns false for a
154
- * path that does not exist at all.
153
+ * the result to the requested spelling catches that, and reports a path that
154
+ * does not exist at all as `absent`.
155
155
  *
156
156
  * `repoRoot` is realpath'd too, so a symlinked checkout (`/tmp` on macOS) does
157
157
  * not make every entry look like a mismatch.
158
+ *
159
+ * `caseOnly` is derived from the resolved path rather than from the platform: a
160
+ * case-insensitive host is not the only way to land on a differing spelling,
161
+ * and a platform check would attach the case-sensitivity hint to symlinks,
162
+ * where it is false.
158
163
  */
159
- async function isCaseExactDirectory(dependencies, repoRoot, relativePath) {
164
+ async function probeExclusionDirectory(dependencies, repoRoot, relativePath) {
160
165
  try {
161
166
  const realRoot = await dependencies.realpath(repoRoot);
162
167
  const candidate = join(realRoot, relativePath);
163
168
  if (!(await directoryExists(dependencies, candidate))) {
164
- return false;
169
+ return { kind: 'absent' };
165
170
  }
166
171
  const realCandidate = await dependencies.realpath(candidate);
167
- return toPosixPath(relative(realRoot, realCandidate)) === relativePath;
172
+ const resolved = toPosixPath(relative(realRoot, realCandidate));
173
+ if (resolved === relativePath) {
174
+ return { kind: 'exact' };
175
+ }
176
+ // A target outside the repository reads as a plain absolute path; a `../`
177
+ // chain relative to a root the operator never typed would be worse than no
178
+ // target at all. An empty `resolved` means the entry landed on the
179
+ // repository root itself, which is equally unhelpful as a relative path.
180
+ const resolvedInsideRepository = resolved.length > 0 && resolved !== '..' && !resolved.startsWith('../');
181
+ return {
182
+ kind: 'resolved-elsewhere',
183
+ resolvedPath: resolvedInsideRepository
184
+ ? resolved
185
+ : toPosixPath(realCandidate),
186
+ caseOnly: resolved.toLowerCase() === relativePath.toLowerCase(),
187
+ };
168
188
  }
169
189
  catch {
170
- return false;
190
+ return { kind: 'absent' };
171
191
  }
172
192
  }
173
193
  /**
@@ -244,11 +264,24 @@ export async function resolveInstructionPointerExcludes(repoRoot, overrides = {}
244
264
  warnings.push(`${source} entry ${JSON.stringify(normalizedPath)} has no effect: ${normalizedPath} is always scanned.`);
245
265
  continue;
246
266
  }
247
- if (!(await isCaseExactDirectory(dependencies, repoRoot, normalizedPath))) {
267
+ const probe = await probeExclusionDirectory(dependencies, repoRoot, normalizedPath);
268
+ if (probe.kind === 'exact') {
269
+ effective.push(normalizedPath);
270
+ continue;
271
+ }
272
+ if (probe.kind === 'absent') {
248
273
  warnings.push(`${source} entry ${JSON.stringify(normalizedPath)} matches no directory in this repository (matching is case-sensitive), so it excludes nothing.`);
249
274
  continue;
250
275
  }
251
- effective.push(normalizedPath);
276
+ // Stated, not left implied by elimination, and without a catch-all
277
+ // `default` that would silently absorb a future variant: this annotation
278
+ // stops compiling the moment `ExclusionDirectoryProbe` grows a variant with
279
+ // no branch above — including one that happens to carry the same fields and
280
+ // would otherwise inherit a message written for a different situation.
281
+ const resolvedElsewhere = probe;
282
+ warnings.push(resolvedElsewhere.caseOnly
283
+ ? `${source} entry ${JSON.stringify(normalizedPath)} matches no directory in this repository (matching is case-sensitive; the directory on disk is ${JSON.stringify(resolvedElsewhere.resolvedPath)}), so it excludes nothing.`
284
+ : `${source} entry ${JSON.stringify(normalizedPath)} resolves to ${JSON.stringify(resolvedElsewhere.resolvedPath)}, not to itself, so the scan never matches it and it excludes nothing. Point the entry at the resolved directory, or remove the symlink.`);
252
285
  }
253
286
  return { configured, effective, warnings };
254
287
  }
@@ -1 +1 @@
1
- {"version":3,"file":"validate-skill-version-bumps.d.ts","sourceRoot":"","sources":["../../../src/commands/internal/validate-skill-version-bumps.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,aAAa,EACnB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAEL,KAAK,uCAAuC,EAC5C,KAAK,sCAAsC,EAC5C,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,UAAU,qCAAqC;IAC7C,mBAAmB,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,cAAc,CAAC;IAChE,gCAAgC,EAAE,CAChC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,uCAAuC,KAC7C,OAAO,CAAC,sCAAsC,CAAC,CAAC;CACtD;AA8ED,wBAAgB,sCAAsC,CACpD,SAAS,GAAE,OAAO,CAAC,qCAAqC,CAAM,GAC7D,OAAO,CAyBT"}
1
+ {"version":3,"file":"validate-skill-version-bumps.d.ts","sourceRoot":"","sources":["../../../src/commands/internal/validate-skill-version-bumps.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,aAAa,EACnB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAEL,KAAK,uCAAuC,EAC5C,KAAK,sCAAsC,EAC5C,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,UAAU,qCAAqC;IAC7C,mBAAmB,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,cAAc,CAAC;IAChE,gCAAgC,EAAE,CAChC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,uCAAuC,KAC7C,OAAO,CAAC,sCAAsC,CAAC,CAAC;CACtD;AAgFD,wBAAgB,sCAAsC,CACpD,SAAS,GAAE,OAAO,CAAC,qCAAqC,CAAM,GAC7D,OAAO,CAyBT"}
@@ -16,7 +16,7 @@ function reportFindings(context, baseRef, result) {
16
16
  });
17
17
  return;
18
18
  }
19
- context.logger.error('Canonical skill version validation failed:\n');
19
+ context.logger.error('Canonical skill and agent role version validation failed:\n');
20
20
  for (const finding of result.findings) {
21
21
  context.logger.error(`- ${finding.file}: ${finding.message}`);
22
22
  }
@@ -40,10 +40,10 @@ async function runValidateSkillVersionBumps(context, options, dependencies) {
40
40
  }
41
41
  else {
42
42
  if (result.validatedSkillCount === 0) {
43
- context.logger.info(`OK: 0 canonical skills changed relative to ${options.baseRef} - nothing to validate`);
43
+ context.logger.info(`OK: 0 canonical skills or agent roles changed relative to ${options.baseRef} - nothing to validate`);
44
44
  }
45
45
  else {
46
- context.logger.info(`OK: validated ${result.validatedSkillCount} changed canonical skill version bump checks against ${options.baseRef}`);
46
+ context.logger.info(`OK: validated ${result.validatedSkillCount} changed canonical skill and agent role version bump checks against ${options.baseRef}`);
47
47
  }
48
48
  }
49
49
  process.exitCode = 0;
@@ -65,8 +65,8 @@ export function createValidateSkillVersionBumpsCommand(overrides = {}) {
65
65
  ...overrides,
66
66
  };
67
67
  return new Command('validate-skill-version-bumps')
68
- .description('Validate that changed canonical skills bump version relative to a git base ref')
69
- .requiredOption('--base-ref <ref>', 'Git ref used as the comparison base for changed canonical skills')
68
+ .description('Validate that changed canonical skills and agent roles bump version relative to a git base ref')
69
+ .requiredOption('--base-ref <ref>', 'Git ref used as the comparison base for changed canonical skills and agent roles')
70
70
  .action(async (options, command) => {
71
71
  const context = dependencies.buildCommandContext(readGlobalOptions(command));
72
72
  await runValidateSkillVersionBumps(context, options, dependencies);
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/project/dispatch-ceiling/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,aAAa,EACnB,MAAM,sBAAsB,CAAC;AAkB9B,OAAO,EAUL,KAAK,uBAAuB,EAY7B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,iBAAiB,CAAC;AA6BzB,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAiC5C,UAAU,2BAA2B;IACnC,mBAAmB,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,cAAc,CAAC;IAChE,kBAAkB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACrD,sBAAsB,EAAE,CACtB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,EACrB,GAAG,EAAE,MAAM,CAAC,UAAU,KACnB,OAAO,CAAC,cAAc,CAAC,CAAC;IAC7B,oBAAoB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,uBAAuB,CAAC,CA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AC;CAC/B;AAkyFD,wBAAgB,mCAAmC,CACjD,SAAS,GAAE,OAAO,CAAC,2BAA2B,CAAM,GACnD,OAAO,CA0GT"}
@@ -8,6 +8,7 @@ import { normalizeDispatchMatrix } from '../../../config/dispatch-matrix.js';
8
8
  import { effectiveTerminalReviewerTarget, formatDispatchNotices, terminalReviewerNoticeForTarget, } from '../../../config/dispatch-notices.js';
9
9
  import { getDispatchPolicyChoices, managedDispatchPolicyValueList, renderDispatchPolicyChoicesMarkdown, } from '../../../config/dispatch-policy-options.js';
10
10
  import { resolveActiveProject, VALID_CLAUDE_DISPATCH_CEILINGS, VALID_CODEX_DISPATCH_CEILINGS, VALID_DISPATCH_MATRIX_TIERS, VALID_MANAGED_DISPATCH_POLICIES, isWorkflowDispatchCandidateLadder, isWorkflowDispatchFallbackRoute, toWorkflowDispatchCandidateLadder, validateDispatchRouteTarget, } from '../../../config/oat-config.js';
11
+ import { getOwnKey, setOwnKey } from '../../../config/own-keys.js';
11
12
  import { resolveEffectiveConfig, } from '../../../config/resolve.js';
12
13
  import { resolveProjectRoot } from '../../../fs/paths.js';
13
14
  import TOML from '@iarna/toml';
@@ -141,13 +142,17 @@ function isProjectMatrixRecord(value) {
141
142
  }
142
143
  function toProjectMatrixCompatibility(rawMatrix, matrix) {
143
144
  const compatibility = {};
145
+ // The normalized matrix now keeps a provider named `__proto__` as an own
146
+ // key, so `Object.entries` yields it here: assignment would drop a scalar
147
+ // entry and install a tier map as this output's prototype.
144
148
  for (const [provider, providerValue] of Object.entries(matrix)) {
145
149
  if (typeof providerValue === 'string') {
146
- compatibility[provider] = providerValue;
150
+ setOwnKey(compatibility, provider, providerValue);
147
151
  continue;
148
152
  }
149
- const rawProvider = isProjectMatrixRecord(rawMatrix[provider])
150
- ? rawMatrix[provider]
153
+ const rawProviderValue = getOwnKey(rawMatrix, provider);
154
+ const rawProvider = isProjectMatrixRecord(rawProviderValue)
155
+ ? rawProviderValue
151
156
  : {};
152
157
  const tiers = {};
153
158
  for (const [tier, cell] of Object.entries(providerValue)) {
@@ -167,7 +172,7 @@ function toProjectMatrixCompatibility(rawMatrix, matrix) {
167
172
  }
168
173
  tiers[matrixTier] = cell;
169
174
  }
170
- compatibility[provider] = tiers;
175
+ setOwnKey(compatibility, provider, tiers);
171
176
  }
172
177
  return compatibility;
173
178
  }
@@ -346,7 +351,7 @@ function resolveProviderMatrixCell(provider, tier, resolvedConfig, projectMatrix
346
351
  { source: 'project-state', providers: projectMatrix },
347
352
  ];
348
353
  for (const layer of layers) {
349
- const resolved = resolveProviderCellFromValue(provider, layer.providers?.[provider], tier, layer.source, escalationLevel);
354
+ const resolved = resolveProviderCellFromValue(provider, layer.providers ? getOwnKey(layer.providers, provider) : undefined, tier, layer.source, escalationLevel);
350
355
  if (resolved) {
351
356
  selected = resolved;
352
357
  }
@@ -371,7 +376,9 @@ function resolveProviderMatrixCellDefinition(provider, tier, resolvedConfig, pro
371
376
  { source: 'project-state', providers: projectMatrix },
372
377
  ];
373
378
  for (const layer of layers) {
374
- const providerValue = layer.providers?.[provider];
379
+ const providerValue = layer.providers
380
+ ? getOwnKey(layer.providers, provider)
381
+ : undefined;
375
382
  if (typeof providerValue === 'string') {
376
383
  selected = null;
377
384
  continue;
@@ -1305,17 +1312,20 @@ function mergeEffectiveDispatchMatrix(resolvedConfig) {
1305
1312
  resolvedConfig.local.workflow?.dispatchCeiling?.providers,
1306
1313
  ];
1307
1314
  for (const providers of layers) {
1315
+ // Provider names come from user config, which now preserves a key named
1316
+ // `__proto__` as an own key, so `Object.entries` yields it here. Plain
1317
+ // member access would reinstall it as this map's prototype and lose it.
1308
1318
  for (const [provider, value] of Object.entries(providers ?? {})) {
1309
- const previous = merged[provider];
1310
- merged[provider] =
1311
- typeof value === 'object' &&
1312
- value !== null &&
1313
- !Array.isArray(value) &&
1314
- typeof previous === 'object' &&
1315
- previous !== null &&
1316
- !Array.isArray(previous)
1317
- ? { ...previous, ...value }
1318
- : value;
1319
+ const previous = getOwnKey(merged, provider);
1320
+ const mergedValue = typeof value === 'object' &&
1321
+ value !== null &&
1322
+ !Array.isArray(value) &&
1323
+ typeof previous === 'object' &&
1324
+ previous !== null &&
1325
+ !Array.isArray(previous)
1326
+ ? { ...previous, ...value }
1327
+ : value;
1328
+ setOwnKey(merged, provider, mergedValue);
1319
1329
  }
1320
1330
  }
1321
1331
  return merged;
@@ -1648,7 +1658,9 @@ function writeHumanResolution(context, resolution) {
1648
1658
  context.logger.info(`${label} dispatch policy: ${policyLabel(resolution.policy)}`);
1649
1659
  context.logger.info(`Resolved cap: ${resolution.value ?? 'none'}`);
1650
1660
  context.logger.info(`Source: ${sourceLabel(resolution.source)}`);
1651
- const providerResolution = resolution.providers[resolution.provider];
1661
+ // `resolution.provider` is an open string union carrying a user-supplied
1662
+ // `--provider` value, so an unowned prototype name must read as absent.
1663
+ const providerResolution = getOwnKey(resolution.providers, resolution.provider);
1652
1664
  if (providerResolution) {
1653
1665
  context.logger.info(`Mode: ${providerResolution.mode} (${providerResolution.mechanism})`);
1654
1666
  context.logger.info(`Selection: ${providerResolution.selection.selectionMode}`);
@@ -1760,7 +1772,9 @@ function buildResolutionReport(resolution, options) {
1760
1772
  }
1761
1773
  const action = options.reportAction;
1762
1774
  const role = reportRole(action);
1763
- const providerResolution = resolution.providers[resolution.provider];
1775
+ // `resolution.provider` is an open string union carrying a user-supplied
1776
+ // `--provider` value, so an unowned prototype name must read as absent.
1777
+ const providerResolution = getOwnKey(resolution.providers, resolution.provider);
1764
1778
  if (!providerResolution) {
1765
1779
  throw new Error(`Dispatch report resolution is missing provider data for "${resolution.provider}".`);
1766
1780
  }
@@ -2,6 +2,7 @@ import { type CommandContext, type GlobalOptions } from '../../../app/command-co
2
2
  import { type ActiveProjectResolution } from '../../../config/oat-config.js';
3
3
  import { type ResolvedConfig } from '../../../config/resolve.js';
4
4
  import { Command } from 'commander';
5
+ import { type ProjectLogSeal } from './check.js';
5
6
  export declare const PROJECT_LOG_FILENAME = "project-log.md";
6
7
  /**
7
8
  * Directory, relative to a project, that holds gate partial-finalization
@@ -34,6 +35,25 @@ export interface ProjectLogLockDependencies {
34
35
  now: () => number;
35
36
  }
36
37
  export declare function projectLogLockPath(logPath: string): string;
38
+ /**
39
+ * Runs `mutate` with the log's advisory lock held, releasing it on every path.
40
+ *
41
+ * `required` is for mutations that rewrite the file. Running one of those
42
+ * without the lock is exactly the read/modify/write race this exists to close,
43
+ * so an unavailable lock refuses rather than proceeding: a loud, retryable
44
+ * failure that the caller reports is strictly better than a silent clobber of
45
+ * another writer's entry, and the recovery command replays the append safely.
46
+ *
47
+ * `best-effort` is for work that cannot lose an entry — committing does not
48
+ * rewrite the log — where holding the lock only keeps this process from racing
49
+ * its own sibling into `.git/index.lock`.
50
+ *
51
+ * Exported so `synthesize` enters the same critical section rather than a
52
+ * second one of its own: its whole-file rewrite races an overlapping append
53
+ * exactly as two appends race each other, and two locks would serialize
54
+ * neither.
55
+ */
56
+ export declare function withProjectLogLock<T>(logPath: string, overrides: Partial<ProjectLogLockDependencies>, policy: 'required' | 'best-effort', mutate: () => Promise<T>): Promise<T>;
37
57
  export type GitLockFailureClass = 'transient-index-lock' | 'persistent-index-lock' | 'other';
38
58
  export type ProjectLogCommitOutcome = 'committed' | 'already-committed' | 'nothing-to-commit' | 'not-a-repo' | 'blocked-by-index-lock' | 'entry-missing-after-commit' | 'commit-unverified' | 'failed';
39
59
  export interface ProjectLogCommitResult {
@@ -186,11 +206,39 @@ export interface AppendProjectLogInput {
186
206
  versionNote?: string;
187
207
  idempotencyKey?: string;
188
208
  }
209
+ /**
210
+ * Raised when an append that is not the completion seal targets a sealed log.
211
+ *
212
+ * This is a throw rather than a fourth `ProjectLogAppendResult` variant because
213
+ * every in-tree caller of `appendProjectLog` runs *before* the seal: the gate's
214
+ * partial-finalization receipt narrows the result's `status` into its own
215
+ * `'appended' | 'already-appended'` field, so widening the union would force a
216
+ * change on a caller that can never legitimately reach this state. Throwing
217
+ * refuses that caller too — the command layer maps this to
218
+ * `status: 'sealed'` with a non-zero exit, and any other caller fails loudly
219
+ * instead of silently appending past the seal.
220
+ */
221
+ export declare class ProjectLogSealedError extends Error {
222
+ readonly logPath: string;
223
+ readonly seal: ProjectLogSeal;
224
+ /**
225
+ * `action` names the refused mutation so `synthesize`, which rewrites rather
226
+ * than appends, reports what it actually declined. It defaults to `append`,
227
+ * which is the wording every existing caller and its pinned control expect.
228
+ */
229
+ constructor(logPath: string, seal: ProjectLogSeal, action?: string);
230
+ }
189
231
  export type ProjectLogAppendResult = {
190
232
  status: 'appended';
191
233
  logPath: string;
192
234
  heading: string;
193
235
  created: boolean;
236
+ /**
237
+ * Present and true when the accepted `--body` carried CRLF and was stored
238
+ * as LF. The command reports it rather than normalizing silently, because
239
+ * the bytes on disk then differ from the bytes the caller passed.
240
+ */
241
+ normalizedLineEndings?: true;
194
242
  } | {
195
243
  status: 'already-appended';
196
244
  logPath: string;
@@ -1 +1 @@
1
- {"version":3,"file":"append.d.ts","sourceRoot":"","sources":["../../../../src/commands/project/log/append.ts"],"names":[],"mappings":"AA8BA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,aAAa,EACnB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAA0B,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAI9E,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAepC,eAAO,MAAM,oBAAoB,mBAAmB,CAAC;AAGrD;;;GAGG;AACH,eAAO,MAAM,qBAAqB,kBAAkB,CAAC;AAErD;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAC7C,eAAO,MAAM,kCAAkC,EAAE,SAAS,MAAM,EAAe,CAAC;AAuBhF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,OAAQ,CAAC;AAC9C,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAC3C,eAAO,MAAM,yBAAyB,QAA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