* 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>
6.0 KiB
status, doc_type, last_reviewed, source_of_truth
| status | doc_type | last_reviewed | source_of_truth | ||
|---|---|---|---|---|---|
| active | index | 2026-05-15 |
|
Truthmark Docs Index
Purpose
docs/ is Truthmark's canonical repository documentation tree. It keeps repository-wide agent rules, reusable standards, current architecture, and current truth docs separate from onboarding copy and historical planning notes.
AGENTS.md is the agent entry point, but it delegates repository-wide rules to docs/ai/repo-rules.md. README.md remains the human onboarding and product entry point. .truthmark/config.yml defines the committed hierarchy contract.
Scope
This doc defines the current structure, navigation map, and maintenance expectations of Truthmark's canonical docs/ tree.
Authority Source
Repository-wide conflict order and completion policy live in docs/ai/repo-rules.md. Use this index for navigation and document-class guidance; it does not restate the full authority hierarchy.
README.md may help with onboarding and positioning, but it must not override current-state docs or repository-wide agent rules.
Audience Split
Agent-centric docs
docs/ai/for repository rules and agent onboardingdocs/truthmark/for routing metadatadocs/standards/for reusable constraints and completion rulesdocs/truthmark/truth/architecture/for current system structuredocs/architecture/for repository-specific architecture guardrailsdocs/truthmark/truth/for current behavior and invariantsdocs/truthmark/templates/for editable scaffold templates used to create new docsdocs/truthmark/truth/contracts.mdfor stable contracts the CLI exposes
Human-centric docs
- README.md for onboarding and positioning
Directory Map
| Path | Type | Primary audience | Purpose |
|---|---|---|---|
docs/ai/ |
agent rules | agent | Repository-wide rules and fast onboarding |
docs/truthmark/ |
routing | both | Truth-routing metadata such as areas.md and areas/**/*.md |
docs/standards/ |
standard | agent | Reusable constraints, verification rules, completion gates |
docs/truthmark/truth/architecture/ |
architecture | agent | Current structure and module boundaries |
docs/architecture/ |
architecture | agent | Repository-specific architecture guardrails |
docs/truthmark/truth/ |
truth | agent | Current behavior for init, check, contracts, and installed workflows |
docs/truthmark/templates/ |
template | both | Editable templates for scaffolded docs; templates are not Truth Sync targets |
Frontmatter Policy
Canonical docs should include frontmatter and keep these fields current:
statusdoc_typelast_reviewedsource_of_truth
Update Rules
- When repository-wide agent policy changes, update docs/ai/repo-rules.md.
- When code-to-doc routing changes, update docs/truthmark/routes/areas.md in the same change.
- When package versions or release/version policy change, apply docs/standards/versioning.md before accepting the version.
- When PR or release source text is needed, write a
changes/note using docs/standards/change-notes.md. - When
truthmark initor scaffolded files change, update the relevant truth or architecture doc, not only README.md. - When
truthmark checkchanges what it validates or how it reports diagnostics, update both the current truth doc and the contract doc. - When major product, onboarding, install, command, positioning, or workflow behavior changes, review the root README.md and update it if the human entry point would otherwise be stale.
- Keep planning or proposal material outside the canonical current-state docs until it becomes implemented truth.
- When current behavior changes for architecture, contracts, or truth docs, update the owning canonical doc's
Product DecisionsandRationalesections in the same change. - Do not keep parallel documentation trees for the same subject.
Important Truthmark-Specific Caveat
New repositories should run truthmark config before truthmark init so teams can review the committed hierarchy contract before workflow surfaces are installed. The current scaffold writes a root route index plus one child route file under the configured routing root.
Recommended Reading Order
For humans
- README.md
- .truthmark/config.yml
- docs/ai/repo-rules.md
- docs/truthmark/truth/architecture/overview.md
- the relevant truth or standard doc for the area being changed
For agents
- docs/ai/repo-rules.md
- docs/ai/agent-onboarding.md, when routing is unclear or cross-area
- docs/truthmark/routes/areas.md, when mapping code to canonical truth
- docs/truthmark/truth/architecture/module-map.md, when changing module boundaries
- the relevant standard and truth docs for the task
Use docs/truthmark/truth/routing-examples.md when designing areas for larger API, frontend, infrastructure, or monorepo repositories.
Maintenance Principle
The canonical tree should stay small, explicit, and current. Historical notes are useful for traceability, but current behavior belongs in the nearest maintained document class, not in old plans or chat summaries.
Product Decisions
- Decision (2026-05-15): The docs index owns navigation and document-class guidance for the canonical tree, while docs/ai/repo-rules.md owns repository-wide authority order and completion policy.
Rationale
Keeping the docs index focused on navigation avoids loading duplicated authority prose while still giving agents and maintainers one stable place to resolve where current truth should live before they edit deeper canonical docs.