dan
|
955b6905cc
|
test: add agent file update tests and fix section ordering bug
33 tests covering:
- Basic functionality (tech/change entries)
- Missing section handling
- Timestamp updates
- Idempotency (no duplicates)
- Change entry limits (max 2 kept)
- Database entries
- Tech entry placement
- Edge cases (empty, NEEDS CLARIFICATION, EOF)
- format_technology_stack function
Bug fixed: Recent Changes section was skipped when preceded by
Active Technologies section. The ## header was caught by generic
"close tech section on any ##" logic before reaching Recent Changes
handling. Reordered conditions to check for Recent Changes first.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-01 23:12:01 -08:00 |
|
dan
|
c09fcb18bb
|
test: add branch name generation tests
27 test cases covering:
- Stop word filtering (a, to, the, add, etc.)
- Acronym detection (API, UI, DB, CLI kept)
- Word count limits (3 normally, 4 when exactly 4)
- Special character handling (parens, dots, underscores)
- Unicode handling (preserved, CJK filtered)
- Edge cases (empty, whitespace, all stop words)
- Fallback logic
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-01 21:53:43 -08:00 |
|