@open-agent-toolkit/cli 0.3.12 → 0.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/assets/bundle-metadata.json +1 -1
- package/assets/docs/contributing/index.md +14 -1
- package/assets/docs/contributing/skills.md +64 -2
- package/assets/docs/contributing/smoke-testing.md +3 -3
- package/assets/docs/contributing/updating-model-guidance.md +2 -2
- package/assets/docs/contributing/verifying-cursor-pins.md +1 -1
- package/assets/docs/docs-tooling/add-docs-to-a-repo.md +112 -15
- package/assets/docs/docs-tooling/agent-instructions.md +131 -0
- package/assets/docs/docs-tooling/commands.md +74 -30
- package/assets/docs/docs-tooling/index.md +7 -6
- package/assets/docs/docs-tooling/meta.json +1 -1
- package/assets/docs/docs-tooling/workflows.md +357 -11
- package/assets/docs/{cli-utilities → getting-started}/bootstrap.md +60 -5
- package/assets/docs/{guide → getting-started}/concepts.md +28 -10
- package/assets/docs/getting-started/index.md +68 -0
- package/assets/docs/getting-started/meta.json +4 -0
- package/assets/docs/getting-started/quickstart.md +174 -0
- package/assets/docs/{cli-utilities → getting-started}/tool-packs.md +146 -15
- package/assets/docs/index.md +47 -48
- package/assets/docs/meta.json +6 -7
- package/assets/docs/provider-sync/commands.md +26 -3
- package/assets/docs/provider-sync/config.md +60 -1
- package/assets/docs/provider-sync/index.md +31 -15
- package/assets/docs/provider-sync/instruction-sync.md +43 -5
- package/assets/docs/provider-sync/manifest-and-drift.md +85 -0
- package/assets/docs/provider-sync/meta.json +1 -0
- package/assets/docs/provider-sync/pilot-with-a-team.md +236 -0
- package/assets/docs/provider-sync/scope-and-surface.md +37 -3
- package/assets/docs/reference/cli-reference.md +34 -34
- package/assets/docs/{cli-utilities → reference}/config-and-local-state.md +25 -9
- package/assets/docs/{cli-utilities → reference}/configuration.md +151 -34
- package/assets/docs/reference/docs-index-contract.md +19 -4
- package/assets/docs/reference/file-locations.md +7 -2
- package/assets/docs/reference/index.md +13 -1
- package/assets/docs/reference/meta.json +7 -1
- package/assets/docs/reference/oat-directory-structure.md +24 -22
- package/assets/docs/{workflows/projects/artifacts.md → reference/project-artifacts.md} +4 -4
- package/assets/docs/{workflows/projects/state-machine.md → reference/project-state-machine.md} +1 -1
- package/assets/docs/{workflows/projects/repo-analysis.md → reference/repository-pr-comments.md} +2 -2
- package/assets/docs/reference/troubleshooting.md +125 -10
- package/assets/docs/reference/what-oat-writes.md +410 -0
- package/assets/docs/skills/brainstorm.md +77 -0
- package/assets/docs/skills/diagnostics.md +56 -0
- package/assets/docs/{workflows/skills → skills}/explainer-kit.md +121 -0
- package/assets/docs/skills/index.md +416 -0
- package/assets/docs/{workflows/skills → skills}/meta.json +4 -2
- package/assets/docs/{workflows/skills → skills}/recon.md +49 -0
- package/assets/docs/skills/repo-improve.md +254 -0
- package/assets/docs/skills/research.md +237 -0
- package/assets/docs/skills/session-closeout.md +61 -0
- package/assets/docs/workflows/advanced/autonomy.md +344 -0
- package/assets/docs/workflows/{projects → advanced}/cursor-cloud.md +69 -1
- package/assets/docs/workflows/{projects → advanced}/dispatch-ceiling.md +163 -18
- package/assets/docs/workflows/{projects → advanced}/evidence-layers.md +1 -1
- package/assets/docs/workflows/advanced/index.md +19 -0
- package/assets/docs/workflows/advanced/meta.json +13 -0
- package/assets/docs/workflows/{projects → advanced}/orchestration-model.md +63 -4
- package/assets/docs/workflows/{projects → advanced}/programmatic-execution.md +4 -4
- package/assets/docs/{cli-utilities → workflows/advanced}/workflow-gates.md +162 -8
- package/assets/docs/workflows/advanced/worktree-bootstrap.md +83 -0
- package/assets/docs/workflows/approvals-and-automation.md +261 -0
- package/assets/docs/workflows/backlog-and-planning/backlog-lifecycle.md +348 -0
- package/assets/docs/workflows/backlog-and-planning/index.md +13 -0
- package/assets/docs/workflows/backlog-and-planning/meta.json +4 -0
- package/assets/docs/workflows/backlog-and-planning/remote-project-management.md +303 -0
- package/assets/docs/workflows/choose-workflow.md +114 -0
- package/assets/docs/workflows/ideas/index.md +3 -3
- package/assets/docs/workflows/ideas/lifecycle.md +218 -1
- package/assets/docs/workflows/index.md +11 -62
- package/assets/docs/workflows/meta.json +10 -2
- package/assets/docs/workflows/projects/closeout/closeout-skills.md +538 -0
- package/assets/docs/workflows/projects/closeout/index.md +14 -0
- package/assets/docs/workflows/projects/closeout/meta.json +4 -0
- package/assets/docs/workflows/projects/{pr-flow.md → closeout/pr-flow.md} +1 -1
- package/assets/docs/workflows/projects/{retro.md → closeout/retro.md} +1 -1
- package/assets/docs/workflows/projects/execution/execution-skills.md +258 -0
- package/assets/docs/workflows/projects/{implementation-execution.md → execution/implementation-execution.md} +8 -8
- package/assets/docs/workflows/projects/execution/index.md +15 -0
- package/assets/docs/workflows/projects/execution/meta.json +9 -0
- package/assets/docs/workflows/projects/execution/picking-up-projects.md +376 -0
- package/assets/docs/{cli-utilities → workflows/projects/execution}/project-log.md +1 -1
- package/assets/docs/workflows/projects/index.md +38 -49
- package/assets/docs/workflows/projects/lifecycle.md +47 -11
- package/assets/docs/workflows/projects/meta.json +2 -23
- package/assets/docs/workflows/projects/{design-modes.md → planning/design-modes.md} +29 -0
- package/assets/docs/workflows/projects/planning/hill-checkpoints.md +167 -0
- package/assets/docs/workflows/projects/planning/index.md +16 -0
- package/assets/docs/workflows/projects/planning/meta.json +10 -0
- package/assets/docs/workflows/projects/planning/planning-skills.md +381 -0
- package/assets/docs/workflows/projects/{splitting.md → planning/splitting.md} +3 -3
- package/assets/docs/workflows/projects/planning/starting-projects.md +511 -0
- package/assets/docs/workflows/projects/{reviews.md → reviews/index.md} +51 -5
- package/assets/docs/workflows/projects/reviews/meta.json +4 -0
- package/assets/docs/workflows/projects/reviews/review-flavors.md +643 -0
- package/assets/docs/workflows/projects/{reviewing-oat-prs.md → reviews/reviewing-oat-prs.md} +3 -3
- package/assets/docs/workflows/waves/index.md +12 -0
- package/assets/docs/workflows/waves/meta.json +4 -0
- package/assets/docs/workflows/waves/wave-workflows.md +206 -0
- package/assets/public-package-versions.json +4 -4
- package/assets/skills/oat-docs/SKILL.md +19 -19
- package/assets/skills/oat-docs-analyze/SKILL.md +27 -7
- package/assets/skills/oat-docs-analyze/references/quality-checklist.md +16 -3
- package/assets/skills/oat-docs-apply/SKILL.md +20 -3
- package/assets/skills/oat-docs-authoring/SKILL.md +11 -7
- package/assets/skills/oat-docs-authoring/references/docs-root-resolution.md +12 -5
- package/assets/skills/oat-docs-authoring/references/lifecycle-boundaries.md +7 -7
- package/assets/skills/oat-docs-authoring/references/oat-fumadocs-contract.md +13 -3
- package/assets/skills/oat-docs-authoring/references/targeted-authoring-workflow.md +5 -4
- package/assets/skills/oat-docs-authoring/references/validation.md +11 -1
- package/assets/skills/oat-docs-bootstrap/SKILL.md +31 -8
- package/assets/skills/oat-docs-bootstrap/assets/AGENTS.md.template +2 -1
- package/assets/skills/oat-doctor/SKILL.md +25 -25
- package/assets/skills/oat-project-document/SKILL.md +21 -2
- package/assets/templates/docs-markdown/contributing.md +35 -0
- package/assets/templates/docs-markdown/index.md +18 -0
- package/dist/commands/docs/index-generate/index.d.ts.map +1 -1
- package/dist/commands/docs/index-generate/index.js +41 -8
- package/dist/commands/docs/init/index.d.ts +17 -2
- package/dist/commands/docs/init/index.d.ts.map +1 -1
- package/dist/commands/docs/init/index.js +194 -14
- package/dist/commands/docs/init/markdown.d.ts +39 -0
- package/dist/commands/docs/init/markdown.d.ts.map +1 -0
- package/dist/commands/docs/init/markdown.js +317 -0
- package/dist/commands/docs/init/resolve-options.d.ts +3 -1
- package/dist/commands/docs/init/resolve-options.d.ts.map +1 -1
- package/dist/commands/docs/init/resolve-options.js +36 -0
- package/dist/commands/docs/init/scaffold.d.ts.map +1 -1
- package/dist/commands/docs/init/scaffold.js +11 -0
- package/dist/commands/shared/agents-md.d.ts +7 -0
- package/dist/commands/shared/agents-md.d.ts.map +1 -1
- package/dist/commands/shared/agents-md.js +131 -91
- package/dist/commands/tools/shared/pack-manifest.d.ts.map +1 -1
- package/dist/commands/tools/shared/pack-manifest.js +1 -0
- package/dist/config/oat-config.d.ts +2 -1
- package/dist/config/oat-config.d.ts.map +1 -1
- package/dist/config/oat-config.js +4 -2
- package/package.json +2 -2
- package/assets/docs/cli-utilities/backlog-lifecycle.md +0 -80
- package/assets/docs/cli-utilities/index.md +0 -74
- package/assets/docs/cli-utilities/meta.json +0 -13
- package/assets/docs/cli-utilities/remote-project-management.md +0 -191
- package/assets/docs/guide/index.md +0 -31
- package/assets/docs/guide/meta.json +0 -4
- package/assets/docs/quickstart.md +0 -88
- package/assets/docs/workflows/projects/autonomy.md +0 -196
- package/assets/docs/workflows/projects/hill-checkpoints.md +0 -93
- package/assets/docs/workflows/projects/picking-up-projects.md +0 -124
- package/assets/docs/workflows/projects/review-flavors.md +0 -138
- package/assets/docs/workflows/skills/index.md +0 -184
- package/assets/docs/workflows/skills/repo-improve.md +0 -89
- package/assets/docs/workflows/wave-workflows.md +0 -77
|
@@ -419,6 +419,95 @@ async function appendAbsentSections(plan, blocks, fileSystem) {
|
|
|
419
419
|
}
|
|
420
420
|
return outcome;
|
|
421
421
|
}
|
|
422
|
+
/** Read-only ownership/conflict classification shared by preview and mutation. */
|
|
423
|
+
function classifySections(plan, desired, content, removeSectionKeys, appendRefusal) {
|
|
424
|
+
if (plan.kind === 'missing') {
|
|
425
|
+
return {
|
|
426
|
+
results: Object.fromEntries(desired.map(({ key }) => [key, { action: 'created' }])),
|
|
427
|
+
absentBlocks: [],
|
|
428
|
+
};
|
|
429
|
+
}
|
|
430
|
+
const managed = desired.map(({ key, block }) => ({
|
|
431
|
+
key,
|
|
432
|
+
block,
|
|
433
|
+
range: findManagedSection(content, key),
|
|
434
|
+
}));
|
|
435
|
+
const legacy = [...new Set(removeSectionKeys)]
|
|
436
|
+
.filter((key) => !desired.some((section) => section.key === key))
|
|
437
|
+
.map((key) => ({ key, range: findManagedSection(content, key) }))
|
|
438
|
+
.filter((entry) => entry.range !== undefined);
|
|
439
|
+
assertManagedSectionsAreDisjoint([
|
|
440
|
+
...managed.flatMap(({ range }) => (range ? [range] : [])),
|
|
441
|
+
...legacy.map(({ range }) => range),
|
|
442
|
+
]);
|
|
443
|
+
const changed = managed.filter(({ block, range }) => !range || content.slice(range.start, range.end) !== block);
|
|
444
|
+
if (changed.length === 0 && legacy.length === 0) {
|
|
445
|
+
return {
|
|
446
|
+
results: Object.fromEntries(desired.map(({ key }) => [key, { action: 'no-change' }])),
|
|
447
|
+
absentBlocks: [],
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
// Appending cannot remove a legacy block, so any legacy block keeps the
|
|
451
|
+
// whole request on the zero-write manual patch.
|
|
452
|
+
if (legacy.length > 0) {
|
|
453
|
+
const manualPatch = createManualPatch(plan, (changed.length > 0 ? changed : desired).map(({ block }) => block), legacy.map(({ key }) => key));
|
|
454
|
+
return {
|
|
455
|
+
results: Object.fromEntries(managed.map(({ key }) => [
|
|
456
|
+
key,
|
|
457
|
+
{ action: 'manual-required', manualPatch },
|
|
458
|
+
])),
|
|
459
|
+
absentBlocks: [],
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
const absent = managed.filter(({ range }) => !range);
|
|
463
|
+
const different = managed.filter(({ block, range }) => range !== undefined && content.slice(range.start, range.end) !== block);
|
|
464
|
+
const refusal = appendRefusal ??
|
|
465
|
+
(absent.length > 0 && plan.targetLinkCount !== 1
|
|
466
|
+
? HARD_LINK_REFUSAL
|
|
467
|
+
: undefined);
|
|
468
|
+
if (refusal !== undefined) {
|
|
469
|
+
const manualPatch = createManualPatch(plan, changed.map(({ block }) => block), [], refusal);
|
|
470
|
+
return {
|
|
471
|
+
results: Object.fromEntries(managed.map(({ key, range }) => [
|
|
472
|
+
key,
|
|
473
|
+
range && !different.some((entry) => entry.key === key)
|
|
474
|
+
? { action: 'no-change' }
|
|
475
|
+
: { action: 'manual-required', manualPatch },
|
|
476
|
+
])),
|
|
477
|
+
absentBlocks: [],
|
|
478
|
+
};
|
|
479
|
+
}
|
|
480
|
+
const differentPatch = different.length > 0
|
|
481
|
+
? createManualPatch(plan, different.map(({ block }) => block), [])
|
|
482
|
+
: undefined;
|
|
483
|
+
return {
|
|
484
|
+
results: Object.fromEntries(managed.map(({ key, range }) => {
|
|
485
|
+
if (!range)
|
|
486
|
+
return [key, { action: 'appended' }];
|
|
487
|
+
if (differentPatch && different.some((entry) => entry.key === key)) {
|
|
488
|
+
return [
|
|
489
|
+
key,
|
|
490
|
+
{ action: 'manual-required', manualPatch: differentPatch },
|
|
491
|
+
];
|
|
492
|
+
}
|
|
493
|
+
return [key, { action: 'no-change' }];
|
|
494
|
+
})),
|
|
495
|
+
absentBlocks: absent.map(({ block }) => block),
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
/** Inspect current bytes and identity without opening a write handle. */
|
|
499
|
+
async function inspectSections(plan, sections, removeSectionKeys, fileSystem) {
|
|
500
|
+
const desired = sections.map(({ key, body }) => ({
|
|
501
|
+
key,
|
|
502
|
+
block: buildSection(key, body),
|
|
503
|
+
}));
|
|
504
|
+
const content = plan.kind === 'missing'
|
|
505
|
+
? ''
|
|
506
|
+
: await fileSystem.readFile(plan.targetPath, 'utf8');
|
|
507
|
+
const classification = classifySections(plan, desired, content, removeSectionKeys);
|
|
508
|
+
await assertPlanUnchanged(plan, fileSystem, plan.kind === 'missing' ? undefined : content);
|
|
509
|
+
return { content, desired, classification };
|
|
510
|
+
}
|
|
422
511
|
async function upsertSectionsInternal(repoRoot, sections, removeSectionKeys, fileSystem, allowReplan) {
|
|
423
512
|
let plan;
|
|
424
513
|
try {
|
|
@@ -428,106 +517,57 @@ async function upsertSectionsInternal(repoRoot, sections, removeSectionKeys, fil
|
|
|
428
517
|
const blocked = blockedResult(error);
|
|
429
518
|
return Object.fromEntries(sections.map(({ key }) => [key, blocked]));
|
|
430
519
|
}
|
|
431
|
-
const desired = sections.map(({ key, body }) => ({
|
|
432
|
-
key,
|
|
433
|
-
block: buildSection(key, body),
|
|
434
|
-
}));
|
|
435
|
-
if (plan.kind === 'missing') {
|
|
436
|
-
const content = `${desired.map(({ block }) => block).join('\n\n')}\n`;
|
|
437
|
-
const creation = await createMissingFile(plan, content, fileSystem);
|
|
438
|
-
if (creation === 'created') {
|
|
439
|
-
return Object.fromEntries(desired.map(({ key }) => [key, { action: 'created' }]));
|
|
440
|
-
}
|
|
441
|
-
if (creation === 'appeared' && allowReplan) {
|
|
442
|
-
return upsertSectionsInternal(repoRoot, sections, removeSectionKeys, fileSystem, false);
|
|
443
|
-
}
|
|
444
|
-
const blocked = blockedResult(new Error('Repository or AGENTS.md identity changed during planning.'), targetIdentifier(plan));
|
|
445
|
-
return Object.fromEntries(desired.map(({ key }) => [key, blocked]));
|
|
446
|
-
}
|
|
447
520
|
try {
|
|
448
|
-
const content = await
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
.filter((key) => !desired.some((section) => section.key === key))
|
|
456
|
-
.map((key) => ({ key, range: findManagedSection(content, key) }))
|
|
457
|
-
.filter((entry) => entry.range !== undefined);
|
|
458
|
-
assertManagedSectionsAreDisjoint([
|
|
459
|
-
...managed.flatMap(({ range }) => (range ? [range] : [])),
|
|
460
|
-
...legacy.map(({ range }) => range),
|
|
461
|
-
]);
|
|
462
|
-
await assertPlanUnchanged(plan, fileSystem, content);
|
|
463
|
-
const changed = managed.filter(({ block, range }) => !range || content.slice(range.start, range.end) !== block);
|
|
464
|
-
if (changed.length === 0 && legacy.length === 0) {
|
|
465
|
-
return Object.fromEntries(desired.map(({ key }) => [key, { action: 'no-change' }]));
|
|
466
|
-
}
|
|
467
|
-
// Appending cannot remove a legacy block, so any legacy block keeps the
|
|
468
|
-
// whole request on the zero-write manual patch.
|
|
469
|
-
if (legacy.length === 0) {
|
|
470
|
-
const absent = managed.filter(({ range }) => !range);
|
|
471
|
-
const different = managed.filter(({ block, range }) => range !== undefined &&
|
|
472
|
-
content.slice(range.start, range.end) !== block);
|
|
473
|
-
let appendRefusal;
|
|
474
|
-
if (absent.length > 0) {
|
|
475
|
-
if (plan.targetLinkCount !== 1) {
|
|
476
|
-
appendRefusal = HARD_LINK_REFUSAL;
|
|
477
|
-
}
|
|
478
|
-
else {
|
|
479
|
-
const appended = await appendAbsentSections(plan, absent.map(({ block }) => block), fileSystem);
|
|
480
|
-
if (appended.kind === 'blocked')
|
|
481
|
-
throw new Error(appended.reason);
|
|
482
|
-
if (appended.kind === 'refused')
|
|
483
|
-
appendRefusal = appended.cause;
|
|
484
|
-
}
|
|
521
|
+
const { desired, content, classification } = await inspectSections(plan, sections, removeSectionKeys, fileSystem);
|
|
522
|
+
if (plan.kind === 'missing') {
|
|
523
|
+
const creation = await createMissingFile(plan, `${desired.map(({ block }) => block).join('\n\n')}\n`, fileSystem);
|
|
524
|
+
if (creation === 'created')
|
|
525
|
+
return classification.results;
|
|
526
|
+
if (creation === 'appeared' && allowReplan) {
|
|
527
|
+
return upsertSectionsInternal(repoRoot, sections, removeSectionKeys, fileSystem, false);
|
|
485
528
|
}
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
range && !different.some((entry) => entry.key === key)
|
|
495
|
-
? { action: 'no-change' }
|
|
496
|
-
: { action: 'manual-required', manualPatch: refusalPatch },
|
|
497
|
-
]));
|
|
529
|
+
throw new Error(IDENTITY_CHANGED);
|
|
530
|
+
}
|
|
531
|
+
if (classification.absentBlocks.length > 0) {
|
|
532
|
+
const appended = await appendAbsentSections(plan, classification.absentBlocks, fileSystem);
|
|
533
|
+
if (appended.kind === 'blocked')
|
|
534
|
+
throw new Error(appended.reason);
|
|
535
|
+
if (appended.kind === 'refused') {
|
|
536
|
+
return classifySections(plan, desired, content, removeSectionKeys, appended.cause).results;
|
|
498
537
|
}
|
|
499
|
-
const differentPatch = different.length > 0
|
|
500
|
-
? createManualPatch(plan, different.map(({ block }) => block), [])
|
|
501
|
-
: undefined;
|
|
502
|
-
return Object.fromEntries(managed.map(({ key, range }) => {
|
|
503
|
-
if (!range)
|
|
504
|
-
return [key, { action: 'appended' }];
|
|
505
|
-
if (differentPatch && different.some((entry) => entry.key === key)) {
|
|
506
|
-
return [
|
|
507
|
-
key,
|
|
508
|
-
{ action: 'manual-required', manualPatch: differentPatch },
|
|
509
|
-
];
|
|
510
|
-
}
|
|
511
|
-
return [key, { action: 'no-change' }];
|
|
512
|
-
}));
|
|
513
538
|
}
|
|
514
|
-
|
|
515
|
-
? changed.map(({ block }) => block)
|
|
516
|
-
: desired.map(({ block }) => block), legacy.map(({ key }) => key));
|
|
517
|
-
return Object.fromEntries(managed.map(({ key, block, range }) => [
|
|
518
|
-
key,
|
|
519
|
-
range &&
|
|
520
|
-
content.slice(range.start, range.end) === block &&
|
|
521
|
-
legacy.length === 0
|
|
522
|
-
? { action: 'no-change' }
|
|
523
|
-
: { action: 'manual-required', manualPatch },
|
|
524
|
-
]));
|
|
539
|
+
return classification.results;
|
|
525
540
|
}
|
|
526
541
|
catch (error) {
|
|
527
542
|
const blocked = blockedResult(error, targetIdentifier(plan));
|
|
528
|
-
return Object.fromEntries(
|
|
543
|
+
return Object.fromEntries(sections.map(({ key }) => [key, blocked]));
|
|
529
544
|
}
|
|
530
545
|
}
|
|
546
|
+
/**
|
|
547
|
+
* Predict managed guidance actions from current bytes without writing. This
|
|
548
|
+
* advisory result does not establish write permission or guarantee a later
|
|
549
|
+
* upsert; mutation independently rechecks path identity and opened handles.
|
|
550
|
+
*/
|
|
551
|
+
export async function previewAgentsMdSections(repoRoot, sections, options = {}) {
|
|
552
|
+
if (sections.length === 0)
|
|
553
|
+
return {};
|
|
554
|
+
return previewSectionsInternal(repoRoot, sections, [], options.fileSystem ?? defaultFileSystem);
|
|
555
|
+
}
|
|
556
|
+
async function previewSectionsInternal(repoRoot, sections, removeSectionKeys, fileSystem) {
|
|
557
|
+
let plan;
|
|
558
|
+
try {
|
|
559
|
+
plan = await planAgentsMd(repoRoot, fileSystem);
|
|
560
|
+
return (await inspectSections(plan, sections, removeSectionKeys, fileSystem)).classification.results;
|
|
561
|
+
}
|
|
562
|
+
catch (error) {
|
|
563
|
+
const blocked = blockedResult(error, plan ? targetIdentifier(plan) : 'AGENTS.md');
|
|
564
|
+
return Object.fromEntries(sections.map(({ key }) => [key, blocked]));
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
export async function previewAgentsMdSection(repoRoot, key, body, options = {}) {
|
|
568
|
+
const results = await previewSectionsInternal(repoRoot, [{ key, body }], options.removeSectionKeys ?? [], options.fileSystem ?? defaultFileSystem);
|
|
569
|
+
return results[key] ?? blockedResult(new Error('AGENTS.md guidance failed.'));
|
|
570
|
+
}
|
|
531
571
|
export async function upsertAgentsMdSections(repoRoot, sections, options = {}) {
|
|
532
572
|
if (sections.length === 0)
|
|
533
573
|
return {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pack-manifest.d.ts","sourceRoot":"","sources":["../../../../src/commands/tools/shared/pack-manifest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,wBAAwB,EACxB,cAAc,EACd,QAAQ,EACT,MAAM,SAAS,CAAC;AAEjB,YAAY,EACV,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,wBAAwB,EACxB,cAAc,GACf,CAAC;AAEF,eAAO,MAAM,UAAU,4GASiB,CAAC;AAEzC,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,QAAQ,CAE3D;AAmID,eAAO,MAAM,aAAa,EAAE,SAAS,cAAc,
|
|
1
|
+
{"version":3,"file":"pack-manifest.d.ts","sourceRoot":"","sources":["../../../../src/commands/tools/shared/pack-manifest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,wBAAwB,EACxB,cAAc,EACd,QAAQ,EACT,MAAM,SAAS,CAAC;AAEjB,YAAY,EACV,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,wBAAwB,EACxB,cAAc,GACf,CAAC;AAEF,eAAO,MAAM,UAAU,4GASiB,CAAC;AAEzC,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,QAAQ,CAE3D;AAmID,eAAO,MAAM,aAAa,EAAE,SAAS,cAAc,EA2LlD,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,QAAQ,GAAG,cAAc,CAMhE;AAED,wBAAgB,aAAa,CAC3B,IAAI,EAAE,QAAQ,EACd,IAAI,CAAC,EAAE,aAAa,GACnB,SAAS,mBAAmB,EAAE,CAGhC;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,QAAQ,EACd,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAC9C,MAAM,EAAE,CAQV;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,EAAE,CAIlE;AAoJD,wBAAgB,oBAAoB,CAClC,QAAQ,GAAE,SAAS,cAAc,EAAkB,GAClD,IAAI,CAiEN"}
|
|
@@ -170,6 +170,7 @@ export const PACK_MANIFEST = [
|
|
|
170
170
|
].map((name) => skill(name)),
|
|
171
171
|
template('docs-app-mkdocs', 'directory'),
|
|
172
172
|
template('docs-app-fuma', 'directory'),
|
|
173
|
+
template('docs-markdown', 'directory'),
|
|
173
174
|
script('resolve-tracking.sh', 'resolve-tracking'),
|
|
174
175
|
],
|
|
175
176
|
},
|
|
@@ -288,7 +288,8 @@ export declare function readOatConfig(repoRoot: string): Promise<OatConfig>;
|
|
|
288
288
|
export declare function readOatConfigForDefaultScopeRepair(repoRoot: string): Promise<OatConfig>;
|
|
289
289
|
/**
|
|
290
290
|
* The documentation *content* root: `<documentation.root>/docs` when that path
|
|
291
|
-
* is a directory, otherwise `documentation.root` itself.
|
|
291
|
+
* is a directory, otherwise `documentation.root` itself. Explicit Markdown
|
|
292
|
+
* tooling always uses the configured root itself, including nested `docs`.
|
|
292
293
|
*
|
|
293
294
|
* `documentation.root` canonically names the docs **app root** written by
|
|
294
295
|
* `oat docs init`; the `<root>/docs` preference is compatibility behavior for
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oat-config.d.ts","sourceRoot":"","sources":["../../src/config/oat-config.ts"],"names":[],"mappings":"AAQA,OAAO,EAEL,KAAK,6BAA6B,EACnC,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,iCAAiC,EACjC,+BAA+B,EAC/B,iCAAiC,EACjC,2BAA2B,EAC3B,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,GACjC,MAAM,mBAAmB,CAAC;AAE3B;;;;;;;;;;GAUG;AACH,eAAO,MAAM,2BAA2B,YACtC,MAAM,EACN,SAAS,EACT,SAAS,EACT,MAAM,CACE,CAAC;AAEX,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAC;AAE/C;;;;;;;GAOG;AACH,eAAO,MAAM,iCAAiC,EAAE,uBACxC,CAAC;AAET,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,uBAAuB,CAKlC;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;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AQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAQxB;AAED,wBAAsB,aAAa,CACjC,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,IAAI,CAAC,CAMf;AAED,wBAAsB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAMrE;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CA6B5D"}
|
|
@@ -1193,7 +1193,8 @@ export async function readOatConfigForDefaultScopeRepair(repoRoot) {
|
|
|
1193
1193
|
}
|
|
1194
1194
|
/**
|
|
1195
1195
|
* The documentation *content* root: `<documentation.root>/docs` when that path
|
|
1196
|
-
* is a directory, otherwise `documentation.root` itself.
|
|
1196
|
+
* is a directory, otherwise `documentation.root` itself. Explicit Markdown
|
|
1197
|
+
* tooling always uses the configured root itself, including nested `docs`.
|
|
1197
1198
|
*
|
|
1198
1199
|
* `documentation.root` canonically names the docs **app root** written by
|
|
1199
1200
|
* `oat docs init`; the `<root>/docs` preference is compatibility behavior for
|
|
@@ -1223,7 +1224,8 @@ export async function resolveDocumentationContentRoot(repoRoot, config, dependen
|
|
|
1223
1224
|
// `stat`) pass their own directory probe so the `<root>/docs` rule sees the
|
|
1224
1225
|
// same filesystem the rest of the scan does; the default is the real one.
|
|
1225
1226
|
const probe = dependencies.dirExists ?? dirExists;
|
|
1226
|
-
const
|
|
1227
|
+
const isMarkdown = config.documentation?.tooling?.trim().toLowerCase() === 'markdown';
|
|
1228
|
+
const contentRoot = !isMarkdown && (await probe(docsChild)) ? docsChild : absoluteRoot;
|
|
1227
1229
|
const relativeContentRoot = normalizeToPosixPath(relative(repoRoot, contentRoot));
|
|
1228
1230
|
if (!relativeContentRoot ||
|
|
1229
1231
|
relativeContentRoot === '.' ||
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-agent-toolkit/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Open Agent Toolkit CLI",
|
|
6
6
|
"homepage": "https://github.com/voxmedia/open-agent-toolkit/tree/main/packages/cli",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"ora": "^9.0.0",
|
|
35
35
|
"yaml": "2.8.2",
|
|
36
36
|
"zod": "^3.25.76",
|
|
37
|
-
"@open-agent-toolkit/control-plane": "0.3.
|
|
37
|
+
"@open-agent-toolkit/control-plane": "0.3.14"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^22.10.0",
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Backlog Lifecycle
|
|
3
|
-
description: The states a file-backed backlog item moves through, how oat backlog archive closes it out atomically, and how oat pjm doctor catches lifecycle drift.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Backlog Lifecycle
|
|
7
|
-
|
|
8
|
-
The file-backed backlog under `.oat/repo/pjm/backlog/` tracks work as one Markdown file per item. This page describes the lifecycle those items move through, the atomic close-out command that keeps the pieces in sync, and the diagnostics that flag drift when a close-out is done by hand and something is missed.
|
|
9
|
-
|
|
10
|
-
For the flag-by-flag command reference, see [`oat backlog archive`](config-and-local-state.md#oat-backlog-archive). For the two-layer PJM surface that hosts the backlog, see [Tool Packs](tool-packs.md#install-vs-initialize).
|
|
11
|
-
|
|
12
|
-
## Adoption comes first
|
|
13
|
-
|
|
14
|
-
`oat backlog` mutations require this repository to have adopted PJM. Installing
|
|
15
|
-
the `project-management` pack makes the capability available — including at user
|
|
16
|
-
scope, which is the default — but it does not adopt PJM for a repository, and
|
|
17
|
-
`oat backlog init` is not an alternate adoption path.
|
|
18
|
-
|
|
19
|
-
Run `oat pjm init` once per repository. Until adoption is recorded, backlog
|
|
20
|
-
mutations write nothing and return an error naming the repository path and
|
|
21
|
-
`oat pjm init` as the recovery. Check the current state with
|
|
22
|
-
`oat pjm doctor --json` and read its `adoption.state` field.
|
|
23
|
-
|
|
24
|
-
## Where a backlog item lives
|
|
25
|
-
|
|
26
|
-
- **`items/<id>.md`** - active, file-backed records. Each carries frontmatter with a `status` and an `updated` timestamp.
|
|
27
|
-
- **`archived/<id>.md`** - the resting place for closed-out items, preserving the full item file as history.
|
|
28
|
-
- **`completed.md`** - a newest-first summary log of completed work, one line per entry (`YYYY-MM-DD — BL-YYMMDD-slug — Title — one-line outcome`).
|
|
29
|
-
- **`index.md`** - the human-facing curated overview plus a managed, generated index table rebuilt from item frontmatter.
|
|
30
|
-
|
|
31
|
-
## Item statuses
|
|
32
|
-
|
|
33
|
-
An item's `status` frontmatter field is one of exactly four values:
|
|
34
|
-
|
|
35
|
-
- `open` - captured, not yet started.
|
|
36
|
-
- `in_progress` - actively being worked.
|
|
37
|
-
- `closed` - completed.
|
|
38
|
-
- `wont_do` - abandoned or intentionally declined.
|
|
39
|
-
|
|
40
|
-
`closed` and `wont_do` are the two **terminal** statuses. These are the only valid values — never invent variants like `done`. A terminal item belongs in `archived/`, not `items/`.
|
|
41
|
-
|
|
42
|
-
## Closing out an item
|
|
43
|
-
|
|
44
|
-
When an item reaches a terminal state, close it out with the atomic command rather than editing files by hand:
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
# completed work
|
|
48
|
-
oat backlog archive BL-260705-example --summary "shipped the thing"
|
|
49
|
-
|
|
50
|
-
# abandoned work
|
|
51
|
-
oat backlog archive BL-260705-example --wont-do --summary "superseded by BL-260706-other"
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
A single `oat backlog archive` run performs the whole close-out so its parts cannot drift apart:
|
|
55
|
-
|
|
56
|
-
1. Sets the terminal `status` (`closed` by default, `wont_do` with `--wont-do`) and stamps `updated`.
|
|
57
|
-
2. Validates and trims a nonblank `--summary` before mutating a `closed` item, then appends its canonical newest-first `completed.md` entry. `wont_do` items may omit the summary and get an entry only when one is provided.
|
|
58
|
-
3. Moves `items/<id>.md` into `archived/` — with `git mv` inside a work tree, or a plain rename outside git.
|
|
59
|
-
4. Rewrites inbound references to the moved file across Markdown under `.oat/repo/**` (tracked and untracked files that Git does not ignore; a code span whose whole content is the item's path, such as an external plan's source citation, is rewritten, while other code spans and fenced code are left as written with a warning) — external plans, decision records, and other backlog items — so no link dangles at `items/<id>.md`, and reports each rewritten file. A reference it cannot resolve is left alone with a warning.
|
|
60
|
-
5. Regenerates the managed backlog index.
|
|
61
|
-
|
|
62
|
-
The command is safe to re-run: an item already in `archived/` produces a no-op warning and only retries the reference rewrite and index regeneration, so an interrupted close-out finishes on the next run. A missing closed-item summary or an out-of-enum current status (for example a hand-set `done`) is a hard error before mutation and includes recovery guidance. See the [command reference](config-and-local-state.md#oat-backlog-archive) for exit codes and the `--json` payload.
|
|
63
|
-
|
|
64
|
-
## Catching lifecycle drift
|
|
65
|
-
|
|
66
|
-
The manual close-out this command replaces is exactly where the two motivating repos drifted — an item was marked closed in frontmatter and summarized in `completed.md` but never moved to `archived/`, and one shipped with the invalid status `done`. `oat pjm doctor` (and therefore `oat doctor`, which aggregates the `pjm:*` checks) now surfaces that drift:
|
|
67
|
-
|
|
68
|
-
- **`pjm:backlog_terminal_in_items`** (fail) - a `closed` or `wont_do` item is still sitting in `items/`. Fix: run `oat backlog archive <id>` to finish the move.
|
|
69
|
-
- **`pjm:backlog_invalid_status`** (fail) - an item carries an out-of-enum or missing `status`. The message lists the offending file paths and the valid statuses.
|
|
70
|
-
- **`pjm:backlog_archived_open`** (warn) - an `open` or `in_progress` item is in `archived/`, which usually means it was archived prematurely.
|
|
71
|
-
- **`pjm:backlog_completed_unarchived`** (warn) - `completed.md` references an item whose file still lives in `items/`.
|
|
72
|
-
- **`pjm:backlog_duplicate_id`** (fail) - the same `<id>.md` exists in both `items/` and `archived/`. `oat backlog archive` refuses to auto-resolve this (it would clobber the archived record), so the duplicate must be reconciled by hand.
|
|
73
|
-
|
|
74
|
-
These backlog checks run once the repository is adopted. `oat doctor` keys the
|
|
75
|
-
`pjm:*` family on repository adoption state rather than on
|
|
76
|
-
`tools.project-management`, so a repository whose PJM capability lives at user
|
|
77
|
-
scope still gets full backlog diagnostics. An unadopted repository reports
|
|
78
|
-
`pjm:adoption` with the `oat pjm init` recovery instead of backlog drift.
|
|
79
|
-
|
|
80
|
-
Doctor reports drift; it never auto-fixes. A human or agent runs `oat backlog archive` (or corrects the status) and re-runs doctor to confirm the backlog is clean again.
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: CLI Utilities
|
|
3
|
-
description: Standalone adoption lane for general OAT CLI surfaces outside provider sync, docs tooling, and tracked workflows.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# CLI Utilities
|
|
7
|
-
|
|
8
|
-
CLI Utilities is the OAT lane for the useful command surface that does not primarily belong to Provider Sync, Docs Tooling, or tracked workflow lifecycle execution.
|
|
9
|
-
|
|
10
|
-
Use this section when you want bootstrap guidance, tool-pack lifecycle details, configuration help, and general-purpose command references. It covers general-purpose setup, configuration, pack-management, and diagnostic utilities that support the rest of the toolkit without being specific to provider sync, docs tooling, or tracked workflow execution.
|
|
11
|
-
|
|
12
|
-
## Contents
|
|
13
|
-
|
|
14
|
-
- [CLI Bootstrap](bootstrap.md) - Foundational `oat init` guidance outside provider-sync-specific onboarding.
|
|
15
|
-
- [Tool Packs and Installed Assets](tool-packs.md) - Bundled packs and `oat tools` lifecycle commands.
|
|
16
|
-
- [Configuration](configuration.md) - OAT configuration guidance across shared, local, user, and provider-sync surfaces.
|
|
17
|
-
- [Remote Project Management](remote-project-management.md) - Provider-neutral remote bindings, policy, previews, approvals, storage, and recovery.
|
|
18
|
-
- [Config and Local State](config-and-local-state.md) - Utility command groups for config, local state, diagnostics, and related inspection flows.
|
|
19
|
-
- [Project Log](project-log.md) - Append-only project observations, synthesis, inspection, and durable roll-up.
|
|
20
|
-
- [Backlog Lifecycle](backlog-lifecycle.md) - Backlog item states, atomic close-out with `oat backlog archive`, and lifecycle drift detection in `oat pjm doctor`.
|
|
21
|
-
- [Workflow Gates](workflow-gates.md) - Completion-safe headless reviews, budgets, liveness evidence, and cross-runtime dispatch with `oat gate`.
|
|
22
|
-
|
|
23
|
-
## What Lives Here
|
|
24
|
-
|
|
25
|
-
This section collects the command groups that help you initialize OAT, manage installed packs, inspect local or config state, and use the wider CLI without implying that you are adopting provider sync or tracked workflows.
|
|
26
|
-
|
|
27
|
-
Examples include:
|
|
28
|
-
|
|
29
|
-
- bootstrap and setup flows such as `oat init`
|
|
30
|
-
- bundled pack management through `oat tools`
|
|
31
|
-
- general configuration guidance
|
|
32
|
-
- workflow gate commands for per-skill final checks and cross-runtime review dispatch
|
|
33
|
-
- utility command groups for config, local state, diagnostics, and related inspection flows
|
|
34
|
-
- a guided health check, the `/oat-doctor` skill, that sweeps config, project management, agent instructions, docs, and installed tools, then explains and offers fixes for what it finds (described in [Config and Local State](config-and-local-state.md))
|
|
35
|
-
|
|
36
|
-
## Who It's For
|
|
37
|
-
|
|
38
|
-
- Users getting OAT set up in a repo
|
|
39
|
-
- Teams managing installed tool packs and local config
|
|
40
|
-
- People who need a general command map without diving into workflow lifecycle docs
|
|
41
|
-
|
|
42
|
-
## When To Use This Section
|
|
43
|
-
|
|
44
|
-
Use CLI Utilities when:
|
|
45
|
-
|
|
46
|
-
- you are first setting up OAT in a repo
|
|
47
|
-
- you need to install or update OAT packs
|
|
48
|
-
- you are looking for configuration or local-state inspection help
|
|
49
|
-
- you need the general CLI surface without committing to one of the deeper lanes yet
|
|
50
|
-
|
|
51
|
-
## Start Here
|
|
52
|
-
|
|
53
|
-
- Use [CLI Bootstrap](bootstrap.md) when you are starting with `oat init`.
|
|
54
|
-
- Go to [Tool Packs](tool-packs.md) when you are managing bundled OAT packs and installed assets.
|
|
55
|
-
- Read [Configuration](configuration.md) for config semantics, or [Config and Local State](config-and-local-state.md) for inspection and diagnostic command groups.
|
|
56
|
-
- Read [Remote Project Management](remote-project-management.md) before binding local planning records to GitHub, Linear, or Jira.
|
|
57
|
-
- Use [Workflow Gates](workflow-gates.md) when you want a skill to run a configured final command before it is considered done.
|
|
58
|
-
|
|
59
|
-
## Common Tasks
|
|
60
|
-
|
|
61
|
-
- Bootstrap OAT in a repo with [CLI Bootstrap](bootstrap.md).
|
|
62
|
-
- Manage installed packs in [Tool Packs](tool-packs.md).
|
|
63
|
-
- Adjust settings in [Configuration](configuration.md).
|
|
64
|
-
- Use [Config and Local State](config-and-local-state.md) for the utility command groups that support inspection and diagnostics.
|
|
65
|
-
- Configure cross-runtime review gates in [Workflow Gates](workflow-gates.md).
|
|
66
|
-
|
|
67
|
-
## Go Deeper
|
|
68
|
-
|
|
69
|
-
- [CLI Bootstrap](bootstrap.md) - Foundational `oat init` guidance outside provider-sync-specific onboarding.
|
|
70
|
-
- [Tool Packs](tool-packs.md) - Bundled packs and `oat tools` lifecycle commands.
|
|
71
|
-
- [Configuration](configuration.md) - OAT configuration guidance.
|
|
72
|
-
- [Remote Project Management](remote-project-management.md) - Safely operate explicit remote planning-record bindings.
|
|
73
|
-
- [Config and Local State](config-and-local-state.md) - Utility command groups for config, local state, diagnostics, and related inspection flows.
|
|
74
|
-
- [Workflow Gates](workflow-gates.md) - Per-skill final commands and cross-runtime review dispatch.
|