docs(bf-4636k): capture pdftract version and commit information

Captured version 0.1.0 from workspace Cargo.toml and commit hash b13db189.
Saved to /tmp/pdftract-version-info.txt for downstream bead use.

Closes bf-4636k
This commit is contained in:
jedarden 2026-07-06 13:12:03 -04:00
parent b13db18929
commit 2a75bfa4dc

27
notes/bf-4636k.md Normal file
View file

@ -0,0 +1,27 @@
# bf-4636k: Capture pdftract version and commit information
## What was done
Captured pdftract version and git commit information for debug log header inclusion.
## Results
**Version info captured:**
- pdftract version: 0.1.0 (from workspace Cargo.toml)
- git commit: b13db18929f8a9c8b2eeb3357941b690581dfe74
**Output file:** `/tmp/pdftract-version-info.txt`
## Notes
- `pdftract --version` flag is not available; version was extracted from workspace.package.version in `/home/coding/pdftract/Cargo.toml`
- Git repository was accessible and commit hash retrieved successfully
- Temp file created and verified to contain both version and commit hash
- File persists at `/tmp/pdftract-version-info.txt` for use by downstream beads
## Acceptance criteria
- ✅ PASS: pdftract version captured (0.1.0 from Cargo.toml)
- ✅ PASS: git rev-parse HEAD output captured (b13db18929f8a9c8b2eeb3357941b690581dfe74)
- ✅ PASS: Both saved to temp file (/tmp/pdftract-version-info.txt)
- ✅ PASS: File verified to contain both pieces of information