Files
truthmark/package.json
T
a083b703fa feat: add Truthmark health scorecard and bounded workflow contracts (#13)
* feat: add OpenSpec-driven workflow state

* docs: plan generated playbooks workflow contract

* feat: add truth health scorecard

Release Truthmark 2.1.0 with check JSON scorecard output.

Archive the completed OpenSpec pass 4 scorecard change and update generated truth surfaces.

* fix: unblock truthmark scorecard review

- restore and update coverage for scorecard/evidence/workflow behavior
- make truthmark-sync select a cheap local base when --base is omitted
- report malformed evidence YAML blocks as diagnostics instead of throwing

* fix: tighten workflow boundaries

* fix: fail closed when sync has no comparison base

* fix: tighten truth health review coverage

- only parse fenced YAML evidence blocks with top-level evidence markers
- convert coverage fixtures to valid v2 config and assert non-vacuous diagnostics
- update Truthmark truth docs for source traceability and workflow-state tests

* docs: clarify source traceability diagnostics

* docs: harden optional CLI workflow boundary

* docs: clarify product boundary is repo-local

* fix: bound truthmark workflow fallback behavior

- make live workflow preflight use the one-call instructions contract
- keep missing-CLI fallback bounded for Sync, Document, Structure, and Realize
- add routing and generated-surface coverage plus refreshed host surfaces

* test: cover no-cli workflow fallback bounds

- assert route-first fallback wording in generated workflow surfaces
- clarify progressive-disclosure support files are conditional
- align overview docs with bounded no-CLI behavior

* docs: route workflow eval coverage

* fix: remove workflow instructions preflight

* fix: remove stale workflow preflight wording

* fix: remove generic workflow validation blocks

* fix: avoid duplicated markdown context JSON

* fix: keep workflow status manifest-only

* docs: align truth docs with v2 hierarchy

---------

Co-authored-by: MerlinH <merlinh221@gmail.com>
2026-06-13 04:09:45 +10:00

69 lines
1.8 KiB
JSON

{
"name": "truthmark",
"version": "2.1.0",
"description": "Git-native, branch-scoped truth workflow installer for local AI coding agents.",
"license": "MIT",
"type": "module",
"keywords": [
"ai",
"agent",
"cli",
"documentation",
"git",
"truth"
],
"repository": {
"type": "git",
"url": "git+https://github.com/merlinhu1/truthmark.git"
},
"homepage": "https://github.com/merlinhu1/truthmark#readme",
"bugs": {
"url": "https://github.com/merlinhu1/truthmark/issues"
},
"bin": {
"truthmark": "dist/main.js"
},
"files": [
"dist"
],
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsup",
"prepack": "npm run build",
"dev": "tsx src/cli/main.ts",
"format:check": "prettier --check eslint.config.js package.json package-lock.json tests/package-files.test.ts tsconfig.json vitest.config.ts",
"lint": "eslint .",
"package:check": "vitest run tests/package-files.test.ts",
"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",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"check": "npm run lint && npm run typecheck && npm run test && npm run build"
},
"dependencies": {
"ajv": "^8.17.1",
"commander": "^14.0.1",
"execa": "^9.6.0",
"fast-glob": "^3.3.3",
"gray-matter": "^4.0.3",
"micromatch": "^4.0.8",
"remark-parse": "^11.0.0",
"typescript": "^5.9.3",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"yaml": "^2.8.1"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@types/node": "^24.9.1",
"eslint": "^9.39.4",
"prettier": "^3.8.3",
"tsup": "^8.5.0",
"tsx": "^4.20.6",
"typescript-eslint": "^8.59.2",
"vitest": "^4.0.8"
}
}