beads/internal/types
Steve Yegge 4f4b59aba5 fix: prevent internal fields from being exported to JSONL
ContentHash and SourceRepo were being exported to beads.jsonl even though
they are internal database fields. This caused JSONL pollution where every
issue got these extra fields, and re-exports would produce different output
than the original clean JSONL.

Changed JSON tags from `json:"...,omitempty"` to `json:"-"` for:
- ContentHash: Internal optimization field for content-based diffing
- SourceRepo: Internal metadata for multi-repo support

This fixes the ZFC resurrection bug where re-exports after import would
pollute the JSONL with internal fields.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 00:21:28 -08:00
..
id_generator.go Implement 6-char progressive hash IDs (bd-166, bd-167) 2025-10-30 14:04:03 -07:00
id_generator_test.go Implement 6-char progressive hash IDs (bd-166, bd-167) 2025-10-30 14:04:03 -07:00
lock.go Implement exclusive lock protocol for daemon/external tool coexistence 2025-10-25 23:32:47 -07:00
lock_check.go Address gosec security warnings (bd-102) 2025-10-26 22:48:19 -07:00
lock_check_test.go Fix gosec warnings: tighten file permissions and add exclusions (bd-b47c034e) 2025-11-02 15:39:00 -08:00
lock_test.go Implement exclusive lock protocol for daemon/external tool coexistence 2025-10-25 23:32:47 -07:00
process.go Implement exclusive lock protocol for daemon/external tool coexistence 2025-10-25 23:32:47 -07:00
process_test.go Implement exclusive lock protocol for daemon/external tool coexistence 2025-10-25 23:32:47 -07:00
types.go fix: prevent internal fields from being exported to JSONL 2025-11-25 00:21:28 -08:00
types_test.go fix: Resolve CI failures - lint errors and coverage threshold 2025-11-23 18:02:54 -08:00