From fd6dd573b9122fb7ec900c25d544077809463351 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Tue, 29 Jul 2025 12:12:36 -0500 Subject: [PATCH] update parser and claude.md --- CLAUDE.md | 6 +++++- vendor/aprs | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 0b8f6db..a05dd33 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -70,12 +70,16 @@ This is an Elixir Phoenix LiveView application that serves as a real-time APRS ( **MANDATORY**: Follow strict test-driven development (TDD) practices: +**CRITICAL**: When a new feature or bug is introduced, ALWAYS write a test for it FIRST, then write the code to satisfy the test. This is non-negotiable. + 1. **Red Phase**: Write failing tests first before implementing any functionality 2. **Green Phase**: Write minimal code to make tests pass 3. **Refactor Phase**: Improve code while keeping tests green ### TDD Workflow -- Always write tests before implementing new features or fixing bugs +- **ALWAYS** write tests before implementing new features or fixing bugs +- When addressing a bug, first write a test that reproduces the bug (it should fail) +- When adding a feature, first write tests that define the expected behavior - Start with the simplest failing test case - Write only enough code to make the test pass - Refactor with confidence knowing tests will catch regressions diff --git a/vendor/aprs b/vendor/aprs index 77dd17d..13d21fe 160000 --- a/vendor/aprs +++ b/vendor/aprs @@ -1 +1 @@ -Subproject commit 77dd17d868ab6bde724cae97dadaf506c6989f2c +Subproject commit 13d21fe1216c526732f3b54944626deacef45f58