truthmark 2.2.5 → 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/README.md +19 -3
- package/dist/main.js +1095 -692
- package/dist/main.js.map +1 -1
- package/docs/README.md +13 -11
- package/docs/readmes/README.ar.md +4 -0
- package/docs/readmes/README.de.md +4 -0
- package/docs/readmes/README.el.md +4 -0
- package/docs/readmes/README.es.md +4 -0
- package/docs/readmes/README.fr.md +4 -0
- package/docs/readmes/README.id.md +4 -0
- package/docs/readmes/README.it.md +4 -0
- package/docs/readmes/README.ja.md +4 -0
- package/docs/readmes/README.ko.md +4 -0
- package/docs/readmes/README.pl.md +4 -0
- package/docs/readmes/README.pt.md +4 -0
- package/docs/readmes/README.ru.md +4 -0
- package/docs/readmes/README.tr.md +4 -0
- package/docs/readmes/README.vi.md +4 -0
- package/docs/readmes/README.zh.md +4 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
**Your agents write code. Truthmark maintains human-facing, Git-reviewable documentation.**
|
|
4
4
|
|
|
5
|
+
[](https://www.npmjs.com/package/truthmark)
|
|
6
|
+
[](https://github.com/merlinhu1/truthmark/actions/workflows/ci.yml)
|
|
7
|
+
[](LICENSE)
|
|
8
|
+
[](package.json)
|
|
9
|
+
|
|
10
|
+
[Website](https://merlinhu1.github.io/truthmark/) | [GitHub](https://github.com/merlinhu1/truthmark) | [User Guide](docs/user-guide.md)
|
|
11
|
+
|
|
5
12
|
[🇺🇸 English](README.md) | [🇨🇳 简体中文](docs/readmes/README.zh.md) | [🇯🇵 日本語](docs/readmes/README.ja.md) | [🇰🇷 한국어](docs/readmes/README.ko.md) | [🇩🇪 Deutsch](docs/readmes/README.de.md) | [🇫🇷 Français](docs/readmes/README.fr.md) | [🇪🇸 Español](docs/readmes/README.es.md) | [🇧🇷 Português](docs/readmes/README.pt.md) | [🇷🇺 Русский](docs/readmes/README.ru.md) | [🇸🇦 العربية](docs/readmes/README.ar.md) | [🇮🇹 Italiano](docs/readmes/README.it.md) | [🇵🇱 Polski](docs/readmes/README.pl.md) | [🇹🇷 Türkçe](docs/readmes/README.tr.md) | [🇻🇳 Tiếng Việt](docs/readmes/README.vi.md) | [🇮🇩 Bahasa Indonesia](docs/readmes/README.id.md) | [🇬🇷 Ελληνικά](docs/readmes/README.el.md)
|
|
6
13
|
|
|
7
14
|

|
|
@@ -59,10 +66,12 @@ AI coding agents are incredible at writing code fast. But this speed creates a d
|
|
|
59
66
|
|
|
60
67
|
## 🎯 The Solution: Truthmark
|
|
61
68
|
|
|
62
|
-
**Truthmark** installs a Git-native workflow layer into your repository. It fixes the part of AI development that usually breaks:
|
|
69
|
+
**Truthmark** installs a Git-native workflow layer into your repository. It fixes the part of AI development that usually breaks: keeping documentation aligned with code after the first draft.
|
|
63
70
|
|
|
64
71
|
Instead of hoping humans and AI agents remember to update docs, Truthmark makes documentation a systematic, reviewable habit right inside your repo.
|
|
65
72
|
|
|
73
|
+
Truthmark is not a one-shot docs generator. It is an ongoing truth-doc curation loop that keeps human-facing docs small, owned, evidence-backed, and reviewable as agents keep changing code.
|
|
74
|
+
|
|
66
75
|
### ✨ Why Truthmark is Unique
|
|
67
76
|
|
|
68
77
|
Truthmark isn't just another documentation tool. It is deeply integrated into the AI workflow:
|
|
@@ -70,6 +79,7 @@ Truthmark isn't just another documentation tool. It is deeply integrated into th
|
|
|
70
79
|
* **🚫 Zero Vendor Lock-in:** No hosted services, no hidden databases, no extra servers to operate.
|
|
71
80
|
* **🌳 100% Git-Native:** Everything lives in your repository. The truth moves with your branch.
|
|
72
81
|
* **🤝 Human-owned, agent-followed contract:** Maintainers own the repo contract; agents follow the installed instructions while coding.
|
|
82
|
+
* **🧭 Ongoing truth curation:** Broad or messy docs are routed toward Structure instead of becoming giant catch-all files.
|
|
73
83
|
* **✅ Trust Through Verification:** AI work becomes easier to trust because behavior-changing work includes a human-reviewable truth-doc decision or diff.
|
|
74
84
|
|
|
75
85
|
## 🔄 How It Works
|
|
@@ -91,8 +101,9 @@ Truthmark has one repo-local contract with two ways to use it.
|
|
|
91
101
|
Maintainers and CI use the CLI:
|
|
92
102
|
|
|
93
103
|
* `truthmark config` - create the initial configuration.
|
|
94
|
-
* `truthmark init` - install or refresh routing, truth-doc scaffolds, and AI-host instructions.
|
|
104
|
+
* `truthmark init` - install or refresh routing, truth-doc scaffolds, and AI-host instructions, reconciling safely recognized disabled-host surfaces.
|
|
95
105
|
* `truthmark check` - validate the repository truth from the terminal.
|
|
106
|
+
* `truthmark uninstall --dry-run|--apply` - preview or remove generated host surfaces while preserving authored truth and configuration.
|
|
96
107
|
|
|
97
108
|
### Agents follow the contract while coding
|
|
98
109
|
|
|
@@ -122,6 +133,7 @@ Truth Structure is not a day-to-day command; it repairs routing or ownership onl
|
|
|
122
133
|
| Human CLI | Gives maintainers setup, refresh, validation, and inspection commands. |
|
|
123
134
|
| Installed agent guidance | Tells coding agents when to document, test, sync truth, audit, or stop for review. |
|
|
124
135
|
| Explicit routing | Maps code areas to canonical truth docs. |
|
|
136
|
+
| Durable truth curation | Keeps docs bounded, evidence-backed, and reviewable instead of letting them grow into catch-all files. |
|
|
125
137
|
| Reviewable handoffs | Produces ordinary Git diffs for both code and truth docs. |
|
|
126
138
|
| Local-first operation | Requires no hosted service, daemon, database, or MCP server. |
|
|
127
139
|
| Safer write boundaries | Separates code-first, doc-first, read-only, and doc-only workflows. |
|
|
@@ -154,6 +166,8 @@ Not governance as ceremony. Governance as a simple question:
|
|
|
154
166
|
|
|
155
167
|
Truthmark helps teams answer that with committed files, explicit routing, and reviewable diffs.
|
|
156
168
|
|
|
169
|
+
Most AI tools can draft documentation. Truthmark keeps repository truth curated after the draft, after the next code change, and after the doc starts getting too broad.
|
|
170
|
+
|
|
157
171
|
It is useful when you need:
|
|
158
172
|
|
|
159
173
|
- less documentation drift
|
|
@@ -193,13 +207,15 @@ keep the result reviewable in Git
|
|
|
193
207
|
|
|
194
208
|
The README is the storefront: fast context, quick start, and the core mental model.
|
|
195
209
|
|
|
210
|
+
The [static website](https://merlinhu1.github.io/truthmark/) is the concise public introduction for GitHub Pages.
|
|
211
|
+
|
|
196
212
|
For command-by-command usage, surface comparisons, supported platform details, configuration, routing, Portal, and examples, read the [Truthmark User Guide](docs/user-guide.md).
|
|
197
213
|
|
|
198
214
|
## Project status
|
|
199
215
|
|
|
200
216
|
The current release provides:
|
|
201
217
|
|
|
202
|
-
- local CLI commands for config, init, check, index, impact,
|
|
218
|
+
- local CLI commands for config, init, uninstall, check, index, impact, workflow status, and validate
|
|
203
219
|
- generated repo-local agent instructions for Codex, Claude Code, GitHub Copilot, OpenCode, Antigravity, and Cursor
|
|
204
220
|
- route, authority, frontmatter, link, freshness, generated-surface, branch-scope, and coverage diagnostics
|
|
205
221
|
- branch-scoped truth docs and derived repository-intelligence artifacts
|