Skip to content

Conversation

@jrepp
Copy link
Owner

@jrepp jrepp commented Jan 27, 2026

Summary

  • Remove updated field from frontmatter schemas - it can be derived from git history
  • Add bulk commands for managing frontmatter fields (update, timestamps, migrate)
  • Migrate from legacy date field to created datetime format
  • Normalize created field to ISO 8601 datetime format from git history
  • Remove deprecated project-specific fix modules (broken_links, mdx_code_blocks, etc.)
  • Add comprehensive test coverage for new functionality

Usage

# Update timestamps for all documents (sets created from git history)
docuchango bulk timestamps

# Update only ADR timestamps
docuchango bulk timestamps --type adr

# Preview changes without applying
docuchango bulk timestamps --dry-run

# Migrate documents (removes updated/date fields, adds created)
docuchango bulk migrate

# Bulk update a specific field
docuchango bulk update --field status --value Draft --operation set

Changes

  • Schemas: Removed updated field from ADR, RFC, Memo, and PRD schemas
  • Templates: Updated templates to use created instead of date/updated
  • CLI: Added bulk command group with update, timestamps, and migrate subcommands
  • Timestamps: bulk timestamps now only manages created field
  • Migration: bulk migrate removes updated and date fields, adds created from git

Test plan

  • All existing tests pass (554 passed)
  • New tests added for bulk commands and timestamp functionality
  • Verified updated field is no longer populated during bulk operations

🤖 Generated with Claude Code

The updated field is now completely removed from the timestamps
functionality since it can be derived from git history when needed.

- Rename migrate_date_to_created_updated() to migrate_date_to_created()
- Remove all updated field handling from update_document_timestamps()
- Update CLI docstring for timestamps command
- Update tests to reflect the removed updated field

Co-Authored-By: Claude (global.anthropic.claude-opus-4-5-20251101-v1:0) <noreply@anthropic.com>
@jrepp jrepp merged commit 5685405 into main Jan 27, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants