Skip to content

codedna v1.0.4

Latest

Choose a tag to compare

@hannsxpeter hannsxpeter released this 01 Aug 06:21

Robustness release. One wiring fix restores a guarantee the docs already made. Nothing here changes a measurement, so profiles generated with 1.0.3 report the same numbers.

Fixed

  • Stop the wiring helper from deleting content between an unpaired <!-- codedna:start --> marker and the real block below it. A file left carrying a start marker with no matching end marker lost everything in between on the second run, including another tool's block and the user's own prose. docs/AGENT_SUPPORT.md already stated that the rest of the file is left untouched; now it is. The unpaired marker is left where it sits rather than absorbed.

Changed

  • Pass the block markers explicitly from write_target into replace_block instead of letting them fall back to the module constants. Output is byte-identical. The helper no longer assumes the markers it is handed are the ones it was built with.
  • Correct skill/SKILL.md, which called the TODO/FIXME figure a density. The stats helper reports a count.

Added

  • Add regression tests for the unpaired-marker fix, for a start marker appearing inside the block being replaced, and for replace_block with non-default markers. The suite is 36 tests.