truthmark 2.2.6 → 2.2.7

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/docs/README.md CHANGED
@@ -11,7 +11,7 @@ source_of_truth:
11
11
 
12
12
  ## Purpose
13
13
 
14
- `docs/` is Truthmark's canonical repository documentation tree. It keeps repository-wide agent rules, reusable standards, current architecture, and current lane-separated truth docs separate from onboarding copy and historical planning notes.
14
+ `docs/` is Truthmark's repository documentation tree. It keeps repository-wide agent rules, reusable standards, current architecture, current lane-separated truth docs, and non-canonical research notes separate from onboarding copy.
15
15
 
16
16
  `AGENTS.md` is the agent entry point, but it delegates repository-wide rules to [docs/ai/repo-rules.md](ai/repo-rules.md). [README.md](../README.md) remains the human onboarding and product entry point. [docs/user-guide.md](user-guide.md) owns detailed human-facing command, workflow, and configuration guidance. `.truthmark/config.yml` defines the committed hierarchy contract.
17
17
 
@@ -35,6 +35,7 @@ Repository-wide conflict order and completion policy live in [docs/ai/repo-rules
35
35
  - `docs/truthmark/product/` for product capability promises, boundaries, and acceptance criteria
36
36
  - `docs/truthmark/engineering/` for current implementation behavior, architecture, contracts, workflows, and operations
37
37
  - `docs/architecture/` for repository-specific architecture guardrails
38
+ - `docs/research/` for non-canonical research and planning notes
38
39
  - `docs/truthmark/templates/` for editable scaffold templates used to create new docs
39
40
  - `docs/truthmark/engineering/contracts/` for stable contracts the CLI exposes
40
41
 
@@ -45,16 +46,17 @@ Repository-wide conflict order and completion policy live in [docs/ai/repo-rules
45
46
 
46
47
  ## Directory Map
47
48
 
48
- | Path | Type | Primary audience | Purpose |
49
- | --- | --- | --- | --- |
50
- | `docs/ai/` | agent rules | agent | Repository-wide rules and fast onboarding |
51
- | `docs/truthmark/routes/` | routing | both | Truth-routing metadata such as `areas.md` and `areas/**/*.md` |
52
- | `docs/standards/` | standard | agent | Reusable constraints, verification rules, completion gates |
53
- | `docs/truthmark/product/` | product truth | agent | Product capability promises, boundaries, decisions, and acceptance criteria |
54
- | `docs/truthmark/engineering/` | engineering truth | agent | Current implementation behavior for init, check, contracts, workflows, and operations |
55
- | `docs/architecture/` | architecture | agent | Repository-specific architecture guardrails |
56
- | `docs/truthmark/templates/` | template | both | Editable templates for scaffolded docs; templates are not Truth Sync targets |
57
- | `docs/user-guide.md` | guide | human | Detailed usage guide kept out of the root README so onboarding stays concise |
49
+ | Path | Type | Primary audience | Purpose |
50
+ | ----------------------------- | ----------------- | ---------------- | ------------------------------------------------------------------------------------- |
51
+ | `docs/ai/` | agent rules | agent | Repository-wide rules and fast onboarding |
52
+ | `docs/truthmark/routes/` | routing | both | Truth-routing metadata such as `areas.md` and `areas/**/*.md` |
53
+ | `docs/standards/` | standard | agent | Reusable constraints, verification rules, completion gates |
54
+ | `docs/truthmark/product/` | product truth | agent | Product capability promises, boundaries, decisions, and acceptance criteria |
55
+ | `docs/truthmark/engineering/` | engineering truth | agent | Current implementation behavior for init, check, contracts, workflows, and operations |
56
+ | `docs/architecture/` | architecture | agent | Repository-specific architecture guardrails |
57
+ | `docs/research/` | research | human | Non-canonical research, comparison, and planning notes |
58
+ | `docs/truthmark/templates/` | template | both | Editable templates for scaffolded docs; templates are not Truth Sync targets |
59
+ | `docs/user-guide.md` | guide | human | Detailed usage guide kept out of the root README so onboarding stays concise |
58
60
 
59
61
  ## Frontmatter Policy
60
62
 
@@ -223,3 +223,7 @@ Truthmark صغير عمداً: محلي، ملتزم به، مرتبط بالف
223
223
  ## الترخيص
224
224
 
225
225
  MIT. راجع [LICENSE](../../LICENSE).
226
+
227
+ ## إزالة آمنة
228
+
229
+ استخدم `truthmark uninstall --dry-run` لمراجعة أسطح الاستضافة المولّدة بدقة، ثم `truthmark uninstall --apply` لإزالتها. يتم الاحتفاظ بـ truth المؤلفة والتكوين والقوالب ومخرجات البوابة وملفات Gemini والملفات غير المتعلقة بالمستخدم؛ أزل التثبيت العالمي لـ npm بشكل منفصل عبر مدير الحزم.
@@ -223,3 +223,7 @@ Es ist kein gehosteter Dienst, MCP-Server, keine Vektordatenbank, versteckte Mem
223
223
  ## Lizenz
224
224
 
225
225
  MIT. Siehe [LICENSE](../../LICENSE).
226
+
227
+ ## Sichere Entfernung
228
+
229
+ Verwenden Sie `truthmark uninstall --dry-run`, um die exakt erzeugten Host-Surfaces zu prüfen, und anschließend `truthmark uninstall --apply`, um sie zu entfernen. Erstellte truth, Konfiguration, Templates, Portal-Ausgabe, Gemini-Dateien und nicht zusammenhängende Benutzerdateien bleiben erhalten; entfernen Sie eine globale npm-Installation separat mit Ihrem Paketmanager.
@@ -223,3 +223,7 @@ keep the result reviewable in Git
223
223
  ## Άδεια
224
224
 
225
225
  MIT. Δείτε [LICENSE](../../LICENSE).
226
+
227
+ ## Ασφαλής κατάργηση
228
+
229
+ Χρησιμοποιήστε το `truthmark uninstall --dry-run` για να ελέγξετε τις ακριβώς παραγόμενες επιφάνειες host και στη συνέχεια το `truthmark uninstall --apply` για να τις αφαιρέσετε. Το δημιουργημένο truth, η διαμόρφωση, τα templates, η έξοδος του Portal, τα αρχεία Gemini και τα μη σχετιζόμενα αρχεία χρήστη διατηρούνται. Καταργήστε την παγκόσμια εγκατάσταση του npm ξεχωριστά με το εργαλείο διαχείρισης πακέτων σας.
@@ -223,3 +223,7 @@ No es un servicio alojado, servidor MCP, base de datos vectorial, capa de memori
223
223
  ## Licencia
224
224
 
225
225
  MIT. Consulta [LICENSE](../../LICENSE).
226
+
227
+ ## Eliminación segura
228
+
229
+ Use `truthmark uninstall --dry-run` para revisar las superficies de host generadas exactas, luego `truthmark uninstall --apply` para eliminarlas. Los truth creados, la configuración, las plantillas, la salida de Portal, los archivos de Gemini y los archivos de usuario no relacionados se conservan; quite una instalación global de npm por separado con su gestor de paquetes.
@@ -223,3 +223,7 @@ Ce n’est pas un service hébergé, un serveur MCP, une base de données vector
223
223
  ## Licence
224
224
 
225
225
  MIT. Voir [LICENSE](../../LICENSE).
226
+
227
+ ## Suppression sûre
228
+
229
+ Utilisez `truthmark uninstall --dry-run` pour examiner précisément les surfaces hôtes générées, puis `truthmark uninstall --apply` pour les supprimer. Les truth rédigées, la configuration, les templates, la sortie Portal, les fichiers Gemini et les fichiers utilisateur non liés sont conservés ; supprimez séparément une installation npm globale avec votre gestionnaire de paquets.
@@ -223,3 +223,7 @@ Ini bukan layanan ter-host, server MCP, basis data vektor, lapisan memori tersem
223
223
  ## Lisensi
224
224
 
225
225
  MIT. Lihat [LICENSE](../../LICENSE).
226
+
227
+ ## Penghapusan aman
228
+
229
+ Gunakan `truthmark uninstall --dry-run` untuk meninjau permukaan host yang tepat dihasilkan, lalu `truthmark uninstall --apply` untuk menghapusnya. Truth hasil penulisan, konfigurasi, template, keluaran Portal, berkas Gemini, dan berkas pengguna yang tidak terkait akan tetap dipertahankan; hapus instalasi npm global secara terpisah melalui pengelola paket Anda.
@@ -223,3 +223,7 @@ Non è un servizio ospitato, un server MCP, un database vettoriale, un livello d
223
223
  ## Licenza
224
224
 
225
225
  MIT. Vedi [LICENSE](../../LICENSE).
226
+
227
+ ## Rimozione sicura
228
+
229
+ Usa `truthmark uninstall --dry-run` per rivedere le superfici host generate con precisione, quindi `truthmark uninstall --apply` per rimuoverle. I truth creati, la configurazione, i template, l’output di Portal, i file Gemini e i file utente non correlati vengono preservati; rimuovi separatamente un’installazione npm globale con il tuo gestore pacchetti.
@@ -223,3 +223,7 @@ Truthmark は意図的に小さく保たれています:ローカル、コミ
223
223
  ## ライセンス
224
224
 
225
225
  MIT。[LICENSE](../../LICENSE) を参照してください。
226
+
227
+ ## 安全な削除
228
+
229
+ `truthmark uninstall --dry-run` を使用して正確に生成されたホストサーフェスを確認し、次に `truthmark uninstall --apply` でそれらを削除します。作成した truth、設定、テンプレート、Portal の出力、Gemini ファイル、関連のないユーザーファイルは保持されます。npm のグローバルインストールはパッケージマネージャーで別途削除してください。
@@ -223,3 +223,7 @@ Truthmark는 호스팅 서비스, MCP 서버, 벡터 데이터베이스, 숨겨
223
223
  ## 라이선스
224
224
 
225
225
  MIT. [LICENSE](../../LICENSE)를 참조하세요.
226
+
227
+ ## 안전한 제거
228
+
229
+ `truthmark uninstall --dry-run`을(를) 사용하여 정확히 생성된 호스트 표면을 검토한 후 `truthmark uninstall --apply`를 사용해 제거하세요. 작성된 truth, 구성, 템플릿, Portal 출력, Gemini 파일 및 관련 없는 사용자 파일은 보존되며, npm 전역 설치는 패키지 관리자에서 별도로 제거하십시오.
@@ -223,3 +223,7 @@ Nie jest usługą hostowaną, serwerem MCP, wektorową bazą danych, ukrytą war
223
223
  ## Licencja
224
224
 
225
225
  MIT. Zobacz [LICENSE](../../LICENSE).
226
+
227
+ ## Bezpieczne usuwanie
228
+
229
+ Użyj `truthmark uninstall --dry-run`, aby przejrzeć dokładnie wygenerowane powierzchnie hosta, a następnie `truthmark uninstall --apply`, aby je usunąć. Utworzone truth, konfiguracja, szablony, wyjście Portalu, pliki Gemini i niezwiązane pliki użytkownika są zachowane; globalną instalację npm usuń oddzielnie za pomocą swojego menedżera pakietów.
@@ -223,3 +223,7 @@ Ele não é um serviço hospedado, servidor MCP, banco de dados vetorial, camada
223
223
  ## Licença
224
224
 
225
225
  MIT. Veja [LICENSE](../../LICENSE).
226
+
227
+ ## Remoção segura
228
+
229
+ Use `truthmark uninstall --dry-run` para revisar as superfícies de host geradas com precisão, e depois `truthmark uninstall --apply` para removê-las. Truth criada, configuração, templates, saída do Portal, arquivos Gemini e arquivos de usuário não relacionados são preservados; remova uma instalação global de npm separadamente com seu gerenciador de pacotes.
@@ -223,3 +223,7 @@ Truthmark намеренно мал: локальный, закоммиченн
223
223
  ## Лицензия
224
224
 
225
225
  MIT. См. [LICENSE](../../LICENSE).
226
+
227
+ ## Безопасное удаление
228
+
229
+ Используйте `truthmark uninstall --dry-run` для проверки точно сгенерированных host-поверхностей, затем `truthmark uninstall --apply` для их удаления. Сформированные truth, конфигурация, шаблоны, вывод Portal, файлы Gemini и несвязанные пользовательские файлы сохраняются; глобальную установку npm удаляйте отдельно через менеджер пакетов.
@@ -223,3 +223,7 @@ Barındırılan bir hizmet, MCP sunucusu, vektör veritabanı, gizli bellek katm
223
223
  ## Lisans
224
224
 
225
225
  MIT. Bkz. [LICENSE](../../LICENSE).
226
+
227
+ ## Güvenli kaldırma
228
+
229
+ `truthmark uninstall --dry-run` komutunu kullanarak tam olarak oluşturulan ana bilgisayar yüzeylerini inceleyin, ardından kaldırmak için `truthmark uninstall --apply` komutunu çalıştırın. Oluşturulan truth, yapılandırma, şablonlar, Portal çıktısı, Gemini dosyaları ve alakasız kullanıcı dosyaları korunur; global npm kurulumunu paket yöneticinizle ayrı olarak kaldırın.
@@ -223,3 +223,7 @@ Nó không phải dịch vụ lưu trữ, máy chủ MCP, cơ sở dữ liệu v
223
223
  ## Giấy phép
224
224
 
225
225
  MIT. Xem [LICENSE](../../LICENSE).
226
+
227
+ ## Gỡ cài đặt an toàn
228
+
229
+ Sử dụng `truthmark uninstall --dry-run` để xem lại chính xác các bề mặt host đã tạo ra, rồi `truthmark uninstall --apply` để loại bỏ chúng. Các truth đã tạo, cấu hình, mẫu, đầu ra Portal, tệp Gemini và các tệp người dùng không liên quan sẽ được giữ nguyên; hãy gỡ bỏ cài đặt npm toàn cục riêng biệt bằng trình quản lý gói của bạn.
@@ -223,3 +223,7 @@ Truthmark 有意保持小而明确:本地、已提交、按分支生效、可
223
223
  ## 许可证
224
224
 
225
225
  MIT。见 [LICENSE](../../LICENSE)。
226
+
227
+ ## 安全移除
228
+
229
+ 使用 `truthmark uninstall --dry-run` 查看精确生成的主机表面(host surfaces),然后使用 `truthmark uninstall --apply` 将其移除。已创建的 truth、配置、模板、Portal 输出、Gemini 文件以及不相关的用户文件将被保留;请使用包管理器单独移除全局 npm 安装。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "truthmark",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "description": "Git-native, branch-scoped truth workflow installer for local AI coding agents.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -50,12 +50,12 @@
50
50
  "build": "tsup",
51
51
  "prepack": "npm run build",
52
52
  "dev": "tsx src/cli/main.ts",
53
- "format:check": "prettier --check eslint.config.js package.json package-lock.json tests/package-files.test.ts tsconfig.json vitest.config.ts",
53
+ "format:check": "prettier --check eslint.config.js package.json package-lock.json tests/package-files.test.ts tsconfig.json",
54
54
  "lint": "eslint .",
55
- "package:check": "vitest run tests/package-files.test.ts",
55
+ "package:check": "node --import tsx --test --test-concurrency=1 tests/package-files.test.ts",
56
56
  "release:check": "npm run lint && npm run format:check && npm run typecheck && npm run test && npm run build && npm run package:check && npm audit --omit=dev",
57
- "test": "vitest run",
58
- "test:watch": "vitest",
57
+ "test": "node --import tsx --test --test-concurrency=1 \"tests/**/*.test.ts\"",
58
+ "test:watch": "node --watch --import tsx --test --test-concurrency=1 \"tests/**/*.test.ts\"",
59
59
  "typecheck": "tsc --noEmit",
60
60
  "check": "npm run lint && npm run typecheck && npm run test && npm run build"
61
61
  },
@@ -75,11 +75,11 @@
75
75
  "@eslint/js": "^9.39.4",
76
76
  "@types/node": "^24.9.1",
77
77
  "eslint": "^9.39.4",
78
+ "expect": "^30.2.0",
78
79
  "prettier": "^3.8.3",
79
80
  "tsup": "^8.5.0",
80
81
  "tsx": "^4.20.6",
81
- "typescript-eslint": "^8.59.2",
82
- "vitest": "^4.0.8"
82
+ "typescript-eslint": "^8.59.2"
83
83
  },
84
84
  "overrides": {
85
85
  "esbuild": "0.28.1"