[PR #38] Fixing the Design Documents First After External Answers
- What changed: Places where the answers from outside clashed with the design already written were found, and the plan, spec, screen design, and privacy documents were revised. No code was changed.
- Decision: The feature was not yet built, so fixing the documents before building was judged cheaper.
- Still unknown: Whether the revised documents agree with each other will be checked again in the next comparison.
Outside answers arrived, and they clashed with design that had already been written. PR #38 fixed the plans and specs first and did not touch any code.
What was done and why
- Each answer was checked against the design to see where it clashed with a line already written.
- The feature was not built yet. Fixing it before building is cheaper, so that was done first.
- The changed documents were the plans, the specs, the screen-design notes, and the privacy notice. No code was changed.
Options chosen and rejected
- The retention period starts at processing, not at the request. Copying at request time keeps the data up to seven days longer. Copying at processing time keeps it shorter and makes the in-app wording shorter too.
- Optional choices default to off. Information from someone who did not agree is not kept.
- Values that will not be used are removed from code and data entirely. This was possible because no operational data existed yet. Hiding the value from new choices while keeping it leaves a useless value behind forever.
- Rejected options. Keeping the data indefinitely clashes with minimal collection, so it was rejected. Writing the information in a memo was rejected because the party that gave the answer had forbidden it.
- Leaving a condition as is when there is no way to meet it. That is safe but delays the schedule, so it was kept only as the last resort when no other way exists.
How it was checked
- Claude Sonnet 5.5 opened each changed document and checked that a fact written in several places had the same value everywhere.
- Outdated numbers and dates were searched for across the whole set of documents and fixed.
- The check command (
npm run verify) passed on the changed documents.
Lessons
- When an outside answer arrives, first find where it clashes with design already written. In this case the clash only showed up after rereading the documents.
- When the same fact is written in several documents, fixing one leaves the others outdated. After a fix, search the whole set again.
- When writing that something will be decided later, check that the decision comes before the date it affects.