From 2339b59977f5cc64b7dbf13526056456890d850d Mon Sep 17 00:00:00 2001 From: Shinrai Date: Fri, 2 Oct 2026 12:26:58 -0700 Subject: [PATCH] chore: adopt the shared CLDMV fix-headers config and stamp uniform file headers --- .configs/eslint.config.mjs | 15 +++++++ .configs/fix-headers.json | 3 ++ .configs/tsconfig.dts.jsonc | 19 ++------ .configs/vitest.config.mjs | 15 +++++++ .github/dependabot.yml | 16 ++++--- .github/workflows/branch-retention.yml | 16 ++++--- .github/workflows/bundle-size.yml | 16 ++++--- .github/workflows/ci.yml | 16 ++++--- .github/workflows/cla.yml | 16 ++++--- .github/workflows/codeql.yml | 16 ++++--- .github/workflows/dependabot-auto-merge.yml | 16 ++++--- .github/workflows/dependabot-recreate.yml | 16 ++++--- .github/workflows/dependency-review.yml | 16 ++++--- .github/workflows/feature-pr.yml | 15 ++++--- .github/workflows/hotfix-redirector.yml | 16 ++++--- .github/workflows/hotfixes-release.yml | 16 ++++--- .github/workflows/labeler.yml | 16 ++++--- .github/workflows/master-commit-audit.yml | 16 ++++--- .github/workflows/member-auto-merge.yml | 16 ++++--- .github/workflows/next-release.yml | 16 ++++--- .github/workflows/next-reset.yml | 16 ++++--- .github/workflows/pr-notify.yml | 16 ++++--- .github/workflows/pr-title-normalizer.yml | 16 ++++--- .github/workflows/provenance.yml | 16 ++++--- .github/workflows/publish.yml | 16 ++++--- .github/workflows/release-merge.yml | 15 ++++--- .github/workflows/release-notify.yml | 16 ++++--- .github/workflows/scorecard.yml | 16 ++++--- .github/workflows/stale.yml | 16 ++++--- .github/workflows/tag-health.yml | 16 ++++--- .../workflows/update-major-version-tags.yml | 16 ++++--- .github/workflows/v4-bootstrap.yml | 16 ++++--- .github/workflows/welcome.yml | 16 ++++--- bin/git-embedded.mjs | 14 ++++++ package-lock.json | 43 +++++++++++++++++++ package.json | 5 ++- src/api/cli/doctor.mjs | 15 +++++++ src/api/cli/export.mjs | 15 +++++++ src/api/cli/init.mjs | 15 +++++++ src/api/cli/install-hooks.mjs | 15 +++++++ src/api/cli/install-template.mjs | 15 +++++++ src/api/cli/link.mjs | 15 +++++++ src/api/cli/print-hook-script.mjs | 15 +++++++ src/api/cli/record.mjs | 15 +++++++ src/api/cli/restore.mjs | 15 +++++++ src/api/cli/sync.mjs | 15 +++++++ src/api/cli/uninstall-hooks.mjs | 15 +++++++ src/api/cli/version.mjs | 15 +++++++ src/api/commander/custom-help.mjs | 15 +++++++ src/api/detect/dispatcher.mjs | 15 +++++++ src/api/detect/husky.mjs | 15 +++++++ src/api/detect/lefthook.mjs | 15 +++++++ src/api/detect/pre-commit.mjs | 15 +++++++ src/api/detect/run.mjs | 15 +++++++ src/api/detect/simple-git-hooks.mjs | 15 +++++++ src/api/embedded/branch.mjs | 15 +++++++ src/api/embedded/gitlinks.mjs | 15 +++++++ src/api/embedded/manifest.mjs | 15 +++++++ src/api/embedded/record.mjs | 15 +++++++ src/api/embedded/registry.mjs | 15 +++++++ src/api/embedded/resolve.mjs | 15 +++++++ src/api/embedded/restore.mjs | 15 +++++++ src/api/embedded/sync.mjs | 15 +++++++ src/api/git.mjs | 15 +++++++ src/api/install/dispatcher.mjs | 15 +++++++ src/api/install/hooks.mjs | 15 +++++++ src/api/install/template.mjs | 15 +++++++ src/api/link/batch.mjs | 15 +++++++ src/api/link/copy-executable.mjs | 15 +++++++ src/api/link/elevate-windows.mjs | 15 +++++++ src/api/log.mjs | 15 +++++++ src/api/messages/load.mjs | 15 +++++++ src/api/paths.mjs | 15 +++++++ src/api/prompt.mjs | 15 +++++++ src/api/report.mjs | 15 +++++++ src/lib/elevate-windows-child.mjs | 15 +++++++ tests/_setup.mjs | 15 +++++++ tests/cli-coverage.test.vitest.mjs | 28 ++++-------- tests/cli-hooks.test.vitest.mjs | 21 ++++----- tests/cli-provisioning.test.vitest.mjs | 15 +++++++ tests/commander-help.test.vitest.mjs | 15 +++++++ tests/detect-coverage.test.vitest.mjs | 37 ++++------------ tests/detect-foreign.test.vitest.mjs | 15 +++++++ tests/detect-hooks.test.vitest.mjs | 26 ++++------- tests/dispatcher-classify.test.vitest.mjs | 15 +++++++ tests/embedded-coverage.test.vitest.mjs | 15 +++++++ tests/embedded-provisioning.test.vitest.mjs | 15 +++++++ tests/embedded-topup.test.vitest.mjs | 15 +++++++ tests/helpers.test.vitest.mjs | 15 +++++++ tests/hook-guards.test.vitest.mjs | 23 ++++------ tests/install-hooks.test.vitest.mjs | 15 +++++++ tests/install-link.test.vitest.mjs | 25 ++++------- tests/link-coverage.test.vitest.mjs | 27 ++++-------- tests/root-coverage.test.vitest.mjs | 15 +++++++ tests/run-vitest.mjs | 15 +++++++ 95 files changed, 1224 insertions(+), 319 deletions(-) create mode 100644 .configs/fix-headers.json diff --git a/.configs/eslint.config.mjs b/.configs/eslint.config.mjs index 2fcff2f..ad7ba47 100644 --- a/.configs/eslint.config.mjs +++ b/.configs/eslint.config.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /.configs/eslint.config.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:07-07:00 (1790968807) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import js from "@eslint/js"; import globals from "globals"; import json from "@eslint/json"; diff --git a/.configs/fix-headers.json b/.configs/fix-headers.json new file mode 100644 index 0000000..f5dd35f --- /dev/null +++ b/.configs/fix-headers.json @@ -0,0 +1,3 @@ +{ + "extends": "@cldmv/configs/fix-headers.json" +} diff --git a/.configs/tsconfig.dts.jsonc b/.configs/tsconfig.dts.jsonc index 96bf4cf..974a9dd 100644 --- a/.configs/tsconfig.dts.jsonc +++ b/.configs/tsconfig.dts.jsonc @@ -1,27 +1,16 @@ /** - * @Project: @cldmv/slothlet + * + * @Project: @cldmv/git-embedded * @Filename: /.configs/tsconfig.dts.jsonc * @Date: 2025-09-09T08:06:19-07:00 (1757430379) * @Author: Nate Corcoran * @Email: * ----- * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-04-28 00:45:54 -07:00 (1777362354) + * @Last modified time: 2026-10-02T12:20:07-07:00 (1790968807) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. - */ - -/* - * @Project: @cldmv/slothlet - * @Filename: /.configs/tsconfig.dts.jsonc - * @Date: 2025-09-09T08:06:19-07:00 (1757430379) - * @Author: Nate Corcoran - * @Email: - * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-04-28 00:44:01 -07:00 (1777362241) - * ----- - * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * */ { diff --git a/.configs/vitest.config.mjs b/.configs/vitest.config.mjs index 649a048..68e33cc 100644 --- a/.configs/vitest.config.mjs +++ b/.configs/vitest.config.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /.configs/vitest.config.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:07-07:00 (1790968807) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { defineConfig } from "vitest/config"; import { fileURLToPath } from "node:url"; import path from "node:path"; diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 77dbc1b..0bcfe57 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/dependabot.yml -# @Date: 2026-05-26 00:00:00 -07:00 (1782460800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/dependabot.yml +# @Date: 2026-05-26T00:00:00-07:00 (1779778800) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:07-07:00 (1790968807) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/dependabot.yml diff --git a/.github/workflows/branch-retention.yml b/.github/workflows/branch-retention.yml index fd6c51f..9298813 100644 --- a/.github/workflows/branch-retention.yml +++ b/.github/workflows/branch-retention.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/branch-retention.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/branch-retention.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:07-07:00 (1790968807) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/branch-retention.yml diff --git a/.github/workflows/bundle-size.yml b/.github/workflows/bundle-size.yml index f1fc4c7..b84262f 100644 --- a/.github/workflows/bundle-size.yml +++ b/.github/workflows/bundle-size.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/bundle-size.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/bundle-size.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:07-07:00 (1790968807) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/bundle-size.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ebf523..b181d18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/ci.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/ci.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:08-07:00 (1790968808) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/ci.yml diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 1b84f47..ab65837 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/cla.yml -# @Date: 2026-07-19 00:00:00 -07:00 (1784523600) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/cla.yml +# @Date: 2026-07-19T00:00:00-07:00 (1784444400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:08-07:00 (1790968808) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/cla.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1c705ed..3f8b9dd 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/codeql.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/codeql.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:08-07:00 (1790968808) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/codeql.yml diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index ada21db..842587b 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/dependabot-auto-merge.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/dependabot-auto-merge.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:08-07:00 (1790968808) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/dependabot-auto-merge.yml diff --git a/.github/workflows/dependabot-recreate.yml b/.github/workflows/dependabot-recreate.yml index 12ca937..55c5d03 100644 --- a/.github/workflows/dependabot-recreate.yml +++ b/.github/workflows/dependabot-recreate.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/dependabot-recreate.yml -# @Date: 2026-07-31 00:00:00 -07:00 (1785481200) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/dependabot-recreate.yml +# @Date: 2026-07-31T00:00:00-07:00 (1785481200) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:08-07:00 (1790968808) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/dependabot-recreate.yml diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 72227a5..9ece48b 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/dependency-review.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/dependency-review.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:08-07:00 (1790968808) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/dependency-review.yml diff --git a/.github/workflows/feature-pr.yml b/.github/workflows/feature-pr.yml index 1b7f7c1..1f30d7e 100644 --- a/.github/workflows/feature-pr.yml +++ b/.github/workflows/feature-pr.yml @@ -1,9 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/feature-pr.yml -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/feature-pr.yml +# @Date: 2026-07-18T23:04:02-07:00 (1784441042) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:08-07:00 (1790968808) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/feature-pr.yml diff --git a/.github/workflows/hotfix-redirector.yml b/.github/workflows/hotfix-redirector.yml index c9980ae..03792ba 100644 --- a/.github/workflows/hotfix-redirector.yml +++ b/.github/workflows/hotfix-redirector.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/hotfix-redirector.yml -# @Date: 2026-05-22 00:00:00 -07:00 (1779778800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/hotfix-redirector.yml +# @Date: 2026-05-22T00:00:00-07:00 (1779433200) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:09-07:00 (1790968809) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/hotfix-redirector.yml diff --git a/.github/workflows/hotfixes-release.yml b/.github/workflows/hotfixes-release.yml index 42d71e4..2b481c5 100644 --- a/.github/workflows/hotfixes-release.yml +++ b/.github/workflows/hotfixes-release.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/hotfixes-release.yml -# @Date: 2026-05-22 00:00:00 -07:00 (1779778800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/hotfixes-release.yml +# @Date: 2026-05-22T00:00:00-07:00 (1779433200) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:09-07:00 (1790968809) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/hotfixes-release.yml diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 72cbbbc..7a0d283 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/labeler.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/labeler.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:09-07:00 (1790968809) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/labeler.yml diff --git a/.github/workflows/master-commit-audit.yml b/.github/workflows/master-commit-audit.yml index e6447a7..1396d4b 100644 --- a/.github/workflows/master-commit-audit.yml +++ b/.github/workflows/master-commit-audit.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/master-commit-audit.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/master-commit-audit.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:09-07:00 (1790968809) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/master-commit-audit.yml diff --git a/.github/workflows/member-auto-merge.yml b/.github/workflows/member-auto-merge.yml index edd5334..f832d16 100644 --- a/.github/workflows/member-auto-merge.yml +++ b/.github/workflows/member-auto-merge.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/member-auto-merge.yml -# @Date: 2026-05-28 00:00:00 -07:00 (1780210800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/member-auto-merge.yml +# @Date: 2026-05-28T00:00:00-07:00 (1779951600) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:09-07:00 (1790968809) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/member-auto-merge.yml diff --git a/.github/workflows/next-release.yml b/.github/workflows/next-release.yml index 0ffbb3b..93bb416 100644 --- a/.github/workflows/next-release.yml +++ b/.github/workflows/next-release.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/next-release.yml -# @Date: 2026-05-22 00:00:00 -07:00 (1779778800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/next-release.yml +# @Date: 2026-05-22T00:00:00-07:00 (1779433200) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:09-07:00 (1790968809) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/next-release.yml diff --git a/.github/workflows/next-reset.yml b/.github/workflows/next-reset.yml index 5f0c498..336db10 100644 --- a/.github/workflows/next-reset.yml +++ b/.github/workflows/next-reset.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/next-reset.yml -# @Date: 2026-05-22 00:00:00 -07:00 (1779778800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/next-reset.yml +# @Date: 2026-05-22T00:00:00-07:00 (1779433200) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:10-07:00 (1790968810) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/next-reset.yml diff --git a/.github/workflows/pr-notify.yml b/.github/workflows/pr-notify.yml index 549d55d..8cde42f 100644 --- a/.github/workflows/pr-notify.yml +++ b/.github/workflows/pr-notify.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/pr-notify.yml -# @Date: 2026-05-26 00:00:00 -07:00 (1780124400) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/pr-notify.yml +# @Date: 2026-05-26T00:00:00-07:00 (1779778800) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:10-07:00 (1790968810) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/pr-notify.yml diff --git a/.github/workflows/pr-title-normalizer.yml b/.github/workflows/pr-title-normalizer.yml index 9f91d8c..c4fd869 100644 --- a/.github/workflows/pr-title-normalizer.yml +++ b/.github/workflows/pr-title-normalizer.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/pr-title-normalizer.yml -# @Date: 2026-05-22 00:00:00 -07:00 (1779778800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/pr-title-normalizer.yml +# @Date: 2026-05-22T00:00:00-07:00 (1779433200) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:10-07:00 (1790968810) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/pr-title-normalizer.yml diff --git a/.github/workflows/provenance.yml b/.github/workflows/provenance.yml index 12d9255..caa2836 100644 --- a/.github/workflows/provenance.yml +++ b/.github/workflows/provenance.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/provenance.yml -# @Date: 2026-09-05 00:00:00 -07:00 (1788591600) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/provenance.yml +# @Date: 2026-09-05T00:00:00-07:00 (1788591600) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:10-07:00 (1790968810) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # SLSA build provenance (.intoto.jsonl) for this repo's published releases. diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3cc34a4..4f7ff55 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/publish.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/publish.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:10-07:00 (1790968810) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/publish.yml diff --git a/.github/workflows/release-merge.yml b/.github/workflows/release-merge.yml index 25c832c..69863ec 100644 --- a/.github/workflows/release-merge.yml +++ b/.github/workflows/release-merge.yml @@ -1,9 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/release-merge.yml -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/release-merge.yml +# @Date: 2026-09-27T12:52:17-07:00 (1790538737) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:11-07:00 (1790968811) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/release-merge.yml diff --git a/.github/workflows/release-notify.yml b/.github/workflows/release-notify.yml index 8956a1e..198a2ef 100644 --- a/.github/workflows/release-notify.yml +++ b/.github/workflows/release-notify.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/release-notify.yml -# @Date: 2026-07-19 00:00:00 -07:00 (1784523600) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/release-notify.yml +# @Date: 2026-07-19T00:00:00-07:00 (1784444400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:11-07:00 (1790968811) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/release-notify.yml diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index d2221ef..61ff976 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/scorecard.yml -# @Date: 2026-07-19 00:00:00 -07:00 (1784523600) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/scorecard.yml +# @Date: 2026-07-19T00:00:00-07:00 (1784444400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:11-07:00 (1790968811) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/scorecard.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 989998e..199a4af 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/stale.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/stale.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:12-07:00 (1790968812) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/stale.yml diff --git a/.github/workflows/tag-health.yml b/.github/workflows/tag-health.yml index cd1b2b3..e85f8ca 100644 --- a/.github/workflows/tag-health.yml +++ b/.github/workflows/tag-health.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/tag-health.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/tag-health.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:12-07:00 (1790968812) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/tag-health.yml diff --git a/.github/workflows/update-major-version-tags.yml b/.github/workflows/update-major-version-tags.yml index 96e54bc..fefa866 100644 --- a/.github/workflows/update-major-version-tags.yml +++ b/.github/workflows/update-major-version-tags.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/update-major-version-tags.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/update-major-version-tags.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:12-07:00 (1790968812) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/update-major-version-tags.yml diff --git a/.github/workflows/v4-bootstrap.yml b/.github/workflows/v4-bootstrap.yml index 808b248..ea5ff73 100644 --- a/.github/workflows/v4-bootstrap.yml +++ b/.github/workflows/v4-bootstrap.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/v4-bootstrap.yml -# @Date: 2026-05-26 00:00:00 -07:00 (1780124400) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/v4-bootstrap.yml +# @Date: 2026-05-26T00:00:00-07:00 (1779778800) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:13-07:00 (1790968813) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/v4-bootstrap.yml diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index e45d095..0452511 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/git-embedded -# @Filename: /.github/workflows/welcome.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/git-embedded +# @Filename: /.github/workflows/welcome.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:13-07:00 (1790968813) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/welcome.yml diff --git a/bin/git-embedded.mjs b/bin/git-embedded.mjs index 00fd2b2..38d0c0a 100755 --- a/bin/git-embedded.mjs +++ b/bin/git-embedded.mjs @@ -1,4 +1,18 @@ #!/usr/bin/env node +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /bin/git-embedded.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:13-07:00 (1790968813) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ import slothlet from "@cldmv/slothlet"; import fs from "node:fs"; diff --git a/package-lock.json b/package-lock.json index e779116..fb297f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,9 @@ "git-embedded": "bin/git-embedded.mjs" }, "devDependencies": { + "@cldmv/configs": "^1.2.0", "@cldmv/eslint-plugin-jsonv": "^1.0.3", + "@cldmv/fix-headers": "^2.1.1", "@cldmv/jsonv": "^1.0.2", "@cldmv/prettier-plugin-jsonv": "^1.0.1", "@cldmv/vitest-runner": "^1.2.0", @@ -126,6 +128,17 @@ "keyv": "^5.6.0" } }, + "node_modules/@cldmv/configs": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@cldmv/configs/-/configs-1.2.0.tgz", + "integrity": "sha512-FDmlxOx6ceKuD5zTamUy9XOfAC4opeOaLxWqZz9okKxj8TsTZP6dN7W0VccRYRdw4606NvXjhdZqOPibcNpXmQ==", + "dev": true, + "license": "Apache-2.0", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/shinrai" + } + }, "node_modules/@cldmv/eslint-plugin-jsonv": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@cldmv/eslint-plugin-jsonv/-/eslint-plugin-jsonv-1.0.3.tgz", @@ -143,6 +156,36 @@ "@cldmv/jsonv": "^1.0.2" } }, + "node_modules/@cldmv/fix-headers": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@cldmv/fix-headers/-/fix-headers-2.1.1.tgz", + "integrity": "sha512-08xW44RvtrKUCTOjUFKHyrDvx6rT70zGqgRR+tdW0R9ElZrHwSg25xCRrZD+U7Dmj5fK9KmtuOWPjZtJYSfzYA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "ignore": "^7.0.5" + }, + "bin": { + "fix-headers": "bin/fix-headers.mjs" + }, + "engines": { + "node": ">=22.12.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/shinrai" + } + }, + "node_modules/@cldmv/fix-headers/node_modules/ignore": { + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.12.tgz", + "integrity": "sha512-/8UvqAPU9DGTI9k4mxtf49U37Isfwr8Uts96+SBHIkFxPJnHS0Ew4f00sM4Scd8V8EjM0jUNtVDdv1kPdt35lg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, "node_modules/@cldmv/jsonv": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/@cldmv/jsonv/-/jsonv-1.0.7.tgz", diff --git a/package.json b/package.json index dd97f98..de0578d 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,8 @@ "lint:fix": "eslint --config .configs/eslint.config.mjs . --fix", "format": "prettier --config .configs/.prettierrc --write .", "format:check": "prettier --config .configs/.prettierrc --check .", - "build": "echo 'no build step - stopgap for CI coverage-badge; see tracking issue'" + "build": "echo 'no build step - stopgap for CI coverage-badge; see tracking issue'", + "fix:headers": "fix-headers --config .configs/fix-headers.json" }, "dependencies": { "@cldmv/slothlet": "^3.7.0", @@ -87,7 +88,9 @@ "marked-terminal": "^7.3.0" }, "devDependencies": { + "@cldmv/configs": "^1.2.0", "@cldmv/eslint-plugin-jsonv": "^1.0.3", + "@cldmv/fix-headers": "^2.1.1", "@cldmv/jsonv": "^1.0.2", "@cldmv/prettier-plugin-jsonv": "^1.0.1", "@cldmv/vitest-runner": "^1.2.0", diff --git a/src/api/cli/doctor.mjs b/src/api/cli/doctor.mjs index ae793e7..7cd63c9 100644 --- a/src/api/cli/doctor.mjs +++ b/src/api/cli/doctor.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/cli/doctor.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:13-07:00 (1790968813) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self } from "@cldmv/slothlet/runtime"; export const spec = { diff --git a/src/api/cli/export.mjs b/src/api/cli/export.mjs index ad29f4e..df82b4f 100644 --- a/src/api/cli/export.mjs +++ b/src/api/cli/export.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/cli/export.mjs + * @Date: 2026-07-18T23:04:02-07:00 (1784441042) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:13-07:00 (1790968813) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; export const spec = { diff --git a/src/api/cli/init.mjs b/src/api/cli/init.mjs index c6cf1ed..22f2eec 100644 --- a/src/api/cli/init.mjs +++ b/src/api/cli/init.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/cli/init.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:14-07:00 (1790968814) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; export const spec = { diff --git a/src/api/cli/install-hooks.mjs b/src/api/cli/install-hooks.mjs index a87d574..0ce62ee 100644 --- a/src/api/cli/install-hooks.mjs +++ b/src/api/cli/install-hooks.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/cli/install-hooks.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:14-07:00 (1790968814) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; import { CancelledByUser } from "../link/batch.mjs"; diff --git a/src/api/cli/install-template.mjs b/src/api/cli/install-template.mjs index c50981e..9330bc6 100644 --- a/src/api/cli/install-template.mjs +++ b/src/api/cli/install-template.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/cli/install-template.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:14-07:00 (1790968814) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self } from "@cldmv/slothlet/runtime"; export const spec = { diff --git a/src/api/cli/link.mjs b/src/api/cli/link.mjs index 8b01f14..92ece7e 100644 --- a/src/api/cli/link.mjs +++ b/src/api/cli/link.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/cli/link.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:14-07:00 (1790968814) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; export const spec = { diff --git a/src/api/cli/print-hook-script.mjs b/src/api/cli/print-hook-script.mjs index 45d95fa..330eb7b 100644 --- a/src/api/cli/print-hook-script.mjs +++ b/src/api/cli/print-hook-script.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/cli/print-hook-script.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:15-07:00 (1790968815) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; const NAME_TO_SOURCE = { diff --git a/src/api/cli/record.mjs b/src/api/cli/record.mjs index d1eab92..38d418c 100644 --- a/src/api/cli/record.mjs +++ b/src/api/cli/record.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/cli/record.mjs + * @Date: 2026-07-18T23:04:02-07:00 (1784441042) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:15-07:00 (1790968815) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self } from "@cldmv/slothlet/runtime"; export const spec = { diff --git a/src/api/cli/restore.mjs b/src/api/cli/restore.mjs index 174b61c..b17382f 100644 --- a/src/api/cli/restore.mjs +++ b/src/api/cli/restore.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/cli/restore.mjs + * @Date: 2026-07-18T23:04:02-07:00 (1784441042) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:15-07:00 (1790968815) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self } from "@cldmv/slothlet/runtime"; export const spec = { diff --git a/src/api/cli/sync.mjs b/src/api/cli/sync.mjs index 7de2a29..cdca301 100644 --- a/src/api/cli/sync.mjs +++ b/src/api/cli/sync.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/cli/sync.mjs + * @Date: 2026-07-18T23:04:02-07:00 (1784441042) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:15-07:00 (1790968815) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self } from "@cldmv/slothlet/runtime"; export const spec = { diff --git a/src/api/cli/uninstall-hooks.mjs b/src/api/cli/uninstall-hooks.mjs index 559a355..dfc838b 100644 --- a/src/api/cli/uninstall-hooks.mjs +++ b/src/api/cli/uninstall-hooks.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/cli/uninstall-hooks.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:15-07:00 (1790968815) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self } from "@cldmv/slothlet/runtime"; export const spec = { diff --git a/src/api/cli/version.mjs b/src/api/cli/version.mjs index a246a6e..3c655ff 100644 --- a/src/api/cli/version.mjs +++ b/src/api/cli/version.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/cli/version.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:16-07:00 (1790968816) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; export const spec = { diff --git a/src/api/commander/custom-help.mjs b/src/api/commander/custom-help.mjs index f4b6e36..7d9a25e 100644 --- a/src/api/commander/custom-help.mjs +++ b/src/api/commander/custom-help.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/commander/custom-help.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:16-07:00 (1790968816) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Build a `Help` subclass that renders colorized, multi-line help with the * look the rest of the CLDMV CLIs use. The bin entry passes commander's diff --git a/src/api/detect/dispatcher.mjs b/src/api/detect/dispatcher.mjs index 147c41a..14d488a 100644 --- a/src/api/detect/dispatcher.mjs +++ b/src/api/detect/dispatcher.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/detect/dispatcher.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:16-07:00 (1790968816) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { context } from "@cldmv/slothlet/runtime"; export const REQUIRED_HOOKS = ["post-checkout", "post-merge", "post-rewrite", "reference-transaction"]; diff --git a/src/api/detect/husky.mjs b/src/api/detect/husky.mjs index c39fc64..57e5c86 100644 --- a/src/api/detect/husky.mjs +++ b/src/api/detect/husky.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/detect/husky.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:16-07:00 (1790968816) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { context } from "@cldmv/slothlet/runtime"; /** diff --git a/src/api/detect/lefthook.mjs b/src/api/detect/lefthook.mjs index 0944038..b297d23 100644 --- a/src/api/detect/lefthook.mjs +++ b/src/api/detect/lefthook.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/detect/lefthook.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:16-07:00 (1790968816) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { context } from "@cldmv/slothlet/runtime"; const CONFIG_NAMES = ["lefthook.yml", "lefthook.yaml", ".lefthook.yml", ".lefthook.yaml"]; diff --git a/src/api/detect/pre-commit.mjs b/src/api/detect/pre-commit.mjs index 577efd4..e488fe3 100644 --- a/src/api/detect/pre-commit.mjs +++ b/src/api/detect/pre-commit.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/detect/pre-commit.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:17-07:00 (1790968817) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { context } from "@cldmv/slothlet/runtime"; function readHead(p, n = 4) { diff --git a/src/api/detect/run.mjs b/src/api/detect/run.mjs index 98a88d5..427bc7c 100644 --- a/src/api/detect/run.mjs +++ b/src/api/detect/run.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/detect/run.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:17-07:00 (1790968817) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; /** diff --git a/src/api/detect/simple-git-hooks.mjs b/src/api/detect/simple-git-hooks.mjs index 48ca3bc..483cff6 100644 --- a/src/api/detect/simple-git-hooks.mjs +++ b/src/api/detect/simple-git-hooks.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/detect/simple-git-hooks.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:17-07:00 (1790968817) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { context } from "@cldmv/slothlet/runtime"; /** diff --git a/src/api/embedded/branch.mjs b/src/api/embedded/branch.mjs index 8e829c9..3114537 100644 --- a/src/api/embedded/branch.mjs +++ b/src/api/embedded/branch.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/embedded/branch.mjs + * @Date: 2026-07-18T23:04:02-07:00 (1784441042) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:18-07:00 (1790968818) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { context } from "@cldmv/slothlet/runtime"; function git(args, opts = {}) { diff --git a/src/api/embedded/gitlinks.mjs b/src/api/embedded/gitlinks.mjs index 409ef49..ce42cf6 100644 --- a/src/api/embedded/gitlinks.mjs +++ b/src/api/embedded/gitlinks.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/embedded/gitlinks.mjs + * @Date: 2026-07-18T23:04:02-07:00 (1784441042) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:18-07:00 (1790968818) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { context } from "@cldmv/slothlet/runtime"; function git(args, opts = {}) { diff --git a/src/api/embedded/manifest.mjs b/src/api/embedded/manifest.mjs index 711f567..9ed3cfe 100644 --- a/src/api/embedded/manifest.mjs +++ b/src/api/embedded/manifest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/embedded/manifest.mjs + * @Date: 2026-07-18T23:04:02-07:00 (1784441042) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:18-07:00 (1790968818) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { context } from "@cldmv/slothlet/runtime"; /** diff --git a/src/api/embedded/record.mjs b/src/api/embedded/record.mjs index 3e57727..a80d458 100644 --- a/src/api/embedded/record.mjs +++ b/src/api/embedded/record.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/embedded/record.mjs + * @Date: 2026-07-18T23:04:02-07:00 (1784441042) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:18-07:00 (1790968818) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; /** diff --git a/src/api/embedded/registry.mjs b/src/api/embedded/registry.mjs index c28cba9..84889c9 100644 --- a/src/api/embedded/registry.mjs +++ b/src/api/embedded/registry.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/embedded/registry.mjs + * @Date: 2026-07-18T23:04:02-07:00 (1784441042) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:19-07:00 (1790968819) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { context } from "@cldmv/slothlet/runtime"; function git(args, opts = {}) { diff --git a/src/api/embedded/resolve.mjs b/src/api/embedded/resolve.mjs index 3c5e96a..0c5518a 100644 --- a/src/api/embedded/resolve.mjs +++ b/src/api/embedded/resolve.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/embedded/resolve.mjs + * @Date: 2026-07-18T23:04:02-07:00 (1784441042) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:19-07:00 (1790968819) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self } from "@cldmv/slothlet/runtime"; /** diff --git a/src/api/embedded/restore.mjs b/src/api/embedded/restore.mjs index bdb8545..500a498 100644 --- a/src/api/embedded/restore.mjs +++ b/src/api/embedded/restore.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/embedded/restore.mjs + * @Date: 2026-07-18T23:04:02-07:00 (1784441042) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:20-07:00 (1790968820) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; function git(args, opts = {}) { diff --git a/src/api/embedded/sync.mjs b/src/api/embedded/sync.mjs index 2132718..d87739c 100644 --- a/src/api/embedded/sync.mjs +++ b/src/api/embedded/sync.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/embedded/sync.mjs + * @Date: 2026-07-18T23:04:02-07:00 (1784441042) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:20-07:00 (1790968820) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; function git(args, opts = {}) { diff --git a/src/api/git.mjs b/src/api/git.mjs index 9bcef4d..b67b40a 100644 --- a/src/api/git.mjs +++ b/src/api/git.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/git.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:20-07:00 (1790968820) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { context } from "@cldmv/slothlet/runtime"; function run(args, opts = {}) { diff --git a/src/api/install/dispatcher.mjs b/src/api/install/dispatcher.mjs index 78a3b08..70b538a 100644 --- a/src/api/install/dispatcher.mjs +++ b/src/api/install/dispatcher.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/install/dispatcher.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:21-07:00 (1790968821) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; import { STANDARD_HOOK_NAMES } from "../detect/dispatcher.mjs"; diff --git a/src/api/install/hooks.mjs b/src/api/install/hooks.mjs index b3c08c8..2a6b9f6 100644 --- a/src/api/install/hooks.mjs +++ b/src/api/install/hooks.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/install/hooks.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:21-07:00 (1790968821) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; export const PACKAGE_HOOK_MAP = { diff --git a/src/api/install/template.mjs b/src/api/install/template.mjs index 61d9771..b9a94d8 100644 --- a/src/api/install/template.mjs +++ b/src/api/install/template.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/install/template.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:21-07:00 (1790968821) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; /** diff --git a/src/api/link/batch.mjs b/src/api/link/batch.mjs index d5d340f..aa69846 100644 --- a/src/api/link/batch.mjs +++ b/src/api/link/batch.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/link/batch.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:21-07:00 (1790968821) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; const WIN_PRIV_NOT_HELD = "EPERM"; diff --git a/src/api/link/copy-executable.mjs b/src/api/link/copy-executable.mjs index e5e0d6a..1a2f045 100644 --- a/src/api/link/copy-executable.mjs +++ b/src/api/link/copy-executable.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/link/copy-executable.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:22-07:00 (1790968822) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { context } from "@cldmv/slothlet/runtime"; /** diff --git a/src/api/link/elevate-windows.mjs b/src/api/link/elevate-windows.mjs index 18150a9..5e4be83 100644 --- a/src/api/link/elevate-windows.mjs +++ b/src/api/link/elevate-windows.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/link/elevate-windows.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:23-07:00 (1790968823) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; const ERROR_CANCELLED = 1223; diff --git a/src/api/log.mjs b/src/api/log.mjs index f8d0e17..aa2936e 100644 --- a/src/api/log.mjs +++ b/src/api/log.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/log.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:23-07:00 (1790968823) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; /** diff --git a/src/api/messages/load.mjs b/src/api/messages/load.mjs index 9cf3ef7..817ae29 100644 --- a/src/api/messages/load.mjs +++ b/src/api/messages/load.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/messages/load.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:23-07:00 (1790968823) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; const KIND_TO_FILE = { diff --git a/src/api/paths.mjs b/src/api/paths.mjs index becc71d..7c32270 100644 --- a/src/api/paths.mjs +++ b/src/api/paths.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/paths.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:24-07:00 (1790968824) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { context } from "@cldmv/slothlet/runtime"; /** diff --git a/src/api/prompt.mjs b/src/api/prompt.mjs index a1846a9..156ecaa 100644 --- a/src/api/prompt.mjs +++ b/src/api/prompt.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/prompt.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:24-07:00 (1790968824) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { context } from "@cldmv/slothlet/runtime"; /** diff --git a/src/api/report.mjs b/src/api/report.mjs index e8169ef..ee6b886 100644 --- a/src/api/report.mjs +++ b/src/api/report.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/api/report.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:24-07:00 (1790968824) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { self, context } from "@cldmv/slothlet/runtime"; const KIND_LABELS = { diff --git a/src/lib/elevate-windows-child.mjs b/src/lib/elevate-windows-child.mjs index 704d404..d072730 100755 --- a/src/lib/elevate-windows-child.mjs +++ b/src/lib/elevate-windows-child.mjs @@ -1,4 +1,19 @@ #!/usr/bin/env node +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /src/lib/elevate-windows-child.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:24-07:00 (1790968824) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // // Elevated child process: reads a JSON file with an array of // { source, target } entries and creates symbolic links for each. diff --git a/tests/_setup.mjs b/tests/_setup.mjs index 6cb3b63..c1cf015 100644 --- a/tests/_setup.mjs +++ b/tests/_setup.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /tests/_setup.mjs + * @Date: 2026-05-24T21:13:00-07:00 (1779682380) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:24-07:00 (1790968824) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import slothlet from "@cldmv/slothlet"; import fs from "node:fs"; import path from "node:path"; diff --git a/tests/cli-coverage.test.vitest.mjs b/tests/cli-coverage.test.vitest.mjs index e2a4d3f..1a30cdc 100644 --- a/tests/cli-coverage.test.vitest.mjs +++ b/tests/cli-coverage.test.vitest.mjs @@ -1,28 +1,16 @@ /** + * * @Project: @cldmv/git-embedded * @Filename: /tests/cli-coverage.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:25-07:00 (1790968825) + * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. * - * Gap-closing behavior tests for the CLI wrapper commands (src/api/cli/*.mjs), - * driven through the composed slothlet api against REAL temp git repos in the - * same house style as cli-hooks.test.vitest.mjs / cli-provisioning.test.vitest.mjs. Each test - * targets an uncovered path the existing suites do not exercise: - * - * - link: full command coverage (blocksClone refusals, clone/add - * failures, outside-worktree guards, the non-repo add path). - * - install-hooks: the switch default, the no-gitDir + all-skipped install - * paths, heal/bootstrap copy-fallback, the git-config - * failure, the CancelledByUser + re-throw catch arms, and - * the "no git repo" post-bootstrap branch. - * - init: the git-config failure warn arm. - * - export: the missing-exclude catch, the no-trailing-newline prefix, - * and the non-repo root fallback. - * - install-template: the nothing-installed (all-skipped) branch. - * - record/restore/sync: the no-branch / no-note LABEL arms and the - * unknown-outcome LABEL fallbacks. - * - * Temp git repos live under the repo's own tmp/ (never the system /tmp), and a - * GIT_CEILING so a non-repo temp dir there is genuinely seen as a non-repo. */ import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest"; diff --git a/tests/cli-hooks.test.vitest.mjs b/tests/cli-hooks.test.vitest.mjs index 5583c59..1494c67 100644 --- a/tests/cli-hooks.test.vitest.mjs +++ b/tests/cli-hooks.test.vitest.mjs @@ -1,21 +1,16 @@ /** + * * @Project: @cldmv/git-embedded * @Filename: /tests/cli-hooks.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:25-07:00 (1790968825) + * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. * - * Behavior tests for the CLI wrapper commands that manage git hooks and print - * misc info, driven through the composed slothlet api against REAL temp git - * repos (per the house style). Covers: - * - * - install-hooks: the detection-driven switch (refuse / suggest-dispatcher / - * heal-then-install / install), the per-repo install (owned-copy + foreign - * skip), the dispatcher bootstrap (+ global core.hooksPath), and the heal. - * - uninstall-hooks: removes only git-embedded-owned hooks, keeps foreign ones, - * reports "none found", and refuses outside a repo. - * - install-template: templateDir resolution, confirm gate, --force overwrite. - * - print-hook-script: known-name passthrough to stdout + unknown-name refusal. - * - version / doctor / init: the small wrappers around package.json, detection, - * and the install-hooks + advice-silencing composition. */ import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest"; diff --git a/tests/cli-provisioning.test.vitest.mjs b/tests/cli-provisioning.test.vitest.mjs index 3da2161..3d411a0 100644 --- a/tests/cli-provisioning.test.vitest.mjs +++ b/tests/cli-provisioning.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /tests/cli-provisioning.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:25-07:00 (1790968825) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest"; import fs from "node:fs"; import os from "node:os"; diff --git a/tests/commander-help.test.vitest.mjs b/tests/commander-help.test.vitest.mjs index 5769c97..44579e4 100644 --- a/tests/commander-help.test.vitest.mjs +++ b/tests/commander-help.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /tests/commander-help.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:25-07:00 (1790968825) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { afterEach, beforeEach, describe, expect, it } from "vitest"; import chalk from "chalk"; import { Command, Help } from "commander"; diff --git a/tests/detect-coverage.test.vitest.mjs b/tests/detect-coverage.test.vitest.mjs index c600d54..537e002 100644 --- a/tests/detect-coverage.test.vitest.mjs +++ b/tests/detect-coverage.test.vitest.mjs @@ -1,37 +1,16 @@ /** + * * @Project: @cldmv/git-embedded * @Filename: /tests/detect-coverage.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:26-07:00 (1790968826) + * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. * - * Targeted coverage-closing tests for src/api/detect/*. tests/detect-hooks.test.vitest.mjs, - * tests/detect-foreign.test.vitest.mjs, and tests/dispatcher-classify.test.vitest.mjs cover the - * baseline detection patterns; this file adds only the edge cases those don't - * reach, closing dispatcher.mjs, husky.mjs, pre-commit.mjs, lefthook.mjs, and - * run.mjs to 100% lines/statements/functions/branches: - * - * - src/api/detect/dispatcher.mjs — falsy `dir`, an unreadable dir, a - * directory-shaped `_dispatch` (readFileSync EISDIR), relative symlink - * targets, the copy-cluster hashing loop's skip/unreadable/losing-bucket - * branches, the all-different-content (no cluster) case, a dotted - * non-hook-only dir, a symlink pointing at an unrelated decoy file, and the - * TOCTOU-style fs-race branches (lstatSync/readlinkSync/statSync/ - * realpathSync throwing after an earlier check already confirmed the path) - * simulated via targeted fs spies since a real filesystem race can't be - * fabricated deterministically. - * - src/api/detect/husky.mjs — falsy repoRoot, a malformed package.json - * (wispSync throws), and the dependencies-only husky fallback. - * - src/api/detect/pre-commit.mjs — falsy gitDir, a gitDir with no hooks - * subdir, and the readHead catch (a subdirectory entry in hooks/). - * - src/api/detect/lefthook.mjs — the readHead catch (a subdirectory entry - * in hooks/). - * - src/api/detect/run.mjs — the `effectiveHooksPath || systemPath` - * fallback, triggered by a cwd that doesn't exist on disk (so - * getEffectiveHooksPath's git spawn fails) while the system hooksPath - * scope is still readable (getAllHooksPathScopes ignores its cwd - * argument and reads from the real process cwd). - * - * Scratch fixtures live under this repo's tmp/ (never the system /tmp), are - * tracked per-test, and are removed in afterEach/afterAll. */ import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest"; diff --git a/tests/detect-foreign.test.vitest.mjs b/tests/detect-foreign.test.vitest.mjs index 38943df..1d6727b 100644 --- a/tests/detect-foreign.test.vitest.mjs +++ b/tests/detect-foreign.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /tests/detect-foreign.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:26-07:00 (1790968826) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { afterEach, beforeAll, describe, expect, it } from "vitest"; import fs from "node:fs"; import os from "node:os"; diff --git a/tests/detect-hooks.test.vitest.mjs b/tests/detect-hooks.test.vitest.mjs index cd8768c..772002f 100644 --- a/tests/detect-hooks.test.vitest.mjs +++ b/tests/detect-hooks.test.vitest.mjs @@ -1,26 +1,16 @@ /** + * * @Project: @cldmv/git-embedded * @Filename: /tests/detect-hooks.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:26-07:00 (1790968826) + * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. * - * Coverage tests for the hook-manager detectors and the detect orchestrator: - * - * - src/api/detect/lefthook.mjs — config-name variants, the gitDir - * hooks-header scan (headerIn), and the null/no-match branches. - * - src/api/detect/pre-commit.mjs — the gitDir hooks-header scan and the - * null/no-match branches. - * - src/api/detect/simple-git-hooks.mjs — the package.json key path (with its - * parsed config), the standalone `.simple-git-hooks.json` path, and the - * wispSync-throws → pkg=null branch. - * - src/api/detect/run.mjs — the whole classifier: foreign-manager - * precedence (husky > lefthook > simple-git-hooks > pre-commit), effective - * core.hooksPath sub-classification (canonical / missing / non-conforming / - * bare / empty), system-scope hooksPath, init.templateDir fallback, and none. - * - * The detectors are pure-fs and are driven directly with fabricated - * repoRoot/gitDir args (matching tests/detect-foreign.test.vitest.mjs). run() shells - * out to real git, so it is driven against real temp repos with a hermetic git - * environment (matching tests/embedded-provisioning.test.vitest.mjs). */ import { afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest"; diff --git a/tests/dispatcher-classify.test.vitest.mjs b/tests/dispatcher-classify.test.vitest.mjs index d6cc60e..d7fc217 100644 --- a/tests/dispatcher-classify.test.vitest.mjs +++ b/tests/dispatcher-classify.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /tests/dispatcher-classify.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:27-07:00 (1790968827) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { afterEach, beforeAll, describe, expect, it } from "vitest"; import fs from "node:fs"; import os from "node:os"; diff --git a/tests/embedded-coverage.test.vitest.mjs b/tests/embedded-coverage.test.vitest.mjs index 964c4b8..7c16b8e 100644 --- a/tests/embedded-coverage.test.vitest.mjs +++ b/tests/embedded-coverage.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /tests/embedded-coverage.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:27-07:00 (1790968827) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Coverage closure for the embedded engine. These target the error/edge/defensive * branches that embedded-provisioning.test.vitest.mjs and embedded-topup.test.vitest.mjs leave diff --git a/tests/embedded-provisioning.test.vitest.mjs b/tests/embedded-provisioning.test.vitest.mjs index 8c0f253..adbc9c5 100644 --- a/tests/embedded-provisioning.test.vitest.mjs +++ b/tests/embedded-provisioning.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /tests/embedded-provisioning.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:27-07:00 (1790968827) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest"; import fs from "node:fs"; import os from "node:os"; diff --git a/tests/embedded-topup.test.vitest.mjs b/tests/embedded-topup.test.vitest.mjs index f333f7f..1dc640c 100644 --- a/tests/embedded-topup.test.vitest.mjs +++ b/tests/embedded-topup.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /tests/embedded-topup.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:27-07:00 (1790968827) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Branch top-up coverage for the embedded engine's smaller modules. These * exercise the error paths, ambiguous/edge inputs, and layer-precedence diff --git a/tests/helpers.test.vitest.mjs b/tests/helpers.test.vitest.mjs index ddf6d44..a9457a7 100644 --- a/tests/helpers.test.vitest.mjs +++ b/tests/helpers.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /tests/helpers.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:28-07:00 (1790968828) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest"; import fs from "node:fs"; import os from "node:os"; diff --git a/tests/hook-guards.test.vitest.mjs b/tests/hook-guards.test.vitest.mjs index c4bdaaa..d8bc86f 100644 --- a/tests/hook-guards.test.vitest.mjs +++ b/tests/hook-guards.test.vitest.mjs @@ -1,23 +1,16 @@ /** + * * @Project: @cldmv/git-embedded * @Filename: /tests/hook-guards.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:28-07:00 (1790968828) + * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. * - * Behavior tests for the two guard hooks, driven through REAL git operations - * with the hooks installed into the parent's .git/hooks: - * - * - reference-transaction (embedded.guard = precise | strict | off): which - * HEAD moves are allowed/blocked given each child's dirty state and the - * pins in the NEW commit. Covers the plumbing fact that a plain commit - * emits a HEAD transaction line, the precise rule (dirty + would-re-pin), - * strict's all-clean + pins-current-on-append policy, and the drifted-child - * hole a naive pin-delta rule would miss. - * - * - pre-push (embedded.pushRecurse = check | on-demand | off): parent pushes - * are rejected while a newly-pinned child commit is unreachable from the - * child's origin, allowed once the child is pushed (on-demand publishes the - * child's branch to do that automatically), and unrelated (pin-less) pushes - * from a children-less clone stay allowed. */ import { afterEach, beforeEach, describe, expect, it } from "vitest"; diff --git a/tests/install-hooks.test.vitest.mjs b/tests/install-hooks.test.vitest.mjs index 2b3e558..2debba8 100644 --- a/tests/install-hooks.test.vitest.mjs +++ b/tests/install-hooks.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /tests/install-hooks.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:28-07:00 (1790968828) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest"; import fs from "node:fs"; import os from "node:os"; diff --git a/tests/install-link.test.vitest.mjs b/tests/install-link.test.vitest.mjs index aba9be3..13c1048 100644 --- a/tests/install-link.test.vitest.mjs +++ b/tests/install-link.test.vitest.mjs @@ -1,25 +1,16 @@ /** + * * @Project: @cldmv/git-embedded * @Filename: /tests/install-link.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:29-07:00 (1790968829) + * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. * - * Behavior tests for the install-dispatch + link-batch layer, driven through - * the composed slothlet api against REAL files in temp dirs: - * - * - api.install.dispatcher (bootstrap|heal): writes hooks/_dispatch from the - * packaged template and fans out links to the standard hook names; heal only - * adds the missing ones without rewriting the dispatcher; unknown op throws. - * - api.install.template: seeds a `git init` templateDir/hooks with the package - * hooks, honoring the foreign-hook skip and the --force override. - * - api.link.batch: symlink (default) / hardlink (noSymlinks) mechanisms, the - * overwrite pre-removal, the copy fallback when a symlink can't be made, and - * the throw paths when no mechanism succeeds. - * - api.link.copyExecutable: copy + +x bit, the overwrite pre-removal branch, - * and the overwrite:false branch. - * - * The Windows deferred-symlink → UAC-elevation path in link/batch.mjs is - * guarded by `process.platform === "win32"` and is not reachable on POSIX CI; - * it is not exercised here (see notes). */ import { afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest"; diff --git a/tests/link-coverage.test.vitest.mjs b/tests/link-coverage.test.vitest.mjs index d6a8261..7d8a07b 100644 --- a/tests/link-coverage.test.vitest.mjs +++ b/tests/link-coverage.test.vitest.mjs @@ -1,27 +1,16 @@ /** + * * @Project: @cldmv/git-embedded * @Filename: /tests/link-coverage.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:30-07:00 (1790968830) + * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. * - * Coverage-completing behavior tests for the link + install-hooks layer, - * complementing tests/install-link.test.vitest.mjs and tests/install-hooks.test.vitest.mjs. - * Everything here is driven through the composed slothlet api against REAL - * files in temp dirs; the branches that only fire on Windows (privilege-denied - * symlink → UAC batch) or on a copy/chmod failure are exercised by: - * - * - Pinning `process.platform` to "win32" for the duration of a single - * synchronous `api.link.batch` call, then restoring it. - * - Injecting controlled failures into the fs primitives the leaf calls - * (`symlinkSync`, `linkSync`, `chmodSync`) — the leaf reads them off the - * shared node:fs object at call time, so a temporary property swap makes the - * documented fallback/branch fire without needing a real cross-volume mount - * or a real UAC prompt. - * - Overriding `api.link.elevateWindows` (the Windows-only helper is excluded - * from coverage and cannot run on POSIX) with a stub that returns each of the - * result shapes the batch caller must handle: cancelled, failed, succeeded. - * - * All stubs are restored in a finally before any assertion runs, so a failed - * expectation can never leave process.platform or fs mutated for later tests. */ import { afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest"; diff --git a/tests/root-coverage.test.vitest.mjs b/tests/root-coverage.test.vitest.mjs index 599c714..38950f4 100644 --- a/tests/root-coverage.test.vitest.mjs +++ b/tests/root-coverage.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /tests/root-coverage.test.vitest.mjs + * @Date: 2026-08-02T23:38:12-07:00 (1785739092) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:30-07:00 (1790968830) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest"; import fs from "node:fs"; import os from "node:os"; diff --git a/tests/run-vitest.mjs b/tests/run-vitest.mjs index 92a9c27..af6027a 100644 --- a/tests/run-vitest.mjs +++ b/tests/run-vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/git-embedded + * @Filename: /tests/run-vitest.mjs + * @Date: 2026-07-20T04:26:48+00:00 (1784521608) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:31-07:00 (1790968831) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * @fileoverview OOM-safe Vitest runner for git-embedded — delegates to * @cldmv/vitest-runner, which spawns each test file in its own child process and