Add Architecture Decision Records (ADR) documentation#34
Merged
Conversation
Created ADR documentation structure following MADR format: - ADR-001: Semantic tags for temporal data (selex: attributes) - ADR-002: Import from Regeringskansliet instead of PDF crawling Documents key architectural decisions regarding temporal metadata handling and data sources for the SFS processor project. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Documents the architectural decision to use Markdown as an intermediate format between JSON source data and all output formats (HTML, Git, Vector). Key points: - Single source of truth for parsing logic - Human-readable for code review and debugging - Standard tooling and ecosystem - Flexible for adding new output formats Also updates README.md to include both ADR-003 and ADR-004 in the index. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Move "Markdown som mellanformat" to ADR-001 (from ADR-004) and "Semantiskt val av taggar för temporal data" to ADR-004 (from ADR-001). Markdown as intermediate format is a more foundational architectural decision that other decisions build upon, so it makes sense to have it as ADR-001. All cross-references in ADR-002, ADR-003, and within the documents have been updated accordingly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Update terminology throughout ADR documentation to consistently use 'författning/författningar' instead of 'lag/lagar'. This is more technically accurate as SFS (Svensk författningssamling) contains various types of legal instruments, not just laws. Changes: - ADR-001: Updated examples in Markdown and XML code blocks - ADR-003: Updated all references to legal instruments and examples - ADR-004: Updated description of temporal functionality 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/docs/adr/Details
This PR documents two key architectural decisions:
ADR-001: Semantic tags for temporal data
selex:attribute system for temporal metadatatemporal/apply_temporal.pyADR-002: Import from Regeringskansliet instead of PDF crawling
Test plan
🤖 Generated with Claude Code