Skip to content

Commit 1770f45

Browse files
committed
docs: fix invalid date in agent-docs/changelog.md
1 parent ca6f0ca commit 1770f45

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

agent-docs/changelog.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Each entry includes:
1818

1919
---
2020

21-
## 2025-01-25
21+
## 2025-09-19
2222

2323
### Agent Documentation Structure Scaffolding
2424
**Change**: Created comprehensive agent documentation structure following scaffolding framework
@@ -27,7 +27,7 @@ Each entry includes:
2727
**Impact**: Agents now have proper guidance for working ON AshEvents development vs using AshEvents as dependency
2828
**Key Insights**: Clear separation between consumer docs (usage-rules.md) and developer docs (agent-docs/) significantly improves development workflow
2929

30-
### Documentation Focus Clarification
30+
### Documentation Focus Clarification
3131
**Change**: Clarified that usage-rules.md is consumer documentation, not internal development guidance
3232
**Context**: Previous AGENTS.md incorrectly referenced usage-rules.md for internal development tasks
3333
**Files**: `agent-docs/index.md`, updated understanding of documentation structure
@@ -36,20 +36,20 @@ Each entry includes:
3636

3737
---
3838

39-
## 2025-01-25 (Continued)
39+
## 2025-09-19 (Continued)
4040

4141
### Changed Attributes Tracking Implementation
4242
**Change**: Added comprehensive changed attributes tracking and replay functionality to AshEvents core
4343
**Context**: Event replay was incomplete for resources with business logic that modified attributes beyond the original input parameters. Default values, auto-generated attributes (slugs, UUIDs, computed fields), and attributes modified by Ash changes/extensions were not being captured in events, causing incomplete state reconstruction during replay. This is a critical gap for real-world event sourcing applications where business logic transforms input data.
44-
**Files**:
44+
**Files**:
4545
- `lib/event_log/transformers/add_attributes.ex` - Added `changed_attributes` field to event resources
4646
- `lib/events/events.ex` - Added `replay_non_input_attribute_changes` DSL option
4747
- `lib/events/changes/apply_changed_attributes.ex` - New change module for applying changed attributes during replay
4848
- `lib/events/action_wrapper_helpers.ex` - Modified to capture changed attributes during event creation
4949
- `lib/event_log/replay.ex` - Enhanced to pass changed attributes context during replay
5050
- `test/ash_events/changed_attributes_test.exs` - Comprehensive test coverage
5151
**Impact**: AshEvents now supports complete state reconstruction for complex business logic scenarios. This enables proper event sourcing for applications with extensive attribute transformations, default value applications, and computed field generation. The two-strategy approach (`:force_change` vs `:as_arguments`) provides flexibility for different replay requirements.
52-
**Key Insights**:
52+
**Key Insights**:
5353
- Event sourcing requires capturing not just input parameters but also all business logic transformations
5454
- Separating original input (`event.data`) from business logic changes (`event.changed_attributes`) provides clear audit trails
5555
- Context propagation in Ash action pipelines requires careful timing - changes must have context available from the start
@@ -126,7 +126,7 @@ Each entry includes:
126126
- Consistent actor attribution handling
127127
- Safe type casting and data serialization
128128

129-
### Replay Functionality Architecture
129+
### Replay Functionality Architecture
130130
**Current State**: Centralized replay in `lib/event_log/replay.ex` with sophisticated change handling
131131
**Key Patterns**:
132132
- Replay change wrapper for handling complex change modules
@@ -147,7 +147,7 @@ Each entry includes:
147147
**Key Patterns**:
148148
- DSL definitions in main extension files
149149
- Implementation logic in transformers
150-
- Validation in verifiers
150+
- Validation in verifiers
151151
- Generated documentation from DSL definitions
152152

153153
---
@@ -185,6 +185,6 @@ Each entry includes:
185185

186186
---
187187

188-
**Last Updated**: 2025-01-25
189-
**Focus**: Internal development context and decisions
190-
**Next Review**: After next major internal development milestone
188+
**Last Updated**: 2025-01-25
189+
**Focus**: Internal development context and decisions
190+
**Next Review**: After next major internal development milestone

0 commit comments

Comments
 (0)