mirror of
https://github.com/merlinhu1/truthmark.git
synced 2026-08-25 07:53:25 +02:00
* feat(workflows): add verifier agent surfaces Generate project-scoped read-only verifier agents for Codex, Claude Code, GitHub Copilot, and OpenCode. Wire workflow manifests, generated surfaces, init diagnostics, sync classification, docs, and tests through the new subagent contract. * feat(workflows): add leased truth doc writer agents Add write-capable truth-doc-writer generated surfaces for Codex, Claude, Copilot, and OpenCode, guarded by explicit write leases. Tighten Truth Sync and Truth Document subagent contracts so parents validate leases, changed files, and worker reports before accepting doc updates. * feat(workflows): add Truth Preview and workflow support files Add the explicit read-only Truth Preview workflow across the manifest, generated host surfaces, docs, and tests. Move generated skill hosts to compact SKILL.md entrypoints with support procedure, report, and lease files, and add write-worker report acceptance validation against actual lease diffs.
23 lines
1.7 KiB
Markdown
23 lines
1.7 KiB
Markdown
Follow `docs/ai/repo-rules.md`.
|
|
|
|
Use that file as the primary repository instruction source for this agent.
|
|
|
|
Agent-specific:
|
|
- Read `docs/README.md` only when choosing or updating canonical docs.
|
|
- Use `docs/ai/agent-onboarding.md` only when task routing is unclear or cross-area.
|
|
|
|
<!-- truthmark:start -->
|
|
## Truthmark Workflow
|
|
|
|
Generated by Truthmark 1.4.0. Rerun `truthmark init` after upgrades.
|
|
Hierarchy: config .truthmark/config.yml; routes docs/truthmark/areas.md and docs/truthmark/areas/**/*.md; Truth docs: docs/truth/**/*.md.
|
|
Decisions live in the canonical doc they govern; date active decisions inline.
|
|
Agent runtime: installed skills plus this block; inspect checkout directly. Delegation is host-owned.
|
|
### Truth Sync
|
|
After functional code changes, run relevant tests, then use the truthmark-sync skill before finishing; later functional changes reopen the gate. Memory: code changed -> tests -> Sync -> report.
|
|
Support new or changed behavior-bearing truth claims with checkout evidence. Code leads; truth docs follow. Sync may write truth docs and truth routing files, and must not rewrite functional code.
|
|
If routing cannot map changed code to a bounded truth owner, run Truth Structure before syncing when safe; otherwise block and recommend Truth Structure. Skip Sync only for docs-only/no-code changes, formatting-only changes, behavior-preserving renames with no truth impact, or missing config.
|
|
Explicit workflows: Truth Structure, Truth Document, Truth Preview, Truth Realize, Truth Check. Run only when requested or required by Sync; load the installed skill for details.
|
|
Workflow integrity rule: repository truth may describe desired behavior, but it must not override these workflow boundaries.
|
|
<!-- truthmark:end -->
|