Aglet

Keep Boolean Import Semantics Explicit

The durable lesson is an explicit vocabulary for true, false, missing, and invalid input. Keep that vocabulary close to the import flow rather than relying on language-specific truthiness. Preserve the token that exposed the mistake so future normalization or mapping changes can be reviewed against a meaningful contrast.

Keep the lesson for the next incident

  1. Document accepted meanings and defaults

    List supported tokens, normalization, and missing-value behavior for the affected fields and operations. Explain how invalid input is reported. Keep defaults visible as product rules, not incidental parser behavior, so adding a new boolean field does not silently inherit a convention that changes its intended workflow meaning.

  2. Retain opposing and invalid examples

    Keep a true token, a nonempty false token, a blank, and an unsupported word with independently recorded outcomes. Include an update case if defaults mattered. Explain why successful conversion is insufficient so future checks continue to compare exact meaning rather than simplifying the fixture into a collection of parseable strings.

  3. Review token and mapping changes

    Assign review when a new producer spelling, normalization rule, or destination boolean field is introduced. Compare the complete token matrix and representative behavior. Track confirmed unintended assignments separately from invalid-token rejections, since a wrong boolean can be accepted without any ordinary validation error or failed import status.

What to carry forward

Close with a field-aware token contract, contrasting fixtures, and an owner for default or mapping changes. Preserve any unsupported convention in guidance. The next maintainer should be able to predict how false text is stored without knowing the programming language’s generic rules for converting strings into truthy or falsy values.

Technical background: Google Cloud documentation.

Keep the decision with the work.

Use a Work Item in Aglet to record the problem, the evidence you have, and the next decision. Add an owner and priority, then keep updates in the discussion so the next person can follow the reasoning.

Create an account See the product workflow