When implementing configuration features (variables, flags, resources), thoroughly document their behavior in all scenarios, especially edge cases and interactions with dependencies. Configuration options should have well-defined and tested behaviors across all contexts where they might be used.

For features like ephemeral resources, variable marks, or command flags like -exclude, ensure you clearly specify:

When introducing new marks or configuration attributes, thoroughly test their interactions with existing marks to prevent subtle bugs. For example, ensure sensitive() doesn’t accidentally strip ephemeral marks, and that marked values maintain their properties when transformed or combined.