ddd-ts-kit 0.25.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +284 -0
- package/README.fr.md +405 -18
- package/README.md +372 -17
- package/dist/check/canonical/context-layers.d.ts +7 -0
- package/dist/check/canonical/context-layers.d.ts.map +1 -0
- package/dist/check/canonical/context-layers.js +13 -0
- package/dist/check/canonical/context-layers.js.map +1 -0
- package/dist/check/canonical/first-flaw.d.ts +9 -0
- package/dist/check/canonical/first-flaw.d.ts.map +1 -0
- package/dist/check/canonical/first-flaw.js +18 -0
- package/dist/check/canonical/first-flaw.js.map +1 -0
- package/dist/check/canonical/flaw-in-contexts.d.ts +9 -0
- package/dist/check/canonical/flaw-in-contexts.d.ts.map +1 -0
- package/dist/check/canonical/flaw-in-contexts.js +12 -0
- package/dist/check/canonical/flaw-in-contexts.js.map +1 -0
- package/dist/check/canonical/is-context-relative.d.ts +3 -0
- package/dist/check/canonical/is-context-relative.d.ts.map +1 -0
- package/dist/check/canonical/is-context-relative.js +12 -0
- package/dist/check/canonical/is-context-relative.js.map +1 -0
- package/dist/check/explain/language-docs.js +1 -1
- package/dist/check/explain/language-docs.js.map +1 -1
- package/dist/check/explain/tree-docs.js +3 -3
- package/dist/check/explain/tree-docs.js.map +1 -1
- package/dist/check/fixtures/fixtures.d.ts.map +1 -1
- package/dist/check/fixtures/fixtures.js +2 -0
- package/dist/check/fixtures/fixtures.js.map +1 -1
- package/dist/check/fixtures/other-language-fixtures.d.ts +3 -0
- package/dist/check/fixtures/other-language-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/other-language-fixtures.js +151 -0
- package/dist/check/fixtures/other-language-fixtures.js.map +1 -0
- package/dist/check/fixtures/tree-fixtures.d.ts.map +1 -1
- package/dist/check/fixtures/tree-fixtures.js +29 -2
- package/dist/check/fixtures/tree-fixtures.js.map +1 -1
- package/dist/check/language/in-outside-record.d.ts +9 -0
- package/dist/check/language/in-outside-record.d.ts.map +1 -0
- package/dist/check/language/in-outside-record.js +12 -0
- package/dist/check/language/in-outside-record.js.map +1 -0
- package/dist/check/language/is-outside-place.d.ts +4 -0
- package/dist/check/language/is-outside-place.d.ts.map +1 -0
- package/dist/check/language/is-outside-place.js +7 -0
- package/dist/check/language/is-outside-place.js.map +1 -0
- package/dist/check/language/other-language-of.d.ts +12 -0
- package/dist/check/language/other-language-of.d.ts.map +1 -0
- package/dist/check/language/other-language-of.js +46 -0
- package/dist/check/language/other-language-of.js.map +1 -0
- package/dist/check/language/record-arguments.d.ts +6 -0
- package/dist/check/language/record-arguments.d.ts.map +1 -0
- package/dist/check/language/record-arguments.js +28 -0
- package/dist/check/language/record-arguments.js.map +1 -0
- package/dist/check/language/type-declarations.d.ts +10 -0
- package/dist/check/language/type-declarations.d.ts.map +1 -0
- package/dist/check/language/type-declarations.js +37 -0
- package/dist/check/language/type-declarations.js.map +1 -0
- package/dist/check/language/type-root.d.ts +7 -0
- package/dist/check/language/type-root.d.ts.map +1 -0
- package/dist/check/language/type-root.js +43 -0
- package/dist/check/language/type-root.js.map +1 -0
- package/dist/check/language/typed-by-other-language.d.ts +9 -0
- package/dist/check/language/typed-by-other-language.d.ts.map +1 -0
- package/dist/check/language/typed-by-other-language.js +73 -0
- package/dist/check/language/typed-by-other-language.js.map +1 -0
- package/dist/check/project/markdown-under.d.ts +3 -0
- package/dist/check/project/markdown-under.d.ts.map +1 -0
- package/dist/check/project/markdown-under.js +20 -0
- package/dist/check/project/markdown-under.js.map +1 -0
- package/dist/check/rules/language-declared-vocabulary.d.ts.map +1 -1
- package/dist/check/rules/language-declared-vocabulary.js +28 -3
- package/dist/check/rules/language-declared-vocabulary.js.map +1 -1
- package/dist/check/rules/tree-documented-paths.d.ts.map +1 -1
- package/dist/check/rules/tree-documented-paths.js +14 -30
- package/dist/check/rules/tree-documented-paths.js.map +1 -1
- package/dist/check/text/annotation-before.d.ts +7 -0
- package/dist/check/text/annotation-before.d.ts.map +1 -0
- package/dist/check/text/annotation-before.js +30 -0
- package/dist/check/text/annotation-before.js.map +1 -0
- package/dist/check/text/type-at.d.ts +7 -0
- package/dist/check/text/type-at.d.ts.map +1 -0
- package/dist/check/text/type-at.js +22 -0
- package/dist/check/text/type-at.js.map +1 -0
- package/dist/check/text/type-brackets.d.ts +6 -0
- package/dist/check/text/type-brackets.d.ts.map +1 -0
- package/dist/check/text/type-brackets.js +11 -0
- package/dist/check/text/type-brackets.js.map +1 -0
- package/dist/check/text/type-closing.d.ts +3 -0
- package/dist/check/text/type-closing.d.ts.map +1 -0
- package/dist/check/text/type-closing.js +13 -0
- package/dist/check/text/type-closing.js.map +1 -0
- package/dist/citations/candidates-of.d.ts +16 -0
- package/dist/citations/candidates-of.d.ts.map +1 -0
- package/dist/citations/candidates-of.js +51 -0
- package/dist/citations/candidates-of.js.map +1 -0
- package/dist/citations/citation-line.d.ts +4 -0
- package/dist/citations/citation-line.d.ts.map +1 -0
- package/dist/citations/citation-line.js +36 -0
- package/dist/citations/citation-line.js.map +1 -0
- package/dist/citations/citations-of.d.ts +14 -0
- package/dist/citations/citations-of.d.ts.map +1 -0
- package/dist/citations/citations-of.js +21 -0
- package/dist/citations/citations-of.js.map +1 -0
- package/dist/citations/cited-name.d.ts +12 -0
- package/dist/citations/cited-name.d.ts.map +1 -0
- package/dist/citations/cited-name.js +2 -0
- package/dist/citations/cited-name.js.map +1 -0
- package/dist/citations/cited-names.d.ts +14 -0
- package/dist/citations/cited-names.d.ts.map +1 -0
- package/dist/citations/cited-names.js +71 -0
- package/dist/citations/cited-names.js.map +1 -0
- package/dist/citations/cited-parts.d.ts +19 -0
- package/dist/citations/cited-parts.d.ts.map +1 -0
- package/dist/citations/cited-parts.js +30 -0
- package/dist/citations/cited-parts.js.map +1 -0
- package/dist/citations/cited-removals.d.ts +8 -0
- package/dist/citations/cited-removals.d.ts.map +1 -0
- package/dist/citations/cited-removals.js +13 -0
- package/dist/citations/cited-removals.js.map +1 -0
- package/dist/citations/citing.d.ts +7 -0
- package/dist/citations/citing.d.ts.map +1 -0
- package/dist/citations/citing.js +2 -0
- package/dist/citations/citing.js.map +1 -0
- package/dist/citations/declaration.d.ts +6 -0
- package/dist/citations/declaration.d.ts.map +1 -0
- package/dist/citations/declaration.js +2 -0
- package/dist/citations/declaration.js.map +1 -0
- package/dist/citations/design-of.d.ts +9 -0
- package/dist/citations/design-of.d.ts.map +1 -0
- package/dist/citations/design-of.js +8 -0
- package/dist/citations/design-of.js.map +1 -0
- package/dist/citations/document-part.d.ts +17 -0
- package/dist/citations/document-part.d.ts.map +1 -0
- package/dist/citations/document-part.js +2 -0
- package/dist/citations/document-part.js.map +1 -0
- package/dist/citations/evidence.d.ts +14 -0
- package/dist/citations/evidence.d.ts.map +1 -0
- package/dist/citations/evidence.js +2 -0
- package/dist/citations/evidence.js.map +1 -0
- package/dist/citations/format-citations.d.ts +4 -0
- package/dist/citations/format-citations.d.ts.map +1 -0
- package/dist/citations/format-citations.js +23 -0
- package/dist/citations/format-citations.js.map +1 -0
- package/dist/citations/format-removals.d.ts +4 -0
- package/dist/citations/format-removals.d.ts.map +1 -0
- package/dist/citations/format-removals.js +15 -0
- package/dist/citations/format-removals.js.map +1 -0
- package/dist/citations/history-of.d.ts +8 -0
- package/dist/citations/history-of.d.ts.map +1 -0
- package/dist/citations/history-of.js +59 -0
- package/dist/citations/history-of.js.map +1 -0
- package/dist/citations/history.d.ts +23 -0
- package/dist/citations/history.d.ts.map +1 -0
- package/dist/citations/history.js +2 -0
- package/dist/citations/history.js.map +1 -0
- package/dist/citations/index-at-ref.d.ts +7 -0
- package/dist/citations/index-at-ref.d.ts.map +1 -0
- package/dist/citations/index-at-ref.js +22 -0
- package/dist/citations/index-at-ref.js.map +1 -0
- package/dist/citations/index-of-project.d.ts +5 -0
- package/dist/citations/index-of-project.d.ts.map +1 -0
- package/dist/citations/index-of-project.js +12 -0
- package/dist/citations/index-of-project.js.map +1 -0
- package/dist/citations/is-test-file.d.ts +3 -0
- package/dist/citations/is-test-file.d.ts.map +1 -0
- package/dist/citations/is-test-file.js +5 -0
- package/dist/citations/is-test-file.js.map +1 -0
- package/dist/citations/judge-citation.d.ts +7 -0
- package/dist/citations/judge-citation.d.ts.map +1 -0
- package/dist/citations/judge-citation.js +11 -0
- package/dist/citations/judge-citation.js.map +1 -0
- package/dist/citations/judge-member.d.ts +10 -0
- package/dist/citations/judge-member.d.ts.map +1 -0
- package/dist/citations/judge-member.js +39 -0
- package/dist/citations/judge-member.js.map +1 -0
- package/dist/citations/judge-path.d.ts +10 -0
- package/dist/citations/judge-path.d.ts.map +1 -0
- package/dist/citations/judge-path.js +38 -0
- package/dist/citations/judge-path.js.map +1 -0
- package/dist/citations/judge-symbol.d.ts +10 -0
- package/dist/citations/judge-symbol.d.ts.map +1 -0
- package/dist/citations/judge-symbol.js +29 -0
- package/dist/citations/judge-symbol.js.map +1 -0
- package/dist/citations/judged-citations.d.ts +17 -0
- package/dist/citations/judged-citations.d.ts.map +1 -0
- package/dist/citations/judged-citations.js +24 -0
- package/dist/citations/judged-citations.js.map +1 -0
- package/dist/citations/line-time.d.ts +7 -0
- package/dist/citations/line-time.d.ts.map +1 -0
- package/dist/citations/line-time.js +12 -0
- package/dist/citations/line-time.js.map +1 -0
- package/dist/citations/lines-of.d.ts +3 -0
- package/dist/citations/lines-of.d.ts.map +1 -0
- package/dist/citations/lines-of.js +5 -0
- package/dist/citations/lines-of.js.map +1 -0
- package/dist/citations/mentioned-rows.d.ts +7 -0
- package/dist/citations/mentioned-rows.d.ts.map +1 -0
- package/dist/citations/mentioned-rows.js +21 -0
- package/dist/citations/mentioned-rows.js.map +1 -0
- package/dist/citations/name-index-of.d.ts +5 -0
- package/dist/citations/name-index-of.d.ts.map +1 -0
- package/dist/citations/name-index-of.js +13 -0
- package/dist/citations/name-index-of.js.map +1 -0
- package/dist/citations/name-index.d.ts +8 -0
- package/dist/citations/name-index.d.ts.map +1 -0
- package/dist/citations/name-index.js +2 -0
- package/dist/citations/name-index.js.map +1 -0
- package/dist/citations/names-of-file.d.ts +7 -0
- package/dist/citations/names-of-file.d.ts.map +1 -0
- package/dist/citations/names-of-file.js +18 -0
- package/dist/citations/names-of-file.js.map +1 -0
- package/dist/citations/open-rows.d.ts +4 -0
- package/dist/citations/open-rows.d.ts.map +1 -0
- package/dist/citations/open-rows.js +9 -0
- package/dist/citations/open-rows.js.map +1 -0
- package/dist/citations/parts-of-document.d.ts +14 -0
- package/dist/citations/parts-of-document.d.ts.map +1 -0
- package/dist/citations/parts-of-document.js +51 -0
- package/dist/citations/parts-of-document.js.map +1 -0
- package/dist/citations/parts-of-slices.d.ts +13 -0
- package/dist/citations/parts-of-slices.d.ts.map +1 -0
- package/dist/citations/parts-of-slices.js +40 -0
- package/dist/citations/parts-of-slices.js.map +1 -0
- package/dist/citations/ref-notes.d.ts +6 -0
- package/dist/citations/ref-notes.d.ts.map +1 -0
- package/dist/citations/ref-notes.js +27 -0
- package/dist/citations/ref-notes.js.map +1 -0
- package/dist/citations/removal-naming.d.ts +9 -0
- package/dist/citations/removal-naming.d.ts.map +1 -0
- package/dist/citations/removal-naming.js +32 -0
- package/dist/citations/removal-naming.js.map +1 -0
- package/dist/citations/removals-at-ref.d.ts +8 -0
- package/dist/citations/removals-at-ref.d.ts.map +1 -0
- package/dist/citations/removals-at-ref.js +24 -0
- package/dist/citations/removals-at-ref.js.map +1 -0
- package/dist/citations/removals-since.d.ts +8 -0
- package/dist/citations/removals-since.d.ts.map +1 -0
- package/dist/citations/removals-since.js +16 -0
- package/dist/citations/removals-since.js.map +1 -0
- package/dist/citations/removed-by-of.d.ts +5 -0
- package/dist/citations/removed-by-of.d.ts.map +1 -0
- package/dist/citations/removed-by-of.js +6 -0
- package/dist/citations/removed-by-of.js.map +1 -0
- package/dist/citations/role-suffix-of.d.ts +8 -0
- package/dist/citations/role-suffix-of.d.ts.map +1 -0
- package/dist/citations/role-suffix-of.js +28 -0
- package/dist/citations/role-suffix-of.js.map +1 -0
- package/dist/citations/row-documents.d.ts +10 -0
- package/dist/citations/row-documents.d.ts.map +1 -0
- package/dist/citations/row-documents.js +42 -0
- package/dist/citations/row-documents.js.map +1 -0
- package/dist/citations/same-stem-names.d.ts +11 -0
- package/dist/citations/same-stem-names.d.ts.map +1 -0
- package/dist/citations/same-stem-names.js +41 -0
- package/dist/citations/same-stem-names.js.map +1 -0
- package/dist/citations/select-parts.d.ts +9 -0
- package/dist/citations/select-parts.d.ts.map +1 -0
- package/dist/citations/select-parts.js +11 -0
- package/dist/citations/select-parts.js.map +1 -0
- package/dist/citations/stale-citation.d.ts +39 -0
- package/dist/citations/stale-citation.d.ts.map +1 -0
- package/dist/citations/stale-citation.js +2 -0
- package/dist/citations/stale-citation.js.map +1 -0
- package/dist/citations/stale-names-at.d.ts +26 -0
- package/dist/citations/stale-names-at.d.ts.map +1 -0
- package/dist/citations/stale-names-at.js +31 -0
- package/dist/citations/stale-names-at.js.map +1 -0
- package/dist/citations/stale-names-since.d.ts +10 -0
- package/dist/citations/stale-names-since.d.ts.map +1 -0
- package/dist/citations/stale-names-since.js +26 -0
- package/dist/citations/stale-names-since.js.map +1 -0
- package/dist/citations/text-units.d.ts +7 -0
- package/dist/citations/text-units.d.ts.map +1 -0
- package/dist/citations/text-units.js +31 -0
- package/dist/citations/text-units.js.map +1 -0
- package/dist/commands/cited.d.ts +8 -0
- package/dist/commands/cited.d.ts.map +1 -0
- package/dist/commands/cited.js +70 -0
- package/dist/commands/cited.js.map +1 -0
- package/dist/commands/doctor.d.ts +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +7 -3
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/merge-trunk.d.ts +9 -0
- package/dist/commands/merge-trunk.d.ts.map +1 -0
- package/dist/commands/merge-trunk.js +58 -0
- package/dist/commands/merge-trunk.js.map +1 -0
- package/dist/commands/rows-option.d.ts +5 -0
- package/dist/commands/rows-option.d.ts.map +1 -0
- package/dist/commands/rows-option.js +13 -0
- package/dist/commands/rows-option.js.map +1 -0
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +3 -1
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/story-check.d.ts +9 -0
- package/dist/commands/story-check.d.ts.map +1 -0
- package/dist/commands/story-check.js +21 -0
- package/dist/commands/story-check.js.map +1 -0
- package/dist/commands/verify-merge.d.ts +9 -0
- package/dist/commands/verify-merge.d.ts.map +1 -0
- package/dist/commands/verify-merge.js +33 -0
- package/dist/commands/verify-merge.js.map +1 -0
- package/dist/commands/worker-scope.d.ts +4 -1
- package/dist/commands/worker-scope.d.ts.map +1 -1
- package/dist/commands/worker-scope.js +17 -14
- package/dist/commands/worker-scope.js.map +1 -1
- package/dist/derived/is-derived.d.ts +8 -0
- package/dist/derived/is-derived.d.ts.map +1 -0
- package/dist/derived/is-derived.js +18 -0
- package/dist/derived/is-derived.js.map +1 -0
- package/dist/doctor/diagnose.d.ts +2 -2
- package/dist/doctor/diagnose.d.ts.map +1 -1
- package/dist/doctor/diagnose.js +4 -2
- package/dist/doctor/diagnose.js.map +1 -1
- package/dist/doctor/doctor-finding.d.ts +3 -2
- package/dist/doctor/doctor-finding.d.ts.map +1 -1
- package/dist/doctor/format-diagnosis.d.ts +2 -1
- package/dist/doctor/format-diagnosis.d.ts.map +1 -1
- package/dist/doctor/format-diagnosis.js +31 -6
- package/dist/doctor/format-diagnosis.js.map +1 -1
- package/dist/doctor/hook-findings.d.ts +8 -0
- package/dist/doctor/hook-findings.d.ts.map +1 -0
- package/dist/doctor/hook-findings.js +54 -0
- package/dist/doctor/hook-findings.js.map +1 -0
- package/dist/help/notes.d.ts +1 -1
- package/dist/help/notes.d.ts.map +1 -1
- package/dist/help/notes.js +94 -10
- package/dist/help/notes.js.map +1 -1
- package/dist/help/usage.d.ts +1 -1
- package/dist/help/usage.d.ts.map +1 -1
- package/dist/help/usage.js +7 -1
- package/dist/help/usage.js.map +1 -1
- package/dist/init/agent-permissions.d.ts.map +1 -1
- package/dist/init/agent-permissions.js +6 -0
- package/dist/init/agent-permissions.js.map +1 -1
- package/dist/init/manifest/versions.js +24 -24
- package/dist/merge/abort-merge.d.ts +6 -0
- package/dist/merge/abort-merge.d.ts.map +1 -0
- package/dist/merge/abort-merge.js +31 -0
- package/dist/merge/abort-merge.js.map +1 -0
- package/dist/merge/accept-in-merge-message.d.ts +7 -0
- package/dist/merge/accept-in-merge-message.d.ts.map +1 -0
- package/dist/merge/accept-in-merge-message.js +15 -0
- package/dist/merge/accept-in-merge-message.js.map +1 -0
- package/dist/merge/apply-resolutions.d.ts +8 -0
- package/dist/merge/apply-resolutions.d.ts.map +1 -0
- package/dist/merge/apply-resolutions.js +30 -0
- package/dist/merge/apply-resolutions.js.map +1 -0
- package/dist/merge/base-point.d.ts +34 -0
- package/dist/merge/base-point.d.ts.map +1 -0
- package/dist/merge/base-point.js +2 -0
- package/dist/merge/base-point.js.map +1 -0
- package/dist/merge/base-query.d.ts +14 -0
- package/dist/merge/base-query.d.ts.map +1 -0
- package/dist/merge/base-query.js +2 -0
- package/dist/merge/base-query.js.map +1 -0
- package/dist/merge/classify-conflict.d.ts +15 -0
- package/dist/merge/classify-conflict.d.ts.map +1 -0
- package/dist/merge/classify-conflict.js +33 -0
- package/dist/merge/classify-conflict.js.map +1 -0
- package/dist/merge/commit-merge.d.ts +15 -0
- package/dist/merge/commit-merge.d.ts.map +1 -0
- package/dist/merge/commit-merge.js +48 -0
- package/dist/merge/commit-merge.js.map +1 -0
- package/dist/merge/conflict-blocks.d.ts +23 -0
- package/dist/merge/conflict-blocks.d.ts.map +1 -0
- package/dist/merge/conflict-blocks.js +45 -0
- package/dist/merge/conflict-blocks.js.map +1 -0
- package/dist/merge/conflicted-path.d.ts +14 -0
- package/dist/merge/conflicted-path.d.ts.map +1 -0
- package/dist/merge/conflicted-path.js +2 -0
- package/dist/merge/conflicted-path.js.map +1 -0
- package/dist/merge/conflicted-paths.d.ts +9 -0
- package/dist/merge/conflicted-paths.d.ts.map +1 -0
- package/dist/merge/conflicted-paths.js +43 -0
- package/dist/merge/conflicted-paths.js.map +1 -0
- package/dist/merge/continue-merge.d.ts +16 -0
- package/dist/merge/continue-merge.d.ts.map +1 -0
- package/dist/merge/continue-merge.js +119 -0
- package/dist/merge/continue-merge.js.map +1 -0
- package/dist/merge/ensure-mergeable.d.ts +7 -0
- package/dist/merge/ensure-mergeable.d.ts.map +1 -0
- package/dist/merge/ensure-mergeable.js +42 -0
- package/dist/merge/ensure-mergeable.js.map +1 -0
- package/dist/merge/for-you-entry.d.ts +20 -0
- package/dist/merge/for-you-entry.d.ts.map +1 -0
- package/dist/merge/for-you-entry.js +47 -0
- package/dist/merge/for-you-entry.js.map +1 -0
- package/dist/merge/format-merge-report.d.ts +9 -0
- package/dist/merge/format-merge-report.d.ts.map +1 -0
- package/dist/merge/format-merge-report.js +105 -0
- package/dist/merge/format-merge-report.js.map +1 -0
- package/dist/merge/git-path.d.ts +3 -0
- package/dist/merge/git-path.d.ts.map +1 -0
- package/dist/merge/git-path.js +7 -0
- package/dist/merge/git-path.js.map +1 -0
- package/dist/merge/git-process.d.ts +14 -0
- package/dist/merge/git-process.d.ts.map +1 -0
- package/dist/merge/git-process.js +17 -0
- package/dist/merge/git-process.js.map +1 -0
- package/dist/merge/git-version.d.ts +9 -0
- package/dist/merge/git-version.d.ts.map +1 -0
- package/dist/merge/git-version.js +17 -0
- package/dist/merge/git-version.js.map +1 -0
- package/dist/merge/land-drizzle.d.ts +15 -0
- package/dist/merge/land-drizzle.d.ts.map +1 -0
- package/dist/merge/land-drizzle.js +34 -0
- package/dist/merge/land-drizzle.js.map +1 -0
- package/dist/merge/landed-commit.d.ts +20 -0
- package/dist/merge/landed-commit.d.ts.map +1 -0
- package/dist/merge/landed-commit.js +58 -0
- package/dist/merge/landed-commit.js.map +1 -0
- package/dist/merge/landed-point.d.ts +9 -0
- package/dist/merge/landed-point.d.ts.map +1 -0
- package/dist/merge/landed-point.js +80 -0
- package/dist/merge/landed-point.js.map +1 -0
- package/dist/merge/lost/changed-paths.d.ts +7 -0
- package/dist/merge/lost/changed-paths.d.ts.map +1 -0
- package/dist/merge/lost/changed-paths.js +25 -0
- package/dist/merge/lost/changed-paths.js.map +1 -0
- package/dist/merge/lost/collapsed-files.d.ts +10 -0
- package/dist/merge/lost/collapsed-files.d.ts.map +1 -0
- package/dist/merge/lost/collapsed-files.js +26 -0
- package/dist/merge/lost/collapsed-files.js.map +1 -0
- package/dist/merge/lost/commit-of.d.ts +3 -0
- package/dist/merge/lost/commit-of.d.ts.map +1 -0
- package/dist/merge/lost/commit-of.js +6 -0
- package/dist/merge/lost/commit-of.js.map +1 -0
- package/dist/merge/lost/conflict-markers.d.ts +10 -0
- package/dist/merge/lost/conflict-markers.d.ts.map +1 -0
- package/dist/merge/lost/conflict-markers.js +32 -0
- package/dist/merge/lost/conflict-markers.js.map +1 -0
- package/dist/merge/lost/deleted-specs.d.ts +5 -0
- package/dist/merge/lost/deleted-specs.d.ts.map +1 -0
- package/dist/merge/lost/deleted-specs.js +22 -0
- package/dist/merge/lost/deleted-specs.js.map +1 -0
- package/dist/merge/lost/finding-sections.d.ts +11 -0
- package/dist/merge/lost/finding-sections.d.ts.map +1 -0
- package/dist/merge/lost/finding-sections.js +46 -0
- package/dist/merge/lost/finding-sections.js.map +1 -0
- package/dist/merge/lost/format-merge-verification.d.ts +7 -0
- package/dist/merge/lost/format-merge-verification.d.ts.map +1 -0
- package/dist/merge/lost/format-merge-verification.js +45 -0
- package/dist/merge/lost/format-merge-verification.js.map +1 -0
- package/dist/merge/lost/hunk.d.ts +8 -0
- package/dist/merge/lost/hunk.d.ts.map +1 -0
- package/dist/merge/lost/hunk.js +2 -0
- package/dist/merge/lost/hunk.js.map +1 -0
- package/dist/merge/lost/hunks-of.d.ts +4 -0
- package/dist/merge/lost/hunks-of.d.ts.map +1 -0
- package/dist/merge/lost/hunks-of.js +32 -0
- package/dist/merge/lost/hunks-of.js.map +1 -0
- package/dist/merge/lost/in-progress-merge.d.ts +8 -0
- package/dist/merge/lost/in-progress-merge.d.ts.map +1 -0
- package/dist/merge/lost/in-progress-merge.js +49 -0
- package/dist/merge/lost/in-progress-merge.js.map +1 -0
- package/dist/merge/lost/is-generated-text.d.ts +6 -0
- package/dist/merge/lost/is-generated-text.d.ts.map +1 -0
- package/dist/merge/lost/is-generated-text.js +10 -0
- package/dist/merge/lost/is-generated-text.js.map +1 -0
- package/dist/merge/lost/is-line-checked.d.ts +8 -0
- package/dist/merge/lost/is-line-checked.d.ts.map +1 -0
- package/dist/merge/lost/is-line-checked.js +32 -0
- package/dist/merge/lost/is-line-checked.js.map +1 -0
- package/dist/merge/lost/kept-rows.d.ts +9 -0
- package/dist/merge/lost/kept-rows.d.ts.map +1 -0
- package/dist/merge/lost/kept-rows.js +41 -0
- package/dist/merge/lost/kept-rows.js.map +1 -0
- package/dist/merge/lost/line-counts.d.ts +19 -0
- package/dist/merge/lost/line-counts.d.ts.map +1 -0
- package/dist/merge/lost/line-counts.js +33 -0
- package/dist/merge/lost/line-counts.js.map +1 -0
- package/dist/merge/lost/line-findings.d.ts +15 -0
- package/dist/merge/lost/line-findings.d.ts.map +1 -0
- package/dist/merge/lost/line-findings.js +14 -0
- package/dist/merge/lost/line-findings.js.map +1 -0
- package/dist/merge/lost/lost-lines.d.ts +12 -0
- package/dist/merge/lost/lost-lines.d.ts.map +1 -0
- package/dist/merge/lost/lost-lines.js +64 -0
- package/dist/merge/lost/lost-lines.js.map +1 -0
- package/dist/merge/lost/lost-migrations.d.ts +9 -0
- package/dist/merge/lost/lost-migrations.d.ts.map +1 -0
- package/dist/merge/lost/lost-migrations.js +51 -0
- package/dist/merge/lost/lost-migrations.js.map +1 -0
- package/dist/merge/lost/lost-tests.d.ts +10 -0
- package/dist/merge/lost/lost-tests.d.ts.map +1 -0
- package/dist/merge/lost/lost-tests.js +43 -0
- package/dist/merge/lost/lost-tests.js.map +1 -0
- package/dist/merge/lost/merge-base-of.d.ts +17 -0
- package/dist/merge/lost/merge-base-of.d.ts.map +1 -0
- package/dist/merge/lost/merge-base-of.js +31 -0
- package/dist/merge/lost/merge-base-of.js.map +1 -0
- package/dist/merge/lost/merge-check.d.ts +14 -0
- package/dist/merge/lost/merge-check.d.ts.map +1 -0
- package/dist/merge/lost/merge-check.js +2 -0
- package/dist/merge/lost/merge-check.js.map +1 -0
- package/dist/merge/lost/merge-finding.d.ts +27 -0
- package/dist/merge/lost/merge-finding.d.ts.map +1 -0
- package/dist/merge/lost/merge-finding.js +2 -0
- package/dist/merge/lost/merge-finding.js.map +1 -0
- package/dist/merge/lost/merge-of-record.d.ts +14 -0
- package/dist/merge/lost/merge-of-record.d.ts.map +1 -0
- package/dist/merge/lost/merge-of-record.js +36 -0
- package/dist/merge/lost/merge-of-record.js.map +1 -0
- package/dist/merge/lost/merge-records.d.ts +13 -0
- package/dist/merge/lost/merge-records.d.ts.map +1 -0
- package/dist/merge/lost/merge-records.js +24 -0
- package/dist/merge/lost/merge-records.js.map +1 -0
- package/dist/merge/lost/merge-repository-of.d.ts +4 -0
- package/dist/merge/lost/merge-repository-of.d.ts.map +1 -0
- package/dist/merge/lost/merge-repository-of.js +21 -0
- package/dist/merge/lost/merge-repository-of.js.map +1 -0
- package/dist/merge/lost/merge-repository.d.ts +10 -0
- package/dist/merge/lost/merge-repository.d.ts.map +1 -0
- package/dist/merge/lost/merge-repository.js +2 -0
- package/dist/merge/lost/merge-repository.js.map +1 -0
- package/dist/merge/lost/merge-sides.d.ts +11 -0
- package/dist/merge/lost/merge-sides.d.ts.map +1 -0
- package/dist/merge/lost/merge-sides.js +2 -0
- package/dist/merge/lost/merge-sides.js.map +1 -0
- package/dist/merge/lost/merge-to-verify.d.ts +16 -0
- package/dist/merge/lost/merge-to-verify.d.ts.map +1 -0
- package/dist/merge/lost/merge-to-verify.js +2 -0
- package/dist/merge/lost/merge-to-verify.js.map +1 -0
- package/dist/merge/lost/merge-verification.d.ts +13 -0
- package/dist/merge/lost/merge-verification.d.ts.map +1 -0
- package/dist/merge/lost/merge-verification.js +2 -0
- package/dist/merge/lost/merge-verification.js.map +1 -0
- package/dist/merge/lost/merges-since.d.ts +4 -0
- package/dist/merge/lost/merges-since.d.ts.map +1 -0
- package/dist/merge/lost/merges-since.js +7 -0
- package/dist/merge/lost/merges-since.js.map +1 -0
- package/dist/merge/lost/normalized-lines.d.ts +13 -0
- package/dist/merge/lost/normalized-lines.d.ts.map +1 -0
- package/dist/merge/lost/normalized-lines.js +45 -0
- package/dist/merge/lost/normalized-lines.js.map +1 -0
- package/dist/merge/lost/ranked-places.d.ts +12 -0
- package/dist/merge/lost/ranked-places.d.ts.map +1 -0
- package/dist/merge/lost/ranked-places.js +11 -0
- package/dist/merge/lost/ranked-places.js.map +1 -0
- package/dist/merge/lost/revision-files.d.ts +9 -0
- package/dist/merge/lost/revision-files.d.ts.map +1 -0
- package/dist/merge/lost/revision-files.js +58 -0
- package/dist/merge/lost/revision-files.js.map +1 -0
- package/dist/merge/lost/rewritten-in-place.d.ts +12 -0
- package/dist/merge/lost/rewritten-in-place.d.ts.map +1 -0
- package/dist/merge/lost/rewritten-in-place.js +28 -0
- package/dist/merge/lost/rewritten-in-place.js.map +1 -0
- package/dist/merge/lost/side-hunks.d.ts +8 -0
- package/dist/merge/lost/side-hunks.d.ts.map +1 -0
- package/dist/merge/lost/side-hunks.js +18 -0
- package/dist/merge/lost/side-hunks.js.map +1 -0
- package/dist/merge/lost/since-of.d.ts +7 -0
- package/dist/merge/lost/since-of.d.ts.map +1 -0
- package/dist/merge/lost/since-of.js +22 -0
- package/dist/merge/lost/since-of.js.map +1 -0
- package/dist/merge/lost/spec-file.d.ts +3 -0
- package/dist/merge/lost/spec-file.d.ts.map +1 -0
- package/dist/merge/lost/spec-file.js +3 -0
- package/dist/merge/lost/spec-file.js.map +1 -0
- package/dist/merge/lost/superseded-lines.d.ts +25 -0
- package/dist/merge/lost/superseded-lines.d.ts.map +1 -0
- package/dist/merge/lost/superseded-lines.js +53 -0
- package/dist/merge/lost/superseded-lines.js.map +1 -0
- package/dist/merge/lost/three-way-count.d.ts +18 -0
- package/dist/merge/lost/three-way-count.d.ts.map +1 -0
- package/dist/merge/lost/three-way-count.js +18 -0
- package/dist/merge/lost/three-way-count.js.map +1 -0
- package/dist/merge/lost/verify-merge.d.ts +11 -0
- package/dist/merge/lost/verify-merge.d.ts.map +1 -0
- package/dist/merge/lost/verify-merge.js +95 -0
- package/dist/merge/lost/verify-merge.js.map +1 -0
- package/dist/merge/lost/verify-merges.d.ts +17 -0
- package/dist/merge/lost/verify-merges.d.ts.map +1 -0
- package/dist/merge/lost/verify-merges.js +49 -0
- package/dist/merge/lost/verify-merges.js.map +1 -0
- package/dist/merge/lost-lines-gate.d.ts +9 -0
- package/dist/merge/lost-lines-gate.d.ts.map +1 -0
- package/dist/merge/lost-lines-gate.js +28 -0
- package/dist/merge/lost-lines-gate.js.map +1 -0
- package/dist/merge/mentioned-tables.d.ts +3 -0
- package/dist/merge/mentioned-tables.d.ts.map +1 -0
- package/dist/merge/mentioned-tables.js +13 -0
- package/dist/merge/mentioned-tables.js.map +1 -0
- package/dist/merge/merge-context.d.ts +15 -0
- package/dist/merge/merge-context.d.ts.map +1 -0
- package/dist/merge/merge-context.js +14 -0
- package/dist/merge/merge-context.js.map +1 -0
- package/dist/merge/merge-exclusions.d.ts +8 -0
- package/dist/merge/merge-exclusions.d.ts.map +1 -0
- package/dist/merge/merge-exclusions.js +27 -0
- package/dist/merge/merge-exclusions.js.map +1 -0
- package/dist/merge/merge-message.d.ts +17 -0
- package/dist/merge/merge-message.d.ts.map +1 -0
- package/dist/merge/merge-message.js +16 -0
- package/dist/merge/merge-message.js.map +1 -0
- package/dist/merge/merge-report.d.ts +81 -0
- package/dist/merge/merge-report.d.ts.map +1 -0
- package/dist/merge/merge-report.js +2 -0
- package/dist/merge/merge-report.js.map +1 -0
- package/dist/merge/merge-slices-rows.d.ts +15 -0
- package/dist/merge/merge-slices-rows.d.ts.map +1 -0
- package/dist/merge/merge-slices-rows.js +111 -0
- package/dist/merge/merge-slices-rows.js.map +1 -0
- package/dist/merge/merge-state.d.ts +24 -0
- package/dist/merge/merge-state.d.ts.map +1 -0
- package/dist/merge/merge-state.js +41 -0
- package/dist/merge/merge-state.js.map +1 -0
- package/dist/merge/merge-steps.d.ts +18 -0
- package/dist/merge/merge-steps.d.ts.map +1 -0
- package/dist/merge/merge-steps.js +63 -0
- package/dist/merge/merge-steps.js.map +1 -0
- package/dist/merge/merge-stored-events-lock.d.ts +13 -0
- package/dist/merge/merge-stored-events-lock.d.ts.map +1 -0
- package/dist/merge/merge-stored-events-lock.js +50 -0
- package/dist/merge/merge-stored-events-lock.js.map +1 -0
- package/dist/merge/merge-trunk.d.ts +21 -0
- package/dist/merge/merge-trunk.d.ts.map +1 -0
- package/dist/merge/merge-trunk.js +150 -0
- package/dist/merge/merge-trunk.js.map +1 -0
- package/dist/merge/migrations-at.d.ts +11 -0
- package/dist/merge/migrations-at.d.ts.map +1 -0
- package/dist/merge/migrations-at.js +25 -0
- package/dist/merge/migrations-at.js.map +1 -0
- package/dist/merge/next-migration-number.d.ts +7 -0
- package/dist/merge/next-migration-number.d.ts.map +1 -0
- package/dist/merge/next-migration-number.js +17 -0
- package/dist/merge/next-migration-number.js.map +1 -0
- package/dist/merge/next-steps.d.ts +16 -0
- package/dist/merge/next-steps.d.ts.map +1 -0
- package/dist/merge/next-steps.js +16 -0
- package/dist/merge/next-steps.js.map +1 -0
- package/dist/merge/object-bytes.d.ts +6 -0
- package/dist/merge/object-bytes.d.ts.map +1 -0
- package/dist/merge/object-bytes.js +34 -0
- package/dist/merge/object-bytes.js.map +1 -0
- package/dist/merge/patch-ids-of.d.ts +7 -0
- package/dist/merge/patch-ids-of.d.ts.map +1 -0
- package/dist/merge/patch-ids-of.js +20 -0
- package/dist/merge/patch-ids-of.js.map +1 -0
- package/dist/merge/plain-git-merge.d.ts +11 -0
- package/dist/merge/plain-git-merge.d.ts.map +1 -0
- package/dist/merge/plain-git-merge.js +27 -0
- package/dist/merge/plain-git-merge.js.map +1 -0
- package/dist/merge/preview-merge.d.ts +27 -0
- package/dist/merge/preview-merge.d.ts.map +1 -0
- package/dist/merge/preview-merge.js +39 -0
- package/dist/merge/preview-merge.js.map +1 -0
- package/dist/merge/recorded-base.d.ts +11 -0
- package/dist/merge/recorded-base.d.ts.map +1 -0
- package/dist/merge/recorded-base.js +34 -0
- package/dist/merge/recorded-base.js.map +1 -0
- package/dist/merge/registry-union.d.ts +8 -0
- package/dist/merge/registry-union.d.ts.map +1 -0
- package/dist/merge/registry-union.js +22 -0
- package/dist/merge/registry-union.js.map +1 -0
- package/dist/merge/renumber-adrs.d.ts +19 -0
- package/dist/merge/renumber-adrs.d.ts.map +1 -0
- package/dist/merge/renumber-adrs.js +65 -0
- package/dist/merge/renumber-adrs.js.map +1 -0
- package/dist/merge/renumber-migrations.d.ts +23 -0
- package/dist/merge/renumber-migrations.d.ts.map +1 -0
- package/dist/merge/renumber-migrations.js +84 -0
- package/dist/merge/renumber-migrations.js.map +1 -0
- package/dist/merge/resolution.d.ts +19 -0
- package/dist/merge/resolution.d.ts.map +1 -0
- package/dist/merge/resolution.js +2 -0
- package/dist/merge/resolution.js.map +1 -0
- package/dist/merge/resolve-conflict.d.ts +11 -0
- package/dist/merge/resolve-conflict.d.ts.map +1 -0
- package/dist/merge/resolve-conflict.js +82 -0
- package/dist/merge/resolve-conflict.js.map +1 -0
- package/dist/merge/resume-merge.d.ts +5 -0
- package/dist/merge/resume-merge.d.ts.map +1 -0
- package/dist/merge/resume-merge.js +24 -0
- package/dist/merge/resume-merge.js.map +1 -0
- package/dist/merge/settle-regions.d.ts +10 -0
- package/dist/merge/settle-regions.d.ts.map +1 -0
- package/dist/merge/settle-regions.js +44 -0
- package/dist/merge/settle-regions.js.map +1 -0
- package/dist/merge/sharing-branches.d.ts +20 -0
- package/dist/merge/sharing-branches.d.ts.map +1 -0
- package/dist/merge/sharing-branches.js +24 -0
- package/dist/merge/sharing-branches.js.map +1 -0
- package/dist/merge/slices-table.d.ts +17 -0
- package/dist/merge/slices-table.d.ts.map +1 -0
- package/dist/merge/slices-table.js +35 -0
- package/dist/merge/slices-table.js.map +1 -0
- package/dist/merge/start-merge.d.ts +15 -0
- package/dist/merge/start-merge.d.ts.map +1 -0
- package/dist/merge/start-merge.js +33 -0
- package/dist/merge/start-merge.js.map +1 -0
- package/dist/merge/trunk-of.d.ts +9 -0
- package/dist/merge/trunk-of.d.ts.map +1 -0
- package/dist/merge/trunk-of.js +21 -0
- package/dist/merge/trunk-of.js.map +1 -0
- package/dist/merge/unmerged-entries.d.ts +4 -0
- package/dist/merge/unmerged-entries.d.ts.map +1 -0
- package/dist/merge/unmerged-entries.js +15 -0
- package/dist/merge/unmerged-entries.js.map +1 -0
- package/dist/migration/replay-drizzle-migrations.d.ts +5 -0
- package/dist/migration/replay-drizzle-migrations.d.ts.map +1 -1
- package/dist/migration/replay-drizzle-migrations.js +2 -2
- package/dist/migration/replay-drizzle-migrations.js.map +1 -1
- package/dist/migration/replayed-name.d.ts +5 -4
- package/dist/migration/replayed-name.d.ts.map +1 -1
- package/dist/migration/replayed-name.js +6 -5
- package/dist/migration/replayed-name.js.map +1 -1
- package/dist/plan/format-plan.d.ts +4 -1
- package/dist/plan/format-plan.d.ts.map +1 -1
- package/dist/plan/format-plan.js +7 -1
- package/dist/plan/format-plan.js.map +1 -1
- package/dist/progress/cells-of.d.ts +3 -0
- package/dist/progress/cells-of.d.ts.map +1 -0
- package/dist/progress/cells-of.js +12 -0
- package/dist/progress/cells-of.js.map +1 -0
- package/dist/progress/format-progress.d.ts.map +1 -1
- package/dist/progress/format-progress.js +9 -0
- package/dist/progress/format-progress.js.map +1 -1
- package/dist/progress/progress.d.ts +16 -0
- package/dist/progress/progress.d.ts.map +1 -1
- package/dist/progress/read-progress.d.ts +9 -3
- package/dist/progress/read-progress.d.ts.map +1 -1
- package/dist/progress/read-progress.js +18 -6
- package/dist/progress/read-progress.js.map +1 -1
- package/dist/progress/read-slice-rules.d.ts.map +1 -1
- package/dist/progress/read-slice-rules.js +1 -6
- package/dist/progress/read-slice-rules.js.map +1 -1
- package/dist/progress/read-slices.d.ts +2 -3
- package/dist/progress/read-slices.d.ts.map +1 -1
- package/dist/progress/read-slices.js +4 -50
- package/dist/progress/read-slices.js.map +1 -1
- package/dist/progress/rule-line.d.ts +7 -0
- package/dist/progress/rule-line.d.ts.map +1 -0
- package/dist/progress/rule-line.js +7 -0
- package/dist/progress/rule-line.js.map +1 -0
- package/dist/progress/slices-in.d.ts +8 -0
- package/dist/progress/slices-in.d.ts.map +1 -0
- package/dist/progress/slices-in.js +45 -0
- package/dist/progress/slices-in.js.map +1 -0
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +8 -0
- package/dist/run.js.map +1 -1
- package/dist/slice/format-slice-verification.d.ts.map +1 -1
- package/dist/slice/format-slice-verification.js +45 -6
- package/dist/slice/format-slice-verification.js.map +1 -1
- package/dist/slice/plan-staging.d.ts.map +1 -1
- package/dist/slice/plan-staging.js +1 -13
- package/dist/slice/plan-staging.js.map +1 -1
- package/dist/slice/record-verification.d.ts +8 -0
- package/dist/slice/record-verification.d.ts.map +1 -0
- package/dist/slice/record-verification.js +28 -0
- package/dist/slice/record-verification.js.map +1 -0
- package/dist/slice/slice-verification.d.ts +10 -0
- package/dist/slice/slice-verification.d.ts.map +1 -1
- package/dist/slice/verification-file.d.ts +3 -0
- package/dist/slice/verification-file.d.ts.map +1 -0
- package/dist/slice/verification-file.js +3 -0
- package/dist/slice/verification-file.js.map +1 -0
- package/dist/slice/verify-slice.d.ts +5 -2
- package/dist/slice/verify-slice.d.ts.map +1 -1
- package/dist/slice/verify-slice.js +26 -5
- package/dist/slice/verify-slice.js.map +1 -1
- package/dist/slice/worker-slice-of.d.ts +15 -0
- package/dist/slice/worker-slice-of.d.ts.map +1 -0
- package/dist/slice/worker-slice-of.js +32 -0
- package/dist/slice/worker-slice-of.js.map +1 -0
- package/dist/story/attribute-markers.d.ts +13 -0
- package/dist/story/attribute-markers.d.ts.map +1 -0
- package/dist/story/attribute-markers.js +38 -0
- package/dist/story/attribute-markers.js.map +1 -0
- package/dist/story/attributed-marker.d.ts +24 -0
- package/dist/story/attributed-marker.d.ts.map +1 -0
- package/dist/story/attributed-marker.js +2 -0
- package/dist/story/attributed-marker.js.map +1 -0
- package/dist/story/blamed-lines.d.ts +10 -0
- package/dist/story/blamed-lines.d.ts.map +1 -0
- package/dist/story/blamed-lines.js +36 -0
- package/dist/story/blamed-lines.js.map +1 -0
- package/dist/story/closing-of.d.ts +11 -0
- package/dist/story/closing-of.d.ts.map +1 -0
- package/dist/story/closing-of.js +87 -0
- package/dist/story/closing-of.js.map +1 -0
- package/dist/story/commit-rows.d.ts +16 -0
- package/dist/story/commit-rows.d.ts.map +1 -0
- package/dist/story/commit-rows.js +23 -0
- package/dist/story/commit-rows.js.map +1 -0
- package/dist/story/format-story-closing.d.ts +8 -0
- package/dist/story/format-story-closing.d.ts.map +1 -0
- package/dist/story/format-story-closing.js +89 -0
- package/dist/story/format-story-closing.js.map +1 -0
- package/dist/story/may-keep-open.d.ts +9 -0
- package/dist/story/may-keep-open.d.ts.map +1 -0
- package/dist/story/may-keep-open.js +12 -0
- package/dist/story/may-keep-open.js.map +1 -0
- package/dist/story/project-contexts.d.ts +5 -0
- package/dist/story/project-contexts.d.ts.map +1 -0
- package/dist/story/project-contexts.js +5 -0
- package/dist/story/project-contexts.js.map +1 -0
- package/dist/story/read-story-closing.d.ts +7 -0
- package/dist/story/read-story-closing.d.ts.map +1 -0
- package/dist/story/read-story-closing.js +44 -0
- package/dist/story/read-story-closing.js.map +1 -0
- package/dist/story/story-closing.d.ts +41 -0
- package/dist/story/story-closing.d.ts.map +1 -0
- package/dist/story/story-closing.js +2 -0
- package/dist/story/story-closing.js.map +1 -0
- package/dist/story/story-of.d.ts +7 -0
- package/dist/story/story-of.d.ts.map +1 -0
- package/dist/story/story-of.js +9 -0
- package/dist/story/story-of.js.map +1 -0
- package/dist/story/story-plan.d.ts +12 -0
- package/dist/story/story-plan.d.ts.map +1 -0
- package/dist/story/story-plan.js +2 -0
- package/dist/story/story-plan.js.map +1 -0
- package/dist/story/story-scope.d.ts +14 -0
- package/dist/story/story-scope.d.ts.map +1 -0
- package/dist/story/story-scope.js +14 -0
- package/dist/story/story-scope.js.map +1 -0
- package/dist/story/unclosed-stories.d.ts +19 -0
- package/dist/story/unclosed-stories.d.ts.map +1 -0
- package/dist/story/unclosed-stories.js +20 -0
- package/dist/story/unclosed-stories.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/worker/agent-file.d.ts +3 -0
- package/dist/worker/agent-file.d.ts.map +1 -0
- package/dist/worker/agent-file.js +3 -0
- package/dist/worker/agent-file.js.map +1 -0
- package/dist/worker/branch-standing.d.ts +24 -0
- package/dist/worker/branch-standing.d.ts.map +1 -0
- package/dist/worker/branch-standing.js +47 -0
- package/dist/worker/branch-standing.js.map +1 -0
- package/dist/worker/briefed-rows.d.ts +3 -2
- package/dist/worker/briefed-rows.d.ts.map +1 -1
- package/dist/worker/briefed-rows.js +32 -7
- package/dist/worker/briefed-rows.js.map +1 -1
- package/dist/worker/briefed-slice.d.ts +3 -0
- package/dist/worker/briefed-slice.d.ts.map +1 -1
- package/dist/worker/briefing-of.d.ts.map +1 -1
- package/dist/worker/briefing-of.js +37 -7
- package/dist/worker/briefing-of.js.map +1 -1
- package/dist/worker/design-line.d.ts +4 -0
- package/dist/worker/design-line.d.ts.map +1 -0
- package/dist/worker/design-line.js +9 -0
- package/dist/worker/design-line.js.map +1 -0
- package/dist/worker/design-note.d.ts +4 -0
- package/dist/worker/design-note.d.ts.map +1 -0
- package/dist/worker/design-note.js +19 -0
- package/dist/worker/design-note.js.map +1 -0
- package/dist/worker/ensure-contains-base.d.ts +3 -1
- package/dist/worker/ensure-contains-base.d.ts.map +1 -1
- package/dist/worker/ensure-contains-base.js +4 -2
- package/dist/worker/ensure-contains-base.js.map +1 -1
- package/dist/worker/find-worker.d.ts +23 -0
- package/dist/worker/find-worker.d.ts.map +1 -0
- package/dist/worker/find-worker.js +42 -0
- package/dist/worker/find-worker.js.map +1 -0
- package/dist/worker/format-resume.d.ts +4 -0
- package/dist/worker/format-resume.d.ts.map +1 -0
- package/dist/worker/format-resume.js +60 -0
- package/dist/worker/format-resume.js.map +1 -0
- package/dist/worker/format-workers.d.ts.map +1 -1
- package/dist/worker/format-workers.js +33 -5
- package/dist/worker/format-workers.js.map +1 -1
- package/dist/worker/install-dependencies.d.ts +16 -0
- package/dist/worker/install-dependencies.d.ts.map +1 -0
- package/dist/worker/install-dependencies.js +32 -0
- package/dist/worker/install-dependencies.js.map +1 -0
- package/dist/worker/landed-rows.d.ts +7 -0
- package/dist/worker/landed-rows.d.ts.map +1 -0
- package/dist/worker/landed-rows.js +8 -0
- package/dist/worker/landed-rows.js.map +1 -0
- package/dist/worker/named-paths.d.ts +3 -0
- package/dist/worker/named-paths.d.ts.map +1 -0
- package/dist/worker/named-paths.js +8 -0
- package/dist/worker/named-paths.js.map +1 -0
- package/dist/worker/next-step-of.d.ts +23 -0
- package/dist/worker/next-step-of.d.ts.map +1 -0
- package/dist/worker/next-step-of.js +32 -0
- package/dist/worker/next-step-of.js.map +1 -0
- package/dist/worker/open-worker-scope.d.ts +5 -2
- package/dist/worker/open-worker-scope.d.ts.map +1 -1
- package/dist/worker/open-worker-scope.js +63 -18
- package/dist/worker/open-worker-scope.js.map +1 -1
- package/dist/worker/progress-of.d.ts +14 -0
- package/dist/worker/progress-of.d.ts.map +1 -0
- package/dist/worker/progress-of.js +107 -0
- package/dist/worker/progress-of.js.map +1 -0
- package/dist/worker/read-agent-record.d.ts +4 -0
- package/dist/worker/read-agent-record.d.ts.map +1 -0
- package/dist/worker/read-agent-record.js +40 -0
- package/dist/worker/read-agent-record.js.map +1 -0
- package/dist/worker/read-verification.d.ts +9 -0
- package/dist/worker/read-verification.d.ts.map +1 -0
- package/dist/worker/read-verification.js +26 -0
- package/dist/worker/read-verification.js.map +1 -0
- package/dist/worker/read-worker-file.d.ts.map +1 -1
- package/dist/worker/read-worker-file.js +2 -1
- package/dist/worker/read-worker-file.js.map +1 -1
- package/dist/worker/read-workers.d.ts.map +1 -1
- package/dist/worker/read-workers.js +29 -9
- package/dist/worker/read-workers.js.map +1 -1
- package/dist/worker/resume-briefing.d.ts +17 -0
- package/dist/worker/resume-briefing.d.ts.map +1 -0
- package/dist/worker/resume-briefing.js +76 -0
- package/dist/worker/resume-briefing.js.map +1 -0
- package/dist/worker/resume-message.d.ts +15 -0
- package/dist/worker/resume-message.d.ts.map +1 -0
- package/dist/worker/resume-message.js +43 -0
- package/dist/worker/resume-message.js.map +1 -0
- package/dist/worker/resume-worker.d.ts +34 -0
- package/dist/worker/resume-worker.d.ts.map +1 -0
- package/dist/worker/resume-worker.js +47 -0
- package/dist/worker/resume-worker.js.map +1 -0
- package/dist/worker/row-commits.d.ts +22 -0
- package/dist/worker/row-commits.d.ts.map +1 -0
- package/dist/worker/row-commits.js +57 -0
- package/dist/worker/row-commits.js.map +1 -0
- package/dist/worker/rows-on-branches.d.ts +2 -1
- package/dist/worker/rows-on-branches.d.ts.map +1 -1
- package/dist/worker/rows-on-branches.js +2 -1
- package/dist/worker/rows-on-branches.js.map +1 -1
- package/dist/worker/stale-names-block.d.ts +4 -0
- package/dist/worker/stale-names-block.d.ts.map +1 -0
- package/dist/worker/stale-names-block.js +17 -0
- package/dist/worker/stale-names-block.js.map +1 -0
- package/dist/worker/state-line-of.d.ts +9 -0
- package/dist/worker/state-line-of.d.ts.map +1 -0
- package/dist/worker/state-line-of.js +55 -0
- package/dist/worker/state-line-of.js.map +1 -0
- package/dist/worker/worker-file.d.ts +2 -0
- package/dist/worker/worker-file.d.ts.map +1 -1
- package/dist/worker/worker-place.d.ts +3 -0
- package/dist/worker/worker-place.d.ts.map +1 -1
- package/dist/worker/worker-progress.d.ts +87 -0
- package/dist/worker/worker-progress.d.ts.map +1 -0
- package/dist/worker/worker-progress.js +2 -0
- package/dist/worker/worker-progress.js.map +1 -0
- package/dist/worker/worker-scope.d.ts +3 -0
- package/dist/worker/worker-scope.d.ts.map +1 -1
- package/dist/worker/workers-status.d.ts +29 -3
- package/dist/worker/workers-status.d.ts.map +1 -1
- package/package.json +2 -2
- package/templates/command/handler.spec.buses.ts.tpl +2 -2
- package/templates/command/handler.spec.tsyringe.ts.tpl +2 -2
- package/templates/init/AGENTS.md.tpl +1 -1
- package/templates/init/rules/application.md.tpl +1 -1
- package/templates/init/rules/infrastructure.md.tpl +3 -0
- package/templates/pipeline/lefthook.yml +5 -0
- package/templates/pipeline/package-scripts.json +1 -1
- package/templates/pipeline/vitest.config.ts.tpl +28 -27
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,290 @@ What each version changes for someone who uses the kit. The packages of `package
|
|
|
4
4
|
together, under one version; the notes of each [GitHub release](https://github.com/gbourgeat/ddd-ts-kit/releases)
|
|
5
5
|
list the pull requests behind it.
|
|
6
6
|
|
|
7
|
+
## 0.26.0
|
|
8
|
+
|
|
9
|
+
**The guard recognises the CLI of the kit however it is launched.** The refusal of
|
|
10
|
+
`worker-scope` to a sub-agent (without `--dry-run` or `--resume`) and the refusal to a worker of a
|
|
11
|
+
generator that writes shared files or another context read the command word by word: the
|
|
12
|
+
`ddd-ts-kit` binary (`npx`, `npm exec`, `pnpm exec`, `bunx`, `node_modules/.bin`), the entry file
|
|
13
|
+
of the CLI run by node (`node .../dist/bin.js`) and the kit script of a project
|
|
14
|
+
(`node scripts/kit.mjs`) are held alike; until now only `ddd-ts-kit <command>` was.
|
|
15
|
+
|
|
16
|
+
**A context-builder is warned before its turn limit, and the conductor resumes a stopped worker
|
|
17
|
+
from `worker-scope --resume`.** An agent cannot count its turns, and one that stopped at its limit
|
|
18
|
+
left the conductor to inspect the worktree by hand to write the next message. The guard of the
|
|
19
|
+
plugin now counts the tool calls of a `context-builder` inside the hooks that already run on its
|
|
20
|
+
shell commands and its writes (no hook on every tool call: an ordinary session starts no more
|
|
21
|
+
processes) and adds two notices, once a run: finish the slice under way, then stop changing code,
|
|
22
|
+
commit what passed and end with the report. It records the agent's runs in its worktree
|
|
23
|
+
(`.ddd-ts-kit/agent.json`), restarts the count at each launch or resume (`SubagentStart`), and,
|
|
24
|
+
when the agent ends on its own (`SubagentStop`), keeps it going once to commit a slice that passed
|
|
25
|
+
`verify-slice` or to rewrite a stale report; both hooks are filtered by the agent. In a worker's
|
|
26
|
+
worktree, `verify-slice` prints the exact commit command with the trailer `Slice: <row>` and keeps
|
|
27
|
+
its result in `.ddd-ts-kit/verification.json`. `status --workers` adds a `state:` line per worker
|
|
28
|
+
(`progress` in JSON), and `worker-scope <context> --resume` reads where a stopped worker stands
|
|
29
|
+
and prints the `SendMessage` text for its agent, or the briefing of a new agent holding the row
|
|
30
|
+
under way only and the files left. A session start names the workers to resume. `worker-scope`
|
|
31
|
+
without `--rows` now briefs the first batch `plan-waves` cuts for the context (one or two rows),
|
|
32
|
+
with a note naming the next, and the briefing carries the turn budget. The parallel-work skill
|
|
33
|
+
says what to do on each kind of stop, with a limit of two stops on one row.
|
|
34
|
+
|
|
35
|
+
To move: update the plugin; the conductor's skill may now use `SendMessage`. A worker briefed
|
|
36
|
+
before this version commits without the trailer: its rows are matched in order with its
|
|
37
|
+
`feat(<context>)` commits and shown `(by order)`.
|
|
38
|
+
|
|
39
|
+
**`story-check` says whether a story or a milestone can close.** The kit said that a slice may
|
|
40
|
+
merge with `TODO(review)` markers while a story closes only once none of its own is left; nothing
|
|
41
|
+
checked it. `npx ddd-ts-kit story-check <code>` (`M1` for the rows `M1.01`, `M1.02`: the id
|
|
42
|
+
without its last `.<number>`) exits 0 when every row of the story is `done` in
|
|
43
|
+
`docs/architecture/slices.md` and no marker of its own is left, 1 listing the rows not done with
|
|
44
|
+
their status and each marker that keeps it open, with why it is the story's, its `file:line` and
|
|
45
|
+
its fix (handle it, or dismiss it by a decision record with `generate adr`, then delete the
|
|
46
|
+
marker), and 2 on a code no row carries or without a slices table. Since several stories often
|
|
47
|
+
build one context at once, a `TODO(domain)`, `TODO(platform)`, `it.todo` or `TODO(review)` is
|
|
48
|
+
attributed before it blocks: to the rows its text names (`#M1.03` or `M1.03`), else to the rows
|
|
49
|
+
the commit that wrote its line names (`git blame`, once per file: its `Slice: <id>` trailer, else
|
|
50
|
+
the ids its message names), else, not committed in a worker's worktree, to the rows of
|
|
51
|
+
`.ddd-ts-kit/worker.json`. A marker of a context that belongs to no row blocks only when no other
|
|
52
|
+
open story has a row in that context, and is listed without blocking otherwise; `--strict` blocks
|
|
53
|
+
on every marker of the story's contexts. `status` adds a line for a story whose rows are all done
|
|
54
|
+
while markers of its own keep it open (`story M1: every row done, 3 markers left: npx ddd-ts-kit
|
|
55
|
+
story-check M1`, `slices.unclosed` in `--json`), and `init` allows `story-check` to the agent. The
|
|
56
|
+
plan-slices, quality-gate and parallel-work skills and the architecture-reviewer agent run it
|
|
57
|
+
before a story or a milestone is declared closed, and the review now writes each non-blocking
|
|
58
|
+
remark as `TODO(review): #<row id> <remark>`.
|
|
59
|
+
|
|
60
|
+
To move: `npx ddd-ts-kit init` adds the permission to `.claude/settings.json` (`doctor` names it
|
|
61
|
+
while it is missing). Name the row in the `TODO(review)` markers already written
|
|
62
|
+
(`TODO(review): #M1.03 <remark>`) so that each is held against its own story.
|
|
63
|
+
|
|
64
|
+
**`language/declared-vocabulary` accepts a word of another language when its type says so.**
|
|
65
|
+
A context that reads a published payload or an outside record meets words that spell a value of
|
|
66
|
+
its own vocabulary (catalog publishes a `state` of `'draft' | 'issued'`, billing declares
|
|
67
|
+
`InvoiceStatus` with the same strings); the checker and ESLint reported them, and the only way out
|
|
68
|
+
was to write `InvoiceStatus.Issued` for a word of catalog. Outside `domain/`, such a word is no
|
|
69
|
+
longer judged when its type says which language it belongs to: a key of a table typed
|
|
70
|
+
`Record<T, ..>`, a value of one typed `Record<.., T>` (by an annotation or `satisfies`), or a
|
|
71
|
+
literal written `'issued' satisfies T`, `T` being one type imported from a published language,
|
|
72
|
+
imported as a type from a package, or imported from or declared in
|
|
73
|
+
`infrastructure/anti-corruption/` or `infrastructure/external/`; there, the literal types of an
|
|
74
|
+
interface or a type alias that describe an outside record are not judged either. The compiler
|
|
75
|
+
holds the spelling of such a word. A key of a table typed by the vocabulary of the context, a
|
|
76
|
+
comparison or a `case` without `satisfies` and a value of the context in a translation table are
|
|
77
|
+
still reported, and in a file that reads another language the fix names the types it reads from
|
|
78
|
+
there and how to type the literal by one (ESLint message `rawBesideOtherLanguage`).
|
|
79
|
+
|
|
80
|
+
Nothing to move: the rule only reports less. A workaround such as
|
|
81
|
+
`[InvoiceStatus.Issued]: InvoiceStatus.Issued` in a table keyed by a foreign type can be written
|
|
82
|
+
with the foreign word again, `'issued': InvoiceStatus.Issued`.
|
|
83
|
+
|
|
84
|
+
**The git hooks run in every worktree, and fail loudly where they cannot.** The `lefthook.yml`
|
|
85
|
+
that `init` writes starts with `lefthook: node_modules/.bin/lefthook`. The hooks of a repository
|
|
86
|
+
are shared by all its worktrees; until now the hook script held the absolute path of the lefthook
|
|
87
|
+
of whichever checkout installed it last, then fell back to other launchers. Once that checkout was
|
|
88
|
+
removed, a worktree without its dependencies skipped every check silently, or had pnpm install
|
|
89
|
+
the project inside it. Now each checkout runs its own lefthook, and one without its dependencies
|
|
90
|
+
fails the commit with `node_modules/.bin/lefthook: not found`. The repository of the kit does the
|
|
91
|
+
same.
|
|
92
|
+
|
|
93
|
+
**`worker-scope` installs the dependencies of the worktree it creates.** It runs the clean install
|
|
94
|
+
of the package manager of the project there (`npm ci`, `pnpm install --frozen-lockfile`),
|
|
95
|
+
quietly, and its notes say how long it took. When the install fails, the note gives the end of
|
|
96
|
+
its output and what to run; `--no-install` leaves the install out, with the same note.
|
|
97
|
+
`--dry-run` and a worktree it keeps install nothing.
|
|
98
|
+
|
|
99
|
+
**`doctor` checks the git hooks.** Under a new area, `hook`: a `lefthook.yml` without the
|
|
100
|
+
`lefthook:` line (missing, fails `--strict`), and a pre-commit hook this clone has not installed,
|
|
101
|
+
or that lefthook did not write (said, never failing `--strict`: it is a state of one clone).
|
|
102
|
+
Outside a git repository only the file is judged.
|
|
103
|
+
|
|
104
|
+
**`status --workers` says which worktree lacks its dependencies.** `dependencies not installed`
|
|
105
|
+
in the line of a worker whose copy of the project has no `node_modules`; `installed` in `--json`.
|
|
106
|
+
|
|
107
|
+
**The guard holds the shell of a worker to its scope.** For a `context-builder` agent with its
|
|
108
|
+
`.ddd-ts-kit/worker.json`, a file the shell writes by name is judged as a write of the Edit and
|
|
109
|
+
Write tools: an in-place edit (`sed -i`, `perl -i`), a redirection (`>`, `>>`, `&>`) or `tee`
|
|
110
|
+
pass inside the scope of the worker and are refused outside it (a shared file, another context,
|
|
111
|
+
a generated file, another checkout) or on a path only the shell knows (`"$FILE"`); so are `cp`,
|
|
112
|
+
`mv`, `rm`, `touch`, `truncate`, `dd`, `install`, `ln`, `find -delete`, `git checkout -- <path>`,
|
|
113
|
+
`git restore`, `git rm`, `git mv` and `git clean` outside its scope, and `git apply` and `patch`
|
|
114
|
+
always. Inline code given to an interpreter (`node -e`, `python3 -c`, `-` or a heredoc) cannot be
|
|
115
|
+
read in advance: it runs, the guard notes the files outside the scope before it, and at the next
|
|
116
|
+
command or write of that worker a file it changed there stops the worker until it is put back,
|
|
117
|
+
with the `git restore` or `rm` the refusal names, allowed for those files only. Commands nested
|
|
118
|
+
in `bash -c`, `eval`, `$(...)`, `xargs` and `find -exec` are read the same way. Output to
|
|
119
|
+
`/dev/null`, a descriptor (`2>&1`) or a path out of any project (the system temp directory)
|
|
120
|
+
stays free, and so does a heredoc fed to git (`git commit -F - <<EOF`). The conductor and the
|
|
121
|
+
other agents are not held to it.
|
|
122
|
+
|
|
123
|
+
**The guard refuses a worker another formatter.** `npx prettier` in a project whose `format`
|
|
124
|
+
script runs Biome, and a bare `npx biome` (without `--no`: it can run an unrelated package of the
|
|
125
|
+
registry named biome, which formats nothing), are refused with "format with `npm run format`
|
|
126
|
+
only, then `npm run lint:fix`".
|
|
127
|
+
|
|
128
|
+
**The guard reads a dependency change wherever its flags stand.** `npm i -D zod`,
|
|
129
|
+
`npm install --save-dev zod`, `pnpm add -D zod`, `yarn add --dev zod`, `npm i zod@1 --save-exact`
|
|
130
|
+
are refused to a worker like `npm i zod`; `npm ci`, `npm install` and
|
|
131
|
+
`pnpm install --frozen-lockfile` stay free. At session start, a worktree whose `package.json`
|
|
132
|
+
already lists the kit but has no `node_modules` is told to run the clean install, not to install
|
|
133
|
+
the kit.
|
|
134
|
+
|
|
135
|
+
**Format, then lint.** The briefing of a worker, the `context-builder` agent and the `quality-gate`
|
|
136
|
+
and `clean-code` skills say `npm run format`, then `npm run lint:fix`: when Biome wraps a long
|
|
137
|
+
line, the lint then asks for a blank line around it, and that finding is expected.
|
|
138
|
+
|
|
139
|
+
**A new project has no warning on its first commit.** The `vitest.config.ts` that `init` writes
|
|
140
|
+
declared its two projects inside the function of `defineConfig`, 32 lines long against the limit
|
|
141
|
+
of 30 of `clean/function-size`. They are constants of the file now.
|
|
142
|
+
|
|
143
|
+
To move:
|
|
144
|
+
|
|
145
|
+
- add `lefthook: node_modules/.bin/lefthook` at the top of `lefthook.yml` (or
|
|
146
|
+
`npx ddd-ts-kit init --force` writes the kit's file over yours), then `npm run hooks:install`
|
|
147
|
+
once per clone; `npx ddd-ts-kit doctor` says whether it is done;
|
|
148
|
+
- `worker-scope` now installs the dependencies of a new worktree: drop an `npm ci` you ran after
|
|
149
|
+
it, or pass `--no-install` to keep doing it yourself;
|
|
150
|
+
- optional: the `vitest.config.ts` of a project generated before can take the same shape
|
|
151
|
+
(`npm run lint` warns `ddd-ts-kit/clean-function-size` on it while it is over the limit).
|
|
152
|
+
|
|
153
|
+
**`cited` reports the names of a row's design that the trunk removed or renamed.** The design of
|
|
154
|
+
a row is its `Slice` and `Start with` cells and its rule lines in `slices.md`, the section of a
|
|
155
|
+
document of `docs/architecture/` whose heading names the row, and a document that names it or that
|
|
156
|
+
its rule line links to (by convention a design review in `docs/architecture/reviews/<topic>.md`,
|
|
157
|
+
one `## #<id> <slice>` heading per row). `npx ddd-ts-kit cited [<context>] [--rows <id,...>]
|
|
158
|
+
[--base <ref>]` reads the names it cites as code (paths, classes, `Class.member`) against the
|
|
159
|
+
ref, from git, and reports only what has evidence: a name its history removed, with the commit and
|
|
160
|
+
what replaced it (the file it was renamed to, a file the same commit added); a place the canonical
|
|
161
|
+
tree refuses; a name never there when a close name of the same part (a port for a service) arrived
|
|
162
|
+
after the line was written. A planned name stays silent, and so does a name whose sentence says
|
|
163
|
+
it was removed. `--removed-since <ref>` lists instead the names a change removes that such a
|
|
164
|
+
design still cites. It reads only and exits 0; `init` allows `npx ddd-ts-kit cited *` to agents.
|
|
165
|
+
|
|
166
|
+
**`worker-scope` and `verify-slice` read the design of the rows.** The briefing names, under each
|
|
167
|
+
row, the documents of its design, then the names the base does not have (eight lines at most,
|
|
168
|
+
the rest in `--json` under `citations`), and the conductor gets a note naming the lines to correct
|
|
169
|
+
on the trunk; a local base behind its upstream and a shallow clone are noted. `verify-slice` ends
|
|
170
|
+
with the names the slice removes that the design of a row not done still cites, the worker's own
|
|
171
|
+
rows left out: informational, it never fails on them.
|
|
172
|
+
|
|
173
|
+
**`tree/documented-paths` judges paths written relative to a context.** A path of
|
|
174
|
+
`docs/architecture/` that starts with `domain/`, `application/`, `infrastructure/`,
|
|
175
|
+
`presentation/` or `published-language/` is judged in every declared context, their extra
|
|
176
|
+
directories considered, and reported when every one of them refuses it. The rule stays a warning.
|
|
177
|
+
|
|
178
|
+
To move: `npx ddd-ts-kit check --rule tree/documented-paths` lists the paths of
|
|
179
|
+
`docs/architecture/` the canonical tree refuses, the context-relative ones included: write the
|
|
180
|
+
place the code has now. Before building a row designed in a document, run
|
|
181
|
+
`npx ddd-ts-kit cited --rows <id> --base origin/main`, and correct the names it reports on the
|
|
182
|
+
trunk. `npx ddd-ts-kit init` (or `doctor`) adds the permission of `cited` to the agent settings.
|
|
183
|
+
|
|
184
|
+
**`verify-merge` reports the lines, rows and tests a merge lost.** `npx ddd-ts-kit verify-merge`
|
|
185
|
+
reads git only and checks every merge commit since the trunk (the base of
|
|
186
|
+
`.ddd-ts-kit/worker.json`, then `origin/HEAD`, then `origin/main`, or `--since`) and the merge in
|
|
187
|
+
progress, or one named commit; a squash commit takes `--theirs <branch head>`. It reports as
|
|
188
|
+
errors a line one side added (or both kept) that the result lacks, a file neither side deleted
|
|
189
|
+
gone from the result, a row of `slices.md` done on one side and no longer done, a test or spec
|
|
190
|
+
file of one side gone, a migration whose description the result lacks, a conflict marker. As
|
|
191
|
+
warnings: a line one side removed and the merge brought back; a line one side wrote where the
|
|
192
|
+
other side changed the same lines, inside a block it deleted or in a file it deleted (the merge
|
|
193
|
+
chose between them); a line the merge replaced by lines of its own. A line laid out again, moved
|
|
194
|
+
to another file or an import merged into one statement is not a loss; derived files, files a
|
|
195
|
+
tool says it wrote, migrations and lockfiles are left out of the lines. The base is `--base`,
|
|
196
|
+
else a `Merge-Base:` trailer, else `git merge-base`; a `Lost-Accepted: <file:line>,...` trailer
|
|
197
|
+
records a removal decided on purpose, listed without failing, and a loss a later commit restored
|
|
198
|
+
is listed as repaired. Silent and exit 0 without a merge, exit 1 on an error, `--json` for data.
|
|
199
|
+
|
|
200
|
+
**`verify-merge` reaches projects as a warning first.** It is an estimate: on 150 merges that
|
|
201
|
+
resolved conflicts in three public projects, one in five still reported an error, most of them a
|
|
202
|
+
change of one branch dropped on purpose because the other branch had replaced the feature. So in
|
|
203
|
+
this version `--warn` prints the same report and exits 0, the pre-push hook of `init` runs
|
|
204
|
+
`npx --no -- ddd-ts-kit verify-merge --warn` (lefthook shows its output), and `verify-slice`
|
|
205
|
+
reports the merges since `--since` in a step of their own, `merges since <since>`, without
|
|
206
|
+
failing the slice. A later minor version makes the hook and `verify-slice` block on an error;
|
|
207
|
+
`verify-merge` run alone already exits 1 on one.
|
|
208
|
+
|
|
209
|
+
**`.ddd-ts-kit/worker.json` records the commit of the base.** `worker-scope` writes `baseCommit`,
|
|
210
|
+
the commit the base names when it creates or keeps the worktree, next to `base`, a moving name.
|
|
211
|
+
Readers accept a file without it.
|
|
212
|
+
|
|
213
|
+
**The guard refuses to a sub-agent the commands that take one side of a merge.** `git merge` or
|
|
214
|
+
`git pull` with `-X theirs`, `-X ours` or `-s ours`, and `git checkout` or `git restore` with
|
|
215
|
+
`--theirs` or `--ours` on a path under the source root or the tests, are refused to a sub-agent
|
|
216
|
+
with the way to resolve each hunk and `verify-merge`. A derived file outside the sources
|
|
217
|
+
(`openapi/`, the context map) is not judged by this rule: the conductor takes either side and
|
|
218
|
+
regenerates, and a worker leaves it to the conductor, its scope ending at its context. The
|
|
219
|
+
briefing of `worker-scope`, the parallel-work skill and the `context-builder` agent say the same.
|
|
220
|
+
|
|
221
|
+
To move: `npx ddd-ts-kit init --force` writes the pre-push job into `lefthook.yml` and the agent
|
|
222
|
+
permissions `Bash(npx ddd-ts-kit verify-merge)` and `Bash(npx ddd-ts-kit verify-merge *)`
|
|
223
|
+
(`npx ddd-ts-kit doctor` lists what is missing). Read what the hook prints after a merge of the
|
|
224
|
+
trunk: each error is a loss to restore, or a decision to record in the merge commit with
|
|
225
|
+
`Lost-Accepted:`, before a later version blocks the push on it. A worktree prepared by an older
|
|
226
|
+
version has no `baseCommit` until `worker-scope` runs again for it; nothing reads it yet.
|
|
227
|
+
|
|
228
|
+
**`merge-trunk` brings the trunk into a branch from its own diff, settles what a kit derives and
|
|
229
|
+
checks that no line was lost.** `npx ddd-ts-kit merge-trunk` makes one merge commit, never a
|
|
230
|
+
rebase. It finds the newest commit of the branch the trunk already holds: a squash merge is
|
|
231
|
+
recognised by patch id (derived files, migrations, `slices.md`, `plan.md` and lockfiles left out),
|
|
232
|
+
on the branch, on the branch it was stacked on, or on a local branch sharing commits with it;
|
|
233
|
+
else the base worker-scope recorded, when its lines are on the trunk; else `git merge-base`
|
|
234
|
+
(`--since <commit>` overrides). From there `git merge-tree` computes the merge, so a branch reused
|
|
235
|
+
after its first row landed, or stacked on a branch squash-merged since, no longer conflicts on
|
|
236
|
+
what landed nor keeps a working migration next to the real one. Derived files, the generated
|
|
237
|
+
regions of `CONTEXT.md` and of the context map, conflicts inside generated registries, the rows
|
|
238
|
+
of `slices.md`, the drizzle-kit journal, the lockfile and the stored-events lock are settled
|
|
239
|
+
without a person; the rest stays a merge in progress git understands, with what each side did in
|
|
240
|
+
each hunk (exit 1), and `--continue` goes on. Then the drizzle migrations of both sides are
|
|
241
|
+
replayed, decision records renumbered, `regenerate` runs, `verify-merge` checks the uncommitted
|
|
242
|
+
result (an error stops it; `--accept-lost` records a `Lost-Accepted:` trailer), and the paths of
|
|
243
|
+
the merge alone are committed with the trailers `Merge-Base:`, `Trunk:` and `Landed:`.
|
|
244
|
+
`--dry-run` previews, `--abort` undoes. The report says how many files a plain `git merge` would
|
|
245
|
+
leave conflicted against the branch's own diff; `--json` gives the same.
|
|
246
|
+
|
|
247
|
+
**`merge-trunk --to-land` gives the migrations of a branch their real names before its squash
|
|
248
|
+
merge.** Under drizzle-kit the replay drops `working-` even in the worktree of a worker; under
|
|
249
|
+
knex, Prisma and TypeORM each migration of the branch the trunk does not have is renamed after the
|
|
250
|
+
trunk's last, its content kept (TypeORM's class and `name`, Prisma's folder), and the merge stops
|
|
251
|
+
when a migration the trunk gained and one of the branch change the same table. The guard of the
|
|
252
|
+
plugin refuses `--to-land` to a sub-agent, however it launches the CLI: it is the conductor's step. `plan-waves` ends with what
|
|
253
|
+
runs before each merge.
|
|
254
|
+
|
|
255
|
+
**`status` counts a worker's branch from where it landed.** Once a branch was squash-merged into
|
|
256
|
+
its base, `status --workers` shows the commit that took it in (`landed`), counts its commits ahead
|
|
257
|
+
and its files from there (no stale count, no false overlap with what landed), and adds its commits
|
|
258
|
+
behind and what `merge-trunk` would leave conflicted now (`behind`, `mergePreview`). A row that
|
|
259
|
+
landed with a branch is no longer counted on its way, and `status` names a landed row the slices
|
|
260
|
+
file of the trunk does not mark done.
|
|
261
|
+
|
|
262
|
+
**A worker brings the trunk in with `merge-trunk`, never with `git merge` alone.** The briefing of
|
|
263
|
+
`worker-scope`, the parallel-work skill, the briefing template and the `context-builder` agent say
|
|
264
|
+
so; the guard's refusal of `-X theirs` and `checkout --theirs` points to `merge-trunk --continue`,
|
|
265
|
+
and `worker-scope` refusing a worktree that does not contain its base gives the `merge-trunk` that
|
|
266
|
+
brings it in.
|
|
267
|
+
|
|
268
|
+
To move: `npx ddd-ts-kit init --force` (or `doctor`) adds the agent permissions
|
|
269
|
+
`Bash(npx ddd-ts-kit merge-trunk)` and `Bash(npx ddd-ts-kit merge-trunk *)`. Bring the trunk into a
|
|
270
|
+
branch with `npx ddd-ts-kit merge-trunk` from now on, and run `merge-trunk --to-land --cwd
|
|
271
|
+
<worktree>` before each squash merge of a worker's branch. It needs git 2.40; an older git merges
|
|
272
|
+
only from `git merge-base`.
|
|
273
|
+
|
|
274
|
+
## 0.25.1
|
|
275
|
+
|
|
276
|
+
**The places that teach how a spec builds its test application point to worlds.** The command
|
|
277
|
+
handler specs `generate` writes say, in their `TODO(domain)`, that `generate test-world <context>`
|
|
278
|
+
writes the arrangement once in `test/worlds/` when several specs of the context share it; the
|
|
279
|
+
`wiring` and `use-case` skills, `docs/tools/dependency-injection.md` and the README of
|
|
280
|
+
`@ddd-ts-kit/di` say the same where a reader writes that arrangement.
|
|
281
|
+
|
|
282
|
+
**The example application arranges through worlds.** `identity` and `notification` get their
|
|
283
|
+
world, and 42 handler, projection and integration handler specs take their test application from
|
|
284
|
+
the world of their context, their starting data in `given`. A spec keeps its own setup when it
|
|
285
|
+
builds what a world does not: a database wired by hand, a handler built by hand, a fake with
|
|
286
|
+
constructor arguments, a platform port.
|
|
287
|
+
|
|
288
|
+
Nothing to move: specs already written keep working; a project takes a world when its specs
|
|
289
|
+
repeat the same arrangement.
|
|
290
|
+
|
|
7
291
|
## 0.25.0
|
|
8
292
|
|
|
9
293
|
**`generate test-world` gives the shared arrangement of a context its place, `test/worlds/`.**
|