Releases: Outer-Void/dat
Release list
🧭 DAT v2.0.0-alpha.1
🧭 DAT v2.0.0-alpha.1 — “Schema Linkage” Release
Release date: October 2025
Tag: v2.0.0-alpha.1
Stability: Pre-production (alpha)
Compatible with: LRC v2.0.0-alpha.1 and later
🚀 Overview
This release marks the transformation of DAT (Data Audit & Trust Framework) from a standalone audit CLI into a schema-aware, LRC-linked system. It now integrates directly with LRC’s Local Repo Compiler to provide self-documenting repository generation, verification, and compliance scoring.
DAT v2.0 introduces full modular scanning, enhanced report pipelines, PDF and JSONL exports, and early trust-layer features for future distributed audits.
🧩 Key New Features
🧠 1. LRC Integration
New module src/dat/integration/lrc.py bridges DAT and LRC.
DAT now reads .lrc schema metadata to generate context-rich reports.
Automatically associates audit logs with LRC build metadata.
Supports bidirectional workflow:
dat --from-lrc
lrc --from-dat
🪶 2. Modular Scanner Architecture
Introduced src/dat/scanner/core.py with dynamic import support.
Each scanning function can now be registered as a plugin:
from dat.scanner import register_check
@register_check("compliance.todo")
def detect_todos(file): ...
Adds new --modules, --safe, and --deep CLI flags.
📜 3. Enhanced Audit & Logging
Audit logs in JSONL under `.dat/audit/ or configurable directory.
PDF report generation via src/dat/pdf/report.py.
Local signature verification through src/dat/integration/signing.py.
⚙️ 4. Rule Engine Refactor
src/dat/rules/engine.py introduces modular rulesets with tagging support:
@rule("compliance.todo", tags=["lint", "style"])
JSON schema validation supported for LRC integration files.
🧾 5. Report Composition
Reports now include:
metadata: author, date, fingerprint.
stats: total scanned, skipped, violations, errors.
summary: compact overview.
detail: per-file results.
New flags:
--report audit.jsonl
--report audit.md
--sign (generate .asc signature)
🛡️ Security & Signing
Added signing with GPG (loopback mode supported).
CI workflow .github/workflows/sign-and-release.yml automatically builds, signs, and publishes releases.
Sample usage:
gpg --import jadis_publickey.asc
dat --sign
🧰 Developer Enhancements
Modularized folder structure:
src/dat/
├── cli.py
├── scanner/
├── rules/
├── pdf/
├── logging/
└── integration/
Updated dependencies:
rich, typer, pypdf2, jsonschema
Improved developer ergonomics with pyproject.toml & requirements.txt.
🧪 Testing & QA
Unit tests added:
tests/test_scanner.py
tests/test_cli.py
Deprecated:
tests/test_core.py
Coverage extended to core modules and CLI flows.
🧩 Integration Highlights
Designed for full symbiosis with LRC v2.0.0-alpha.1:
Shared schema definition.
Shared signing key.
Compatible CI pipelines.
Unified audit → build → release workflow.
🔮 Roadmap to 2.0.0-beta
Expand rule libraries (e.g., license, security, dependency checks).
Add dat serve for local API/GUI dashboards.
Integrate project scoring model (“Trust Index”).
Prepare migration scripts for v2.0.0-beta stabilization.
🧾 Checksum & Signatures
Tag: v2.0.0-alpha.1
Signature file: SHA256SUMS.asc
Verification:
gpg --verify SHA256SUMS.asc SHA256SUMS
sha256sum -c SHA256SUMS
💡 Summary
DAT v2.0.0-alpha.1 establishes the foundation for intelligent, self-documenting repository auditing.
It introduces schema-driven scanning, cross-repo integration with LRC, and cryptographic audit trails—building toward a transparent, self-verifying ecosystem.
DAT v2.0.0-Stable
Title: DAT v2.0.0-Stable
- Tag: v2.0.0-Stable
Summary:
Core stable release for the Dev Audit Tool.
Cross-platform (Linux, macOS, Windows, WSL2, Android/Termux).
Includes dependency auto-installer, DejaVu font setup, PDF export via ReportLab, and universal bootstrap.
Changelog Highlights:
-
Full cross-platform installer (install_deps.sh)
-
PDF export engine using ReportLab + DejaVu Sans Mono
-
Bootstrap installer to ~/.local/bin (Linux/macOS), Termux, and Windows PATH auto-add
-
Unified CLI arguments (-s, -i, -o, --max-lines, --max-size)
-
Robust ignore pattern matching (.pyc, pycache, .git, node_modules)
-
Stable summary reporting (line counts, sizes, top-N stats)
Dev Audit Tool (dat) v1.0.0 – One-Day Launch 🚀
datis a fast, cross-platform developer audit tool that prints and summarizes all files in a directory and its subdirectories. Filter by code, documentation, media, or custom extensions, limit lines per file, skip large files, include hidden files, output to a file, and instantly see top files by size or line count. Configurable, bootstrap-ready, and perfect for quickly inspecting any project.
(dat) v1.0.0 Highlights
🔹 Prints all files in a directory + subdirectories
🔹 Filter by type: code, docs, media, or custom extensions
🔹 Limit lines per file; skip large files
🔹 Include hidden files (dotfiles)
🔹 Current folder only option (no recursion)
🔹 Output results to a file
🔹 Top files summary by size or line count
🔹 Cross-platform: Linux, macOS, Windows, Android/Termux
🔹 Bootstrap installer for first-run convenience
🔹 Configurable via ~/.datconfig
Installation & Setup
- Clone the repository
git clone https://github.com/Justadudeinspace/dat.git
cd dat
- Install Python dependencies
pip install -r requirements.txt
- Install system libraries
Linux: sudo apt install -y libmagic1 libmagic-dev
macOS: brew install libmagic
Windows: pip install python-magic-bin
Termux/Android: pkg install libmagic
- Optional enhancements
pip install colorama Pillow PyPDF2
- Bootstrap installer (first run)
chmod +x dat
python dat
Use --no-bootstrap to skip first-run installation.
Usage Examples
# Audit current directory (all files)
dat
# Only code files
dat -c
# Only docs
dat -d
# Only media
dat -m
# Custom extensions
dat -e py,js,html
# Include hidden files
dat -a
# Only current folder, no recursion
dat -f
# Output to a file
dat -o audit.txt
# Limit lines per file
dat --max-lines 200
# Show top 10 files
dat --top-n 10
Configuration
dat optionally reads from ~/.datconfig for:
File type extensions
Maximum lines and file size
Top files to summarize
Custom extensions
Full configuration example is provided in the repository.
Example Output
DEV AUDIT SUMMARY
===============================
Total files processed: 120
Total lines: 12,345
Total size: 24.8 MB
Code files: 45, Docs: 35, Media: 30, Other: 10
Top 5 files by lines:
2456 lines | ./src/main.py
1789 lines | ./lib/utils.py
...
Top 5 files by size:
3.5 MB | ./assets/video.mp4
1.2 MB | ./docs/manual.pdf
...
Requirements
-
Python 3.9+
-
python-magic (or python-magic-bin on Windows)
-
Optional: colorama, Pillow, PyPDF2
License
MIT License – See LICENSE file.
Full Changelog: https://github.com/Justadudeinspace/dat/commits/v1.0.0