**Goal**: Initialize the `.truth/` directory infrastructure and create an empty manifest file for tracking data provenance and analysis workflows.
/plugin marketplace add syfyufei/adrian-marketplace/plugin install truth-verification@LLM-Research-MarketplaceGoal: Initialize the .truth/ directory infrastructure and create an empty manifest file for tracking data provenance and analysis workflows.
When to use: Run this command at the start of any research project or when setting up truth-verification for an existing project.
Before running this command:
.truth/ directory.truth/ directory (unless using --force)/truth-verification:init
Creates .truth/ directory with default manifest structure.
/truth-verification:init --force
Recreates manifest even if .truth/ already exists (backs up old manifest as .truth/manifest.backup.json).
/truth-verification:init --manifest-dir .verification
Uses .verification/ instead of .truth/ (useful for teams with naming preferences).
Creates directory structure:
.truth/
├── manifest.json # Central registry
├── hashes/ # Hash records (populated by register)
├── logs/ # Execution logs
└── reports/ # Generated reports
Creates empty manifest.json with template structure:
{
"version": "1.0.0",
"initialized_at": "2025-12-15T10:30:00Z",
"project_root": "/path/to/project",
"data_sources": [],
"analysis_scripts": [],
"results": [],
"dependencies": []
}
Adds .truth/ to .gitignore (creates .gitignore if needed):
--include-gitignore to NOT add to .gitignore (for shared teams)Validates setup:
| Error | Cause | Solution |
|---|---|---|
| "Permission denied" | No write access to project dir | Check directory permissions: chmod u+w . |
| ".truth directory already exists" | Init already run | Use --force to overwrite, or use different --manifest-dir |
| "Not in a project root" | Current dir isn't a valid project | Verify you're in project root (ls project.yml or ls .claude-plugin/) |
| "Invalid manifest JSON created" | File system issue | Contact support; manifest template is hard-coded and should never fail |
After successful execution:
.truth/ exists with subdirectories (manifest, hashes, logs, reports).truth/manifest.json contains valid JSON with empty data_sources array.gitignore includes .truth/ line (unless --include-gitignore=false)✓ Initialized .truth/ directory at /path/to/project/.truthAfter initialization:
/truth-verification:register --recursive --dir data/raw/truth-verification:status/truth-verification:track --script codes/analysis.py ... (after running scripts)/truth-verification:register - Add data files to manifest after init/truth-verification:status - View current verification state/truth-verification:verify - Check if any registered files have been modified